De Moivre’s Theorem Calculator: Find Indicated Power


De Moivre’s Theorem Calculator

Calculate the nth power of a complex number using De Moivre’s Theorem.


The distance from the origin to the complex number in the complex plane. Must be non-negative.


The angle in degrees, measured counterclockwise from the positive real axis.


The exponent to which the complex number will be raised. Can be any real number (integer, fraction, etc.).


Calculation Results

De Moivre’s Theorem states that for any complex number in polar form $r(\cos \theta + i \sin \theta)$ and any integer $n$, the $n$-th power is given by:
$$(r(\cos \theta + i \sin \theta))^n = r^n(\cos(n\theta) + i \sin(n\theta))$$
For non-integer $n$, it generally refers to finding one of the $n$ roots, but this calculator focuses on the principal power.
Magnitude (rn):
Angle (nθ): (degrees)
Polar Form:
Rectangular Form (a + bi):
Intermediate Angle (radians):

Complex Number Representation

Visual representation of the original complex number $r(\cos \theta + i \sin \theta)$ and its $n$-th power $r^n(\cos(n\theta) + i \sin(n\theta))$.
The canvas shows the magnitude and angle of both the original complex number and its power.

What is De Moivre’s Theorem?

De Moivre’s Theorem is a fundamental formula in complex number theory that provides a straightforward method for calculating powers and roots of complex numbers. It elegantly links complex numbers expressed in polar form to trigonometric functions. This theorem is indispensable in various fields, including electrical engineering, physics, and advanced mathematics, for simplifying complex calculations involving powers and roots.

The theorem is particularly useful when dealing with complex numbers that have a simple polar representation, making calculations that would be cumbersome in rectangular form (a + bi) much more manageable. It simplifies raising a complex number to an integer power $n$ by raising its magnitude $r$ to the power $n$ and multiplying its angle $\theta$ by $n$.

Who Should Use This Theorem and Calculator?

  • Students: Essential for understanding and solving problems in trigonometry, pre-calculus, and complex analysis courses.
  • Engineers: Particularly electrical engineers, who frequently use complex numbers to represent alternating currents (AC) and signal processing.
  • Mathematicians and Researchers: For theoretical work and solving advanced mathematical problems.
  • Physicists: In areas involving wave mechanics and quantum mechanics where complex numbers are common.

Common Misunderstandings

A common point of confusion arises with non-integer powers. While the theorem is most directly applied to integer powers, its extension to fractional powers ($n = p/q$) leads to finding the $q$ distinct $q$-th roots of the complex number. Each root has the same magnitude but different angles. This calculator primarily focuses on the direct application for any real number exponent $n$, calculating the principal $n$-th power. Another misunderstanding can be the unit of the angle; consistency between degrees and radians is crucial, and the theorem is typically stated with the angle in radians, though degrees are often more intuitive for input.

De Moivre’s Theorem Formula and Explanation

De Moivre’s Theorem provides a direct formula for raising a complex number in polar form to a power.

Let a complex number $z$ be represented in polar form as $z = r(\cos \theta + i \sin \theta)$, where:

  • $r$ is the magnitude (or modulus) of the complex number, representing its distance from the origin in the complex plane.
  • $\theta$ is the argument (or angle) of the complex number, representing the angle it makes with the positive real axis, usually measured in radians or degrees.
  • $i$ is the imaginary unit, where $i^2 = -1$.

De Moivre’s Theorem states that for any real number $n$:

$z^n = (r(\cos \theta + i \sin \theta))^n = r^n(\cos(n\theta) + i \sin(n\theta))$

This means to raise a complex number to the power $n$, you raise its magnitude $r$ to the power $n$ and multiply its angle $\theta$ by $n$. The resulting angle $n\theta$ can be simplified by adding or subtracting multiples of $360^\circ$ (or $2\pi$ radians) to bring it into a standard range, like $[0^\circ, 360^\circ)$ or $(-\pi, \pi]$.

Variables Table

Variables used in De Moivre’s Theorem
Variable Meaning Unit Typical Range
$z$ Complex number Unitless N/A
$r$ Magnitude (Modulus) Unitless (length) $r \ge 0$
$\theta$ Argument (Angle) Degrees or Radians Often normalized to $[0^\circ, 360^\circ)$ or $[0, 2\pi)$
$n$ Power (Exponent) Unitless Any real number (integer, fraction, etc.)
$z^n$ The complex number raised to the power $n$ Unitless N/A
$r^n$ Magnitude of the resulting complex number Unitless (length) Dependent on $r$ and $n$
$n\theta$ Argument of the resulting complex number Degrees or Radians Dependent on $n$ and $\theta$

Practical Examples

Example 1: Raising to an Integer Power

Let’s find the 3rd power of the complex number $z = 2(\cos 30^\circ + i \sin 30^\circ)$.

Here, $r=2$, $\theta=30^\circ$, and $n=3$.

Applying De Moivre’s Theorem:

  • New Magnitude: $r^n = 2^3 = 8$
  • New Angle: $n\theta = 3 \times 30^\circ = 90^\circ$

So, $z^3 = 8(\cos 90^\circ + i \sin 90^\circ)$.

In rectangular form, this is $8(0 + i \times 1) = 8i$.

Example 2: Raising to a Fractional Power (Finding a Root)

Let’s find the square root ($n=1/2$) of the complex number $z = 1(\cos 120^\circ + i \sin 120^\circ)$.

Here, $r=1$, $\theta=120^\circ$, and $n=1/2$.

Applying De Moivre’s Theorem for the principal root:

  • New Magnitude: $r^n = 1^{1/2} = 1$
  • New Angle: $n\theta = (1/2) \times 120^\circ = 60^\circ$

So, one of the square roots is $z^{1/2} = 1(\cos 60^\circ + i \sin 60^\circ)$.

In rectangular form, this is $1(1/2 + i \sqrt{3}/2) = 0.5 + 0.866i$.

Note: There are $n$ distinct $n$-th roots for a complex number. To find the others, we add multiples of $360^\circ/n$ to the principal angle. For $n=1/2$, we add $360^\circ/2 = 180^\circ$ to $60^\circ$ to get the second root’s angle: $60^\circ + 180^\circ = 240^\circ$. The second root is $1(\cos 240^\circ + i \sin 240^\circ) = -0.5 – 0.866i$.

How to Use This De Moivre’s Theorem Calculator

  1. Input Magnitude (r): Enter the magnitude (modulus) of the complex number. This is the distance from the origin (0,0) to the point representing the complex number in the complex plane. It must be a non-negative number.
  2. Input Angle (θ): Enter the angle of the complex number in degrees. This is the angle measured counterclockwise from the positive real axis.
  3. Input Power (n): Enter the exponent you wish to raise the complex number to. This can be any real number (integer, fraction, decimal).
  4. Click ‘Calculate’: Press the “Calculate” button. The calculator will apply De Moivre’s Theorem using the provided values.
  5. Interpret Results: The calculator will display:
    • The new magnitude ($r^n$).
    • The new angle ($n\theta$) in degrees.
    • The resulting complex number in polar form ($r^n(\cos(n\theta) + i \sin(n\theta))$).
    • The resulting complex number in rectangular form ($a+bi$).
    • The intermediate angle in radians, useful for further mathematical operations.
  6. Copy Results: Use the “Copy Results” button to easily transfer the calculated values.
  7. Reset: Click the “Reset” button to clear all fields and return to the default values.

Selecting Correct Units

This calculator uses degrees for the input angle $\theta$ as it is often more intuitive for users. The theorem itself is mathematically often expressed using radians, so the calculator provides the intermediate angle in radians as well. Ensure your input angle is consistently in degrees.

Interpreting Results

The results show how the magnitude and angle change when the complex number is raised to the power $n$. A positive integer $n$ scales up the magnitude (if $r>1$) and rotates the angle, effectively multiplying the complex number by itself $n$ times. A fractional $n$ (like $1/2$ for square root) scales down the magnitude and finds a specific angle that, when multiplied by the denominator of the fraction, yields the original angle.

Key Factors That Affect De Moivre’s Theorem Calculations

  1. Magnitude (r): The magnitude $r$ is raised to the power $n$. If $n > 1$, the magnitude increases significantly (if $r>1$). If $0 < n < 1$, the magnitude decreases. If $n < 0$, the magnitude becomes $1/r^{|n|}$.
  2. Angle (θ): The angle $\theta$ is multiplied by $n$. This directly scales the angular position of the complex number. For integer $n$, this corresponds to repeated rotations. For fractional $n$, it finds a specific angular position corresponding to a root.
  3. The Power (n): The nature of $n$ dramatically affects the outcome. Integer powers lead to straightforward scaling and rotation. Fractional powers lead to roots. Negative powers involve reciprocals.
  4. Units of Angle Measurement: While this calculator uses degrees for input, De Moivre’s theorem is fundamentally derived using radians. Consistency is key; mixing degrees and radians within a calculation will lead to incorrect results. The calculator provides both for clarity.
  5. Principal Value vs. All Roots: For non-integer $n$, there are multiple $n$-th roots. De Moivre’s theorem, as directly applied here, usually refers to the principal value. Finding all roots requires additional steps involving periodicity ($2\pi k$ or $360^\circ k$).
  6. Complex Number Representation: The theorem applies to numbers in polar form $r(\cos \theta + i \sin \theta)$. If a complex number is given in rectangular form ($a+bi$), it must first be converted to polar form by calculating $r = \sqrt{a^2 + b^2}$ and $\theta = \arctan(b/a)$ (adjusting the quadrant appropriately).

Frequently Asked Questions (FAQ)

Q1: What is the primary formula for De Moivre’s Theorem?
A: The primary formula is $(r(\cos \theta + i \sin \theta))^n = r^n(\cos(n\theta) + i \sin(n\theta))$.
Q2: Does the theorem only work for integer powers $n$?
A: No, De Moivre’s Theorem applies to any real number $n$. However, its interpretation changes. For integer $n$, it’s about repeated multiplication. For fractional $n$, it’s used to find roots.
Q3: My input angle is in radians, but the calculator asks for degrees. What should I do?
A: This calculator is designed to accept angles in degrees for user convenience. If your angle is in radians, convert it to degrees first (multiply by $180/\pi$). The calculator also outputs the angle in radians for your reference.
Q4: What happens if the magnitude $r$ is negative?
A: The magnitude $r$ is defined as a non-negative distance from the origin. If you are given a complex number in polar form where $r$ appears negative, it’s usually interpreted as $|r|(\cos(\theta + \pi) + i \sin(\theta + \pi))$. Ensure you use the positive magnitude and adjust the angle accordingly.
Q5: How do I find *all* the $n$-th roots of a complex number?
A: To find all $n$ distinct $n$-th roots, use the formula: $z_k = r^{1/n} \left( \cos\left(\frac{\theta + 360^\circ k}{n}\right) + i \sin\left(\frac{\theta + 360^\circ k}{n}\right) \right)$, where $k = 0, 1, 2, \dots, n-1$. This calculator focuses on the principal value derived from the direct power application.
Q6: What if the resulting angle $n\theta$ is very large or negative?
A: The angle is periodic. You can add or subtract multiples of $360^\circ$ (or $2\pi$ radians) to bring it into a standard range, such as $0^\circ \le \theta < 360^\circ$ or $-180^\circ < \theta \le 180^\circ$. The calculator displays the direct result of $n\theta$.
Q7: Can De Moivre’s Theorem be used for complex exponents $n$?
A: While extensions exist, the standard De Moivre’s Theorem and this calculator are designed for real number exponents $n$. Calculations with complex exponents are significantly more involved.
Q8: How does this relate to Euler’s formula ($e^{i\theta} = \cos \theta + i \sin \theta$)?
A: Euler’s formula provides a compact way to represent the polar form. Using Euler’s formula, De Moivre’s Theorem becomes $(re^{i\theta})^n = r^n e^{i n\theta}$, which is equivalent to $r^n(\cos(n\theta) + i \sin(n\theta))$. This connection highlights the deep relationship between exponentials and trigonometry.

Related Tools and Internal Resources

Explore these related tools and articles for a deeper understanding of complex numbers and related mathematical concepts:



Leave a Reply

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