Home › Trigonometry › Lesson 8

Finite Sums, Products, and the Product Formula for Sine

Lesson 8 of 12

Key idea of this section

1/2 + ∑ₖ₌₁ⁿ cos kx = sin((n + ½)x) / (2 sin(x/2)),        ∏ₖ₌₁ⁿ⁻¹ sin(kπ/n) = n/2ⁿ⁻¹
sin πz = πz ∏ₙ₌₁∞ (1 − z²/n²)

Geometric sums with w = eix

If x ∉ 2πℤ, summing a geometric progression gives ∑ₖ₌₀ⁿ eikx = (ei(n+1)x − 1)/(eix − 1). Factoring ei(n+1)x/2 from the numerator and eix/2 from the denominator,

∑ₖ₌₀ⁿ eikx = einx/2 sin((n+1)x/2)/sin(x/2).

Taking real and imaginary parts,

∑ₖ₌₁ⁿ sin kx = sin(nx/2) sin((n+1)x/2)/sin(x/2),
∑ₖ₌₀ⁿ cos kx = cos(nx/2) sin((n+1)x/2)/sin(x/2),

and the symmetric form Dₙ(x) = 1/2 + ∑ₖ₌₁ⁿ cos kx = sin((n + ½)x)/(2 sin(x/2)) is the Dirichlet kernel, the central object of Lesson 9. For x = 2πj/m with m ∤ j, the sum ∑ₖ₌₀m−1 eikx vanishes; for example ∑ₖ₌₁⁶ cos(2πk/7) = −1.

The sine product over roots of unity

Theorem 8.1. For n ≥ 2, ∏ₖ₌₁ⁿ⁻¹ sin(kπ/n) = n/2ⁿ⁻¹.

Proof. With ζ = e2πi/n we have zⁿ − 1 = ∏ₖ₌₀ⁿ⁻¹ (z − ζᵏ), so (zⁿ − 1)/(z − 1) = 1 + z + ⋯ + zⁿ⁻¹ = ∏ₖ₌₁ⁿ⁻¹ (z − ζᵏ). Setting z = 1 gives ∏ₖ₌₁ⁿ⁻¹ (1 − ζᵏ) = n. Now |1 − eiθ| = 2|sin(θ/2)|, so taking absolute values, ∏ₖ₌₁ⁿ⁻¹ 2 sin(kπ/n) = n (all factors are positive). ∎

Corollary. (π/n) ∑ₖ₌₁ⁿ⁻¹ ln sin(kπ/n) = (π/n)(ln n − (n − 1) ln 2). Letting n → ∞, the left side is a Riemann sum for an improper but absolutely convergent integral, and ∫₀π ln sin x dx = −π ln 2.

Similar telescoping tricks give closed forms for products of cosines. Since sin 2x = 2 sin x cos x,

cos x cos 2x cos 4x ⋯ cos 2ⁿ⁻¹x = sin 2ⁿx / (2ⁿ sin x),

so for example cos 20° cos 40° cos 80° = sin 160°/(8 sin 20°) = 1/8 (Morrie's law) and cos(π/7) cos(2π/7) cos(4π/7) = sin(8π/7)/(8 sin(π/7)) = −1/8.

Sums of cosecants and cotangents

Theorem 8.2. For n ≥ 2, ∑ₖ₌₁ⁿ⁻¹ csc²(kπ/n) = (n² − 1)/3. For m ≥ 1, ∑ₖ₌₁ᵐ cot²(kπ/(2m+1)) = m(2m − 1)/3.

Proof of the second statement. Let N = 2m + 1 and θ = kπ/N for 1 ≤ k ≤ m. Then sin Nθ = 0, and by de Moivre sin Nθ = sinᴺθ ∑ⱼ (−1)ʲ C(N, 2j+1) cotN−2j−1θ. Thus the m distinct positive numbers tₖ = cot²(kπ/N) are roots of the degree-m polynomial C(N,1)tᵐ − C(N,3)tᵐ⁻¹ + ⋯, and by Vieta their sum is C(N, 3)/C(N, 1) = (2m + 1)(2m)(2m − 1)/(6(2m + 1)) = m(2m − 1)/3. ∎

The first statement follows similarly (or from the partial fraction expansion below). For n = 4: csc²45° + csc²90° + csc²135° = 2 + 1 + 2 = 5 = 15/3.

Cauchy's proof of ζ(2) = π²/6. For 0 < θ < π/2 we have sin θ < θ < tan θ, so cot²θ < 1/θ² < csc²θ = 1 + cot²θ. Summing over θ = kπ/(2m+1), k = 1, …, m:

m(2m − 1)/3 < ((2m + 1)/π)² ∑ₖ₌₁ᵐ 1/k² < m(2m − 1)/3 + m.

Multiply by π²/(2m + 1)² and let m → ∞: both bounds tend to π²/6.

The product formula for sine

Theorem 8.3 (Euler, 1735). For all z ∈ ℂ,

sin πz = πz ∏ₙ₌₁∞ (1 − z²/n²),        π cot πz = 1/z + ∑ₙ₌₁∞ 2z/(z² − n²),

the product converging absolutely and locally uniformly, the series for z ∉ ℤ.

Proof sketch (Herglotz's trick for the cotangent series). Let f(z) = π cot πz and g(z) = 1/z + ∑ 2z/(z² − n²). Both are meromorphic with simple poles of residue 1 exactly at the integers, both are odd and 1-periodic, and both satisfy the duplication relation h(z/2) + h((z+1)/2) = 2h(z) (for f this is the identity cot x + cot(x + π/2) = 2 cot 2x). The difference Δ = f − g extends to a continuous function on ℝ (the poles cancel) satisfying the same relation. If M is the maximum of |Δ| on [0, 1], attained at x₀, then |Δ(x₀/2)| = |Δ((x₀+1)/2)| = M, and iterating gives points x₀/2ᵏ → 0 with |Δ| = M, so M = |Δ(0)| = 0, because Δ is odd. Hence f = g on ℝ, and by analytic continuation on ℂ. Integrating the logarithmic derivative gives the product formula, the constant being fixed by sin πz/(πz) → 1 as z → 0. ∎

Comparing the coefficient of z² in sin πz/(πz) = 1 − π²z²/6 + ⋯ with the product gives ∑ 1/n² = π²/6 again; this was Euler's original heuristic argument. Setting z = 1/2 gives Wallis's product

π/2 = ∏ₙ₌₁∞ 4n²/(4n² − 1) = (2/1)(2/3)(4/3)(4/5)(6/5)(6/7) ⋯ .

Exercise

  • (a)
    Evaluate ∏ₖ₌₁⁶ sin(kπ/7).
  • (b)
    Show that ∑ₖ₌₀ⁿ C(n, k) cos kx = 2ⁿ cosⁿ(x/2) cos(nx/2).
  • (c)
    Verify the cotangent identity for m = 1 and m = 2.
Show solution

Answers: (a) 7/2⁶ = 7/64. (b) ∑ C(n,k) eikx = (1 + eix)ⁿ = (eix/2 · 2 cos(x/2))ⁿ; take real parts. (c) m = 1: cot²60° = 1/3 = 1·1/3. m = 2: cot²36° + cot²72° = 1.8944… + 0.1055… = 2 = 2·3/3.

V.3.1