Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

De Moivre's Theorem Calculator

How to use
  1. Choose Power or Roots with the two buttons. Learn more about the two tasks
  2. Type the number in Real part a and Imaginary part b, and the whole number nn in Power n or Root n.
  3. For a power, read znz^n, then its modulus and argument. Learn more about reading the answer
  4. For roots, read the common modulus, the arguments, and each of the nn roots. Learn more about roots
  5. On the complex plane zz is navy and the answers are amber. The grey dots of a power are the powers in between.
  6. How it was found goes through the polar form.

Power
(1+i)4=−4\displaystyle (1 + i)^{4} = -4
Modulus
∣z∣4=(2)4=4\displaystyle |z|^{4} = \left(\sqrt{2}\right)^{4} = 4
Argument
4⋅45∘=180∘\displaystyle 4 \cdot 45^\circ = 180^\circ
In polar form
4(cos⁡180∘+isin⁡180∘)\displaystyle 4\left(\cos 180^\circ + i\sin 180^\circ\right)
How it was found

Write the number in polar form: z=1+iz = 1 + i has modulus r=2r = \sqrt{2} and argument θ=45∘\theta = 45^\circ.

De Moivre's theorem says (r(cos⁡θ+isin⁡θ))n=rn(cos⁡nθ+isin⁡nθ)\big(r(\cos\theta + i\sin\theta)\big)^n = r^n(\cos n\theta + i\sin n\theta): raise the modulus to the power, multiply the argument by it.

Modulus: (2)4=4\left(\sqrt{2}\right)^{4} = 4. Argument: 4⋅45∘=180∘4 \cdot 45^\circ = 180^\circ.

Back in rectangular form: 4cos⁡180∘=−44\cos 180^\circ = -4 and 4sin⁡180∘=04\sin 180^\circ = 0, so z4=−4z^{4} = -4.



Raising to a power

DemoRaising a complex number to a power
Step 0 of 3
Choose Power, type the number and the whole number nn. The calculator writes the number in polar form and applies De Moivre's theorem:

(r(cos⁡θ+isin⁡θ))n=rn(cos⁡nθ+isin⁡nθ)\big(r(\cos\theta + i\sin\theta)\big)^n = r^n\big(\cos n\theta + i\sin n\theta\big)


The modulus is raised to the power; the argument is multiplied by it. The power may be negative or zero, but it must be whole.
The powers of 1+i1 + i: each step multiplies the modulus by 2\sqrt{2} and adds 45∘45^\circ.

Reading the answer

    For a power:

  • Power is znz^n written as a+bia + bi. With whole parts and a positive power the result is exact.
  • Modulus is ∣z∣n|z|^n and Argument is nθn\theta. When nθn\theta leaves the range from −180∘-180^\circ to 180∘180^\circ, the arrow shows the equivalent principal angle.
  • In polar form gives the result with that modulus and angle.

  • For roots:

  • Modulus of every root is ∣z∣n\sqrt[n]{|z|}, the same for all of them.
  • Arguments lists the nn angles.
  • Root 1 of n, Root 2 of n, and so on give each root as a+bia + bi, rounded to four decimals.

Why the theorem holds

When two complex numbers are multiplied, their moduli multiply and their arguments add. Multiplying zz by itself nn times therefore multiplies the modulus by itself nn times, giving rnr^n, and adds the argument to itself nn times, giving nθn\theta.

In exponential form the theorem is one line: (r eiθ)n=rneinθ\left(r\,e^{i\theta}\right)^n = r^n e^{in\theta}.

It saves a great deal of work. Expanding (1+i)8(1 + i)^8 by hand takes many multiplications; with the theorem it is (2)8=16\left(\sqrt{2}\right)^8 = 16 and 8⋅45∘=360∘8 \cdot 45^\circ = 360^\circ, so the answer is 1616.

Finding the roots

DemoFinding all the roots
Step 0 of 3
Choose Roots. A number ww is an nnth root of zz when wn=zw^n = z. Running the theorem backwards, ww must have modulus rn\sqrt[n]{r}, and nn times its argument must equal θ\theta up to whole turns:

wk=rn(cos⁡θ+360∘kn+isin⁡θ+360∘kn),k=0,1,…,n−1w_k = \sqrt[n]{r}\left(\cos\dfrac{\theta + 360^\circ k}{n} + i\sin\dfrac{\theta + 360^\circ k}{n}\right), \qquad k = 0, 1, \ldots, n - 1


Every complex number except 00 has exactly nn different nnth roots.
The three cube roots of 11, at the corners of an equilateral triangle.

Roots on a circle

All the roots have the same modulus, so they lie on one circle centred at the origin. Their arguments differ by 360∘n\dfrac{360^\circ}{n}, so they are evenly spaced: the corners of a regular polygon with nn sides.

The nnth roots of 11 are called the roots of unity. They lie on the unit circle, one of them is always 11, and they add up to 00.

For n=2n = 2 the two square roots are opposite each other: ww and −w-w.

Common mistakes

  • Raising each part to the power. (a+bi)n(a + bi)^n is not an+bnia^n + b^n i.
  • Multiplying the modulus by nn. The modulus is raised to the power; it is the argument that is multiplied.
  • Using the wrong argument. Check the quadrant of zz before multiplying the angle.
  • Finding only one root. There are nn of them; the others come from adding whole turns before dividing the angle.
  • Dividing the modulus by nn for a root. The modulus of a root is rn\sqrt[n]{r}.