I'm studying stationary waves on a rope fixed at both sides. In some books I find that the wave function studied is the sum of incident wave $\xi_1(x,t)$ and of the reflected wave $\xi_2(x,t)$.
$$\xi(x,t)=\xi_1(x,t)+\xi_2(x,t)=A \mathrm{sin} (k x-\omega t)+ A \mathrm{sin}(kx+\omega t)=2 A \mathrm{sin}(kx)\mathrm{cos}(\omega t)\tag{1}$$
So this is the sum of two waves which differ only for the fact that one is progressive and one is regressive.
My doubts are on the fact that the fixed end of the rope cannot move, so there is a total reflection of $\xi_1(x,t)$ but the reflected wave $\xi_2(x,t)$ is in opposition of phase (i.e. uspide down), with respect to $\xi_1(x,t)$. So shouldn't $\xi_2(x,t)$ be
$$\xi_2(x,t)=- A \mathrm{sin}(kx+\omega t)$$
? The situation is the one in the picture.
Then if this was correct, $(1)$ would change to
$$\xi(x,t)=\xi_1(x,t)+\xi_2(x,t)=A \mathrm{sin} (k x-\omega t)- A \mathrm{sin}(kx+\omega t)=2 A \mathrm{cos}(kx)\mathrm{sin}(\omega t)\tag{2}$$
Am I missing something or is the reasoning somehow correct? If so, are $(2)$ and $(1)$ equivalent?
