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

Exercise 1.2.6-22

proved in Lean solution written

RatingM20
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 Rothe's identity, eq. 1.2.6(26), when the free parameter has the value s=n−1−r+nts = n - 1 - r + nt. The right side is then (n−1n)\binom{n-1}{n}, which is 00 for n≥1n \ge 1.

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

For this ss, the lower coefficient (s−t(n−k)n−k)\binom{s-t(n-k)}{n-k} has an upper index that depends on r−tkr - tk only. Negate it with eq. 1.2.6(17).

Hint 2

Combine the two coefficients with eq. 1.2.6(20).

Hint 3

What remains is the sum of (−1)n−k(nk)(-1)^{n-k}\binom{n}{k} times a polynomial of degree less than nn in kk. Use eq. 1.2.6(34).

Solution

Show the solution

Assume n≥1n \ge 1. (For n=0n = 0 the sum is the term k=0k = 0, which is 1=(−10)1 = \binom{-1}{0}. For n<0n < 0 every term is zero, and so is the right side.) Both sides are polynomials in rr and tt, so it is enough to prove the identity when r≠tkr \ne tk for 0≤k≤n0 \le k \le n.

Put u=r−tku = r - tk. For s=n−1−r+nts = n - 1 - r + nt we get s−t(n−k)=n−1−r+tk=n−1−us - t(n-k) = n - 1 - r + tk = n - 1 - u. The term of index kk is (uk)ru(n−1−un−k).\binom{u}{k}\frac{r}{u}\binom{n-1-u}{n-k}. By eq. 1.2.6(17), (n−1−un−k)=(−1)n−k((n−k)−(n−1−u)−1n−k)=(−1)n−k(u−kn−k)\binom{n-1-u}{n-k} = (-1)^{n-k}\binom{(n-k)-(n-1-u)-1}{n-k} = (-1)^{n-k}\binom{u-k}{n-k}. By eq. 1.2.6(20), (uk)(u−kn−k)=(un)(nk)\binom{u}{k}\binom{u-k}{n-k} = \binom{u}{n}\binom{n}{k}. By eq. 1.2.6(7), 1u(un)=1n(u−1n−1)\frac{1}{u}\binom{u}{n} = \frac{1}{n}\binom{u-1}{n-1}. So the term is rn(−1)n−k(nk)(r−1−tkn−1).\frac{r}{n}(-1)^{n-k}\binom{n}{k}\binom{r-1-tk}{n-1}. The factor (r−1−tkn−1)\binom{r-1-tk}{n-1} is a polynomial in kk of degree n−1n - 1. Eq. 1.2.6(34) with rr replaced by nn says ∑k(nk)(−1)n−kp(k)=n! bn\sum_k \binom{n}{k}(-1)^{n-k}p(k) = n!\,b_n for a polynomial pp of degree at most nn with the coefficient bnb_n of knk^n. Here bn=0b_n = 0. So the left side of (26) is 00.

The right side is (r+s−tnn)=(n−1n)=0\binom{r + s - tn}{n} = \binom{n-1}{n} = 0 for n≥1n \ge 1, since 0≤n−1<n0 \le n - 1 < n.

Check

Take r=3r = 3, t=1t = 1, n=2n = 2. Then s=0s = 0. The terms for k=0,1,2k = 0, 1, 2 are (−22)=3\binom{-2}{2} = 3, then 3⋅(−11)=−33 \cdot \binom{-1}{1} = -3, then 32(01)⋅1=0\frac{3}{2}\binom{0}{1}\cdot 1 = 0. The sum is 0=(12)0 = \binom{1}{2}.

Remarks

This exercise is the starting point of the proof of (26) in Exercises 1.2.6-23 and 1.2.6-24: the identity is shown first for one value of ss and then moved to the next values. Eq. (34) of the section is the engine, and its proof is Exercise 1.2.6-29.

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.