4.02s - Using roots of unity

4.02s - Using roots of unity

Use the roots of zn=1z^n=1 to describe regular polygons, prove sums of roots and their real parts, and calculate sides, diagonals and exact trigonometric values. Algebra and symmetry will explain why a regular pentagon contains the golden ratio.

Roots of unity as repeated rotations

Why is a diagonal of a regular pentagon (1+5)/2(1+\sqrt5)/2 times as long as a side? A pentagon does not look like a quadratic equation, but its vertices supply one.

Begin with the fifth roots of 1. One is 1 itself. The others are reached by repeatedly turning through 2π/52\pi/5 around the unit circle:

1,e2πi/5,e4πi/5,e6πi/5,e8πi/51,\quad e^{2\pi i/5},\quad e^{4\pi i/5},\quad e^{6\pi i/5},\quad e^{8\pi i/5}

Their fifth powers are all 1, because their arguments become integer multiples of 2π2\pi. Joining them in order gives a regular pentagon with centre OO.

You already know

The nn roots of a non-zero complex number have the same modulus and spacing 2π/n2\pi/n. Multiplication by a unit complex number is a rotation about OO; the angle added is its argument.

For roots of 1, the common modulus is 1 and the first angle is 0. It is useful to name the first anticlockwise step ω\omega.

Roots of unity

The nth roots of unity are the solutions of zn=1z^n=1. For n≥2n\ge2, put ω=e2πi/n\omega=e^{2\pi i/n}; the complete set is 1,ω,ω2,…,ωn−11,\omega,\omega^2,\ldots,\omega^{n-1}. For example, the fourth roots of unity are 1,i,−1,−i1,i,-1,-i. The number 0 is not a root of unity.

The exponential list is supplied in the booklet.

Roots of unity

For a positive integer nn,

zk=exp⁡(2kπin),k=0,1,…,n−1z_k=\exp\left(\frac{2k\pi i}{n}\right),\qquad k=0,1,\ldots,n-1

are the distinct solutions of zn=1z^n=1.

In the formula booklet.

With ω=e2πi/n\omega=e^{2\pi i/n}, multiplication by ω\omega moves one vertex anticlockwise to the next. Also ωn=1\omega^n=1, so reduce powers modulo nn: for fifth roots, ω8=ω3\omega^8=\omega^3. The inverse and conjugate coincide, since ∣ω∣=1|\omega|=1:

ω∗=ω−1=ωn−1\omega^*=\omega^{-1}=\omega^{n-1}

This relation is not separately printed in the formula booklet; it follows from ωω∗=∣ω∣2=1\omega\omega^*=|\omega|^2=1. More generally, (ωk)∗=ωn−k(\omega^k)^*=\omega^{n-k}, with exponents understood modulo nn.

[DIAGRAM: asset_name: Fifth roots of unity form a pentagon; asset_slug: h245_4_02s_pentagon_unity; caption: Multiplication by omega moves one vertex anticlockwise around the regular pentagon; description: Equal-scale Argand axes labelled Re and Im with origin O and a unit circle. The five blue vertices are labelled 1, omega, omega squared, omega cubed and omega to the fourth. Sage dashed lines pair omega with omega to the fourth and omega squared with omega cubed across the real axis. One clay side from 1 to omega and one blue diagonal from 1 to omega squared are distinguished, and an arc marks the central angle 2pi/5]
Multiplication by omega moves one vertex anticlockwise around the regular pentagon

Choose the step carefully: e4πi/6e^{4\pi i/6} is a sixth root of unity, but its powers reach only three of the six vertices. The choice e2πi/ne^{2\pi i/n} always reaches every vertex.

Key idea

Roots of unity turn the geometry of a regular polygon into powers of one complex number; multiplication moves around the vertices and conjugation reflects them.

Reflection preserves a vertex's real part and reverses its imaginary part; it does not negate the whole vertex.

Sums of roots and their real parts

The complete set of roots of unity sums to zero when n≥2n\ge2, so the real coordinates sum to zero and the imaginary coordinates sum to zero.

Let S=1+ω+⋯+ωn−1S=1+\omega+\cdots+\omega^{n-1}, where ω=e2πi/n≠1\omega=e^{2\pi i/n}\ne1. This is a GP:

S=1−ωn1−ω=1−11−ω=0S=\frac{1-\omega^n}{1-\omega}=\frac{1-1}{1-\omega}=0

The denominator is non-zero because n≥2n\ge2. Geometrically, the vertex position vectors balance around OO. Taking real and imaginary parts is legitimate because addition adds the coordinates separately.

Sum of all roots of unity

For n≥2n\ge2 and ω=e2πi/n\omega=e^{2\pi i/n},

∑k=0n−1ωk=0\sum_{k=0}^{n-1}\omega^k=0

Consequently,

∑k=0n−1cos⁡2kπn=0∑k=0n−1sin⁡2kπn=0\sum_{k=0}^{n-1}\cos\frac{2k\pi}{n}=0 \qquad \sum_{k=0}^{n-1}\sin\frac{2k\pi}{n}=0

Not in the formula booklet: learn it.

The exception n=1n=1 has only the root 1, whose sum is 1. Also, a partial list does not generally sum to zero: for example, 1+i≠01+i\ne0 although both terms are fourth roots of unity.

Worked example 1: the real parts of fifth roots

Question. By considering the fifth roots of unity, determine

cos⁡2π5+cos⁡4π5\cos\frac{2\pi}5+\cos\frac{4\pi}5

Plan. Sum all five roots, take real parts, and pair the reflected vertices.

1+ω+ω2+ω3+ω4=0sum of fifth roots1+cos⁡2π5+cos⁡4π5+cos⁡6π5+cos⁡8π5=0real parts\begin{aligned} 1+\omega+\omega^2+\omega^3+\omega^4&=0 && \text{sum of fifth roots} \\ 1+\cos\frac{2\pi}5+\cos\frac{4\pi}5 +\cos\frac{6\pi}5+\cos\frac{8\pi}5&=0 && \text{real parts} \end{aligned}

The conjugate pairs have equal real parts:

cos⁡8π5=cos⁡2π5ω4=ω∗cos⁡6π5=cos⁡4π5ω3=(ω2)∗1+2cos⁡2π5+2cos⁡4π5=0combine pairs\begin{aligned} \cos\frac{8\pi}5&=\cos\frac{2\pi}5 && \omega^4=\omega^* \\ \cos\frac{6\pi}5&=\cos\frac{4\pi}5 && \omega^3=(\omega^2)^* \\ 1+2\cos\frac{2\pi}5+2\cos\frac{4\pi}5&=0 && \text{combine pairs} \end{aligned}

Why this step? Reflection in the real axis duplicates each non-real vertex's horizontal coordinate, so five terms collapse to a constant and two doubled cosines.

Answer. cos⁡2π5+cos⁡4π5=−12\displaystyle\cos\frac{2\pi}5+\cos\frac{4\pi}5=-\frac12.

Check. The two cosines are approximately 0.3090170.309017 and −0.809017-0.809017, whose sum is −0.5-0.5.

Worked example 2 changes only the number of vertices, from five to seven. There are now three conjugate pairs.

Worked example 2: the real parts of seventh roots

Question. By considering the seventh roots of unity, determine

cos⁡2π7+cos⁡4π7+cos⁡6π7\cos\frac{2\pi}7+\cos\frac{4\pi}7+\cos\frac{6\pi}7

Plan. Take real parts of the complete root sum, pair ωk\omega^k with ω7−k\omega^{7-k}, and divide by 2.

∑k=06ωk=0ω=e2πi/71+2cos⁡2π7+2cos⁡4π7+2cos⁡6π7=0real parts; three pairscos⁡2π7+cos⁡4π7+cos⁡6π7=−12subtract 1; divide by 2\begin{aligned} \sum_{k=0}^{6}\omega^k&=0 && \omega=e^{2\pi i/7} \\ 1+2\cos\frac{2\pi}7+2\cos\frac{4\pi}7+2\cos\frac{6\pi}7&=0 && \text{real parts; three pairs} \\ \cos\frac{2\pi}7+\cos\frac{4\pi}7+\cos\frac{6\pi}7&=-\frac12 && \text{subtract 1; divide by 2} \end{aligned}

Why this step? An odd number of roots leaves 1 on its own, while all the other roots are in reflected pairs. The answer is unchanged even though the individual cosines are different.

Answer. −12-\frac12.

Check. The three values are approximately 0.6234900.623490, −0.222521-0.222521 and −0.900969-0.900969, which sum to −0.5-0.5.

These exact cosine sums are consequences of the root sum, not separate formula-booklet entries. For even nn, remember the real root −1-1 as well as 1 when pairing the remaining roots.

Watch out

Wrong: the non-real nth roots alone sum to zero. The zero sum uses every root, including 1 and, when nn is even, −1-1. Right: start with the complete list before deleting or pairing terms.

With nine vertices there are four conjugate pairs and the same single unpaired root 1.

Sides and diagonals as complex differences

The distance between vertices represented by uu and vv is ∣v−u∣|v-u|, so subtracting roots of unity measures sides and diagonals directly.

For the unit-circle points 1 and eiαe^{i\alpha}, centre the difference:

eiα−1=eiα/2(eiα/2−e−iα/2)=2ieiα/2sin⁡α2\begin{aligned} e^{i\alpha}-1 &=e^{i\alpha/2}(e^{i\alpha/2}-e^{-i\alpha/2}) \\ &=2i e^{i\alpha/2}\sin\frac\alpha2 \end{aligned}

Taking moduli gives ∣eiα−1∣=2∣sin⁡(α/2)∣|e^{i\alpha}-1|=2|\sin(\alpha/2)|, since ∣i∣=∣eiα/2∣=1|i|=|e^{i\alpha/2}|=1. This is the same chord length you get by splitting an isosceles triangle into two right-angled triangles.

A chord between roots of unity

For ω=e2πi/n\omega=e^{2\pi i/n} and 1≤k≤n−11\le k\le n-1,

∣1−ωk∣=2sin⁡kπn|1-\omega^k|=2\sin\frac{k\pi}{n}

The sine is positive because 0<kπ/n<π0<k\pi/n<\pi. On a circle of radius R>0R>0, multiply this length by RR.

Not in the formula booklet: learn it.

For any pair of vertices ωj\omega^j, ωj+k\omega^{j+k}, factor out ωj\omega^j. Its modulus is 1, so the distance is still ∣1−ωk∣|1-\omega^k|. The chord depends on the number of steps between vertices, not the starting vertex.

Worked example 3: a pentagon side

Question. The fifth roots of unity are vertices of a regular pentagon. Find the exact length of one side.

Plan. Take the adjacent vertices 1 and ω=e2πi/5\omega=e^{2\pi i/5}, and calculate their difference's modulus.

s=∣ω−1∣distance between adjacent vertices=∣2ieiπ/5sin⁡(π/5)∣centre the difference=2sin⁡π5unit factors have modulus 1\begin{aligned} s&=|\omega-1| && \text{distance between adjacent vertices} \\ &=|2i e^{i\pi/5}\sin(\pi/5)| && \text{centre the difference} \\ &=2\sin\frac\pi5 && \text{unit factors have modulus 1} \end{aligned}

Why this step? Subtraction describes the displacement along the side, whereas the modulus of either vertex alone is just its radius from OO.

Answer. s=2sin⁡π5\displaystyle s=2\sin\frac\pi5.

Check. Numerically s≈1.18s\approx1.18, shorter than the diameter 2, as a pentagon side must be.

Worked example 4 changes only the step between vertices, from one step to two. The chord is now a diagonal.

Worked example 4: a pentagon diagonal

Question. Find the exact length of a diagonal of the same pentagon.

Plan. Use vertices 1 and ω2=e4πi/5\omega^2=e^{4\pi i/5} and take the modulus of their difference.

d=∣ω2−1∣skip one vertex=∣2ie2πi/5sin⁡(2π/5)∣centre the difference=2sin⁡2π5positive sine\begin{aligned} d&=|\omega^2-1| && \text{skip one vertex} \\ &=|2i e^{2\pi i/5}\sin(2\pi/5)| && \text{centre the difference} \\ &=2\sin\frac{2\pi}5 && \text{positive sine} \end{aligned}

Why this step? The angle between the radii doubles, so the half-angle inside the chord formula changes from π/5\pi/5 to 2π/52\pi/5.

Answer. d=2sin⁡2π5\displaystyle d=2\sin\frac{2\pi}5.

Check. d≈1.90d\approx1.90, longer than the side and still shorter than the diameter. Vertices three steps apart give the same length because sin⁡(3π/5)=sin⁡(2π/5)\sin(3\pi/5)=\sin(2\pi/5).

The ratio is already simple:

ds=sin⁡(2π/5)sin⁡(π/5)=2cos⁡π5\frac ds=\frac{\sin(2\pi/5)}{\sin(\pi/5)}=2\cos\frac\pi5

This follows from the double-angle sine identity. It is not a separate formula-booklet result; the next part finds its exact value.

Watch out

Wrong: the distance between two unit roots is 1 because both have modulus 1. Their moduli measure distances from OO, not from each other. Right: subtract the vertices, then take the modulus.

The same difference method works with another regular polygon; only the angular step changes.

Exact values from the pentagon

The fifth-root sum links two cosines; a double-angle identity turns that link into a quadratic equation.

From the second part,

1+2cos⁡2π5+2cos⁡4π5=01+2\cos\frac{2\pi}5+2\cos\frac{4\pi}5=0

Either cosine can be used as the unknown. The two values are the two roots of the same quadratic, and the diagram chooses the correct sign.

Worked example 5: the first vertex's real part

Question. Using the fifth roots of unity, determine the exact value of cos⁡2π5\cos\frac{2\pi}5.

Plan. Put c=cos⁡(2π/5)c=\cos(2\pi/5), use cos⁡(4π/5)=2c2−1\cos(4\pi/5)=2c^2-1, and solve the quadratic from the root sum.

1+2c+2(2c2−1)=0root sum and double angle4c2+2c−1=0collect termsc=−2±4+168quadratic formula=−1±54simplify\begin{aligned} 1+2c+2(2c^2-1)&=0 && \text{root sum and double angle} \\ 4c^2+2c-1&=0 && \text{collect terms} \\ c&=\frac{-2\pm\sqrt{4+16}}8 && \text{quadratic formula} \\ &=\frac{-1\pm\sqrt5}{4} && \text{simplify} \end{aligned}

Why this step? The angle 2π/52\pi/5 is in the first quadrant, so its cosine is positive. Only one quadratic root fits the geometry.

Answer. cos⁡2π5=5−14\displaystyle\cos\frac{2\pi}5=\frac{\sqrt5-1}{4}.

Check. (5−1)/4≈0.309017(\sqrt5-1)/4\approx0.309017, matching the first vertex's real coordinate. Substitution into 4c2+2c−14c^2+2c-1 gives zero exactly.

Worked example 6 changes only the chosen vertex from ω\omega to ω2\omega^2. The quadratic is unchanged, but the sign selection reverses.

Worked example 6: the second vertex's real part

Question. Using the fifth roots of unity, determine the exact value of cos⁡4π5\cos\frac{4\pi}5.

Plan. Put u=cos⁡(4π/5)u=\cos(4\pi/5), express cos⁡(2π/5)\cos(2\pi/5) using the double angle of 4π/54\pi/5, and choose the negative quadratic root.

cos⁡8π5=cos⁡2π5=2u2−1reflection; double angle1+2u+2(2u2−1)=0real root sum4u2+2u−1=0collect termsu=−1±54solve the quadratic\begin{aligned} \cos\frac{8\pi}5&=\cos\frac{2\pi}5=2u^2-1 && \text{reflection; double angle} \\ 1+2u+2(2u^2-1)&=0 && \text{real root sum} \\ 4u^2+2u-1&=0 && \text{collect terms} \\ u&=\frac{-1\pm\sqrt5}{4} && \text{solve the quadratic} \end{aligned}

Why this step? The second vertex lies to the left of the imaginary axis, so its real part is negative; the negative quadratic root is required.

Answer. cos⁡4π5=−1+54\displaystyle\cos\frac{4\pi}5=-\frac{1+\sqrt5}{4}.

Check. Its approximate value is −0.809017-0.809017. Adding it to (5−1)/4(\sqrt5-1)/4 gives −1/2-1/2, agreeing with the earlier root sum.

These exact values are derived results, not printed in the formula booklet. To finish the opening question, π/5\pi/5 is acute and

2cos⁡π5=2+2cos⁡(2π/5)positive half-angle value=3+52substitute the exact cosine=1+52(1+52)2=3+52\begin{aligned} 2\cos\frac\pi5 &=\sqrt{2+2\cos(2\pi/5)} && \text{positive half-angle value} \\ &=\sqrt{\frac{3+\sqrt5}{2}} && \text{substitute the exact cosine} \\ &=\frac{1+\sqrt5}{2} && \left(\frac{1+\sqrt5}{2}\right)^2=\frac{3+\sqrt5}{2} \end{aligned}

Therefore the pentagon's diagonal-to-side ratio is (1+5)/2(1+\sqrt5)/2, the golden ratio. Scaling or rotating the pentagon does not change that ratio.

Watch out

Wrong: keeping both signs from the quadratic gives two possible values of cos⁡(2π/5)\cos(2\pi/5). An angle has one cosine value. Right: use its quadrant to select the sign, and state that reason in a “determine” question.

For exact lengths on a larger circle, squared distances avoid nested square roots: ∣R−Rωk∣2=R2(2−ωk−ω−k)=2R2(1−cos⁡(2kπ/5))|R-R\omega^k|^2=R^2(2-\omega^k-\omega^{-k})=2R^2(1-\cos(2k\pi/5)). This is the squared chord formula, derived here rather than supplied separately in the booklet.

Quick Recap

  • The nth roots of unity are 1,ω,…,ωn−11,\omega,\ldots,\omega^{n-1}, with ω=e2πi/n\omega=e^{2\pi i/n}; they form a regular polygon when n≥3n\ge3.
  • For n≥2n\ge2, all roots sum to zero. Taking real and imaginary parts gives trigonometric sums.
  • Conjugate vertices have equal real parts; use their symmetry to pair cosine terms.
  • Sides and diagonals are moduli of differences, and their lengths depend on the vertex step.
  • A root sum combined with a multiple-angle identity can determine exact trigonometric values.

The opening pentagon has diagonal-to-side ratio 2cos⁡(π/5)=(1+5)/22\cos(\pi/5)=(1+\sqrt5)/2, obtained from the geometry and algebra of its five roots.