y(x,t)=Acos(ωt+βx+ϕ)$y(x,t)=A\cos(\omega t+\beta x+\phi)$ in this equation ωt$\omega t$ and βx$\beta x$ symbols of the coefficient are same i.e( ++ or --) then the wave is negative direction travelling wave.
y(x,t)=Acos(ωt−βx+ϕ)$y(x,t)=A\cos(\omega t−\beta x+\phi)$ in this equation ωt$\omega t$ and βx$\beta x$ symbols of the coefficient are alternative i.e( +- or -+) then the wave is positive direction travelling wave.