I have this problem :
$$x^2=i$$
The args = $\pi/2$.
$r = |z| = \sqrt{0^2+i^2}=\sqrt{i^2}=i$
for $$z_0=i((\cos (\pi/2)/2)+isin(\pi/2)/2)) = i(\frac{\sqrt{2}}{2})+i\frac{\sqrt{2}}{2})=i\frac{\sqrt{2}}{2}+i^2(\frac{\sqrt{2}}{2})$$
For some reason I don't get the result shown in the book, for some reason the book use $1$ instand of $i$ meaning that $\rightarrow$ $r=i=1$
I don't understand why, Any ideas?, Thanks.
The modulus of $i$ is $1$: for every $z\in\mathbb{C}$, $|z|$ is a nonnegative real number: $$ |z|=\sqrt{z\bar{z}} $$ For $z=i$, $$ |i|=\sqrt{i\bar{i}}=\sqrt{i(-i)}=\sqrt{-i^2}=\sqrt{1}=1 $$ The argument is indeed $\pi/2$, so the square roots of $i$ are $$ 1\left(\cos\frac{\pi}{4}+i\sin\frac{\pi}{4}\right)= \frac{1}{\sqrt{2}}+i\frac{1}{\sqrt{2}} $$ and its opposite $$ 1\left(\cos\left(\frac{\pi}{4}+\pi)\right)+ i\sin\left(\frac{\pi}{4}+\pi)\right)\right) =-\frac{1}{\sqrt{2}}-i\frac{1}{\sqrt{2}} $$