Raise a complex number to any whole-number power with De Moivre's theorem, and find all n of its n-th roots. The roots always sit at the corners of a regular polygon centred at 0.
If z = r(cos θ + i sin θ), then for every whole number n:
Raising to the n-th power raises the modulus to the n-th power and multiplies the angle by n. For negative n, z must not be 0, because z−n = 1 / zn.
Every complex number z ≠ 0 has exactly n different n-th roots: