I have the following question at hand:
Find all extrema of the function $f(x) = x - 2\sin(x+ \frac{\pi}{4})$. That amounts to solving $\cos(x + \frac{\pi}{4}) = \frac{1}{2}$. But simply using $\arccos(0.5) - \frac{\pi}{4}$ yields only one solution; I need all of them. How can I find them? Thanks in advance.
Alright I found a solution: Because the first two solutions are $\pm arccos(0.5) - \frac{\pi}{4}$, the period $2\pi$ dictates all the other ones:
$\frac{\pi}{12} + 2k\pi$ and $-\frac{7\pi}{12} + 2k\pi$.