I was trying to find the square root of a complex number $w=u+iv$, I assumed $z^2=(x+iy)^2=w$ Now solving this equation I got two values of $x$ and two values of $y$ in terms of $u$ and $v$. So, I get a possible of 4 solutions. But fundamental theorem of algebra says it has exactly two roots. What are these two roots?
My work $x=\pm \sqrt {\sqrt {u^2+v^2}+u}$ and $y=\pm \sqrt {\sqrt {u^2+v^2}-u}$