Key idea of this section
eiθ = cos θ + i sin θ, (cos θ + i sin θ)ⁿ = cos nθ + i sin nθ Every polynomial identity in sin and cos is an identity of Laurent polynomials in w = eiθ.
De Moivre's theorem and multiple angles
Since einθ = (eiθ)ⁿ, we have de Moivre's formula (cos θ + i sin θ)ⁿ = cos nθ + i sin nθ for every n ∈ ℤ. Expanding by the binomial theorem and separating real and imaginary parts:
cos nθ = ∑ₖ (−1)ᵏ C(n, 2k) cosⁿ⁻²ᵏθ sin²ᵏθ sin nθ = ∑ₖ (−1)ᵏ C(n, 2k+1) cosⁿ⁻²ᵏ⁻¹θ sin²ᵏ⁺¹θ
For n = 2 and n = 3 this gives the familiar formulas:
cos 2θ = cos²θ − sin²θ = 2cos²θ − 1 = 1 − 2sin²θ, sin 2θ = 2 sin θ cos θ, cos 3θ = 4cos³θ − 3cos θ, sin 3θ = 3 sin θ − 4 sin³θ.
Dividing the two expansions by cosⁿθ gives a formula for the tangent of a multiple angle in terms of t = tan θ:
tan nθ = Im (1 + it)ⁿ / Re (1 + it)ⁿ, e.g. tan 3θ = (3t − t³)/(1 − 3t²).
Linearisation: powers to multiple angles
Conversely, powers of sine and cosine can be written as linear combinations of cos kθ and sin kθ by writing cos θ = (w + w⁻¹)/2 with w = eiθ:
cos⁴θ = (w + w⁻¹)⁴/16 = (w⁴ + w⁻⁴ + 4(w² + w⁻²) + 6)/16 = 3/8 + (1/2)cos 2θ + (1/8)cos 4θ.
In general, for n ≥ 1,
cos²ⁿθ = 2⁻²ⁿ [ C(2n, n) + 2 ∑ₖ₌₁ⁿ C(2n, n−k) cos 2kθ ].
These formulas are the reason integrals such as ∫₀2π cos²ⁿθ dθ = 2π C(2n, n)/4ⁿ are elementary: every term except the constant integrates to zero.
Products and sums
Adding and subtracting the addition formulas gives the product-to-sum identities:
2 cos α cos β = cos(α − β) + cos(α + β) 2 sin α sin β = cos(α − β) − cos(α + β) 2 sin α cos β = sin(α + β) + sin(α − β)
and, substituting α = (x + y)/2, β = (x − y)/2, the sum-to-product identities:
sin x + sin y = 2 sin((x+y)/2) cos((x−y)/2) cos x + cos y = 2 cos((x+y)/2) cos((x−y)/2) cos x − cos y = −2 sin((x+y)/2) sin((x−y)/2).
In signal processing, the sum-to-product formula for cos x + cos y explains amplitude modulation and beats: the superposition of tones at nearby frequencies ω₁ and ω₂ is a tone at the mean frequency whose amplitude varies at half the difference frequency.
The tangent addition formula and the Weierstrass substitution
Dividing the addition formulas,
tan(α + β) = (tan α + tan β)/(1 − tan α tan β),
valid whenever all three tangents are defined. With t = tan(θ/2) the double-angle formulas give the rational parametrisation
sin θ = 2t/(1 + t²), cos θ = (1 − t²)/(1 + t²), dθ = 2 dt/(1 + t²).
This is the Weierstrass substitution: it converts any integral of a rational function of sin θ and cos θ into an integral of a rational function of t. Geometrically, it is the stereographic projection of the unit circle from the point (−1, 0), and it shows that the rational points of the circle are exactly ((1 − t²)/(1 + t²), 2t/(1 + t²)) for t ∈ ℚ, together with (−1, 0). Clearing denominators with t = n/m recovers the classical parametrisation of Pythagorean triples (m² − n², 2mn, m² + n²).
A useful amplitude–phase identity
For real a, b not both zero, a cos θ + b sin θ = R cos(θ − φ) with R = √(a² + b²) and (cos φ, sin φ) = (a/R, b/R). Indeed, a cos θ + b sin θ = Re((a − ib) eiθ) and a − ib = R e−iφ. In particular the maximum of a cos θ + b sin θ is √(a² + b²), an instance of the Cauchy–Schwarz inequality.
Exercise
- (a)Prove that tan θ tan(π/3 − θ) tan(π/3 + θ) = tan 3θ wherever both sides are defined.
- (b)Linearise sin⁵θ.
- (c)Use the Weierstrass substitution to evaluate ∫₀2π dθ/(2 + cos θ).
Show solution
Answers: (a) With t = tan θ and s = tan(π/3) = √3, tan(π/3 − θ) tan(π/3 + θ) = (s² − t²)/(1 − s²t²) = (3 − t²)/(1 − 3t²); multiplying by t gives (3t − t³)/(1 − 3t²) = tan 3θ. (b) sin⁵θ = (10 sin θ − 5 sin 3θ + sin 5θ)/16. (c) 2π/√3. On (−π, π) the substitution gives ∫₋∞^∞ 2 dt/(3 + t²) = 2π/√3, and the integrand is 2π-periodic.