Square Root of Complex Number
The square root of a real number is a number that gives when multiplied with itself.
For example, because .
However, we also have , so it seems like .
To avoid getting , we require that is not negative.
Then all numbers that give when multiplied with themselves are ,
which is why appears in front of square root so often.
Let's generalize this to complex numbers.
With angles and lengths
We can define the square root of any complex number by requiring ,
just like with real numbers.
Because of how multiplication adds angles and multiplies lengths,
this means that
Solving for the length and angle of , we get
As usual, if , the angle equation is not needed because the length formula gives .
Any nonzero complex number has infinitely many angles, differing from each other by ,
which can be written as
where is any integer. Then we have
If is even, then adds some number of full turns to the angle and can be ignored.
If is odd, then adds some number of full turns,
and also adds a half-turn which means flipping to the opposite side of .
So, we get two possible values of , with equal lengths but on opposite sides of .
In the below picture, the blue dots are the possible values of .

The only thing left to do is to decide which of these should be called .
Because of the flipping, the other one will then be ,
and will appear commonly just like with real numbers.
Let be any complex number.
Then are the only numbers that give when multiplied with themselves.
- If one of is on the right side of the imaginary axis and the other is on the left side,
then the one on the right side is called .
- Otherwise both of are on the imaginary axis, and is the one that is above the real axis.
Note that now we can put any complex number inside square root, including negative real numbers.
Examples:
-
The length of is .
Because the angle of is 180 degrees, one of has angle 90 degrees.
So, one of is and the other is .
Because and are both on the imaginary axis, with above , we have .

-
The length of is . Because the angle of is , one of has angle ,
i.e. one of is a positive real number.
The other one will then be a negative real number.
So, are and . Because is on the right side of the imaginary axis, .
This works with any positive number instead of ,
so the square root we have defined is compatible with the square root of nonnegative real numbers.
The below picture shows how distinguisihing and works.
Blue complex numbers can be written as , with some complex number ,
and red numbers are the corresponding numbers.

Using the convention ,
the distinguishing of becomes
Now we get
Because angles get added when multiplying complex numbers,
is an angle of .
Another angle of is , for which we also have .
Because only one angle of is between and , we must have .
Using the convention , we have
Broken rules
The rules
do not work for all complex numbers and .
To show that the first rule doesn't work, we can choose . Then we get
and
For the second rule, we can choose and . We get
and
From these examples, it seems like the rules might work with additional signs, as in
This is indeed true. To see why, notice that
The only two numbers that give when squared are and ,
and because is one of them, we must have
or written slightly differently,
We can similarly derive the rule for division.
For all complex numbers and , we have
If , then
For any positive real number , we have
and because the angle of square root depends only on the angle of the complex number inside, we get
On the other hand, because is also positive, we also have
By combining these results, we get
so the in must be ,
and it actually works without .
That also works for , because then both sides are zero.
If is a real number and , then
Using this, we can for example calculate
We also get
for any positive , where we used with positive real numbers and .
We obviously can't allow .
If is a real number and , then
Without angles and lengths
We find a formula for that doesn't require calculating the angle of .
Let . Then we have
By comparing real and imaginary parts, we get
We already know how to calculate the square root of a real number (both negative and nonnegative),
so we can assume .
From the second equation, we see that then and are nonzero too.
So, we can divide by and we get from the second equation.
Let's plug that into the first equation:
By applying the quadratic formula (TODO) with instead of , we get
where is the length of .
Because is a nonzero real number, we have and so
This means that is negative, regardless of whether is positive, negative or zero.
Because is not negative, we must choose and we get
Because the point corresponding to the square root of a complex number cannot be on the left side of the imaginary axis,
we must have .
So, we get
We actually have because .
Now has the same sign as ; it's positive if is positive, and negative if is negative.
To actually find , we can use , and we get
So, we have
where is when is positive and when is negative.
Let be a complex number with . Then
where , and is when is positive and when is negative.
If , then we have and the right side of the formula becomes
If is positive or zero, this is ,
and if is negative, this is .
So, if we choose whenever ,
this result also works in that case.
Example: and
Let be any angle, and
let be a complex number on the origin-centered unit circle with angle .
Like in the derivation of de Moivre's formula,
is also on the unit circle with angle , and we have

Because , we have
Now we can use the formula for with and .
Because is on the unit circle, its length is , and we get
By comparing real and imaginary parts, we get
where we combined the two signs into another sign for the imaginary part of the right side.
Finally, to get rid of all signs and square roots, we can square both sides to get