Learn

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?

No real number has a negative square, because a positive squared is positive and a negative squared is also positive. So x² = −1 has no solution on the number line.

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

The way out is to define a new number. Let i be a number with i² = −1. Every other square root of a negative then follows: √(−9) = √9 × √(−1) = 3i. Algebra still works with i in an expression: expand brackets as before, and replace with −1 wherever it appears. See The Imaginary Unit.

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.

The powers repeat in a cycle of four — only the remainder of n / 4 matters. Full lesson: Powers of i

Now you

What is i⁶?

What is ?

How do you add and multiply complex numbers?

To add, add the real parts and the imaginary parts separately: (3 + 2i) + (1 − 5i) = 4 − 3i. The two parts never mix. See Adding Complex Numbers.

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

To multiply, expand the brackets as if i were a letter, then replace with −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.

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.

The pair is a reflection in the real axis. Multiplying them gives a difference of two squares, a² − b². Full lesson: Complex Conjugates

To divide, multiply the numerator and the denominator by the conjugate of the denominator. The denominator becomes real, and the division is then ordinary. 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.

Multiply numerator and denominator by the conjugate: that is multiplying by 1. Full lesson: Dividing Complex Numbers

Now you

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

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

Where do complex numbers come from in an equation?

From a quadratic whose discriminant is negative. The graph misses the x-axis, but the quadratic formula still applies. For x² − 4x + 13 = 0, the discriminant is 16 − 52 = −36, so x = (4 ± 6i) / 2 = 2 ± 3i. See Complex Roots of a Quadratic.

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.

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.

Multiply that pair of factors and the i vanishes: z² − 4z + 13, all real. Full lesson: Complex Roots of a Cubic

Now you

Solve x² + 9 = 0

Solve x² + 16 = 0

What does a complex number look like?

Like a point on a plane. Plot the real part along the horizontal axis and the imaginary part up the vertical axis. That plane is the Argand diagram. See The Argand Diagram.

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

Two measurements fix a point. 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.

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.

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.
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

What is the argument of 3?

What is the argument of 2 + 2i?

What is De Moivre's theorem?

It is the rule for powers in polar form: [r(cos θ + i sin θ)]n = rn(cos nθ + i sin nθ). Multiplying z by itself n times multiplies the argument by n and raises the modulus to the power n. See De Moivre's Theorem.

De Moivre in one line: r at θ, raised to n, is rⁿ at . 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.

Replace 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

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

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.

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 e = cos θ + i sin θ and every complex number is re. De Moivre is then the index law (e)n = einθ. See The Exponential Form of a Complex Number.

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.

|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.

|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.

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 e = 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.

Learn this properly in the app

Every lesson linked above is a short illustrated screen with a worked example and practice questions, in a catalog of more than 800 lessons.

Your turn

Three to try — tap what you get.

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

|3 + 4i|

Math ChallengePractice that adapts to you, the whole lesson ladder, and your progress saved.
Start with Math Challenge

Mr. Chalk Practice this lesson in the app