De Moivre's Theorem Calculator - Powers & Roots of i

i

Negative exponents work too: z⁻ⁿ = r⁻ⁿ cis(−nθ)

Results

z^8 in rectangular form

16

Polar form of the result

16 cis()

Modulus and argument of z

|z| = 1.4142, θ = 45°

Step by step

  1. Convert to polar: z = 1 + i → r = 1.4142, θ = 45°
  2. Apply De Moivre: rⁿ = 1.41428 = 16, and nθ = 8 × 45° = 360° (reduced to 0°)
  3. Convert back: 16 × [cos() + i·sin()] = 16

How to Use This Calculator

  1. Pick the operation: “Raise z to a power” computes zⁿ, “Find all nth roots” lists every root.
  2. Choose how you know z. Have it as a + bi? Use Rectangular and fill the “Real part a” and “Imaginary part b” fields. Have modulus and angle? Use Polar.
  3. Enter the exponent or root index in the n field — for example n = 8 to compute (1 + i)⁸, or n = 3 for cube roots.
  4. Read the rectangular answer first, then the “Step by step” box (power mode) or the roots table and circle plot (roots mode) to see how it was reached.
  5. Switch “Show angles in” between degrees and radians to match your textbook.

Share this calculator

Help others solve their calculations

Found this calculator helpful? Share it with your friends, students, or colleagues who might need it!

De Moivre’s Theorem Calculator: Powers Become Multiplication in Polar Form

About the Author

Marko Šinko - Co-Founder & Lead Developer

Marko Šinko

Co-Founder & Lead Developer, AI Math Calculator

Lepoglava, Croatia
Advanced Algorithm Expert

Croatian developer with a Computer Science degree from University of Zagreb and expertise in advanced algorithms. Co-founder of award-winning projects, ensuring precise mathematical computations and reliable calculator tools.

📅 Published:
De Moivre's Theorem Calculator plotting a complex power on the unit circle with all nth roots evenly spaced around it

A De Moivre’s theorem calculator runs on a single identity: [r(cos θ + i sin θ)]ⁿ = rⁿ(cos nθ + i sin nθ). Read it slowly, because it’s doing something remarkable — it converts the hardest operation on complex numbers, raising to a power, into two of the easiest: raise one real number to a power, multiply one angle by an integer. No expansion, no collecting terms, no i² bookkeeping. The same identity run in reverse hands you every nth root of a complex number, all n of them, evenly spaced around a circle.

The best way to feel why this matters is to compute the same power both ways and count the work. So that’s where we’ll start.

(1 + i)⁸ Two Ways: Expansion vs De Moivre

The long way is the binomial theorem: expand (1 + i)⁸ into nine terms, C(8,k)·i^k for k = 0 to 8, evaluate each power of i, then collect real and imaginary parts. It works. It’s also 9 coefficient lookups, 9 powers of i, and a sign error waiting to happen in the middle terms.

The De Moivre way converts once and multiplies. In polar form, 1 + i has modulus r = √(1² + 1²) = √2 and argument θ = 45°. Then:

(1 + i)⁸ = (√2)⁸ · cis(8 × 45°) = 16 · cis(360°) = 16 · cis(0°) = 16

One power of a real number, one multiplication of an angle, done. The answer is exactly 16 — real, no imaginary part, because eight 45° turns land back on the positive real axis. Here’s the work side by side:

MethodOperations for z⁸Operations for z⁵⁰Typical failure point
Binomial expansion9 terms to evaluate and collect51 terms — impractical by handSign of i^k in middle terms
Repeated multiplication7 complex multiplications49 complex multiplicationsArithmetic slips compound
De Moivre’s theorem1 conversion + rⁿ + nθStill 1 conversion + rⁿ + nθWrong quadrant for θ

That third column is the argument that ends the debate. Expansion scales with n; De Moivre doesn’t. The cost of computing z⁵⁰ is identical to the cost of z². The only genuinely error-prone step left is finding θ correctly, and we’ll come back to exactly how that goes wrong.

Why Multiplying Complex Numbers Adds Their Angles

De Moivre’s theorem isn’t a trick — it’s repeated use of one geometric fact. Multiply two complex numbers and their moduli multiply while their arguments add. Multiplying by cis(45°) is literally a 45° rotation of the plane. Do that n times and you’ve rotated by nθ and stretched by rⁿ, which is the whole theorem. (Formally it’s proved by induction on n, using the angle-addition identities from trigonometry; Euler’s formula e = cos θ + i sin θ makes it one line, since (e)ⁿ = einθ.)

The statement is named for Abraham de Moivre, who worked with equivalent forms of it around 1707 — decades before Euler wrote down the exponential version. The general formula for complex exponents came later; the history and the full proof are on Wikipedia if you want the details. What matters for computation: the theorem holds for every integer n — positive, negative, or zero. z⁻³ is just r⁻³ cis(−3θ), so reciprocal powers cost nothing extra.

Running It Backwards: All n Roots of a Complex Number

Ask for the cube root of 8 and a real-number calculator says 2. That answer is a third of the truth. Over the complex numbers, every nonzero z has exactly n distinct nth roots, and De Moivre’s theorem run in reverse finds them all:

z1/n = r1/n · cis((θ + 360°k) / n),  k = 0, 1, …, n − 1

The k is the part beginners drop. The argument of a complex number is only defined up to full turns — 180° and 540° point the same way — but after dividing by n those extra turns stop being redundant. Each k lands on a different root. Worked example, the four fourth roots of −16: here r = 16, θ = 180°, so every root has modulus 161/4 = 2 and the angles are (180° + 360°k)/4 = 45°, 135°, 225°, 315°. Converting back with a polar form calculator gives √2 + √2·i, −√2 + √2·i, −√2 − √2·i, and √2 − √2·i. Notice what’s not in the list: no real number appears, which is exactly why x⁴ = −16 has no real solutions.

All n roots share one modulus and differ by a fixed angle of 360°/n, so plotting them draws a regular n-sided polygon. That’s not a coincidence of nice examples — it’s forced by the formula, and it’s why the calculator above draws the polygon for you.

The Special Case Everyone Uses: Roots of Unity

Set z = 1 and the roots formula produces the nth roots of unity — the solutions of zⁿ = 1. With r = 1 and θ = 0°, they’re simply cis(360°k/n): n points spread evenly around the unit circle, starting at 1. They show up everywhere from polynomial factoring to the FFT algorithm that powers digital signal processing. The small cases are worth recognizing on sight:

nRoots of zⁿ = 1SpacingShape
21, −1180°Diameter
31, −0.5 ± (√3/2)i120°Equilateral triangle
41, i, −1, −i90°Square
6±1, ±0.5 ± (√3/2)i60°Regular hexagon

Two facts make these useful beyond the exam. First, the roots of unity for any n multiply among themselves — they form a cyclic group generated by cis(360°/n). Second, every root set of every number is just one root multiplied by all the roots of unity, so this table secretly contains the structure of all nth roots.

A Power Where the Answer Isn’t Clean

Textbook examples land on integers; real inputs usually don’t. Take z = 2 cis(30°) and compute z⁵. De Moivre gives 2⁵ cis(150°) = 32 cis(150°). Converting back: 32 cos(150°) = 32 × (−√3/2) = −16√3 ≈ −27.7128, and 32 sin(150°) = 32 × 0.5 = 16. So z⁵ = −16√3 + 16i. The polar answer 32 cis(150°) was two multiplications; it’s the conversion to rectangular form that brings in the radicals. That’s a general pattern worth internalizing — stay in polar form for as long as the problem allows, and only convert at the very end. Chaining powers of intermediate rectangular results multiplies your rounding error at every step.

For the surrounding arithmetic — adding, dividing, or conjugating complex numbers before or after the power — polar form stops being an advantage, and a general complex number calculator is the right tool. De Moivre earns its keep specifically on powers and roots; addition in polar form is actively painful.

The Quadrant Trap and Other Ways θ Goes Wrong

Nearly every wrong De Moivre answer traces back to the argument, not the theorem. Four failure modes account for almost all of them:

  • Blind arctan. Computing θ = tan⁻¹(b/a) without checking the quadrant. For z = −1 − i the calculator returns 45°, but the number sits in the third quadrant at 225°. Cube both versions and the answers differ by a 180° rotation — completely wrong, yet the modulus checks out, so the error hides. Always adjust by the signs of a and b (or use atan2, which this page does internally).
  • Degree/radian mode mismatch. cos(45) is 0.7071 in degree mode and 0.5253 in radian mode. One wrong mode setting corrupts every digit of the final answer while looking completely plausible.
  • Rounding θ before multiplying it. The power multiplies angle error by n. Round θ = 53.1301° to 53° and z¹⁰ carries a 1.3° argument error — enough to move the rectangular parts by around 2%. Keep θ at full precision until the last step.
  • Reporting one root instead of n. If the problem says “solve z³ = 8i”, the answer is three numbers, not one. Forgetting k = 1 and k = 2 loses two-thirds of the marks and, in an engineering context, two-thirds of the poles of your system.

One more subtlety for the curious: for non-integer exponents the clean equality breaks. (cos θ + i sin θ)1/2 doesn’t equal a single value — the expression is multivalued, which is precisely why the roots formula produces a set indexed by k rather than one number. De Moivre’s theorem as an identity is an integers-only statement; its fractional extension is the roots formula itself. The imaginary unit powering all of this has its own quirks worth knowing — the imaginary number calculator covers the cycle of powers of i that the binomial method depends on.

When the De Moivre’s Theorem Calculator Is the Right Tool

A quick decision rule, since this site has several complex-number pages that divide the labor. Raising to a power or extracting roots — this page, always; that’s the one job De Moivre’s theorem does better than anything else. Converting between a + bi and r cis θ as its own task — the polar form calculator. General arithmetic, conjugates, moduli of sums — the complex number calculator. Expanding (a + b)ⁿ with real terms, or when you genuinely need the individual expansion coefficients — the binomial theorem calculator. Keeping those straight saves you from using a hammer on screws: every one of these tools can touch the others’ problems, but each is fast at exactly one of them.

Frequently Asked Questions

Still Have Questions?

The detailed content on this page provides comprehensive explanations and examples to help you understand better.