Category: Complex Numbers Level: 301
zn = 1 ⇔ z = e2π ik/n: n points 360°/n apart
The n solutions of zⁿ = 1 always sit on the unit circle, spaced 360°/n apart, starting at 1. They form a regular polygon with n corners.
z² = 1 has two answers, 1 and −1. They sit on opposite sides of the circle, 180° apart.
z2 = 1: z = 1, -1
z³ = 1 has three answers, 120° apart. Only one of them is real; the other two are complex and form a triangle with it.
z3 = 1: z = 1, -1/2 ± (√3/2)i
z⁴ = 1 gives 1, i, −1, and −i, a square. Each one is the previous one turned a quarter turn, which is multiplication by i.
z4 = 1: z = 1, i, -1, -i
z⁵ = 1 makes a pentagon and z⁸ = 1 an octagon. Any n works the same way, and the polygon always has a corner at 1.
zn = 1: zk = cos(2π k/n) + i sin(2π k/n), k = 0, ..., n - 1
cd svg-generator python3 -m svgmath render roots-of-unity-polygons --out /tmp/roots-of-unity-polygons
Source: svgmath/diagrams/complex_numbers.py