Sine of x minus Cosine of x/Sine Form

Theorem

 * $\sin x - \cos x = \sqrt 2 \sin \left({x - \dfrac \pi 4}\right)$

where $\sin$ denotes sine and $\cos$ denotes cosine.