Question:
Find the inverse of $$f: [\pi,\frac{3\pi}{2}] \rightarrow R, f(x) = \frac{1}{2}\cos(2x)$$
My attempt:
$$x=\frac{1}{2}\cos(2y)$$ $$\cos(2y)=2x$$ $$2y=\arccos(2x)$$ $$f^{-1}(x)=\frac{1}{2}\arccos(2x)$$
But the solution is apparently:
$$x=\frac{1}{2}\cos(2y-2\pi)$$ $$\cos(2y-2\pi)=2x$$ $$2y-2\pi=\arccos(2x)$$ $$2y=\arccos(2x)+2\pi$$ $$f^{-1}(x)=\frac{1}{2}\arccos(2x)+\pi$$
It would be great if someone could explain to me why there is an extra $-2\pi$ in the argument in the solution. I feel like it could have something to do with the domain of the original cos function. Thank you in advance!