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.6-13

Exercise 1.2.6-13

proved in Lean solution written

RatingM13
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.6 of Volume 1. Companion chapter: Binomial coefficients

The task

Prove the sum along a diagonal of Pascal's triangle, eq. 1.2.6(10).

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

Induct on nn and use the addition formula (9).

Solution

Show the solution

Induct on nn, with rr a fixed real number. For n=0n = 0 the left side is (r0)=1\binom{r}{0} = 1, and the right side is (r+10)=1\binom{r+1}{0} = 1.

Assume the formula for nn. Then ∑k=0n+1(r+kk)=(r+n+1n)+(r+n+1n+1)=(r+n+2n+1).\sum_{k=0}^{n+1}\binom{r+k}{k} = \binom{r+n+1}{n} + \binom{r+n+1}{n+1} = \binom{r+n+2}{n+1}. The last step is the addition formula (9) with upper index r+n+2r + n + 2 and lower index n+1n + 1: (RK)=(R−1K)+(R−1K−1)\binom{R}{K} = \binom{R-1}{K} + \binom{R-1}{K-1} with R=r+n+2R = r+n+2, K=n+1K = n+1. This is the formula for n+1n + 1.

Check

Take r=2r = 2, n=3n = 3: the left side is (20)+(31)+(42)+(53)=1+3+6+10=20\binom{2}{0} + \binom{3}{1} + \binom{4}{2} + \binom{5}{3} = 1 + 3 + 6 + 10 = 20, and the right side is (63)=20\binom{6}{3} = 20. A non-integer test: r=1/2r = 1/2, n=1n = 1: 1+(3/21)=5/21 + \binom{3/2}{1} = 5/2, and (5/21)=5/2\binom{5/2}{1} = 5/2.

Remarks

Eq. 1.2.6(11), the sum down a column, follows by symmetry from this one. The case r=1r = 1 is the sum of the first n+1n+1 integers in the form ∑k=0n(k+1)=(n+2n)\sum_{k=0}^{n}(k+1) = \binom{n+2}{n}.

This solution is drafted, 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.