taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.3-28

Exercise 1.2.3-28

proved in Lean solution written

RatingM22
MarkersM (mathematical)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.3 of Volume 1. Companion chapter: Sums and products

The task

Find a closed form of ∏j=2n(1−1/j2)\prod_{j=2}^n (1 - 1/j^2).

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

Factor 1−1/j21 - 1/j^2 as a product of two fractions.

Hint 2

Write the product as two products and shift the index in one of them, so that almost all factors cancel.

Solution

Show the solution

For j≥2j \ge 2, 1−1j2=(j−1)(j+1)j2=j−1j⋅j+1j1 - \dfrac1{j^2} = \dfrac{(j-1)(j+1)}{j^2} = \dfrac{j-1}{j}\cdot\dfrac{j+1}{j}. So, for n≥1n \ge 1, by the product form of Eq. (8), ∏j=2n(1−1j2)=∏j=2nj−1j⋅∏j=2nj+1j.\prod_{j=2}^n \Bigl(1 - \frac1{j^2}\Bigr) = \prod_{j=2}^n \frac{j-1}{j} \cdot \prod_{j=2}^n \frac{j+1}{j}. The first product telescopes: 12⋅23⋯n−1n=1n\dfrac12 \cdot \dfrac23 \cdots \dfrac{n-1}{n} = \dfrac1n. The second one telescopes in the same way: 32⋅43⋯n+1n=n+12\dfrac32 \cdot \dfrac43 \cdots \dfrac{n+1}{n} = \dfrac{n+1}2. In general, for any aj≠0a_j \ne 0, ∏j=mnaj/aj−1=an/am−1\prod_{j=m}^n a_j/a_{j-1} = a_n / a_{m-1}, the product analog of Exercise 1.2.3-19.

So ∏j=2n(1−1j2)=1n⋅n+12=n+12n.\prod_{j=2}^n \Bigl(1 - \frac1{j^2}\Bigr) = \frac1n \cdot \frac{n+1}{2} = \frac{n+1}{2n}. For n=1n = 1 the product is empty and equals 1=221 = \frac{2}{2}.

Check

n=2n = 2: 1−14=341 - \frac14 = \frac34, and n+12n=34\frac{n+1}{2n} = \frac34. n=3n = 3: 34⋅89=23\frac34 \cdot \frac89 = \frac23, and 46=23\frac{4}{6} = \frac23. n=4n = 4: 23⋅1516=58\frac23 \cdot \frac{15}{16} = \frac58, and 58\frac58. The values tend to 12\frac12 for large nn.

Remarks

The infinite product ∏j≥2(1−1/j2)\prod_{j \ge 2}(1 - 1/j^2) converges to 12\frac12. By the same factoring, ∏j=2n(1−1/j)=1/n\prod_{j=2}^n (1 - 1/j) = 1/n.

This solution is checked, and a person has not reviewed it yet. The source.

In Lean

proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.