Complex Root Calculator
Calculate all n-th roots of any complex number in rectangular and polar form using de Moivre's formula with step-by-step solutions and complex plane visualization.
Understanding N-th Roots of Complex Numbers
In real-number arithmetic, every positive number has two square roots, and negative numbers have no real roots. However, in complex analysis, the Fundamental Theorem of Algebra ensures that every non-zero complex number has exactly $n$ distinct $n$-th roots. For example, any complex number has 2 square roots, 3 cube roots, 4 fourth roots, and so on.
Our Complex Root Calculator computes all $n$ roots of any complex number provided in rectangular ($a + bi$) or polar ($r \angle \theta$) form using de Moivre's Formula. You can explore other complex number representations with our a+bi Form Calculator and perform arithmetic with our Complex Calculator.
De Moivre's Formula for Roots
To find the $n$-th roots of a complex number $z = a + bi$, we first express $z$ in polar (or trigonometric) form:
$$z = r (\cos\theta + i\sin\theta) = r e^{i\theta}$$where:
- Modulus ($r$): The distance from the origin on the complex plane, given by $r = |z| = \sqrt{a^2 + b^2}$.
- Argument ($\theta$): The angle in radians or degrees counter-clockwise from the positive real axis, given by $\theta = \operatorname{atan2}(b, a)$.
According to de Moivre's theorem, the $n$ distinct $n$-th roots $w_0, w_1, \dots, w_{n-1}$ are given by:
$$w_k = \sqrt[n]{r} \left( \cos\left( \frac{\theta + 2k\pi}{n} \right) + i \sin\left( \frac{\theta + 2k\pi}{n} \right) \right), \quad \text{for } k = 0, 1, \dots, n-1$$In exponential notation, this is written concisely as:
$$w_k = r^{1/n} \exp\left( i \frac{\theta + 2k\pi}{n} \right)$$Geometric Interpretation on the Argand Plane
The geometry of complex roots reveals one of the most elegant symmetries in mathematics:
- Equal Magnitude: All $n$ roots lie on a circle centered at the origin with radius $R = \sqrt[n]{r}$.
- Equal Angular Spacing: The roots are separated by equal angles of $\Delta\theta = \frac{2\pi}{n}$ radians (or $\frac{360^\circ}{n}$).
- Regular Polygon: Connecting adjacent roots with straight line segments forms a regular $n$-sided polygon (an equilateral triangle for cube roots, a square for 4th roots, a regular pentagon for 5th roots, etc.) inscribed in the circle.
Step-by-Step Example: Finding the Cube Roots of $8i$
Let us determine the 3 cube roots of $z = 0 + 8i$ ($n = 3$):
- Calculate Modulus and Argument: $$r = \sqrt{0^2 + 8^2} = 8, \quad \theta = \frac{\pi}{2} = 90^\circ$$
- Calculate Root Radius: $$R = \sqrt[3]{8} = 2$$
-
Calculate Each Root for $k \in \{0, 1, 2\}$:
- Principal Root ($k = 0$): $\theta_0 = \frac{90^\circ}{3} = 30^\circ \implies w_0 = 2(\cos 30^\circ + i\sin 30^\circ) = \sqrt{3} + i \approx 1.7321 + i$
- Second Root ($k = 1$): $\theta_1 = \frac{90^\circ + 360^\circ}{3} = 150^\circ \implies w_1 = 2(\cos 150^\circ + i\sin 150^\circ) = -\sqrt{3} + i \approx -1.7321 + i$
- Third Root ($k = 2$): $\theta_2 = \frac{90^\circ + 720^\circ}{3} = 270^\circ \implies w_2 = 2(\cos 270^\circ + i\sin 270^\circ) = -2i$
Frequently Asked Questions
What is the principal n-th root of a complex number?
The principal root is the unique root obtained when setting $k = 0$ in de Moivre's root formula with the principal argument $\theta \in (-\pi, \pi]$ or $[0, 2\pi)$. It has the smallest non-negative angle in the fundamental interval.
Why does an n-th degree complex root have exactly n solutions?
Solving $w^n = z$ corresponds to finding roots of a polynomial of degree $n$. By the Fundamental Theorem of Algebra, any polynomial of degree $n$ with complex coefficients has exactly $n$ complex roots (counting multiplicity). For any non-zero $z$, all $n$ roots are distinct.
What are the roots of unity?
The $n$-th roots of unity are the solutions to the equation $w^n = 1$. They are located on the unit circle ($r = 1$) at angles $\theta_k = \frac{2k\pi}{n}$ for $k = 0, 1, \dots, n-1$. Multiplying the roots of unity by $\sqrt[n]{r} e^{i\theta/n}$ gives the roots of any arbitrary complex number $z$.
Can this calculator handle pure real or pure imaginary numbers?
Yes. Pure real numbers have an imaginary component of 0, and pure imaginary numbers have a real component of 0. Negative real numbers (such as -16) will correctly produce complex roots containing imaginary units.
How do I convert between degrees and radians?
Multiply degrees by $\frac{\pi}{180}$ to obtain radians, or multiply radians by $\frac{180}{\pi}$ to obtain degrees. The calculator allows toggling between both angle representations instantly.