Complex Numbers

☰ Contents

A complex number has a real part and an imaginary part, and is written a + bi. The imaginary unit i is defined by i² = −1. Such a number does not fit on a line, so complex numbers live on a plane, where adding is a shift and multiplying is a turn.

What is the square root of a negative number?

A negative number has no real square root, because every real number squared is zero or positive, so x² = −1 has no solution on the number line. Mathematics answers this by defining a new number, i, whose square is −1. Every negative number then has two square roots: those of −16 are 4i and −4i, because squaring 4i gives 16 × i², and 16 × (−1) = −16. In general √(−a) = i√a for any positive a, so √(−25) = 5i. The definition works because i obeys all the ordinary rules of algebra, with one extra fact: i² = −1 wherever it appears. One rule does change. The law √a × √b = √(ab) holds only when a and b are not negative, so √(−1) × √(−1) is i × i = −1, not √1 = 1. Check a square root by squaring it: squaring 5i gives 25 × i², and 25 × (−1) = −25, the number you started from.

ReIm1i−1−ii^5 = i5 = 4 × 1 + 1n

i^5 = i^(4 × 1 + 1) = i^1 = i: each factor of i is a quarter turn, four of them are a full turn, so only the remainder on dividing 5 by 4 matters

Find where i¹⁴ lands

xy
So y = x² never meets y = −1, and x² = −1 has no real solution. Full lesson: Roots of Negative Numbers

With i defined by i² = −1, every other square root of a negative follows: √(−9) = √9 × √(−1) = 3i. Algebra still works with i in an expression: expand brackets as before, and replace i² with −1 wherever it appears. See The Imaginary Unit.

realimaginary× i× i1i−1
Turn again and you land on −1. Two quarter turns take 1 to −1, so i² = −1. Full lesson: The Imaginary Unit
Defining a number to solve an equation is how −1 and ½ entered arithmetic. The test is whether the old rules still hold, and with i they do. See Roots of Negative Numbers.

The powers of i repeat in a cycle of four: i, −1, −i, 1. To find i2027, divide the exponent by 4 and keep the remainder. Since 2027 = 4 × 506 + 3, i2027 = i³ = −i. See Powers of i.

i, , , , −1, −i, 1
the cycle repeats every four powers
, , …
The powers repeat in a cycle of four — only the remainder of n / 4 matters. Full lesson: Powers of i

Now you

the full turn drops away

What is i⁶?

and

What is i³?

How do you add and multiply complex numbers?

To add complex numbers, add the real parts and the imaginary parts separately: (3 + 2i) + (1 − 5i) = 4 − 3i, since 3 + 1 = 4 and 2 − 5 = −3. See Adding Complex Numbers. For multiplication, expand the brackets as if i were a letter, then replace i² with −1: (2 + i)(3 + 4i) gives 6 + 8i + 3i + 4i², which is 2 + 11i. Adding never mixes the parts, because a real number and a multiple of i are unlike terms, as 3 and 2x are. Multiplying does mix them, because i × i is real. Division needs one more step: multiply the top and bottom by the conjugate of the denominator, which makes the denominator real. Moduli multiply, which checks the product: |2 + i|² is 5, |3 + 4i|² is 25, and |2 + 11i|² is 4 + 121 = 125 = 5 × 25.

ReImz₁z₁z₂z₂|z₁z₂| = 3.16 = 2.24 × 1.41arg = 72° = 27° + 45°

moduli multiply and arguments add: |z₁z₂| = |z₁||z₂| and arg(z₁z₂) = arg z₁ + arg z₂

Set z₂ = i and watch z₁z₂

−4−2246−224xy(2, 3)

b = (−1, 2)

Make the resultant lie along the y-axis

realimaginary4 + 6i
Across 3 then 1 makes 4; up 2 then 4 makes 6. The two parts never mix. Full lesson: Adding Complex Numbers

Written out in full, with i² replaced by −1:

(3 + 2i)(1 − 5i) = 3 − 15i + 2i − 10i² = 3 − 13i + 10 = 13 − 13i.

The last step is where mistakes happen: −10i² is −10 × (−1) = +10, not −10. See Multiplying Complex Numbers.

(2 + 3i)(1 + 4i)expand, treating i like a letter
i² = −1, 12i² = −12
2 + 11i − 12collect the real parts−10 + 11i
Expand as if i were a letter, then use the one rule: i² = −1. Full lesson: Multiplying Complex Numbers

Dividing with the conjugate

The conjugate of a + bi is a − bi. A number times its conjugate is always real, because the middle terms cancel and −b²i² becomes +b²: (a + bi)(a − bi) = a² + b². See Complex Conjugates.

realimaginary3 + 2i3 − 2i
The pair is a reflection in the real axis. Multiplying them gives a difference of two squares, a² − (bi)² = a² + b². Full lesson: Complex Conjugates

It is the same move as rationalizing a denominator with a surd in it. See Dividing Complex Numbers.

(4 + i) / (2 − 3i) = (4 + i)(2 + 3i) / ((2 − 3i)(2 + 3i)) = (5 + 14i) / 13.

times (2−i)/(2−i), which is 1
Multiply numerator and denominator by the conjugate: that is multiplying by 1. Full lesson: Dividing Complex Numbers

Now you

1 + 2iflip which sign?

To divide by 1 + 2i, multiply by which conjugate?

4 + 3iflip which sign?

To divide by 4 + 3i, multiply by which conjugate?

Where do complex numbers come from in an equation?

Complex numbers appear when a quadratic has a negative discriminant. Its graph then misses the x-axis, so there are no real roots, yet the quadratic formula still works once √(−1) is written as i. For x² − 4x + 13 = 0, the discriminant b² − 4ac is 16 − 52 = −36, and √(−36) = 6i, so x = (4 ± 6i) / 2 = 2 ± 3i. See Complex Roots of a Quadratic. The formula survives because completing the square, which produces it, never needs the square root to be real. The sign of the discriminant sorts the cases: a positive value gives two real roots, zero gives one repeated root, and only a negative value brings in i. Test the pair against the coefficients. The roots add to 2 + 2 = 4, the sum of their real parts, and multiply to 2² + 3² = 4 + 9 = 13, which match −b/a and c/a for this equation.

−3−2−1123−6−4−2246xyx = ±i√2 = ±1.41i20 real roots — a complex conjugate pair

the roots have left the real line: x = ±i√2

Drag the vertex until the discriminant is zero

−3−2−1123−6−4−2246xyx = ±i10 real roots — a complex conjugate pair
The curve misses the axis: the discriminant is negative, so its square root brings in i. Full lesson: Complex Roots of a Quadratic

The two roots are conjugates of each other. When the coefficients are real, non-real roots always come in conjugate pairs.

realimaginaryi−i
So there are two roots after all — a conjugate pair, when the coefficients are real. Full lesson: Complex Roots of a Quadratic

So a cubic with real coefficients has either three real roots or one real root and a conjugate pair, and its graph always crosses the x-axis. Given one non-real root, its conjugate is a second root. Multiply the two matching factors to get a real quadratic, then divide the cubic by it to find the real root. See Complex Roots of a Cubic and the quadratics and polynomials guide.

(z − 2 − 3i)(z − 2 + 3i)sum of the pair is 4, product is 13
Multiply that pair of factors and the i vanishes: z² − 4z + 13, all real. Full lesson: Complex Roots of a Cubic

Now you

xy

Solve x² + 9 = 0

xy

Solve x² + 16 = 0

What does a complex number look like?

A complex number looks like a point on a plane. Plot a + bi at (a, b), with the real part along the horizontal axis and the imaginary part up the vertical axis; this plane is called the Argand diagram. See The Argand Diagram. The point for −2 + 3i sits 2 to the left of the origin and 3 up. A point can also be given by its distance from the origin, the modulus, and its angle from the positive real axis, the argument. A plane is needed because a complex number has two independent parts, and a line has room for only one. Multiplying by i turns every point a quarter turn counterclockwise: i(2 + i) = 2i + i² = −1 + 2i, so (2, 1) moves to (−1, 2). Lengths confirm the turn. Both points are √5 from the origin, since 2² + 1² = 5 and (−1)² + 2² = 1 + 4 = 5.

−111−1xy50°

the point at angle θ on the unit circle has coordinates (cos θ, sin θ)

Turn until the sine is 1

xy3 + 2i
Across is the real part, up is the imaginary part. That plane is the Argand diagram. Full lesson: The Argand Diagram

The modulus |z| is its distance from the origin. The arrow to a + bi is the hypotenuse of a right-angled triangle with legs a and b, so |z| = √(a² + b²). For 3 + 4i the modulus is √(9 + 16) = 5. See The Modulus of a Complex Number.

43?
The arrow steps across 3 and up 4, forming a right-angled triangle, so Pythagoras applies. Full lesson: The Modulus of a Complex Number

The argument is the angle the arrow makes with the positive real axis, measured counterclockwise, and in the same triangle tan θ = b/a. A calculator's inverse tangent only returns angles between −90° and 90°, so for a point in the second or third quadrant, sketch it and adjust by 180°. See The Argument of a Complex Number.

xy−3 + 3i
Here tan still says 45°, but the arrow points into the second quadrant, so the angle is 180° − 45° = 135°. Full lesson: The Argument of a Complex Number

Writing a number by its modulus r and argument θ is polar form: z = r(cos θ + i sin θ), because the real part is r cos θ and the imaginary part is r sin θ. See Polar Form and The Form r(cos θ + i sin θ).

Multiply two numbers in polar form and the moduli multiply while the arguments add. The number i has modulus 1 and argument 90°, so multiplying by i is a quarter turn. Two quarter turns take 1 to −1, which is i² = −1 seen on the plane.
realimaginary2 at 30°3 at 60°6 at 90°
The rule holds every time: 2 at 30° times 3 at 60° is 6 at 90°. Full lesson: Multiplying Complex Numbers

Division reverses both steps: divide the moduli and subtract the arguments. See Dividing in Polar Form.

Now you

xy

What is the argument of 3?

xy

What is the argument of 2 + 2i?

What is De Moivre's theorem?

De Moivre's theorem is the rule for whole-number powers in polar form: [r(cos θ + i sin θ)]n = rn(cos nθ + i sin nθ). Raising z to the power n raises the modulus to the power n and multiplies the argument by n. For z = 2(cos 30° + i sin 30°), the cube has modulus 2 × 2 × 2 = 8 and argument 90°, three times 30°, so z³ = 8i. See De Moivre's Theorem. The theorem holds because multiplying complex numbers multiplies their moduli and adds their arguments, and a power is repeated multiplication; induction on n makes this a proof. Large powers need one extra step: an argument past 180° is brought back into the range −180° to 180° by subtracting 360°, so 300° becomes −60°. Confirm the example in Cartesian form: z = √3 + i, its square is 2 + 2√3 i, and multiplying that by √3 + i gives 8i.

0°72°144°216°288°z^5 = w, arg w = 0°roots at 0°/5 + k · 360°/5= 0° + k · 72°n = 5

z^5 = w with arg w = 0°: the 5 roots sit 72° apart starting at 0°/5 = 0°, a regular polygon because De Moivre divides the argument by n and full turns divide into equal slices

Set n = 3 and turn w to i

(r at
n factors: lengths multiply, angles add
at
De Moivre in one line: r at θ, raised to n, is rⁿ at nθ. Full lesson: De Moivre’s Theorem

One use is to derive trigonometric identities. Expand (cos θ + i sin θ)³ with the binomial theorem and match the real part against cos 3θ. Replace sin²θ with 1 − cos²θ to get cos 3θ = 4cos³θ − 3cos θ. See Multiple Angles by De Moivre.

s² = 1 − c²
Replace s² with 1 − c² and only cosines are left: cos 3θ = 4cos³θ − 3cos θ. Full lesson: Multiple Angles by De Moivre

The reverse direction turns a power of cos θ into cosines of multiple angles, the form needed before integrating. If |z| = 1, then 1/z is the conjugate of z, so z + 1/z = 2 cos θ and zn + 1/zn = 2 cos nθ. See The Identity z + 1/z = 2 cos θ.

De Moivre also sums series of cosines: the sum of cos kθ is the real part of the sum of zk, which is a geometric series with ratio z. See Summing a Series with De Moivre and the sequences and series guide.

Now you

(r=2 at
what does this come to?

Raise r=2 at 30° to the power 3.

(r=2 at
what does this come to?

Raise r=2 at 40° to the power 3.

The roots of unity

The equation zn = 1 has n solutions, each of modulus 1, with arguments 0°, 360°/n, 2 × 360°/n and so on, because each of those angles times n is a whole number of turns. See The Roots of Unity.

1
The five fifth roots of 1 sit 360° ÷ 5 = 72° apart. The n-th roots of 1 split the circle into n equal steps. Full lesson: The Roots of Unity

Joined in order, they are the vertices of a regular polygon: the fifth roots of 1 form a regular pentagon. See Regular Polygons from the Roots of Unity.

The same method finds the nth roots of any complex number. Take the real nth root of the modulus, divide the argument by n, then step around by 360°/n to collect the rest. The cube roots of 8i all have modulus 2, at 30°, 150° and 270°. See The nth Roots of a Complex Number.

Behind all of this is the exponential form. Substitute x = iθ into the series for ex and the terms sort into the series for cosine and sine, so eiθ = cos θ + i sin θ and every complex number is reiθ. De Moivre is then the index law (eiθ)n = einθ. See The Exponential Form of a Complex Number.

xy
So e^(iθ) always has length 1: it is the point at angle θ on the unit circle. Full lesson: The Exponential Form of a Complex Number

How do you read a complex equation as a picture?

Read every modulus as a distance and every argument as a direction: |z − a| is the distance from z to the point a, so |z − a| = r is the circle with center a and radius r. For example, |z − 3 + 2i| = 4 is the circle of radius 4 centered at 3 − 2i, because z − 3 + 2i is z − (3 − 2i). Always rewrite the expression as z minus one number before reading off the center. The picture works because z − a is the arrow from a to z, and a modulus is a length. With two moduli, |z − 1| = |z − 5| says z is as far from 1 as from 5, so it is the perpendicular bisector: the vertical line through (1 + 5) ÷ 2 = 3. Test a point: z = 7 − 2i makes z − 3 + 2i equal to 4, whose modulus is 4.

ReImz₁z₂z|z − z₁| = 2.55|z − z₂| = 2.06|z − z₁| = |z − z₂|2.55 ≠ 2.06|z − z₁| = |z − z₂||z − z₁| = 2

|z − z₁| = 2.55 and |z − z₂| = 2.06: not equal, so z is off the locus, on the side of the nearer point

Drag z until the two bands are the same length

xy|z − 3 − 4i| = 23 + 4i
|z − a| is the distance from z to a, so the same circle moves to be centered at a. Full lesson: Circles and Bisectors on the Argand Diagram

|z − a| = |z − b| says z is the same distance from a as from b, so z lies on the perpendicular bisector of the segment from a to b. See Circles and Bisectors on the Argand Diagram.

xy|z − a| = |z − b|ab
|z − a| = |z − b| asks for equal distances: the perpendicular bisector of the segment ab. Full lesson: Circles and Bisectors on the Argand Diagram

Fixing an argument gives a half-line: arg(z − a) = 45° is the ray from a pointing at 45°. Changing an equals sign to an inequality shades a region: |z| ≤ 3 is the whole disc of radius 3, and a strict inequality leaves out the boundary. See Rays and Regions on the Argand Diagram.

xyarg(z − 1 − i) = 45°
arg(z − a) is the direction from a to z. Fixing it at 45° gives a half-line from a. Full lesson: Rays and Regions on the Argand Diagram

The mistakes worth naming

Where this leads next

Rotation is multiplication by a complex number here and a 2 × 2 matrix in the matrices guide. The identity eiθ = cos θ + i sin θ comes from the Maclaurin series in the sequences and series guide, and every polynomial in the quadratics and polynomials guide has its full set of roots once complex numbers are allowed.

Your turn

Three to try — tap what you get.

i²

(2 + 3i) + (1 − i)

|3 + 4i|

Questions and answers

Are imaginary numbers real, or are they made up?
They are as real as negative numbers, and they were doubted for the same reason: nothing you can count looks like one. A complex number is a point on a plane, written a + bi, and the rules for adding and multiplying those points are forced by ordinary algebra rather than invented. The name imaginary is a seventeenth-century insult that stuck. Nothing about the arithmetic is provisional, and engineering uses it daily to describe alternating current and oscillation.
Why does multiplying by i rotate a number by 90 degrees?
Because multiplying by i twice gives minus one, and minus one is a half turn. If one multiplication by i is a fixed rotation and doing it twice turns you through 180 degrees, then one multiplication must turn you through 90. You can check it directly: 1 times i is i, which sits one unit up the vertical axis, a quarter turn from where 1 sits on the horizontal axis.
How do you divide two complex numbers?
Multiply the top and bottom by the conjugate of the denominator. The conjugate of c + di is c minus di, and multiplying a complex number by its own conjugate always gives a real number, c squared plus d squared. That clears the i out of the denominator, leaving something you can split into a real part and an imaginary part. It is the same maneuver as rationalising a surd denominator.
What is De Moivre's theorem used for?
It raises a complex number to a power by multiplying its angle instead of expanding a bracket. Written in polar form, the nth power of r(cos t + i sin t) is r to the n, at angle nt. That makes an expansion that would take a page of algebra into one line, and it also runs backwards to find the n distinct nth roots of any complex number, which is where the roots of unity come from.
Why does every polynomial have a complex root?
This is the fundamental theorem of algebra, and it is the payoff for extending the number system. Once i exists, a polynomial of degree n has exactly n roots counted with multiplicity. Real coefficients force a further pattern: complex roots come in conjugate pairs, so a cubic with real coefficients either has three real roots or one real root and a conjugate pair. That is why a cubic always crosses the axis at least once.
What does the equation |z - 3| = 2 mean on an Argand diagram?
It is a circle of radius 2 centered at the point 3. The modulus of a difference is the distance between two points, so the equation says the distance from z to 3 is always 2, which is the definition of a circle. Reading modulus as distance turns a page of complex equations into geometry: an equation with two moduli set equal is a perpendicular bisector, and an argument fixed to a constant is a ray.
Mr. Chalk