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

Exercise 1.2.6-21

proved in Lean solution written

RatingM05
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

Explain why eq. 1.2.6(25) is not an identity in ss, although both sides are polynomials in ss.

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

Compare the degrees in ss of the two sides.

Solution

Show the solution

The left side ∑k=0r(r−km)(s+kn)\sum_{k=0}^{r}\binom{r-k}{m}\binom{s+k}{n} is a polynomial in ss of degree at most nn, since (s+kn)\binom{s+k}{n} has degree nn in ss. The right side (r+s+1m+n+1)\binom{r+s+1}{m+n+1} is a polynomial in ss of degree exactly m+n+1m + n + 1, with leading coefficient 1/(m+n+1)!1/(m+n+1)!. Since m+n+1>nm + n + 1 > n, the two polynomials differ, and their difference is a nonzero polynomial. It has finitely many zeros. The equation is proved only for the n+1n + 1 values s=0,1,…,ns = 0, 1, \ldots, n. A polynomial of degree m+n+1m + n + 1 can agree with one of lower degree at n+1n + 1 points without being equal. The rule "agreement at enough points gives equality" needs more than max⁡(degrees)\max(\text{degrees}) points, and here only n+1n + 1 points are known.

Check

Take r=0r = 0, m=0m = 0, n=0n = 0. The left side is (s0)=1\binom{s}{0} = 1, and the right side is (s+11)=s+1\binom{s+1}{1} = s + 1. They agree at s=0s = 0, the only allowed value, and for no other ss.

Remarks

Eq. (23) is different. It holds for all real ss, because the induction of Exercise 1.2.6-19 does not need an integer ss. The reason is that there the number of terms does not depend on ss and both sides have the same degree nn in ss up to the shift.

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.