I have an equation like this:
$\cos(x) ^ {\sin(x)} = 1$
I thought I would solve it like this:
$\cos(x) ^ {\sin(x)} = 1$
$\sin(x) = \log_{\cos(x)}(1)$
$\sin(x) = 0 $
$x = 0+k\pi$
But I'm confused about the domain.
I did $\log_{\cos(x)}(1)$ which should mean $(\cos(x)>0 \wedge \cos(x)\neq1)$
i.e $x\in(-\frac{\pi}{2}+2k\pi, 0+2k\pi) \cup (0+2k\pi, \frac{\pi}{2}+2k\pi)$
but then all the solutions of $x = 0+k\pi$ are invalidated.
Is $\log_{\cos(x)}(1)$ always considered $0$ no matter the $x$?


Here is an easier way out. Note that if $x \neq n\pi$, we have $\vert \cos(x) \vert < 1$. This would mean $\vert\cos(x)\vert^{\sin(x)}<1$, since $\sin(x) \neq 0$ as $x \neq n\pi$. Hence, we only need to consider the case $x=n\pi$. We see that $x=n\pi$ gives us that $\cos(n\pi)^{\sin(n\pi)}=1$.