Guides / Complex numbers
Complex numbers in polar form: find the angle from the quadrant, multiply the lengths and add the angles
Short answer
To polar: r = √(a2 + b2), and θ is the angle whose cosine has the sign of a and whose sine has the sign of b. arctan(b/a) is right only when a > 0; otherwise add or subtract π. Back: reiθ = r cos θ + i r sin θ. Products: multiply the r’s and add the θ’s; for quotients, divide and subtract. Powers: (reiθ)n = rneinθ. Roots: zn = reiθ has n solutions, r1/nei(θ + 2πk)/n for k = 0, …, n − 1.
Why it works
Euler’s formula, eiθ = cos θ + i sin θ, puts the angle into an exponent, and exponents add when you multiply: eiαeiβ = ei(α + β). Multiplying out (cos α + i sin α)(cos β + i sin β) by hand gives the same thing, because the real part is the cosine addition formula and the imaginary part is the sine one. So multiplying by reiθ stretches by r and rotates by θ.
A power is repeated multiplication, so the length is raised to the power and the angle is multiplied by it. Roots run that backward, and here the angle is the subtle part: θ, θ + 2π, θ + 4π and so on all name the same point, but after dividing by n they name different points. That is where the n different roots come from, spaced 2π/n apart on a circle of radius r1/n.
Example 1: a point in the third quadrant
Write z = −√3 − i in polar form, with −π < θ ≤ π.
- r = √(3 + 1) = 2The distance to (−√3, −1).
- cos θ = −√3/2Divide the real part by r. Negative: the point is left of the imaginary axis.
- sin θ = −1/2Negative too, so the point is below the real axis: third quadrant.
- reference angle π/6The angle with cosine √3/2 and sine 1/2.
- θ = −π + π/6 = −5π/6Go clockwise to the negative real axis, then back π/6.
- z = 2e−5πi/6Check: 2 cos(−5π/6) = −√3 and 2 sin(−5π/6) = −1. The angle 7π/6 names the same point, outside the range asked for.
Example 2: a product and a quotient
Let z = 2eiπ/3 and w = 4eiπ/6. Find zw and z/w in both forms.
- zw = 8ei(π/3 + π/6)Multiply the lengths, 2 · 4, and add the angles.
- zw = 8eiπ/2 = 8iπ/3 + π/6 = π/2, straight up.
- z/w = (1/2)eiπ/6Divide the lengths and subtract the angles: π/3 − π/6.
- z/w = √3/4 + i/4(1/2) cos(π/6) = √3/4 and (1/2) sin(π/6) = 1/4.
- zw = 8i, z/w = √3/4 + i/4Check in rectangular form: z = 1 + √3 i and w = 2√3 + 2i, and (1 + √3 i)(2√3 + 2i) = 2√3 + 2i + 6i − 2√3 = 8i.
Example 3: a fifth power
Compute (√3 + i)5.
- √3 + i = 2eiπ/6r = √(3 + 1) = 2, first quadrant, arctan(1/√3) = π/6.
- (2eiπ/6)5 = 32e5πi/6De Moivre: 25 = 32, and the angle is multiplied by 5.
- cos(5π/6) = −√3/2Second quadrant, reference angle π/6.
- sin(5π/6) = 1/2Sine is positive in the second quadrant.
- (√3 + i)5 = −16√3 + 16iMultiplying √3 + i by itself five times in rectangular form gives the same, with far more arithmetic.
Example 4: the fourth roots of −16
Solve z4 = −16.
- −16 = 16eiπOn the negative real axis.
- zk = 2ei(π + 2πk)/4The real fourth root of the length, 161/4 = 2, and the angle divided by 4 after adding 2πk, for k = 0, 1, 2, 3.
- π/4, 3π/4, 5π/4, 7π/4The four angles, a quarter turn apart.
- 2eiπ/4 = √2 + √2 i2 cos(π/4) = √2; the others follow by symmetry.
- z = ±√2 ± √2 iAll four sign choices. Check one: (√2 + √2 i)2 = 4i, and (4i)2 = −16.
Common mistakes, and the exact line they happen on
1. Taking arctan(b/a) when a is negative
The point of Example 1.
- r = 2Right so far.
- θ = arctan(−1/−√3) = π/6This is the mistake. The two minus signs cancel inside the fraction, so arctan cannot tell −√3 − i from √3 + i. Its answers always lie between −π/2 and π/2, on the right half of the plane. Here 2eiπ/6 = √3 + i, the point exactly opposite. The right angle is π/6 − π = −5π/6.
2. Raising the length but not multiplying the angle
The power of Example 3.
- √3 + i = 2eiπ/6Right so far.
- (√3 + i)5 = 32eiπ/6This is the mistake. Five factors of eiπ/6 rotate by π/6 five times, so the angle is 5π/6. This version gives 16√3 + 16i, the right length pointing in the wrong direction; the right answer is −16√3 + 16i.
3. Dividing the length by n instead of taking its root
The roots of Example 4.
- −16 = 16eiπRight so far.
- z0 = 4eiπ/4This is the mistake. The angle is divided by 4, but the length is the fourth root, not a quarter: 161/4 = 2, not 16/4 = 4. Checking catches it at once: (4eiπ/4)4 = 256eiπ = −256.
Practice
Write −5 in polar form.
Show answer
5eiπ.
Write 1 − i in polar form, with −π < θ ≤ π.
Show answer
√2 e−iπ/4: fourth quadrant, reference angle π/4.
Find 3eiπ/2 · 2eiπ/3 in rectangular form.
Show answer
6e5πi/6 = −3√3 + 3i.
Compute (1 − i)4.
Show answer
(√2)4e−iπ = −4. Check: (1 − i)2 = −2i and (−2i)2 = −4.
Find both square roots of i.
Show answer
i = eiπ/2, so the roots are eiπ/4 and e5πi/4, that is ±(√2/2)(1 + i).