James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AA HL › Topic 1: Number & algebra › De Moivre’s theorem

De Moivre’s theorem, powers & roots

Raising complex numbers to powers in one step, finding all n of the nth roots of a complex number, and using De Moivre’s theorem to produce trigonometric identities.

AHL 1.14HL onlyPaper 1Paper 2Paper 3≈ 90 min to work through
Before you start: modulus–argument and Euler form. See The complex plane. The proof uses Proof by induction.

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • State De Moivre’s theorem and use it to find powers of complex numbersAHL 1.14
  • Prove De Moivre’s theorem for positive integers by inductionAHL 1.15
  • Find all the nth roots of a complex number and show them on an Argand diagramAHL 1.14
  • Use properties of the nth roots of unity, including that they sum to zeroAHL 1.14
  • Use De Moivre’s theorem to express cosnθ and sinnθ in powers of cosθ and sinθAHL 1.14

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

Multiplying complex numbers multiplies the moduli and adds the arguments. Multiplying a number by itself n times must therefore raise the modulus to the power n and multiply the argument by n. That is De Moivre’s theorem. Running it backwards finds roots: and because angles repeat every 2π, every non-zero complex number has exactly n different nth roots.

2.1 De Moivre’s theorem

De Moivre’s theorem (in formula booklet) In formula booklet
(r(cosθ+isinθ))n=rn(cosnθ+isinnθ)or(reiθ)n=rneinθ

In Euler form it is just a law of indices. It holds for every integer n, including negative n: for example z−1=r−1e−iθ, so 1z has the reciprocal modulus and the negative argument.

Why is it true?

For positive integers, prove it by induction. Base case: n=1 is trivially true. Assume (cosθ+isinθ)k=coskθ+isinkθ. Then (cosθ+isinθ)k+1=(coskθ+isinkθ)(cosθ+isinθ). Expanding and using the compound angle formulae gives cos(k+1)θ+isin(k+1)θ. This proof has appeared on IB papers, so it is worth practising in full.

Worked example 1Paper 1
Find (3+i)6 in the form a+bi.
3+i=2eiπ/6.
(2eiπ/6)6=26eiπ=64(−1)=−64.
Much faster than expanding six brackets.
Worked example 2Paper 1
Find (1+i3)9.
1+i3=2eiπ/3
(2eiπ/3)9=512e3πi
e3πi=cos3π+isin3π=−1, so the answer is −512.
Arguments can be reduced by multiples of 2π: 3π is the same direction as π.

Powers make a spiral on the Argand diagram: each multiplication by z turns by argz and stretches by |z|. If |z|=1, the powers stay on the unit circle; if |z|>1 they spiral outwards.

2.2 Finding nth roots

To solve zn=w, write w=Reiϕ and z=reiθ. De Moivre gives rneinθ=Reiϕ. Comparing moduli, r=R1/n. Comparing arguments is where care is needed: the arguments only have to agree up to a multiple of 2π, because eiϕ=ei(ϕ+2π)=ei(ϕ+4π)=…

The n nth roots Not in booklet: learn it
zn=Reiϕ⟺z=R1/nei(ϕ+2kπn),k=0,1,2,…,n−1
Why are there exactly n roots?

nθ=ϕ+2kπ gives θ=ϕn+2kπn. Each new value of k adds 2πn to the angle, so the roots are spaced equally around a circle of radius R1/n. After k=n−1, the next value k=n adds a full turn 2π and gives the first root again. So there are exactly n different roots, at the vertices of a regular n-sided polygon.

Worked example 3Paper 1
Solve z3=8i, giving your answers in the form a+bi.
8i=8eiπ/2. Modulus of each root: 81/3=2.
Arguments: π/2+2kπ3 for k=0,1,2: π6, 5π6, 3π2 (or −π2).
z=2eiπ/6=3+i, z=2e5πi/6=−3+i, z=2e−iπ/2=−2i.
Check one: (−2i)3=−8i3=8i. ✓
Worked example 4Paper 1
Solve z4=−16.
−16=16eiπ. Modulus 161/4=2. Arguments π+2kπ4=π4,3π4,5π4,7π4.
z=±2±2i (all four sign combinations).
The four roots form a square on the circle of radius 2.

2.3 Roots of unity

The solutions of zn=1 are the nth roots of unity: 1, ω, ω2,…,ωn−1, where ω=e2πi/n. They are the vertices of a regular n-gon with one vertex at 1.

Sum of the roots of unity Not in booklet: learn it
1+ω+ω2+…+ωn−1=0(n≥2)
Why do they sum to zero?

It is a geometric series with ratio ω≠1: the sum is 1−ωn1−ω=1−11−ω=0. Geometrically, the vectors from the centre to the vertices of a regular polygon balance out. You can also see it from the polynomial: the roots of zn−1=0 have sum equal to minus the coefficient of zn−1, which is 0.

Worked example 5Paper 1
Let ω=e2πi/3. Show that 1+ω+ω2=0, and hence simplify (1+ω)3.
ω3=1 and ω≠1, so 1+ω+ω2=1−ω31−ω=0.
So 1+ω=−ω2, and (1+ω)3=−ω6=−(ω3)2=−1.
Using 1+ω+ω2=0 to replace a sum by a single power is a common trick.

2.4 Trigonometric identities

De Moivre gives two ways to write (cosθ+isinθ)n: as cosnθ+isinnθ, or by expanding with the binomial theorem. Equating real and imaginary parts produces identities for cosnθ and sinnθ.

Worked example 6Paper 1
Show that cos3θ=4cos3θ−3cosθ.
Let c=cosθ, s=sinθ. (c+is)3=c3+3c2(is)+3c(is)2+(is)3=c3−3cs2+i(3c2s−s3).
By De Moivre, this equals cos3θ+isin3θ. Equate real parts: cos3θ=c3−3cs2.
=c3−3c(1−c2)=4c3−3c.
Replace s2 with 1−c2 to write everything in terms of cosθ.

Going the other way, powers like cos3θ can be written in terms of multiple angles. With z=eiθ: z+1z=2cosθ and zn+1zn=2cosnθ. So 8cos3θ=(z+1z)3=z3+3z+3z+1z3=2cos3θ+6cosθ, giving cos3θ=14cos3θ+34cosθ. This is how such powers are integrated.

Worked example 7 (faded)Paper 1
Find (eiπ/4)8 and the number of solutions of z5=1.
(eiπ/4)8=e2πi= 1  ← you work this out
z5=1 has 5 solutions, spaced 2π5 apart.  ← you work this out
On your TI-Nspire Calculator tricks →

Use Radian mode and complex format Polar (home → 5: Settings → 2: Document Settings) to see powers in polar form, e.g. (1+√3i)^9. To check roots, menu → 3: Algebra → 3: Polynomial Tools → 2: Complex Roots of Polynomial with z^3-8i. Exam questions on roots usually want exact answers, so show the De Moivre working.

3Explore it

The red points are the n solutions of zn=w. Change n and w: the roots always form a regular polygon on a circle of radius |w|1/n.

4Common mistakes & exam tips

Common mistakes

  • Finding only one root of zn=w: there are always n.
  • Adding 2kπ after dividing by n instead of before: the spacing is 2πn, not 2π.
  • Forgetting to take the nth root of the modulus.
  • Giving arguments outside the range the question asks for (often −π<θ≤π).
  • Expanding (c+is)n without the powers of i: (is)2=−s2, (is)3=−is3.

Exam tips

  • Convert to Euler or polar form before using De Moivre.
  • Check one root by raising it to the power n.
  • For roots, sketch the regular polygon: it shows the arguments at once and catches missing roots.
  • In identity questions, write c=cosθ and s=sinθ to keep the binomial expansion tidy.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Find (1+i)8.
(2)8e2πi=16
FluencyP2
Find (2eiπ/12)6 in Cartesian form.
64eiπ/2=64i
FluencyP3
Solve z2=4i.
±2eiπ/4=±(2+2i)
FluencyP4
Solve z6=1 in exponential form.
ekπi/3, k=0,1,…,5
Problem solvingP5
Use De Moivre’s theorem to show that sin3θ=3sinθ−4sin3θ.
Imaginary part of (c+is)3: 3c2s−s3=3(1−s2)s−s3.
Problem solvingP6
The roots of z5=1 are 1,ω,ω2,ω3,ω4. Find ω+ω2+ω3+ω4.
−1, since all five sum to 0.

6Exam-style questions

Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.

Question 1Paper 1[5 marks]

Find (1+i3)9, giving your answer in the form a+bi.

|1+i3|=2A1
arg=π3A1
29e3πiM1
512(cos3π+isin3π)A1
−512A1
Question 2Paper 1[8 marks]

  • (a)Solve z3=−27, giving your answers in the form a+bi.[5]
  • (b)The roots are represented by points on an Argand diagram. Find the exact area of the triangle formed by these points.[3]
(a)
−27=27eiπA1
modulus 3A1
arguments π3,π,−π3M1
−3A1
32±332iA1
(b)
side length 33 (equilateral)M1 A1
34(33)2=2734A1
Question 3Paper 1[7 marks]

  • (a)Use De Moivre’s theorem to show that cos3θ=4cos3θ−3cosθ.[4]
  • (b)Hence solve 8cos3θ−6cosθ=1 for 0≤θ≤π.[3]
(a)
(cosθ+isinθ)3=cos3θ+isin3θM1
binomial expansion with real part c3−3cs2M1 A1
c3−3c(1−c2)=4c3−3cAG A1
(b)
2cos3θ=1⇒cos3θ=12M1
3θ=π3,5π3,7π3A1
θ=π9,5π9,7π9A1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.

PaperQuestionFocusDifficulty
May 2021 · TZ1 · Paper 2Q8Powers of complex numbers in cis form★★☆
May 2023 · TZ1 · Paper 2Q6Smallest n with zⁿ = −i★★☆
May 2025 · TZ2 · Paper 1Q12Square roots in polar form, then geometry★★★
May 2021 · TZ2 · Paper 3Q2Geometric property of the roots of zⁿ = 1★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake