We consider a simple harmonic wave either longitudinal or transverse which travels in positive x-direction of our coordinate system. The graph of displacement \(y\) of particles with position on the x-axis at an instant of time \(t\) is shown in Figure 1.

Let \(v\) be the speed of the wave. Consider that a particle at \(x\) is at point \(p\) in time \(t\). The time the wave takes to reach the position of the particle is \(x/v\). So the displacement of the particle in time \(t\) is the same as the displacement of the particle at \(x = 0\) in the earlier time \(t - x/v\). We can write the wave function as \(y=f(x)=A\cos \omega t\) where \(w\) is the angular frequency of the simple harmonic wave and \(A\) is the amplitude. Now you can replace \(t\) in \(y=f(x)=A\cos \omega t\) by \(t - x/v\) and,

\[y=A\cos \omega \left( t-\frac{x}{v} \right)=A\cos \omega \left( \frac{x}{v}-t \right) \tag{1} \label{1}\]

We know that \(\omega = 2 \pi f\), \(f = 1/T\) and \(T = \lambda /v\), and you can simplify the above equation in the form

\[y=A\cos 2\pi \left( \frac{x}{\lambda } -\frac{t}{T} \right) \tag{2} \label{2}\]

We define a quantity called wave number denoted by \(k\) which is \(k = 2\pi / \lambda\) and you know that \(2\pi/T\) is the angular frequency \(\omega\) and therefore we can again write Eq. \eqref{2} in another form as

\[y=A\cos (kx - \omega t) \tag{3} \label{3}\]

If the wave travels in negative x-direction, the wave takes time \(x/v\) to reach the point \(x=0\), and hence the displacement of the point at \(x\) in time \(t\) is the same as the displacement of the point at \(x=0\) in time \(t + x/v\). Therefore, we can replace \(t\) in \(y=f(x)=A\cos \omega t\) by \(t + x/v\) for the wave travelling in negative x-direction. Thus, you can finally get the expression for the wave travelling in negative x-direction as shown below:

\[y=A\cos (kx+\omega t) \tag{4} \label{4}\]

Therefore, we can write the expression of the wave function for both negative and positive x-direction as

\[y=A\cos (kx \pm \omega t) \tag{5} \label{5}\]

You can pick "\(-\)" sign for positive direction and "\(+\)" sign for negative direction. You just saw various forms of wave function of the simple harmonic wave and all are in the form of cosine function. The cosine function can be easily turned into sine function and therefore we also call the simple harmonic wave as *sinusoidal* wave or the *sine* wave.