de Moivre's formula can be used to find the roots of a complex number, not just its powers. Suppose n is a positive integer and a complex number ω is an nth root of z (written ω=z1/n), so that
ωn=z....(1)
Let ω=ρ(cosϕ+isinϕ), and write z in polar form, but crucially using its general argument (not just the principal value), since a single value of θ would only capture one root:
z=r(cosθ+isinθ)=r[cos(θ+2kπ)+isin(θ+2kπ)],k∈Z.
Since ω is an nth root of z, ωn=z, and by de Moivre's theorem ωn=ρn(cosnϕ+isinnϕ). So
ρn(cosnϕ+isinnϕ)=r[cos(θ+2kπ)+isin(θ+2kπ)].
Comparing moduli and arguments: ρn=r and nϕ=θ+2kπ, so
ρ=r1/n,ϕ=nθ+2kπ, k∈Z.
Therefore the values of ω are
r1/n(cosnθ+2kπ+isinnθ+2kπ),k∈Z.
Although k ranges over all integers, the distinct values occur only for k=0,1,2,…,n−1 — for k=n,n+1,n+2,… the same n roots repeat cyclically (since incrementing k by n adds a full 2π to the angle). So the nth roots of z=r(cosθ+isinθ) are
z1/n=r1/n(cosnθ+2kπ+isinnθ+2kπ),k=0,1,2,…,n−1.
Geometric picture. Writing z=rei(θ+2kπ), since ∣ρ∣=r1/n is the same for every k, all n roots lie on a circle of radius r1/n centred at the origin. Furthermore, since successive roots' arguments differ by exactly n2π, the n roots are equally spaced around that circle — the vertices of a regular n-gon inscribed in the circle of radius r1/n. …