Lesson 6 of 7 · 18 min

Multi-angle identities with De Moivre's theorem

Expand (cos⁡x+isin⁡x)n(\cos x + i \sin x)^n with the binomial theorem and equate its real and imaginary parts with cos⁡(nx)+isin⁡(nx)\cos(nx) + i \sin(nx) to prove identities for angles up to 4x4x.

What you will be able to do

  • Expand (cos⁡x+isin⁡x)n(\cos x + i\sin x)^n for n=2,3,4n = 2, 3, 4 using the binomial theorem and powers of ii.
  • Equate real and imaginary parts to prove identities for cos⁡(nx)\cos(nx) and sin⁡(nx)\sin(nx).
  • Use sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 to write a result in terms of a single function.

What is cos⁡(3x)\cos(3x)? It is not 3cos⁡(x)3\cos(x), as the graph shows. In Unit 2 you could find it by writing cos⁡(3x)=cos⁡(2x+x)\cos(3x) = \cos(2x + x) and using the angle sum and double angle identities: several lines of careful work. De Moivre's theorem and the binomial theorem give cos⁡(3x)\cos(3x) and sin⁡(3x)\sin(3x) together, in a few lines.

cos⁡(3x)\cos(3x) is not 3cos⁡(x)3\cos(x): at x=π3x = \frac{\pi}{3} one is −1-1 and the other is 32\frac{3}{2}.

Interactive

Match y=cos⁡(3x)y = \cos(3x)

Can a cubic in cos⁡x\cos x match cos⁡(3x)\cos(3x) exactly? Change aa and bb until the two graphs coincide.

The proof uses one fact about complex numbers, and De Moivre's theorem with r=1r = 1:

(cos⁡x+isin⁡x)n=cos⁡(nx)+isin⁡(nx).(\cos x + i\sin x)^n = \cos(nx) + i\sin(nx).

The left side can also be expanded with the binomial theorem. Writing the same number two ways, then comparing, gives the identities.

Key idea

Equating real and imaginary parts

If a+bi=c+dia + bi = c + di, where aa, bb, cc and dd are real, then a=ca = c and b=db = d.

When xx is real, cos⁡x\cos x and sin⁡x\sin x are real, so every term of the binomial expansion is either real or a real multiple of ii. That is what makes equating parts valid.

Tip

What you need for the expansion

Powers of ii: i2=−1i^2 = -1,   i3=−i\; i^3 = -i,   i4=1\; i^4 = 1.

Rows of Pascal's triangle: 1,2,11, 2, 1 for n=2n = 2;   1,3,3,1\; 1, 3, 3, 1 for n=3n = 3;   1,4,6,4,1\; 1, 4, 6, 4, 1 for n=4n = 4.

Writing c=cos⁡xc = \cos x and s=sin⁡xs = \sin x keeps the working short.

Interactive

The binomial expansion of (cos⁡x+isin⁡x)3(\cos x + i\sin x)^3

Each term is a binomial coefficient times a power of cos⁡x\cos x times a power of isin⁡xi\sin x. The powers of ii decide which terms are real and which are imaginary. Try n=4n = 4 too.

Let c=cos⁡xc = \cos x and s=sin⁡xs = \sin x. Expand (c+is)2(c + is)^2 and give its real part in terms of cc and ss.

Reads asYour answer shows here as maths.

Worked example

Prove the triple angle identities with De Moivre's theorem

  • Complex familiar
  • Technology free

Use De Moivre's theorem to prove that cos⁡(3x)=4cos⁡3(x)−3cos⁡(x)\cos(3x) = 4\cos^3(x) - 3\cos(x) and sin⁡(3x)=3sin⁡(x)−4sin⁡3(x)\sin(3x) = 3\sin(x) - 4\sin^3(x).

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write (cos⁡x+isin⁡x)n=cos⁡(nx)+isin⁡(nx)(\cos x + i\sin x)^n = \cos(nx) + i\sin(nx) by De Moivre's theorem.

  2. Expand the left side with the binomial theorem.

  3. Simplify the powers of ii and collect the real and imaginary parts.

  4. Equate real parts and equate imaginary parts.

  5. Use sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 to write each result in terms of one function.

Watch out for

  • Writing (is)2=s2(is)^2 = s^2 instead of −s2-s^2.

  • Stopping at cos⁡(3x)=c3−3cs2\cos(3x) = c^3 - 3cs^2 when the question asks for cos⁡(3x)\cos(3x) in terms of cos⁡x\cos x only.

The same method works for n=4n = 4. The expansion has five terms, and the even powers of ii (i0i^0, i2i^2, i4i^4) give the real part:

(c+is)4=(c4−6c2s2+s4)+i(4c3s−4cs3).(c + is)^4 = \left(c^4 - 6c^2s^2 + s^4\right) + i\left(4c^3s - 4cs^3\right).

Worked example

Prove identities for cos⁡(4x)\cos(4x) and sin⁡(4x)\sin(4x)

  • Complex familiar
  • Technology free

Use De Moivre's theorem to prove that

(a) cos⁡(4x)=8cos⁡4(x)−8cos⁡2(x)+1\cos(4x) = 8\cos^4(x) - 8\cos^2(x) + 1

(b) sin⁡(4x)=4sin⁡(x)cos⁡(x)(1−2sin⁡2(x))\sin(4x) = 4\sin(x)\cos(x)\left(1 - 2\sin^2(x)\right).

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write (cos⁡x+isin⁡x)4=cos⁡(4x)+isin⁡(4x)(\cos x + i\sin x)^4 = \cos(4x) + i\sin(4x).

  2. Expand with the row 1,4,6,4,11, 4, 6, 4, 1 and simplify the powers of ii.

  3. Equate real parts and imaginary parts.

  4. Replace sin⁡2x\sin^2 x or cos⁡2x\cos^2 x to reach the form asked for.

Watch out for

  • Sign errors in (is)3=−is3(is)^3 = -is^3 and (is)4=s4(is)^4 = s^4.

  • Expanding (1−c2)2\left(1 - c^2\right)^2 as 1−c41 - c^4.

Equating real parts gives cos⁡(4x)=c4−6c2s2+s4\cos(4x) = c^4 - 6c^2s^2 + s^4, where c=cos⁡xc = \cos x and s=sin⁡xs = \sin x. Write cos⁡(4x)\cos(4x) in the form asin⁡4x+bsin⁡2x+da\sin^4 x + b\sin^2 x + d. Give aa, bb and dd.

Identities from (cos⁡x+isin⁡x)n(\cos x + i\sin x)^n, with c=cos⁡xc = \cos x and s=sin⁡xs = \sin x
nnReal part: cos⁡(nx)\cos(nx)Imaginary part: sin⁡(nx)\sin(nx)
22c2−s2=2c2−1c^2 - s^2 = 2c^2 - 12sc2sc
33c3−3cs2=4c3−3cc^3 - 3cs^2 = 4c^3 - 3c3c2s−s3=3s−4s33c^2s - s^3 = 3s - 4s^3
44c4−6c2s2+s4=8c4−8c2+1c^4 - 6c^2s^2 + s^4 = 8c^4 - 8c^2 + 14c3s−4cs3=4sc(1−2s2)4c^3s - 4cs^3 = 4sc\left(1 - 2s^2\right)
What about tan⁡(nx)\tan(nx)?

Divide the imaginary part by the real part, then divide every term by the highest power of cc. For n=3n = 3:

tan⁡(3x)=3c2s−s3c3−3cs2=3tan⁡x−tan⁡3x1−3tan⁡2x.\tan(3x) = \frac{3c^2s - s^3}{c^3 - 3cs^2} = \frac{3\tan x - \tan^3 x}{1 - 3\tan^2 x}.

The same steps for n=4n = 4 give tan⁡(4x)=4tan⁡x−4tan⁡3x1−6tan⁡2x+tan⁡4x\tan(4x) = \dfrac{4\tan x - 4\tan^3 x}{1 - 6\tan^2 x + \tan^4 x}. The next lesson uses the triple angle version to find tan⁡π12\tan\frac{\pi}{12} exactly.

Common mistake

Slips that cost marks

  • Dropping the ii. Expanding (c+s)3(c + s)^3 instead of (c+is)3(c + is)^3 loses every sign change.
  • Sign errors in powers of ii. (is)2=−s2(is)^2 = -s^2, (is)3=−is3(is)^3 = -is^3, (is)4=s4(is)^4 = s^4.
  • Equating the wrong parts. Real parts go with cos⁡(nx)\cos(nx), imaginary parts with sin⁡(nx)\sin(nx).
  • Stopping in mixed form. If the question wants cos⁡(3x)\cos(3x) in terms of cos⁡x\cos x only, finish with sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x.

Exam tip

Use the method you are asked for

When a question says "use De Moivre's theorem", a proof with compound angle identities doesn't answer it. Start from (cos⁡x+isin⁡x)n=cos⁡(nx)+isin⁡(nx)(\cos x + i\sin x)^n = \cos(nx) + i\sin(nx), label the binomial expansion, and write "equating real parts" or "equating imaginary parts" at the step where you do it.

Summary

  • De Moivre's theorem gives (cos⁡x+isin⁡x)n=cos⁡(nx)+isin⁡(nx)(\cos x + i\sin x)^n = \cos(nx) + i\sin(nx).

  • The binomial theorem expands the same power; simplify the powers of ii and collect real and imaginary parts.

  • Equate real parts for cos⁡(nx)\cos(nx) and imaginary parts for sin⁡(nx)\sin(nx). This is valid because cos⁡x\cos x and sin⁡x\sin x are real.

  • Use sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 to write the answer in the function the question asks for.

  • Key results: cos⁡(3x)=4cos⁡3x−3cos⁡x\cos(3x) = 4\cos^3 x - 3\cos x, sin⁡(3x)=3sin⁡x−4sin⁡3x\sin(3x) = 3\sin x - 4\sin^3 x, cos⁡(4x)=8cos⁡4x−8cos⁡2x+1\cos(4x) = 8\cos^4 x - 8\cos^2 x + 1.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 6 of 70% read

Save your progress with a free account