De Moivre's Theorem Calculator – Powers & nth Roots of Complex Numbers

Calculate complex number powers and roots using De Moivre's theorem with step-by-step solutions

Enter Your Complex Number

De Moivre's Theorem Calculator (Interactive Tool)

🧮 De Moivre's Theorem Calculator

Enter the real component
Enter the imaginary component
Enter positive integer for power
Enter a complex number above to calculate its power or nth root using De Moivre's theorem

What is De Moivre's Theorem?

De Moivre's Theorem is a fundamental formula in complex number theory that provides an efficient method for calculating powers and roots of complex numbers in polar form. Named after French mathematician Abraham de Moivre (1667-1754).

(r(cos θ + i sin θ))^n = r^n (cos nθ + i sin nθ)

🔍 Formula Explanation

Where:

  • r = modulus (absolute value) of the complex number
  • θ = argument (angle) of the complex number
  • n = integer power (positive for powers, 1/n for roots)

Key Insight: Converting complex numbers to polar form simplifies exponentiation and root extraction by reducing the operation to simple arithmetic on the modulus and multiplication/division of angles.

Applications in Mathematics, Engineering, and Physics

🔬

Signal Processing

Fourier transforms and frequency domain analysis rely heavily on complex exponentials and De Moivre's theorem

⚡

Electrical Engineering

AC circuit analysis using phasors and impedance calculations in complex form

🌊

Physics

Quantum mechanics, wave functions, and oscillatory motion analysis

How to Use the Calculator

1Enter Real & Imaginary Parts

Input the real part (a) and imaginary part (b) of your complex number z = a + bi. For example, for (1 + i), enter a = 1 and b = 1.

2Choose Operation Mode

Select either "Power" mode to calculate z^n or "nth Root" mode to find the nth roots of z. The calculator will adjust the interface accordingly.

3Enter the Exponent

For powers: Enter any positive integer n. For nth roots: Enter an integer ≥ 2 to find all n distinct nth roots.

4Calculate & Review Results

Click "Calculate" to see the result with detailed step-by-step breakdown showing polar conversion, De Moivre's application, and final answers in both polar and rectangular forms.

Example – Calculate (1 + i)²³ Using De Moivre's Theorem

📐 Step-by-Step Solution

1Convert to Polar Form

For z = 1 + i:

  • r = |1 + i| = √(1² + 1²) = √2
  • θ = arctan(1/1) = π/4 radians = 45°
  • Polar form: √2(cos(π/4) + i sin(π/4))

2Apply De Moivre's Theorem

(1 + i)²³ = (√2)²³ (cos(23 × π/4) + i sin(23 × π/4))

Calculate the components:

  • r²³ = (√2)²³ = 2^(23/2) = 2^11 × √2 = 2048√2
  • 23θ = 23 × π/4 = 23π/4

3Simplify the Angle

Reduce 23π/4 to equivalent angle in [0, 2π):

  • 23π/4 = 5π + 3π/4 = 2π × 2 + π + 3π/4 = 4π + 7π/4
  • Equivalent angle: 7π/4 (since we subtract full rotations of 2π)
  • 7π/4 = -π/4 (or 315°)

4Final Result

Polar form: 2048√2(cos(-π/4) + i sin(-π/4))

Rectangular form: 2048√2(√2/2 - i√2/2) = 2048 - 2048i

Therefore: (1 + i)²³ = 2048 - 2048i

nth Roots with De Moivre's Theorem

Finding nth roots of complex numbers yields n distinct solutions distributed evenly around a circle in the complex plane.

z_k = r^(1/n) [cos((θ + 2kπ)/n) + i sin((θ + 2kπ)/n)], k = 0,1,...,n-1

🔍 Example: Cube Roots of 8(cos 60° + i sin 60°)

1Identify Components

Given: z = 8(cos 60° + i sin 60°)

  • r = 8
  • θ = 60° = π/3 radians
  • n = 3 (cube roots)

2Calculate Each Root

r^(1/3) = 8^(1/3) = 2

For k = 0, 1, 2:

  • k = 0: z₀ = 2[cos(π/9) + i sin(π/9)] ≈ 1.88 + 0.68i
  • k = 1: z₁ = 2[cos(7π/9) + i sin(7π/9)] ≈ -0.35 + 1.97i
  • k = 2: z₂ = 2[cos(13π/9) + i sin(13π/9)] ≈ -1.53 - 1.29i

Complex Plane Visualization

The three cube roots are evenly spaced 120° apart on a circle of radius 2

Why Use De Moivre's Theorem for Complex Calculations?

⚡

Simplifies Powers & Roots

Converts complex exponentiation into simple arithmetic operations on magnitude and angle, making calculations much more manageable.

🚫

Avoids Tedious Expansions

Eliminates the need for repeated multiplication or binomial expansion for large powers, saving time and reducing calculation errors.

🔢

Trigonometric Identities

Provides elegant proofs for trigonometric identities and helps derive multiple angle formulas through complex number relationships.

💡 Comparison Example

Without De Moivre's: Computing (1+i)^8 requires 7 complex multiplications

With De Moivre's: Convert to polar form once, then r^8 and 8θ - just two simple calculations!

References & Learning Resources

📚 Historical Background & Academic Resources

Abraham de Moivre (1667-1754)

French mathematician who developed this theorem while studying trigonometric functions and complex numbers. His work laid the foundation for modern complex analysis and influenced the development of probability theory.

Brown & Churchill – Complex Variables and Applications

Comprehensive textbook covering complex number theory, De Moivre's theorem, and applications in engineering and physics. Includes numerous worked examples and exercises.

Ahlfors – Complex Analysis

Advanced treatment of complex function theory including detailed coverage of complex exponentials, logarithms, and the geometric interpretation of De Moivre's theorem.

Online Complex Analysis Tutorials

Interactive online resources including Khan Academy, MIT OpenCourseWare, and Paul's Online Math Notes provide step-by-step tutorials on complex numbers and De Moivre's theorem with visual aids.

Mathematical Software Resources

Wolfram Alpha, MATLAB, and Python (NumPy/SciPy) provide built-in functions for complex number arithmetic and can verify De Moivre calculations programmatically.