HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Complex Roots and Roots of Unity
  1. 1Complex and conjugate roots
  2. 2The roots of unity
  3. 3Polynomial identities
  1. Mathematics
  2. /Complex Roots and Roots of Unity
  3. /The roots of unity

Course 33.3·Lesson 2 of 3

The roots of unity

The nnn roots of zn=1z^n = 1zn=1 are ωk=cos⁡2πkn+isin⁡2πkn\omega_k = \cos\dfrac{2\pi k}{n} + i\sin\dfrac{2\pi k}{n}ωk​=cosn2πk​+isinn2πk​

about 25 min1 simulation2 practice questions1 Python program5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Lesson 2 of 3Show all lessonsHide
Complex Roots and Roots of Unity
  1. 1Complex and conjugate roots
  2. 2The roots of unity
  3. 3Polynomial identities

Try the code and the simulations beside the lesson.

What you will be able to do

  • write the nnnth roots of unity and place them on the unit circle;
  • simplify expressions in the cube roots of unity;
  • find sums and products over the roots of unity, and products of chords of a regular polygon.

Six points round a clock

Mark the hours 121212, 222, 444, 666, 888 and 101010 on a clock face. They form a regular hexagon. Now think of the clock as the unit circle in the Argand plane, with 121212 o'clock turned to the point 111. These six points are the six solutions of z6=1z^6 = 1z6=1.

The nth roots of unity

By de Moivre's theorem, (cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθ\left(\cos\theta + i\sin\theta\right)^n = \cos n\theta + i\sin n\theta(cosθ+isinθ)n=cosnθ+isinnθ. This equals 111 when nθn\thetanθ is a whole number of turns. So the roots of zn=1z^n = 1zn=1 are

ωk=cos⁡2πkn+isin⁡2πkn,\displaystyle \omega_k = \cos\dfrac{2\pi k}{n} + i\sin\dfrac{2\pi k}{n},ωk​=cosn2πk​+isinn2πk​,

for k=0,1,…,n−1k = 0, 1, \dots, n - 1k=0,1,…,n−1. With ω=ω1\omega = \omega_1ω=ω1​ they are 1,ω,ω2,…,ωn−11, \omega, \omega^2, \dots, \omega^{n-1}1,ω,ω2,…,ωn−1. Many books, and A-Level and IB, also write ωk=e2πik/n\omega_k = e^{2\pi ik/n}ωk​=e2πik/n.

Their sum and their product

They are the roots of zn−1=0z^n - 1 = 0zn−1=0. The coefficient of zn−1z^{n-1}zn−1 is 000, so by Vieta

1+ω+ω2+⋯+ωn−1=0\displaystyle 1 + \omega + \omega^2 + \dots + \omega^{n-1} = 01+ω+ω2+⋯+ωn−1=0

for n≥2n \ge 2n≥2. Their product is (−1)n−1(-1)^{n-1}(−1)n−1.

Powers. The sum ∑kωkm\sum_k \omega_k^m∑k​ωkm​ is nnn when nnn divides mmm, because then every term is 111. Otherwise it is a geometric series with ratio ωm≠1\omega^m \ne 1ωm=1:

∑k=0n−1ωkm=ωmn−1ωm−1\displaystyle \sum_{k=0}^{n-1}\omega^{km} = \dfrac{\omega^{mn} - 1}{\omega^m - 1}k=0∑n−1​ωkm=ωm−1ωmn−1​
=0.\displaystyle \quad = 0.=0.
Two unit circles in the Argand plane. On the left, the six sixth roots of unity form a regular hexagon with one corner at 1. On the right, the five fifth roots of unity form a regular pentagon, and the four chords from the corner 1 to the other corners are drawn.

The cube roots of unity

For n=3n = 3n=3 the roots are 111, ω\omegaω and ω2\omega^2ω2, with

ω=−12+32i.\displaystyle \omega = -\dfrac{1}{2} + \dfrac{\sqrt{3}}{2}i.ω=−21​+23​​i.

Remember three facts: ω3=1\omega^3 = 1ω3=1, 1+ω+ω2=01 + \omega + \omega^2 = 01+ω+ω2=0 and ωˉ=ω2\bar\omega = \omega^2ωˉ=ω2. To simplify a power, reduce the exponent modulo 333: ω11=ω9⋅ω2=ω2\omega^{11} = \omega^{9} \cdot \omega^2 = \omega^2ω11=ω9⋅ω2=ω2.

Example. (1+ω2)4=(−ω)4=ω4=ω(1 + \omega^2)^4 = (-\omega)^4 = \omega^4 = \omega(1+ω2)4=(−ω)4=ω4=ω.

A product that gives n

Divide zn−1z^n - 1zn−1 by z−1z - 1z−1:

1+z+⋯+zn−1\displaystyle 1 + z + \dots + z^{n-1}1+z+⋯+zn−1
=∏k=1n−1(z−ωk).\displaystyle \qquad = \prod_{k=1}^{n-1}(z - \omega_k).=k=1∏n−1​(z−ωk​).

Put z=1z = 1z=1. The left side is nnn, so

∏k=1n−1(1−ωk)=n.\displaystyle \prod_{k=1}^{n-1}(1 - \omega_k) = n.k=1∏n−1​(1−ωk​)=n.

Take the modulus. ∣1−ωk∣|1 - \omega_k|∣1−ωk​∣ is the distance from the corner 111 to the corner ωk\omega_kωk​. So the product of the distances from one corner of a regular nnn-gon in a unit circle to all the other corners is nnn. For n=3n = 3n=3: (1−ω)(1−ω2)=1−ω−ω2+1=3(1 - \omega)(1 - \omega^2) = 1 - \omega - \omega^2 + 1 = 3(1−ω)(1−ω2)=1−ω−ω2+1=3.

Practise with new numbers

Try it in Python

The program makes the nnnth roots of unity with cmath, adds their powers, and multiplies the distances from the corner 111 to the other corners.

Read it first. Then run it. Is the product of the distances equal to n?

1. Change n = 7 to n = 12. Predict the product before you run it.

2. Which powers m give a sum of n? Try a few values.

Common mistakes

  • The root 1. It is one of the nnn roots. The sum over the other n−1n - 1n−1 roots is −1-1−1.
  • Reducing the power. Use the remainder on division by nnn: ωn+2=ω2\omega^{n+2} = \omega^2ωn+2=ω2.
  • 1+ω1 + \omega1+ω. It is −ω2-\omega^2−ω2, not ω2\omega^2ω2.
  • The product over all roots. It is (−1)n−1(-1)^{n-1}(−1)n−1, not 111.

Remember these

  • ωk=cos⁡2πkn+isin⁡2πkn\omega_k = \cos\dfrac{2\pi k}{n} + i\sin\dfrac{2\pi k}{n}ωk​=cosn2πk​+isinn2πk​, corners of a regular nnn-gon.
  • ∑kωkm=n\sum_k\omega_k^m = n∑k​ωkm​=n if n∣mn \mid mn∣m, and 000 otherwise.
  • 1+ω+ω2=01 + \omega + \omega^2 = 01+ω+ω2=0 and ω3=1\omega^3 = 1ω3=1.
  • ∏k=1n−1(1−ωk)=n\prod_{k=1}^{n-1}(1 - \omega_k) = n∏k=1n−1​(1−ωk​)=n.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Simplify ω14+ω22\omega^{14} + \omega^{22}ω14+ω22 for a cube root of unity ω≠1\omega \ne 1ω=1.
  1. Find the sum of the fourth powers of the six roots of z6=1z^6 = 1z6=1.
  1. Show that (1−ω+ω2)3=−8(1 - \omega + \omega^2)^3 = -8(1−ω+ω2)3=−8.
  1. A regular pentagon is drawn in a circle of radius 1 m1\ \text{m}1 m. Find the product of the distances from one corner to the other four, in m4\text{m}^4m4.
  1. Why is the product of all six roots of z6=1z^6 = 1z6=1 equal to −1-1−1?

References

  • OpenStax, Precalculus 2e, Chapter 8, the section on polar form of complex numbers and de Moivre's theorem.
  • T. Andreescu and D. Andrica, Complex Numbers from A to ... Z, Chapter 2, on the nth roots of unity.

Enroll free in Complex Roots and Roots of Unity

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

Let ω be a cube root of unity other than 1…Hard · High School (11–12) · by StemPy Lab
Use prod_(k=1)ⁿ⁻¹(1 - ωᵏ) = n to prove that the distances from one corner of a regular n-gon in a…Advanced · High School (11–12) · by StemPy Lab
Let ω₁, …, ω_(n-1) be the nth roots of unity other than 1, and let g(z) = 1 + z + … + zⁿ⁻¹…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 3Polynomial identities
← Complex Roots and Roots of Unity
← Complex and conjugate rootsPolynomial identities →

Discussion (0)

Log in to join the discussion.

Loading…

for
k=0,…,n−1k = 0, \dots, n - 1k=0,…,n−1
, the corners of a regular polygon on the unit circle. They add to
000
, and the sum of their
mmm
th powers is
nnn
when
nnn
divides
mmm
and
000
otherwise. The cube roots
111
,
ω\omegaω
,
ω2\omega^2ω2
obey
1+ω+ω2=01 + \omega + \omega^2 = 01+ω+ω2=0
, and
∏(1−ωk)=n\prod(1 - \omega_k) = n∏(1−ωk​)=n
over the roots other than
111
.

Python Labs (1)

The roots of unity in PythonPython Lab · by StemPy Lab