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.1-3

Exercise 1.2.1-3

proved in Lean solution written

Rating18
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.1 of Volume 1. Companion chapter: Mathematical induction

The task

Find the mistake in the proof of the formula 32−1n\frac{3}{2} - \frac1n for the sum of 1k(k+1)\frac{1}{k(k+1)}, and find the correct value of the sum.

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

Check the formula for n=2n = 2 and n=3n = 3 by adding the terms.

Hint 2

Read the base case with care: how many terms does the sum have for n=1n = 1?

Solution

Show the solution

Let Sn=∑k=1n−11k(k+1)S_n = \sum_{k=1}^{n-1} \frac{1}{k(k+1)}, the sum with n−1n - 1 terms. The step of the proof is correct: if Sn=32−1nS_n = \frac32 - \frac1n, then Sn+1=Sn+1n(n+1)=32−1n+1n−1n+1=32−1n+1.S_{n+1} = S_n + \frac{1}{n(n+1)} = \frac32 - \frac1n + \frac1n - \frac1{n+1} = \frac32 - \frac1{n+1}. The base case is wrong. For n=1n = 1 the sum has 00 terms, so S1=0S_1 = 0 and 32−1=12≠0\frac32 - 1 = \frac12 \ne 0. The proof compares 32−1\frac32 - 1 with the single term 11⋅2\frac{1}{1 \cdot 2}, but that term belongs to S2S_2 and not to S1S_1.

The step is correct, so Sn−(32−1n)S_n - \left(\frac32 - \frac1n\right) is the same for all nn. At n=1n = 1 it is 0−120 - \frac12. So Sn=1−1nS_n = 1 - \frac1n. Direct proof by induction: S1=0=1−1S_1 = 0 = 1 - 1, and Sn+1=1−1n+1n−1n+1=1−1n+1S_{n+1} = 1 - \frac1n + \frac1n - \frac1{n+1} = 1 - \frac1{n+1}.

Check

For n=6n = 6: 12+16+112+120+130=56=1−16\frac12 + \frac16 + \frac1{12} + \frac1{20} + \frac1{30} = \frac56 = 1 - \frac16, which agrees with the correct value and not with 43\frac43. For n=1,…,6n = 1, \ldots, 6 the sums are 0,12,23,34,45,560, \frac12, \frac23, \frac34, \frac45, \frac56.

Remarks

The telescoping in the step is the idea of 1k(k+1)=1k−1k+1\frac{1}{k(k+1)} = \frac1k - \frac1{k+1}, treated in the C1 chapter of Section 1.2.3. See also Exercise 1.2.1-2 for another false proof.

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.