How this calculation works
For nonzero z the roots lie on a circle at equal angular spacing of 360°/n.
Root magnitude = |z|^(1/n), θₖ = (arg z + 2πk)/nA worked example
The fourth roots of −1 lie at 45°, 135°, 225°, and 315°.
Good to know
Zero has a single distinct root.
Reference: OpenStax Algebra and Trigonometry (opens in a new tab) ↗
Divide the argument and include every full turn
The default problem finds all fourth roots of −1. In polar form, −1 has magnitude one and argument 180 degrees. Dividing 180 by four gives the first root angle of 45 degrees. Adding 360 degrees to the original argument before dividing produces the next angle, 135 degrees. Two more turns give 225 and 315 degrees.
Each root has magnitude one and coordinates whose components are ±√2/2. Raising a root to the fourth power multiplies its angle by four, returning an odd multiple of 180 degrees. The SVG places the four answers at equal 90-degree intervals on the unit circle.
Read more: OpenStax on polar form and roots of complex numbers (opens in a new tab) ↗
Distinguish all roots from a principal power
For a nonzero complex number with magnitude R and argument θ, the nth roots have magnitude R^(1/n) and angles (θ + 360k)/n for k from zero through n − 1. These roots form a regular polygon centred at the origin. Using only k = 0 would omit the other answers.
Zero is a special case with one distinct root, zero, even though the equation has multiplicity n. The Integer power of i calculator explores a related rotation cycle for integer powers. These calculations use numerical trigonometry, so a displayed component close to zero can reflect rounding. Check a returned root by raising it to the requested integer power and comparing with the original complex number.
A few questions, answered
Why are the angles evenly spaced?
Successive k values add 360/n degrees, which disappears as a complete turn when the root is raised to the nth power.
Do negative real numbers have real roots?
An odd index gives one real negative root. An even index gives no real roots, although all roots still exist in the complex plane.