Suppose $z=a+b i, w=u+i v$, and
$$a=\left(\frac{|w|+u}{2}\right)^{1 / 2}, \quad b=\left(\frac{|w|-u}{2}\right)^{1 / 2}$$
Prove that $z^{2}=w$ if $v \geq 0$ and that $(z)^{2}=w$ if $v \leq 0 .$ Conclude that every complex number (with one exception!) has two complex square roots.