TITLE: $\cos^n x-\sin^n x=1$
QUESTION [5 upvotes]: For $0 < x < 2\pi$ and positive even $n$, the only solution for $\cos^n x-\sin^n x=1$ is $\pi$.
The argument is simple as $0\le\cos^n x, \sin^n x\le1$ and hence $\cos^n x-\sin^n x=1$ iff $\cos^n x=1$ and $\sin^n x=0$.
My question is that any nice argument to show the following statement?
'For $0 < x < 2\pi$ and positive odd $n$, the only solution for $\cos^n x-\sin^n x=1$ is $\frac{3\pi}{2}$.'

REPLY [8 votes]: We leave the case $n = 1$ and $n = 2$ separately, and assume $n \geq 3$ from now on.
Observe that if $|r| \leq 1$, then $|r^n| \leq r^2$ with equality if and only if $r = 0$ or $|r| = 1$. Then it follows that
$$1 = \left|\cos^n x - \sin^n x\right| \leq \left|\cos^n x\right| + \left|\sin^n x\right| \leq \cos^2 x + \sin^2 x = 1. $$
This forces every intermediate inequality to be equality. In particular, we must have
$$ \cos x , \sin x \in \{0, \pm 1\}.$$
Thus $x \in \{ \frac{\pi}{2}, \pi, \frac{3\pi}{2} \}$. Now the rest is clear.