MathorynMathematical Formula Database

Complex Numbers

Roots of Unity

The nn-th roots of unity are the solutions of zn=1z^n=1; they form a regular nn-gon on the unit circle and add up to zero. They are used in the discrete Fourier transform, polynomial factorisation and number theory.

ωk=e2πik/n,k=0,…,n−1,∑k=0n−1ωk=0  (n≥2)\omega_k=e^{2\pi ik/n},\quad k=0,\ldots,n-1,\qquad \sum_{k=0}^{n-1}\omega_k=0\ \ (n\ge2)
LaTeX\omega_k=e^{2\pi ik/n},\quad k=0,\ldots,n-1,\qquad \sum_{k=0}^{n-1}\omega_k=0\ \ (n\ge2)

Variables

ωk\omega_k
k-th root of unity
nn
positive integer

Example

List the fourth roots of unity and check their sum.

  1. e0=1, eiπ/2=i, eiπ=−1, e3iπ/2=−ie^{0}=1,\ e^{i\pi/2}=i,\ e^{i\pi}=-1,\ e^{3i\pi/2}=-i.
  2. 1+i−1−i=01+i-1-i=0.

Answer: 1, i, −1, −i1,\ i,\ -1,\ -i; sum 00.

Related formulas