Math Core

Module 1.8 · Algebra

Complex numbers

Complex numbers appear on nearly every AMC 12, and they are a favorite for the last third of the test. The key shift is to stop thinking of a+bia + bi as just a pair of numbers and start thinking of it as a point with a length and an angle. Multiplying complex numbers then becomes multiplying lengths and adding angles, and big powers become easy.

The basics

A complex number is z=a+biz = a + bi with i2=−1i^2 = -1. You add and multiply like polynomials, replacing i2i^2 with −1-1. Powers of ii cycle with period 44:

i1=i,i2=−1,i3=−i,i4=1.i^1 = i, \quad i^2 = -1, \quad i^3 = -i, \quad i^4 = 1.

The conjugate of z=a+biz = a + bi is zˉ=a−bi\bar{z} = a - bi, and the modulus (absolute value) is ∣z∣=a2+b2|z| = \sqrt{a^2 + b^2}, the distance from 00 to the point (a,b)(a, b). The key identity is

zzˉ=a2+b2=∣z∣2.z \bar{z} = a^2 + b^2 = |z|^2.

To divide, multiply the top and bottom by the conjugate of the denominator. Also, ∣zw∣=∣z∣∣w∣|zw| = |z||w| and ∣zw∣=∣z∣∣w∣\left|\dfrac{z}{w}\right| = \dfrac{|z|}{|w|}, so you can find the modulus of a messy product without multiplying it out.

Worked example: Powers of i

Find i+i2+i3+⋯+i2026i + i^2 + i^3 + \dots + i^{2026}.

Every block of four consecutive powers sums to i−1−i+1=0i - 1 - i + 1 = 0. Since 2026=4⋅506+22026 = 4 \cdot 506 + 2, only the last two terms survive, and they behave like i1+i2i^1 + i^2. The sum is −1+i-1 + i.

Polar form

A complex number with modulus rr and angle θ\theta (measured from the positive real axis) is

z=r(cos⁡θ+isin⁡θ).z = r(\cos\theta + i\sin\theta).

De Moivre's Theorem

Multiplying complex numbers multiplies their moduli and adds their angles. So

(r(cos⁡θ+isin⁡θ))n=rn(cos⁡nθ+isin⁡nθ).\big(r(\cos\theta + i\sin\theta)\big)^n = r^n\big(\cos n\theta + i\sin n\theta\big).

Worked example: A big power

Compute (1+i)10(1 + i)^{10}.

(1+i)2=1+2i+i2=2i(1 + i)^2 = 1 + 2i + i^2 = 2i, so (1+i)10=(2i)5=32i5=32i(1 + i)^{10} = (2i)^5 = 32 i^5 = 32i.

In polar form: 1+i1 + i has modulus 2\sqrt{2} and angle 45∘45^\circ, so its 1010th power has modulus (2)10=32(\sqrt{2})^{10} = 32 and angle 450∘450^\circ, which points the same way as 90∘90^\circ. That's 32i32i again.

Roots of unity

The solutions of zn=1z^n = 1 are the nnth roots of unity: z=cos⁡2πkn+isin⁡2πknz = \cos\dfrac{2\pi k}{n} + i\sin\dfrac{2\pi k}{n} for k=0,1,…,n−1k = 0, 1, \dots, n - 1. They sit at the vertices of a regular nn-gon on the unit circle.

The six 6th roots of unity form a regular hexagon on the unit circle.Open in grapher →

Two facts do most of the work:

  • The nnth roots of unity add to 00 (for n≥2n \ge 2), because they are the roots of zn−1z^n - 1, which has no zn−1z^{n-1} term.
  • If ω≠1\omega \ne 1 satisfies ωn=1\omega^n = 1, then 1+ω+ω2+⋯+ωn−1=01 + \omega + \omega^2 + \dots + \omega^{n-1} = 0. For cube roots, ω2+ω+1=0\omega^2 + \omega + 1 = 0.

Also, zn−1=(z−1)(z−ω)(z−ω2)⋯(z−ωn−1)z^n - 1 = (z - 1)(z - \omega)(z - \omega^2)\cdots(z - \omega^{n-1}), where ω\omega is the root with the smallest positive angle. Plugging a number in for zz evaluates products over all the roots at once.

Worked example: Cube roots of unity

Let ω\omega be a nonreal cube root of 11. Compute (1−ω+ω2)(1+ω−ω2)(1 - \omega + \omega^2)(1 + \omega - \omega^2).

Use 1+ω+ω2=01 + \omega + \omega^2 = 0. Then 1+ω2=−ω1 + \omega^2 = -\omega, so 1−ω+ω2=−2ω1 - \omega + \omega^2 = -2\omega. Similarly 1+ω=−ω21 + \omega = -\omega^2, so 1+ω−ω2=−2ω21 + \omega - \omega^2 = -2\omega^2. The product is 4ω3=44\omega^3 = 4.

Geometry in the complex plane

∣z−w∣|z - w| is the distance between the points zz and ww. So equations like ∣z−4∣=∣z∣|z - 4| = |z| describe geometric sets: here, the points equally far from 00 and 44, which is the vertical line Re(z)=2\text{Re}(z) = 2.

Worked example: Equidistant point

Find the complex number zz with ∣z∣=∣z−4∣=∣z−2i∣|z| = |z - 4| = |z - 2i|.

∣z∣=∣z−4∣|z| = |z - 4| means zz is on the perpendicular bisector of 00 and 44: real part 22. ∣z∣=∣z−2i∣|z| = |z - 2i| means imaginary part 11. So z=2+iz = 2 + i, the center of the circle through 00, 44 and 2i2i.

Common mistake

∣a+bi∣=a2+b2|a + bi| = \sqrt{a^2 + b^2}, not a+ba + b and not a2−b2\sqrt{a^2 - b^2}. And i2=−1i^2 = -1 is easy to drop in the middle of a long expansion; after multiplying, scan for every i2i^2 and replace it.

Tip

When a problem has z+1zz + \dfrac{1}{z} with a small value, multiply by zz to get a quadratic. For instance, z+1z=1z + \dfrac{1}{z} = 1 gives z2−z+1=0z^2 - z + 1 = 0, and multiplying by z+1z + 1 shows z3=−1z^3 = -1. Now high powers of zz cycle.

Practice

Practice 1

What is (2+3i)(4−i)(2 + 3i)(4 - i)?

Practice 2

What is ∣(3+4i)3(1−i)4∣\left| \dfrac{(3 + 4i)^3}{(1 - i)^4} \right|?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

What is (1+i)20(1 + i)^{20}? (It is a real number.)

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

A complex number zz with positive real part satisfies z2=−5+12iz^2 = -5 + 12i. What is zz?

Practice 5

For how many integers nn with 1≤n≤1001 \le n \le 100 is (1+i)n(1 + i)^n a real number?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Let ω\omega be a nonreal complex number with ω3=1\omega^3 = 1. What is (2+ω)(2+ω2)(2 + \omega)(2 + \omega^2)?

Practice 7

A complex number zz satisfies z+1z=1z + \dfrac{1}{z} = 1. What is z2026+1z2026z^{2026} + \dfrac{1}{z^{2026}}?

Practice 8

Let ω=cos⁡2π7+isin⁡2π7\omega = \cos\dfrac{2\pi}{7} + i\sin\dfrac{2\pi}{7}. What is (2−ω)(2−ω2)(2−ω3)(2−ω4)(2−ω5)(2−ω6)(2 - \omega)(2 - \omega^2)(2 - \omega^3)(2 - \omega^4)(2 - \omega^5)(2 - \omega^6)?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Real contest practice