Background
For the sine and cosine functions, we have
$$\sin(\frac{\pi}{2} - x) = \cos(x)$$
$$\cos(\frac{\pi}{2} - x) = \sin(x)$$
For $x\in[0, \pi/2]$, this can be easily shown using a right triangle, but every textbook I have leaves it there and simply assures me that it can be shown for $x>\pi/2$.
My thoughts
I've tried looking at this from the unit circle perspective, but I have a hard time proving what seems apparent enough. If I first take the angle $\pi/2$, then subtract the initial angle $x$ (let's call the resulting angle $y$), the rectangle with side lengths $\sin y, \cos y$ seems to be a rotated form of the rectangle formed in the same way for $x$.
Question
How can this be proven to hold for all angles $x$?

For $\frac{\pi}{2}\le x\le \pi$, use the identities $cos(x)=cos(x-\frac{\pi}{2}+\frac{\pi}{2})=cos(x-\frac{\pi}{2})cos(\frac{\pi}{2})-sin(x-\frac{\pi}{2})sin(\frac{\pi}{2})=-sin(x-\frac{\pi}{2})$ and $sin(x)=sin(x-\frac{\pi}{2}+\frac{\pi}{2})=cos(x-\frac{\pi}{2})sin(\frac{\pi}{2})+sin(x-\frac{\pi}{2})cos(\frac{\pi}{2})=cos(x-\frac{\pi}{2})$
Continue this procedure for intervals $\pi\le x\le \frac{3\pi}{2}$ and $\frac{3\pi}{2}\le x \le 2\pi$. The identities you want immediately fall out.