Complex Root Calculator

Find all \(n\)-th roots of any complex number \(z = a + bi\) using De Moivre's Theorem, complete with an interactive Argand plane diagram and polar conversions.

Quick Examples:
Modulus \(r = |z|\) 1
Argument \(\theta\) 0°
Root Radius \(R = r^{1/n}\) 1
Angular Spacing 120°
Calculated Roots (\(w_k\)) De Moivre's Expansion
Root Rectangular (\(x + yi\)) Polar (\(R \angle \phi\))
Complex Plane (Argand Diagram) Roots form a regular \(n\)-sided polygon inscribed in circle of radius \(R\).
Mathematical Step-by-Step Derivation

How to Use the Complex Root Calculator

1

Input Complex Number \(a + bi\)

Enter real coefficient \(a\) and imaginary coefficient \(b\). Quick presets allow you to test pure reals (e.g. \(-16\)) or pure imaginary numbers (e.g. \(-8i\)).

2

Select Root Degree \(n\) & Angle Mode

Specify the integer root index \(n\) (from square roots up to 12th roots) and choose Degrees (\(^\circ\)) or Radians (\(\text{rad}\)) for phase angle representation.

3

Inspect Argand Polygon & Roots

The tool auto-renders the interactive SVG Argand diagram showing the regular polygon connecting all \(n\) roots, with rectangular, polar, and exponential forms.

Problems This Complex Root Calculator Solves

Extracting All \(n\) Roots Simultaneously

In real arithmetic, even roots of negative numbers are undefined. In \(\mathbb{C}\), every non-zero number has exactly \(n\) roots. This tool computes all \(n\) roots without missing any.

Resolving Quadrant Ambiguities in \(\theta\)

Using basic \(\arctan(b/a)\) drops the angle by \(180^\circ\) for complex numbers in Quadrants II and III. Our calculator utilizes robust two-argument arctangent (\(\text{atan2}\)).

Visualizing Roots of Unity on Argand Diagrams

Algebraic formulas obscure geometric symmetry. The interactive Cartesian-polar graph displays the roots as vertices of equilateral triangles, squares, pentagons, and higher polygons.

Multi-Format Conversions for STEM

Engineers working with phasors in AC electronics and signal processing need Rectangular (\(u + vi\)), Polar (\(r\angle\theta\)), and Euler Exponential (\(r e^{i\theta}\)) formats side by side.

Key Features & Capabilities

Interactive Argand SVG

Dynamic vector plot showing root positions, circumscribed circle, and regular polygon edges.

De Moivre Derivations

Complete step-by-step angle addition and modulo arithmetic for every \(k \in \{0, \dots, n-1\}\).

Degrees & Radians

Seamless toggle between high-school degree angles and scientific radian phase measures.

Instant Reactive UI

Calculates and updates vectors on every keystroke with zero button latency.

The Intuitive Mental Model: The Ferris Wheel & Clock Face of the Complex Plane

In real-number arithmetic, asking for the fourth root of \(-16\) halts all progress because no real number raised to an even power can be negative. But step onto the 2D complex plane (the Argand diagram), and roots transform from rigid linear numbers into rotations on a circular carousel:

Radius Compression

First, compress the radius by taking the standard positive real \(n\)-th root of distance from the origin: \(R = \sqrt[n]{|z|}\). All \(n\) roots lie on this exact circle of radius \(R\).

Angle Slicing & Symmetry

Second, divide the phase angle by \(n\): the principal root sits at \(\theta / n\). Adding full rotations in increments of \(360^\circ / n\) plants the remaining roots like gondolas on a balanced Ferris wheel.

Complex Roots Across Education & Engineering Levels

Level 1: Beginner

Modulus & Argument

Convert Cartesian \(a + bi\) into polar form: modulus \(r = \sqrt{a^2 + b^2}\) and angle \(\theta = \text{atan2}(b, a)\). Understand that every complex number has exactly \(n\) distinct \(n\)-th roots on a circle of radius \(\sqrt[n]{r}\).

Level 2: Intermediate

De Moivre's Theorem & Unity

Calculate roots using de Moivre's formula: \(w_k = \sqrt[n]{r} \, \text{cis}\left(\frac{\theta + 2k\pi}{n}\right)\) for \(k = 0, 1, \dots, n-1\). Explore the roots of unity (\(w^n = 1\)), which form regular polygons inscribed in the unit circle.

Level 3: Advanced STEM

Cyclotomic Fields & FFT

Roots of unity generate cyclic Galois groups \(\text{Gal}(\mathbb{Q}(\zeta_n)/\mathbb{Q}) \cong (\mathbb{Z}/n\mathbb{Z})^\times\). In signal processing, the Fast Fourier Transform (FFT) recursively computes spectra using powers of twiddle factor \(\omega_N = e^{-i 2\pi / N}\).

Common Traps & Exam Pitfalls to Avoid

⚠️ Trap 1: The Quadrant II & III \(\arctan\) Trap

Evaluating \(\theta = \arctan(b/a)\) on standard calculators only returns angles in Quadrants I and IV (\(-90^\circ\) to \(+90^\circ\)). For complex numbers with \(a < 0\) (like \(-1 + i\)), you must add \(180^\circ\) (\(\pi\) rad); otherwise, your initial angle \(\theta\) points backwards.

⚠️ Trap 2: Forgetting to Root the Modulus \(r\)

Students frequently divide the angle by \(n\) but leave the modulus unchanged or divide it by \(n\). The radius of all roots is strictly \(\sqrt[n]{r}\). For instance, fourth roots of \(z\) with \(|z| = 16\) have radius \(\sqrt[4]{16} = 2\).

⚠️ Trap 3: Returning Only Principal Root (\(k = 0\))

A degree-\(n\) polynomial equation \(w^n = z\) has \(n\) distinct solutions. Reporting only the principal root (\(k = 0\)) misses \(n - 1\) solutions, resulting in heavy exam penalties.

Roots of Unity & Cyclic Polygons

Cube Roots (\(n = 3\))

Vertices form an equilateral triangle: \(1\), \(-\frac{1}{2} + \frac{\sqrt{3}}{2}i\), and \(-\frac{1}{2} - \frac{\sqrt{3}}{2}i\).

Fourth Roots (\(n = 4\))

Vertices form a square aligned with axes: \(1\), \(i\), \(-1\), and \(-i\).

Fifth Roots (\(n = 5\))

Vertices form a regular pentagon spaced at exact \(72^\circ\) angular intervals around the unit circle.

Step-by-Step Worked Examples

Example 1: Cube Roots of Pure Imaginary \(z = -8i\)

Find all 3 solutions to \(w^3 = -8i\):

  • Polar form: \(r = 8\), \(\theta = 270^\circ\) (\(-\pi/2\)).
  • Root radius: \(R = \sqrt[3]{8} = 2\).
  • \(k = 0\): \(\phi_0 = 270^\circ/3 = 90^\circ \implies w_0 = 2i\).
  • \(k = 1\): \(\phi_1 = (270^\circ+360^\circ)/3 = 210^\circ \implies w_1 = -\sqrt{3} - i\).
  • \(k = 2\): \(\phi_2 = (270^\circ+720^\circ)/3 = 330^\circ \implies w_2 = \sqrt{3} - i\).
Geometry: Vertices form an equilateral triangle on radius \(2\).
Example 2: Fourth Roots of Negative Real \(z = -16\)

Find all 4 solutions to \(w^4 = -16\):

  • Polar form: \(r = 16\), \(\theta = 180^\circ\) (\(\pi\) rad).
  • Root radius: \(R = \sqrt[4]{16} = 2\).
  • \(k = 0\): \(\phi_0 = 180^\circ/4 = 45^\circ \implies w_0 = \sqrt{2} + \sqrt{2}i\).
  • \(k = 1\): \(\phi_1 = (180^\circ+360^\circ)/4 = 135^\circ \implies w_1 = -\sqrt{2} + \sqrt{2}i\).
  • \(k = 2\): \(\phi_2 = (180^\circ+720^\circ)/4 = 225^\circ \implies w_2 = -\sqrt{2} - \sqrt{2}i\).
  • \(k = 3\): \(\phi_3 = (180^\circ+1080^\circ)/4 = 315^\circ \implies w_3 = \sqrt{2} - \sqrt{2}i\).
Geometry: Vertices form a square rotated \(45^\circ\) from axes.

Frequently Asked Questions

What is a complex root? ▼
A complex root is a solution to an equation (such as w^n = z or P(x) = 0) that belongs to the complex numbers C. For any non-zero complex number z and positive integer n, there are exactly n distinct complex numbers w such that w^n = z.
How does De Moivre's Theorem find complex roots? ▼
De Moivre's Theorem connects complex numbers with trigonometry. By expressing z in polar form r(cos theta + i sin theta), the n roots are given by w_k = r^(1/n) * [cos((theta + 2k*pi)/n) + i*sin((theta + 2k*pi)/n)] for k = 0, 1, 2, ..., n-1. Each root has the same magnitude r^(1/n) and is separated from its neighbors by an angle of 2*pi/n radians (360/n degrees).
Why do the n roots of a complex number form a regular polygon? ▼
Because every root has the exact same distance from the origin (radius R = r^(1/n)) and successive roots have an identical angular separation of 2*pi/n radians, plotting the roots on the Argand plane produces n equally spaced vertices along a circle. Connecting these points forms a regular polygon with n sides (an equilateral triangle for cube roots, a square for 4th roots, a regular pentagon for 5th roots, etc.).
What are the 'Roots of Unity'? ▼
The n-th roots of unity are the solutions to the equation w^n = 1. For any n, one root is always the real number 1. The remaining n - 1 roots are complex numbers evenly spaced along the unit circle (radius 1). They play fundamental roles in abstract algebra, number theory, and the Discrete Fourier Transform (DFT / FFT).
What is the principal root of a complex number? ▼
The principal root (usually denoted w_0) is the root obtained using the principal argument of z (where -pi < theta <= pi) with index k = 0. Its argument is theta / n, having the smallest absolute angle relative to the positive real axis.
Can negative real numbers have complex roots? ▼
Yes. A negative real number like -16 is simply a complex number with a = -16, b = 0, modulus r = 16, and argument theta = pi (180 degrees). Its square roots are +/- 4i, and its fourth roots are four complex numbers located at 45, 135, 225, and 315 degrees with magnitude 2.
What is an Argand diagram? ▼
An Argand diagram (or complex plane) is a two-dimensional geometric representation where the horizontal x-axis represents the real component Re(z) and the vertical y-axis represents the imaginary component Im(z). Complex numbers are plotted as points or position vectors (x, y).
Why do polynomial equations with real coefficients have conjugate root pairs? ▼
By the Complex Conjugate Root Theorem, if a polynomial with real coefficients has a non-real root z = u + vi, its complex conjugate z* = u - vi must also be a root. This ensures that when the linear factors (x - z) and (x - z*) are multiplied, their product is a real quadratic x^2 - 2ux + (u^2 + v^2) with zero imaginary component.