Expand the RHS using the binomial theorem, then separate real and imaginary parts. Real part gives cos nθ as a polynomial in cos θ; imaginary part gives sin nθ. For example, cos 3θ = 4cos³θ − 3cos θ and sin 3θ = 3sin θ − 4sin³θ both fall out of (cis θ)³.
De Moivre's theorem turns the problem of expanding cosnθ and sinnθ into a binomial expansion. The powers of i separate the real and imaginary parts automatically.
The Method
By De Moivre's theorem:
cosnθ+isinnθ=(cosθ+isinθ)n
Expand the right side using the binomial theorem, use the cycle i2=−1, i3=−i, i4=1, then separate real and imaginary parts.
Case n=3
(cosθ+isinθ)3=cos3θ+3cos2θ(isinθ)+3cosθ(isinθ)2+(isinθ)3
=cos3θ+3icos2θsinθ−3cosθsin2θ−isin3θ
Real part:
cos3θ=cos3θ−3cosθsin2θ=cos3θ−3cosθ(1−cos2θ)
cos3θ=4cos3θ−3cosθ
Imaginary part:
sin3θ=3cos2θsinθ−sin3θ=3(1−sin2θ)sinθ−sin3θ
sin3θ=3sinθ−4sin3θ
Case n=4
(cosθ+isinθ)4=cos4θ+4icos3θsinθ−6cos2θsin2θ−4icosθsin3θ+sin4θ
Real part:
cos4θ=cos4θ−6cos2θsin2θ+sin4θ
Using sin2θ=1−cos2θ:
=cos4θ−6cos2θ(1−cos2θ)+(1−cos2θ)2=8cos4θ−8cos2θ+1
Imaginary part:
sin4θ=4cos3θsinθ−4cosθsin3θ=4sinθcosθ(cos2θ−sin2θ)=2sin2θcos2θ
(Consistent with sin4θ=sin2(2θ)=2sin2θcos2θ.) ✓
The General Pattern
For general n, the binomial expansion of (cosθ+isinθ)n gives:
- cosnθ = sum of even-powered terms (i0=1, i2=−1, i4=1, ...) — a polynomial in cosθ of degree n
- sinnθ = sum of odd-powered terms (i1=i, i3=−i, ...) — always has a sinθ factor, multiplied by a polynomial in cosθ of degree n−1
This gives the Chebyshev-type expansions: cosnθ as a degree-n polynomial in cosθ, which is the foundation of Chebyshev polynomials Tn(cosθ)=cosnθ.