How does solving $p_0^2 + q_0^2 = 1$ and $-\sin(s) = -p_0\sin(s) + q_0\cos(s)$ give $p_0 = -\cos2s $ and $q_0 = -\sin(2s)$?
I can clearly see one solution is $p_0=1,q_0=0$ but can't seem to understand the other.
How does solving $p_0^2 + q_0^2 = 1$ and $-\sin(s) = -p_0\sin(s) + q_0\cos(s)$ give $p_0 = -\cos2s $ and $q_0 = -\sin(2s)$?
I can clearly see one solution is $p_0=1,q_0=0$ but can't seem to understand the other.
HINT : Let $p_0=\cos x $ and $q_0=\sin x$. Then the second equation becomes $$-\sin s = -\cos x\sin s + \sin x\cos s.$$ That is $$-\sin s = \sin(x-s).$$ Now solve for $x$.