This is a question related to another posted question:
The answer to the following question "Find all solutions to: $e^{ix}=i$" is as follows:
"Euler's formula: $e^{ix}=\cos(x)+i\sin(x)$,
so: $ \cos x+i\sin x=0+1⋅i$
compare real and imaginary parts $\sin(x)=1$ and $\cos(x)=0$
$x=\frac{(4n+1)π}2$, $n∈$ (W stands for set of whole number W={0,1,2,3,.......,n})."
My question: Where does $x=\frac{(4n+1)π}2$, $n∈$ come from?
My steps:
$\cos(x) + i\sin(x) = 0 + i(1)$
$\cos(x) = i(1 - \sin(x))$
...
how does $x=\frac{(4n+1)π}2$ follow?
You said it, you compare real and imaginary parts. $\cos(x)=0$ and $\sin(x)=1$. When is this true?