| Multiplying | |
|---|---|
| Dividing | |
| Modulus and argument | |
| Products and quotients | |
| De Moivre’s theorem | |
| The n-th roots |
Lesson
The theory — Complex Number Calculator
A complex number is z = a + bi, with a and b real and i² = −1. a is its real part and b its imaginary part; on the Argand plane z is the point (a, b).
Where the formula comes from
- Calculate as in algebra, then replace i² by −1. Brackets expand as usual, and the i² term crosses into the real part with its sign changed.
- Divide with the conjugate. c + di times c − di is c² + d², a real number. Multiplying top and bottom by the conjugate of the bottom leaves a real denominator, and then each part is divided separately.
- Find the modulus and argument. The modulus r is the distance from 0, the argument θ the angle from the positive real axis, taken between −180° and 180°. When a < 0, tan⁻¹(b/a) points into the opposite quadrant, so add or subtract 180°.
- Multiply in polar form. Expanding the product brings out the compound-angle formulae: the moduli multiply and the arguments add. n equal factors give De Moivre’s theorem.
- Run De Moivre backwards for roots. wⁿ = z fixes the modulus of w as the n-th root of r, but the angle only up to whole turns. θ, θ + 360°, θ + 720°, … all describe z, and dividing them by n gives n different roots, 360°/n apart.
Problems solved in full
-
Multiplying 3 steps
Express (4 − 3i)(2 + 5i) in the form a + bi.
-
Expand as two brackets.
-
Replace i² by −1. The last term changes sign and joins the real part.
-
A check that costs one line: the modulus of a product is the product of the moduli, so 23² + 14² must equal 5² × 29.
Answer
23 + 14i
-
-
Dividing by the conjugate 4 steps
Express (3 + 2i)/(1 + 2i) in the form a + bi.
Show solution
-
Multiply top and bottom by 1 − 2i, the conjugate of the bottom.
-
The bottom becomes 1² + 2² = 5, a real number.
-
Expand the top and replace i² by −1.
-
Divide each part by 5.
Answer
7/5 − 4/5 i, or 1.4 − 0.8i.
-
-
An argument in the third quadrant 4 steps
Find the modulus and argument of z = −2 − 2i. Hence write z² in modulus-argument form.
Show solution
-
The modulus by Pythagoras.
-
tan⁻¹ of (−2)/(−2) is 45°, which points into the first quadrant. z is below and to the left of 0, in the third, so subtract 180°.
-
Squaring squares the modulus and doubles the argument. −270° lies outside −180° to 180°, so add a whole turn.
-
Modulus 8 at 90° is 8i, and multiplying out (−2 − 2i)² agrees.
Answer
|z| = 2√2, arg z = −135° = −3π/4; z² = 8(cos 90° + i sin 90°) = 8i.
-
-
Multiplying in polar form 3 steps
z = 1 + i and w = 2i. Write both in modulus-argument form and find zw without expanding.
Show solution
-
Modulus and argument of each.
-
Multiply the moduli and add the arguments.
-
Back to a + bi with cos 135° = −√2/2 and sin 135° = √2/2.
Answer
zw = 2√2(cos 135° + i sin 135°) = −2 + 2i
-
-
A high power 3 steps
Find (1 + i)⁸.
Show solution
-
Eight brackets is the slow way. Write 1 + i in polar form instead.
-
De Moivre: the modulus to the 8th power, the argument times 8.
-
(√2)⁸ = 2⁴ = 16, and 360° is a whole turn.
Answer
(1 + i)⁸ = 16
-
-
Cube roots 3 steps
Solve z³ = 8i, giving the roots in the form a + bi.
Show solution
-
8i in polar form.
-
Take the cube root of the modulus. Add whole turns to the argument before dividing it by 3.
-
k = 0, 1, 2 give 30°, 150° and 270°. k = 3 would give 390°, which is 30° again.
Answer
z = √3 + i, −√3 + i, −2i: three points 120° apart on the circle of radius 2.
-
-
A square root by equating parts 3 steps
Find the square roots of 5 + 12i.
Show solution
-
Let (a + bi)² = 5 + 12i with a and b real, expand, and match the real and the imaginary parts.
-
Taking moduli gives a third equation, and it makes the system easy.
-
Adding and subtracting give a² = 9 and b² = 4. Since ab = 6 is positive, a and b have the same sign.
Answer
3 + 2i and −3 − 2i
-
-
A quadratic with complex roots 3 steps
Solve z² − 4z + 13 = 0, and check that the roots have sum 4 and product 13.
Show solution
-
The discriminant is negative, and its square root is imaginary.
-
The formula as usual.
-
Real coefficients give a conjugate pair. The sum loses its imaginary parts, and the product is |2 + 3i|².
Answer
z = 2 ± 3i
-
-
Multiplying 3 + 2i by its conjugate to prove a product 5 steps
Multiply 3 + 2i by its conjugate, then turn the result into a proof that a product of two sums of two squares is again a sum of two squares. This is Multiply with z₁ = 3 + 2i and z₂ = 3 − 2i.
Show solution
-
The two cross terms are equal and opposite, so they cancel. What is left is the −b²i², which changes sign and adds instead of subtracting — so a conjugate pair always multiplies to a real number, and that number is assembled by squaring.
-
That real number already has a name. The modulus is the distance from the origin, so |z|² is a² + b² by Pythagoras, and the panel's 3.606 is √13 rounded up in the third decimal.
-
Now the general product of two complex numbers, with i² = −1 sending one term across to join the real part. No moduli appear here yet.
-
Apply step 1 to that product. A second pair of cross terms, −2abcd and +2abcd, cancels in the expansion, and the four terms that survive factor into two brackets. Every letter is an integer if you want it to be, and nothing in the final line mentions i.
-
So a pair of integer pairs manufactures a third. 3 + 2i carries 13 and 1 + 2i carries 5; their product carries 65. Conjugating the second factor reflects it across the real axis and delivers a different pair with the same sum.
Answer
The panel prints the conjugate product as 13 and the modulus as 3.606, and 3.606² = 13.003 is the rounding rather than a disagreement. What is worth keeping is that the identity survives having the complex numbers erased: (a² + b²)(c² + d²) = (ac − bd)² + (ad + bc)² is a statement about four integers with no i left in it. Diophantus recorded this very number in the third century — 65 splits as 1 + 64 and as 16 + 49, he noted, because it is 13 × 5 and each factor is itself a sum of two squares — some thirteen centuries before Cardano first wrote down a square root of a negative number. Two prime factors, two representations: 13 alone has only 9 + 4, and 5 alone has only 1 + 4. Complex multiplication is the machine that manufactures the second representation, and the conjugate is the lever that switches between them.
-
Supplementary problems, answers only
-
Express (2 − i)(3 + 4i) in the form a + bi.
Show answer
10 + 5i
-
Express (1 + 3i)/(2 − i) in the form a + bi.
Show answer
−1/5 + 7/5 i
-
Find the modulus and argument of −√3 + i.
Show answer
2 and 150° = 5π/6
-
Find (√3 + i)⁶.
Show answer
−64
-
Solve z³ = −8.
Show answer
z = 1 + √3 i, −2, 1 − √3 i
-
Find the square roots of −3 + 4i.
Show answer
1 + 2i and −1 − 2i
-
Solve z² − 2z + 5 = 0.
Show answer
z = 1 ± 2i
Learning path
Beyond the quadratic
References (1)
- Insight block 3 — the cubic that made imaginary numbers unavoidable: G. Cardano, Artis Magnae, sive de Regulis Algebraicis. Nuremberg, 1545, chapter XXXVII. R. Bombelli, L'Algebra, Book I. Bologna, 1572 — where the "impossible" quantities are shown to cancel and leave the real roots.