I've been wondering for quite a while, what the result of $\sqrt{-i}$ might be. After some research, I've found what the square root of $\sqrt{i}$ is.
In the link above, they are assuming (or applying a rule), that $a^2-b^2=0$ in the calculation
$\displaystyle i=z^2=(a+bi)^2=a^2+2abi+-b^2=(a^2-b^2)+2abi$
So far so good.
Then, by using $a^2-b^2=0$, he reduces the equation to $i=2abi\Longrightarrow 2ab=1$. By inserting $a=\frac{1}{2b}$ into $a^2-b^2=0$, he finally gets $a=b=\pm\frac{1}{\sqrt{2}}$.
My question is: If this is allowed, why is this allowed? Can I apply the same rule for $\sqrt{-i}$?
Thanks in advance.