De Moivre’s Theorem Calculator | Calculate (cos θ + i sin θ)^n


De Moivre’s Theorem Calculator

Enter the components of a complex number in polar form z = r(cos(θ) + i sin(θ)) and the integer power n to calculate zn using this advanced demoivre’s theorem calculator.


The magnitude or distance from the origin (must be non-negative).


The argument or angle of the complex number.


The integer exponent to raise the complex number to.


Result

Resulting Modulus (rⁿ)

Resulting Angle (nθ)

Polar Form

Formula Used: [r(cos(θ) + i sin(θ))]ⁿ = rⁿ(cos(nθ) + i sin(nθ))

Fig 1: Argand diagram showing the initial vector (blue) and the resulting vector after applying De Moivre’s theorem (green).

What is the De Moivre’s Theorem Calculator?

De Moivre’s Theorem provides a fundamental formula for computing powers of complex numbers. The theorem, named after Abraham de Moivre, connects complex numbers with trigonometry, offering an efficient method to handle exponentiation. A demoivre’s theorem calculator is a digital tool designed to apply this theorem automatically. Instead of performing the calculations manually, users can input the polar components of a complex number (modulus ‘r’ and angle ‘θ’) and the power ‘n’, and the calculator instantly provides the result in standard rectangular form (a + bi).

This tool is invaluable for students, engineers, and mathematicians who frequently work with complex number operations. It eliminates the potential for human error and speeds up calculations, especially for large powers. Beyond just finding the final answer, a good demoivre’s theorem calculator also shows key intermediate values, like the resulting modulus and angle, helping users understand the transformation geometrically.

Who should use a demoivre’s theorem calculator?

Anyone studying or working in fields like electrical engineering, physics, signal processing, and advanced mathematics can benefit from this calculator. It is particularly useful for solving problems related to phasors, wave mechanics, and finding roots of complex numbers, which is a direct application of the theorem. For a simpler, related calculation, see our euler’s formula calculator.

Common Misconceptions

A common misconception is that De Moivre’s theorem only applies to integer powers. While the primary formula is defined for integers, it can be generalized to find the ‘n’-th roots of a complex number, where ‘n’ is a rational number. This makes the theorem a powerful tool for solving polynomial equations. Another point of confusion is its relationship with Euler’s formula; the two are deeply connected, with De Moivre’s formula being a direct consequence of Euler’s formula (e = cos(θ) + i sin(θ)).

De Moivre’s Theorem Formula and Mathematical Explanation

The theorem states that for any complex number in polar form z = r(cos(θ) + i sin(θ)) and any integer n, the n-th power of z is given by:

zⁿ = [r(cos(θ) + i sin(θ))]ⁿ = rⁿ(cos(nθ) + i sin(nθ))

This elegant formula reveals two key geometric transformations:

  1. The modulus (magnitude) of the new complex number is the original modulus raised to the power of n (rⁿ).
  2. The argument (angle) of the new complex number is the original argument multiplied by n ().

The demoivre’s theorem calculator automates this process. It takes your ‘r’, ‘θ’, and ‘n’, calculates ‘rⁿ’ and ‘nθ’, and then converts the resulting polar coordinates back to the rectangular form a + bi using the identities a = rⁿcos(nθ) and b = rⁿsin(nθ). For more on number conversions, a polar to rectangular form converter can be helpful.

Table 1: Variables in De Moivre’s Theorem
Variable Meaning Unit Typical Range
z The complex number a + bi
r Modulus (magnitude) of z r ≥ 0
θ Argument (angle) of z Degrees or Radians 0° to 360° or 0 to 2π
n The integer power Any integer (…, -2, -1, 0, 1, 2, …)
i The imaginary unit i² = -1

Practical Examples

Example 1: Calculating (1 + i)⁴

First, we need to convert the complex number 1 + i into polar form.

  • Modulus r = |1 + i| = √(1² + 1²) = √2.
  • Angle θ = arctan(1/1) = 45°.

So, 1 + i = √2(cos(45°) + i sin(45°)). Now we apply De Moivre’s theorem with n=4.

  • Inputs for the calculator: r = √2 ≈ 1.414, θ = 45°, n = 4.
  • Calculation: (√2)⁴(cos(4 * 45°) + i sin(4 * 45°)) = 4(cos(180°) + i sin(180°)).
  • Result: Since cos(180°) = -1 and sin(180°) = 0, the result is 4(-1 + 0i) = -4.

A demoivre’s theorem calculator would confirm this result instantly.

Example 2: Calculating (√3 – i)⁵

First, convert √3 – i to polar form.

  • Modulus r = |√3 – i| = √((√3)² + (-1)²) = √(3 + 1) = 2.
  • Angle θ = arctan(-1/√3) = -30° or 330°.

So, √3 – i = 2(cos(330°) + i sin(330°)). Now we apply the theorem with n=5.

  • Inputs for the calculator: r = 2, θ = 330°, n = 5.
  • Calculation: 2⁵(cos(5 * 330°) + i sin(5 * 330°)) = 32(cos(1650°) + i sin(1650°)).
  • The angle 1650° is coterminal with 1650 – 4*360 = 1650 – 1440 = 210°.
  • Result: 32(cos(210°) + i sin(210°)) = 32(-√3/2 – 1/2 * i) = -16√3 – 16i.

How to Use This De Moivre’s Theorem Calculator

Using this demoivre’s theorem calculator is straightforward and efficient. Follow these simple steps to find the power of any complex number.

  1. Enter the Modulus (r): Input the magnitude of your complex number. This value must be non-negative.
  2. Enter the Angle (θ): Input the angle of your complex number in degrees. The calculator will handle the trigonometric functions.
  3. Enter the Power (n): Input the integer exponent you wish to raise the complex number to.
  4. Read the Results: The calculator updates in real-time. The primary result is displayed prominently in rectangular form (a + bi). You can also view intermediate values like the new modulus (rⁿ) and new angle (nθ) to better understand the transformation. A complex number calculator can help with basic arithmetic.
  5. Visualize the Change: The included Argand diagram plots the original and resulting complex numbers as vectors, providing a clear geometric interpretation of the operation.

Key Factors That Affect De Moivre’s Theorem Results

The final result of a calculation using the demoivre’s theorem calculator is determined by three key inputs. Understanding how each one influences the outcome is crucial for interpreting the results.

  • Modulus (r): The modulus dictates the magnitude of the resulting vector. If |r| > 1, the vector will grow longer with positive powers (spiraling outward). If |r| < 1, it will shrink (spiraling inward). If |r| = 1, the vector's length remains unchanged, and the point stays on the unit circle.
  • Angle (θ): The initial angle determines the starting position on the Argand diagram. The final position is a multiple of this angle.
  • Power (n): The power is the multiplier for both the scaling of the modulus and the rotation of the angle. A larger ‘n’ leads to a more significant rotation and a more drastic change in magnitude.
  • Sign of n: A negative power ‘n’ corresponds to a division. Geometrically, this means the vector rotates in the opposite direction (-nθ) and its modulus is inverted (1/rⁿ).
  • Fractional Powers and Roots: While this calculator focuses on integer powers, the theorem is the foundation for finding complex roots. A fractional power like 1/n yields ‘n’ distinct roots, which are evenly spaced around a circle on the Argand diagram. Check out our tool for finding roots of complex numbers.
  • Choice of Angle Representation: Whether you use degrees or radians, the calculation remains the same, but consistency is key. Adding 360° (or 2π radians) to θ does not change the initial complex number but will affect the final angle nθ before it is normalized.

Frequently Asked Questions (FAQ)

1. What is De Moivre’s theorem used for?

It is primarily used to easily calculate integer powers of complex numbers in polar form. Its main applications include finding roots of complex numbers, deriving trigonometric identities, and solving problems in engineering and physics involving rotational transformations.

2. Does De Moivre’s theorem work for any power n?

The standard formula is valid for all integer powers (positive, negative, and zero). It can be generalized for rational exponents (like 1/2, 1/3) to find the roots of complex numbers, but this results in multiple values, not a single one.

3. What is the difference between De Moivre’s Formula and Euler’s Formula?

Euler’s formula is e = cos(θ) + i sin(θ). De Moivre’s formula can be seen as a direct result of Euler’s: (e)ⁿ = einθ, which translates to [cos(θ) + i sin(θ)]ⁿ = cos(nθ) + i sin(nθ). They are deeply related concepts.

4. Why do I need to convert my complex number to polar form first?

De Moivre’s theorem is defined for complex numbers in polar form (r, θ). Attempting to calculate (a + bi)ⁿ by direct binomial expansion is extremely tedious for large ‘n’. Converting to polar form simplifies the process from a complex expansion to a simple multiplication and exponentiation. Using a demoivre’s theorem calculator handles this conversion implicitly.

5. Can this calculator find roots of complex numbers?

This specific demoivre’s theorem calculator is designed for integer powers. Finding the ‘n’-th roots involves a related but slightly different formula that yields ‘n’ distinct answers. For that, you would need a dedicated tool for finding roots of complex numbers.

6. What happens if the modulus ‘r’ is zero?

If r = 0, the complex number is the origin (0 + 0i). Any positive power of 0 is still 0. The calculator will show this result.

7. How is a negative power handled?

A negative power ‘n’ works perfectly with the formula. The new modulus becomes r⁻ⁿ = 1/rⁿ, and the new angle becomes -nθ. This is equivalent to rotating clockwise instead of counter-clockwise.

8. Can I enter the angle in radians?

This calculator is configured to accept the angle in degrees for user convenience. If you have an angle in radians, convert it to degrees first by multiplying by (180/π).

Related Tools and Internal Resources

For further exploration of complex numbers and related mathematical concepts, consider using the following resources:

© 2026 Date Calculators Inc. All Rights Reserved. For educational and professional use. Always verify calculations for critical applications.


Leave a Reply

Your email address will not be published. Required fields are marked *