In Simple Harmonic Motion in one dimension, if we assume $$\text{Displacement}=x=A \text{sin} (\omega t+\phi)\implies \text{velocity}=v=A \omega \text{cos} (\omega t+\phi)$$
From here by substitution and use of the Pythagorean identity we can show that: $$|v|=|\omega\sqrt{A^2-x^2}|$$
However, can we remove the magnitude/mod signs and say: $$v=\omega\sqrt{A^2-x^2}$$
I am not sure for two reasons:
- The sign of the square root
- If $\omega$ can be negative