Complex numbers turn rotations into multiplication. That single fact makes huge powers easy to compute, turns regular polygons into polynomial equations, and lets you "filter" out every third or fourth term of a sum. AIME problems use all three ideas, often dressed up as problems about something else.
Polar form and De Moivre's theorem
Every nonzero complex number can be written as
z=r(cosθ+isinθ)=rcisθ,
where r=∣z∣ is the distance from 0 and θ is the angle from the positive real axis. When you multiply, lengths multiply and angles add:
r1cisθ1⋅r2cisθ2=r1r2cis(θ1+θ2).
Repeating this gives De Moivre's theorem: (rcisθ)n=rncis(nθ). To raise a complex number to a large power, convert to polar form, multiply the angle by n, and reduce it modulo 360∘.
Two more facts you will use constantly:
zzˉ=∣z∣2. If ∣z∣=1, then z1=zˉ.
If z=cisθ, then z+z1=2cosθ and zn+zn1=2cos(nθ).
Roots of unity
Definition
Roots of unity
The nth roots of unity are the n solutions of zn=1:
1,ω,ω2,…,ωn−1,where ω=cisn360∘.
They are the vertices of a regular n-gon inscribed in the unit circle, with one vertex at 1.
Because they are exactly the roots of zn−1, you get a factorization
zn−1=(z−1)(z−ω)(z−ω2)⋯(z−ωn−1).
Everything else follows from this and Vieta's formulas.
Three workhorse facts
Let ω=cisn360∘ with n≥2.
Sum:1+ω+ω2+⋯+ωn−1=0. More generally k=0∑n−1ωjk equals n if n∣j and 0 otherwise.
Product:k=0∏n−1(c−ωk)=cn−1 for any number c. Dividing out c−1 and letting c→1 gives k=1∏n−1(1−ωk)=n.
Filter: if f(x)=∑akxk, then
n∣k∑ak=n1j=0∑n−1f(ωj).
Fact 1 is Vieta (the zn−1 coefficient of zn−1 is 0), or geometry (the vectors to the vertices of a regular polygon cancel). For j not a multiple of n, the numbers ωjk are again roots of unity summing to zero. Fact 3 follows from fact 1: in ∑jf(ωj), the term akxk contributes ak∑jωjk, which is nak when n∣k and 0 otherwise.
Fact 2 has a geometric meaning: ∣1−ωk∣ is the distance from vertex 1 to vertex ωk. So in a regular n-gon inscribed in a unit circle, the product of the distances from one vertex to all the others is n.
Common mistake
When you use ∏k=0n−1(c−ωk)=cn−1, the order matters: it is c−ωk, not ωk−c. Flipping all n factors multiplies by (−1)n. For odd n, ∏(c+ωk)=∏−(−c−ωk)=−((−c)n−1)=cn+1.
Worked examples
Worked example: A big power
Find the real part of (1+i3)10.
∣1+i3∣=2 and the angle is 60∘, so (1+i3)10=210cis600∘=1024cis240∘. Since cos240∘=−21, the real part is −512.
Worked example: Using z + 1/z
A complex number z satisfies z+z1=1. Find z100+z1001.
Multiply by z: z2−z+1=0, so z=cis(±60∘) and ∣z∣=1. Then z100+z−100=2cos(6000∘). Since 6000=16⋅360+240, this is 2cos240∘=−1.
Worked example: The roots of unity filter
Compute (09)+(39)+(69)+(99).
Use f(x)=(1+x)9 and n=3, with ω=cis120∘:
sum=3f(1)+f(ω)+f(ω2).
f(1)=512. Since 1+ω+ω2=0, we have 1+ω=−ω2=cis60∘, so f(ω)=cis540∘=−1. Likewise f(ω2)=f(ω)=−1. The sum is 3512−2=170. Check: 1+84+84+1=170.
Worked example: Products over roots of unity
Let ω=cis5360∘. Find (3−ω)(3−ω2)(3−ω3)(3−ω4).
Including k=0, the full product is ∏k=04(3−ωk)=35−1=242. The k=0 factor is 3−1=2, so the answer is 2242=121.
Tip
If a problem involves a sum or product over the vertices of a regular polygon, place the polygon's center at 0 and write the vertices as Rωk. Distances become ∣z−Rωk∣, and the facts above do the rest.
Practice
Practice 1
There is a real number k with (1+i)18=ki. Find k.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 2
Let ω=cis7360∘. Find k=0∏6(ωk+2).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 3
A regular 20-gon is inscribed in a circle of radius 3. A point P is at distance 4 from the center of the circle. Find the sum of the squares of the distances from P to the 20 vertices.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 4
The solutions of z12=236 are the vertices of a convex polygon in the complex plane. Find the area of the polygon.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 5
A complex number z satisfies z+z1=3. For how many integers n with 1≤n≤999 is zn+zn1=1?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 6
Let (1+x)20=a0+a1x+⋯+a20x20. Find the remainder when a0+a4+a8+a12+a16+a20 is divided by 1000.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 7
Let ω=cis5360∘. Then
k=0∑42−ωk1=nm,
where m and n are relatively prime positive integers. Find m+n.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 8
Let ω=cis9360∘. Find k=0∏8(ω2k+ωk+2).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real contest practice
2018 AIME I, Problem 6: counting unit complex numbers for which a difference of huge powers is real.
1996 AIME, Problem 11: the product of the roots of a degree-6 polynomial that lie in the upper half-plane, found by relating them to roots of unity.
2024 AIME I, Problem 7: the largest possible real part of an expression in z with ∣z∣=4, using polar form.