I am currently studying the textbook Optics, fifth edition, by Hecht. Chapter 2.3 Phase and Phase Velocity says the following:
Examine any one of the harmonic wave functions, such as $$\psi(x, t) = A \sin(kx - \omega t) \tag{2.26}$$ The entire argument of the sine is the phase $\varphi$ of the wave, where $$\varphi = (kx - \omega t) \tag{2.27}$$ At $t = x = 0$, $$ \psi(x,t)|_{\begin{subarray}{l}x=0\\t=0\end{subarray}}=\psi(0,0)=0 $$ which is certainly a special case. More generally, we can write $$\psi(x, t) = A \sin(kx - \omega t + \epsilon) \tag{2.28}$$ where $\epsilon$ is the initial phase. To get a sense of the physical meaning of $\epsilon$, imagine that we wish to produce a progressive harmonic wave on a stretched string, as in Fig. 2.12. In order to generate harmonic waves, the hand holding the string would have to move such that its vertical displacement $y$ was proportional to the negative of its acceleration, that is, in simple harmonic motion (see Problem 2.27). But at $t = 0$ and $x = 0$, the hand certainly need not be on the $x$-axis about to move down-ward, as in Fig. 2.12. It could, of course, begin its motion on an upward swing, in which case $\epsilon = \pi$, as in Fig. 2.13. In this latter case, $$\psi(x, t) = y(x, t) = A \sin(kx - \omega t + \pi)$$ which is equivalent to $$\psi(x, t) = A \sin(\omega t - kx) \tag{2.29}$$ or $$\psi(x, t) = A \cos \left( \omega t - kx - \dfrac{\pi}{2} \right)$$ The initial phase angle is just the constant contribution to the phase arising at the generator and is independent of how far in space, or how long in time, the wave has traveled.
The phase in Eq. (2.26) is $(kx - \omega t)$, whereas in Eq. (2.29) it's $(\omega t - kx)$. Nonetheless, both of these equations describe waves moving in the positive $x$-direction that are otherwise identical except for a relative phase difference of $\pi$. As is often the case, when the initial phase is of no particular significance in a given situation, either Eq. (2.26) or (2.29) or, if you like, a cosine function can be used to represent the wave. Even so, in some situations one expression for the phase may be mathematically more appealing than another; the literature abounds with both, and so we will use both.![]()
There are so many equivalencies made in this section that it is difficult for a novice to make sense of everything.
How is $\psi(x, t) = y(x, t) = A \sin(kx - \omega t + \pi)$ equivalent to $\psi(x, t) = A \sin(\omega t - kx)$ and $\psi(x, t) = A \cos \left( \omega t - kx - \dfrac{\pi}{2} \right)$?
Furthermore, what precisely is meant by "otherwise identical except for a relative phase difference of $\pi$" with regards to $(kx - \omega t)$ and $(\omega t - kx)$? Is the author saying that $(kx - \omega t)$ and $(\omega t - kx)$ are equivalent? And how is it that both of these equations describe waves moving in the positive $x$-direction?