Why anyone needed them
A popular story says complex numbers were invented so that \(x^2 + 1 = 0\) would have a solution. That's not how it happened. For centuries, mathematicians were happy to say "this equation has no solution" and move on. A parabola that misses the axis simply misses it.
The trouble came from cubic equations. In 1545 Cardano published a formula for solving \(x^3 = px + q\):
\[ x = \sqrt[3]{\frac q2 + \sqrt{\frac{q^2}4 - \frac{p^3}{27}}} + \sqrt[3]{\frac q2 - \sqrt{\frac{q^2}4 - \frac{p^3}{27}}}. \]Try it on \(x^3 = 15x + 4\), whose solution \(x = 4\) you can check by hand. The formula gives
\[ x = \sqrt[3]{2 + \sqrt{-121}} + \sqrt[3]{2 - \sqrt{-121}}. \]A square root of a negative number appears on the way to a perfectly real answer. In 1572 Bombelli had the nerve to calculate with \(\sqrt{-1}\) as if it were an ordinary number. He noticed that \((2 + \sqrt{-1})^3 = 2 + 11\sqrt{-1}\), so the two cube roots are \(2 \pm \sqrt{-1}\), and their sum is \(4\). The imaginary parts cancel and the true answer appears.
So complex numbers weren't a luxury. They were the only route to real answers that real numbers alone could not reach.
Arithmetic
Definition
A complex number is an expression \(z = a + bi\) with \(a, b\) real, where \(i^2 = -1\). We call \(a = \operatorname{Re} z\) the real part and \(b = \operatorname{Im} z\) the imaginary part. The set of all of them is \(\mathbb C\).
Calculate exactly as with algebra, replacing \(i^2\) by \(-1\) whenever it appears:
\[ (a + bi) + (c + di) = (a + c) + (b + d)i, \] \[ (a + bi)(c + di) = ac + adi + bci + bdi^2 = (ac - bd) + (ad + bc)i. \]Examples
\((2 + 3i)(1 - i) = 2 - 2i + 3i - 3i^2 = 5 + i\).
Powers of \(i\) cycle with period 4: \(i, \; i^2 = -1, \; i^3 = -i, \; i^4 = 1\). So \(i^{2026} = i^2 = -1\).
Going deeper: what is \(i\), really?
Writing "\(i^2 = -1\)" can feel like cheating. In 1833 Hamilton removed the mystery: define a complex number to be a pair of real numbers \((a, b)\), with
\[ (a, b) + (c, d) = (a + c, b + d), \qquad (a, b)(c, d) = (ac - bd, ad + bc). \]Check that these operations obey all the usual laws (commutative, associative, distributive). The pairs \((a, 0)\) behave exactly like real numbers, and \(i = (0, 1)\) satisfies \(i^2 = (-1, 0) = -1\). Nothing imaginary is going on: just pairs of reals with a clever multiplication.
The complex plane
Hamilton's pairs suggest a picture. Around 1800, Wessel and Argand independently placed \(a + bi\) at the point \((a, b)\) of the plane. Real numbers lie on the horizontal axis, and multiples of \(i\) on the vertical one.
This picture is the most important idea in the course. Every operation on complex numbers will turn out to be a geometric transformation of the plane.
Adding is sliding
Since we add real and imaginary parts separately, complex addition is exactly vector addition: place the arrows head to tail, or complete the parallelogram.
Multiplying by i is turning
What does multiplication look like? Start with \(i\): \(i(a + bi) = -b + ai\). The point \((a, b)\) moves to \((-b, a)\), which is exactly a quarter turn anticlockwise about 0.
This is the real meaning of \(i\). Negative numbers taught us that "multiply by \(-1\)" means "turn around". Complex numbers allow half of that: a quarter turn. In Unit 2 we'll see that multiplying by any complex number is a rotation combined with a scaling.
Conjugate and modulus
Definitions
The conjugate of \(z = a + bi\) is \(\bar z = a - bi\), its mirror image in the real axis. The modulus is \(|z| = \sqrt{a^2 + b^2}\), the distance from 0 to \(z\).
These are linked by a key identity:
This is how you divide: multiply top and bottom by the conjugate of the denominator.
Example
\[ \frac{3 + i}{1 - 2i} = \frac{(3 + i)(1 + 2i)}{(1 - 2i)(1 + 2i)} = \frac{1 + 7i}{5} = \frac15 + \frac75 i. \]Useful facts, all easy to check: \(\overline{z + w} = \bar z + \bar w\), \(\overline{zw} = \bar z\,\bar w\), \(\operatorname{Re} z = \frac{z + \bar z}2\), \(|zw| = |z||w|\), and \(|z - w|\) is the distance between \(z\) and \(w\). The triangle inequality \(|z + w| \le |z| + |w|\) says that one side of the parallelogram's triangle is no longer than the other two put together.
Why \(|zw| = |z||w|\)
\(|zw|^2 = zw\,\overline{zw} = z\bar z\,w\bar w = |z|^2|w|^2\). Take square roots. ∎ Written out in coordinates, this says \((a^2 + b^2)(c^2 + d^2) = (ac - bd)^2 + (ad + bc)^2\): a product of two sums of two squares is again a sum of two squares, a fact Diophantus knew around 250 AD.
What you lose, and what you gain
Something is lost: complex numbers can't be ordered compatibly with arithmetic. If \(i > 0\), then \(i \cdot i > 0\), so \(-1 > 0\). If \(i < 0\), then \(-i > 0\), and \((-i)(-i) = -1 > 0\) again. Either way, a contradiction. There is no "bigger" in \(\mathbb C\); only "farther from 0", measured by \(|z|\).
What is gained is completeness of a different kind: every polynomial equation has a solution.
Fundamental theorem of algebra
Every non-constant polynomial with complex coefficients has a root in \(\mathbb C\). Consequently a polynomial of degree \(n\) factors completely as \(c(z - z_1)(z - z_2)\cdots(z - z_n)\).
Adding one number, \(i\), to the reals was enough to solve every polynomial equation, including those with complex coefficients. No further extension is ever needed. The cleanest proof uses complex analysis itself; we'll give it in Unit 9.
History
Descartes coined "imaginary" in 1637 as an insult. Euler introduced the symbol \(i\) in 1777. Wessel (1799) and Argand (1806) drew the plane; Gauss popularised it and proved the fundamental theorem of algebra in 1799, and gave three more proofs over his life. Hamilton's pairs (1833) finally made complex numbers as respectable as any other.
Practice set
Mixed questions covering the whole unit. Try each one before opening the answer.
1. Compute \((1 + 2i)^2\) and \((1 + i)^4\).
Show answer
\((1 + 2i)^2 = 1 + 4i - 4 = -3 + 4i\). \((1 + i)^2 = 2i\), so \((1 + i)^4 = (2i)^2 = -4\).
2. Write \(\dfrac{1}{i}\) and \(\dfrac{2 - i}{2 + i}\) in the form \(a + bi\).
Show answer
\(\frac1i = \frac{-i}{-i\cdot i} = -i\). And \(\frac{(2 - i)^2}{(2 + i)(2 - i)} = \frac{3 - 4i}{5} = \frac35 - \frac45 i\).
3. Solve \(z^2 + 2z + 5 = 0\).
Show answer
\(z = \frac{-2 \pm \sqrt{4 - 20}}{2} = -1 \pm 2i\). The two roots are conjugates, as always happens for polynomials with real coefficients.
4. Describe the set of \(z\) with \(|z - 1| = |z + i|\).
Show answer
Points equally far from \(1\) and \(-i\): the perpendicular bisector of the segment joining them, which is the line \(y = -x\).
5. Show that if a polynomial \(p\) has real coefficients and \(p(z) = 0\), then \(p(\bar z) = 0\).
Show answer
Conjugation respects sums and products, and fixes real coefficients, so \(p(\bar z) = \overline{p(z)} = \bar 0 = 0\).
6. Use \(|zw| = |z||w|\) with \(z = 1 + 2i\), \(w = 2 + 3i\) to write \(5 \times 13 = 65\) as a sum of two squares.
Show answer
\(zw = 2 + 3i + 4i - 6 = -4 + 7i\), so \(65 = 4^2 + 7^2\). (Using \(\bar w\) instead gives \(8 - i\), so also \(65 = 8^2 + 1^2\).)
Summary and glossary
- Complex numbers arose from real cubic equations, where Cardano's formula passes through square roots of negatives.
- \(a + bi\) is the point \((a, b)\) of the plane; addition is vector addition.
- Multiplying by \(i\) rotates the plane by a quarter turn; \(i^2 = -1\) is two quarter turns.
- \(z\bar z = |z|^2\) makes division possible, and \(|zw| = |z||w|\).
- \(\mathbb C\) has no order, but every polynomial has a root in it.
- Real and imaginary parts
- For \(z = a + bi\): \(\operatorname{Re} z = a\), \(\operatorname{Im} z = b\).
- Complex plane
- The plane with \(a + bi\) at the point \((a, b)\).
- Conjugate
- \(\bar z = a - bi\), the reflection in the real axis.
- Modulus
- \(|z| = \sqrt{a^2 + b^2}\), the distance from 0.
- Fundamental theorem of algebra
- Every non-constant polynomial has a complex root.