Skip to content

Roots of unity

5 min read

Short answer

The nnth roots of unity solve zn=1z^n=1: ωk=e2πik/n\omega_k=e^{2\pi ik/n} for k=0,…,n−1k=0,\ldots,n-1. They are the vertices of a regular nn-gon inscribed in the unit circle, and for n≥2n\ge2 they sum to 00.

n = 4 compared with n = 6n = 41, i, −1, −iSquare on the circleSum = 0n = 6±1, ±½ ± (√3/2)iRegular hexagonSum = 0
Every root is a power of the primitive root ω = e^{2πi/n}.

Why the sum is zero

The roots are 1,ω,ω2,…,ωn−11,\omega,\omega^2,\ldots,\omega^{n-1}, a geometric series with ratio ω≠1\omega\ne1. Its sum is 1−ωn1−ω=1−11−ω=0\dfrac{1-\omega^n}{1-\omega}=\dfrac{1-1}{1-\omega}=0.

Where they are used

The discrete Fourier transform evaluates a signal at the nnth roots of unity, and the FFT exploits their symmetry to run in O(nlog⁡n)O(n\log n). They also factor zn−1=∏k(z−ωk)z^n-1=\prod_k(z-\omega^k).

Worked example

List the sixth roots of unity and verify that they add to 00.

eiπk/3e^{i\pi k/3} for k=0..5k=0..5: 11, 12+32i\tfrac12+\tfrac{\sqrt3}2i, −12+32i-\tfrac12+\tfrac{\sqrt3}2i, −1-1, −12−32i-\tfrac12-\tfrac{\sqrt3}2i, 12−32i\tfrac12-\tfrac{\sqrt3}2i. Real parts: 1+12−12−1−12+12=01+\tfrac12-\tfrac12-1-\tfrac12+\tfrac12=0; imaginary parts cancel in pairs.

Try it yourself

What is the product of the cube roots of unity 1,ω,ω21,\omega,\omega^2?

Show the answer

1⋅ω⋅ω2=ω3=11\cdot\omega\cdot\omega^2=\omega^3=1. In general the product of all nnth roots is (−1)n+1(-1)^{n+1}.

Keep going with practice

Vidi's Fourier lessons rely on these roots when the transform is computed on a computer.