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

Exercise 1.2.6-6

proved in Lean solution written

Rating10
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.6 of Volume 1. Companion chapter: Binomial coefficients

The task

Extend Pascal's triangle upward with the addition formula and write the rows r=−1,−2,−3r = -1, -2, -3.

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

Read eq. 1.2.6(9) as a rule that finds row r−1r-1 from row rr.

Hint 2

In every row the entry for k=0k = 0 is 11 and the entries for k<0k < 0 are 00.

Solution

Show the solution

Eq. 1.2.6(9) says (rk)=(r−1k)+(r−1k−1)\binom{r}{k} = \binom{r-1}{k} + \binom{r-1}{k-1}. Solve for the row above: (r−1k)=(rk)−(r−1k−1)\binom{r-1}{k} = \binom{r}{k} - \binom{r-1}{k-1}. In each new row the entry at k=0k = 0 is 11, since (r0)=1\binom{r}{0} = 1, and the entries with k<0k < 0 are 00. Then each entry follows from the entry of the row below and the entry to its left in the new row.

Row r=0r = 0 is 1,0,0,0,…1, 0, 0, 0, \ldots. Row r=−1r = -1: 11, then 0−1=−10 - 1 = -1, then 0−(−1)=10 - (-1) = 1, then 0−1=−10 - 1 = -1, and so on: 1,−1,1,−1,…1, -1, 1, -1, \ldots.

Row r=−2r = -2 from row −1-1: 11; −1−1=−2-1 - 1 = -2; 1−(−2)=31 - (-2) = 3; −1−3=−4-1 - 3 = -4; 1−(−4)=51 - (-4) = 5. So 1,−2,3,−4,5,…1, -2, 3, -4, 5, \ldots.

Row r=−3r = -3 from row −2-2: 11; −2−1=−3-2 - 1 = -3; 3−(−3)=63 - (-3) = 6; −4−6=−10-4 - 6 = -10; 5−(−10)=155 - (-10) = 15. So 1,−3,6,−10,15,…1, -3, 6, -10, 15, \ldots.

rr k=0k=0 11 22 33 44 55
−1-1 1 -1 1 -1 1 -1
−2-2 1 -2 3 -4 5 -6
−3-3 1 -3 6 -10 15 -21

The pattern is (−(j+1)k)=(−1)k(k+jj)\binom{-(j+1)}{k} = (-1)^k \binom{k+j}{j}. It follows from eq. 1.2.6(17) with r=−(j+1)r = -(j+1): (−(j+1)k)=(−1)k(k+j+1−1k)=(−1)k(k+jk)\binom{-(j+1)}{k} = (-1)^k \binom{k + j + 1 - 1}{k} = (-1)^k \binom{k+j}{k}.

Check

Take r=−3r = -3, k=3k = 3. The definition (3) gives (−3)(−4)(−5)6=−10\frac{(-3)(-4)(-5)}{6} = -10, which agrees with the table.

Remarks

The absolute values in the new rows are the columns of Pascal's triangle, read down: 1,2,3,4,…1,2,3,4,\ldots and 1,3,6,10,…1,3,6,10,\ldots. This is the content of eq. 1.2.6(17). See also the C1 chapter on Section 1.2.6.

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.