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

Exercise 1.2.6-20

stated 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 eq. 1.2.6(24) and eq. 1.2.6(25), two sums of a product of two coefficients, from Vandermonde's convolution and the form (19) of the negation rule.

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

Use eq. 1.2.6(19) to turn each upper index that is a nonnegative integer into a coefficient with the upper index negative and fixed.

Hint 2

After that the sum is an instance of eq. 1.2.6(21).

Hint 3

Check which terms vanish outside the range 0≤k≤r0 \le k \le r, so that the sum can run over all integers.

Solution

Show the solution

Eq. 1.2.6(19) reads (NM)=(−1)N−M(−(M+1)N−M)\binom{N}{M} = (-1)^{N-M}\binom{-(M+1)}{N-M} for an integer N≥0N \ge 0 and an integer MM.

Equation (24). Let t,r,m≥0t, r, m \ge 0 be integers and ss real. For 0≤k≤r0 \le k \le r apply (19) with N=r−kN = r - k, M=mM = m: (r−km)=(−1)r−k−m(−m−1r−m−k).\binom{r-k}{m} = (-1)^{r-k-m}\binom{-m-1}{r-m-k}. So the sum is ∑k(−1)r−k−m(−1)k−t(−m−1r−m−k)(sk−t)=(−1)r−m−t∑k(sk−t)(−m−1r−m−k)\sum_k (-1)^{r-k-m}(-1)^{k-t}\binom{-m-1}{r-m-k}\binom{s}{k-t} = (-1)^{r-m-t}\sum_k \binom{s}{k-t}\binom{-m-1}{r-m-k}.

The range may be all integers. For k<0k < 0 we have k−t<0k - t < 0, so (sk−t)=0\binom{s}{k-t} = 0. For r−m<k≤rr - m < k \le r the original term has 0≤r−k<m0 \le r - k < m, so (r−km)=0\binom{r-k}{m} = 0. And the new form has (−m−1r−m−k)=0\binom{-m-1}{r-m-k} = 0 for k>r−mk > r - m, since the lower index is negative. So both forms agree for all kk in [0,r][0, r] and are zero outside it.

Put j=k−tj = k - t. The last sum is ∑j(sj)(−m−1(r−m−t)−j)\sum_j \binom{s}{j}\binom{-m-1}{(r-m-t)-j}, and eq. 1.2.6(21) gives (s−m−1r−m−t)\binom{s-m-1}{r-m-t}. Then eq. 1.2.6(17) with the lower index r−m−tr - m - t gives (s−m−1r−m−t)=(−1)r−m−t((r−m−t)−(s−m−1)−1r−m−t)=(−1)r−m−t(r−t−sr−m−t).\binom{s-m-1}{r-m-t} = (-1)^{r-m-t}\binom{(r-m-t)-(s-m-1)-1}{r-m-t} = (-1)^{r-m-t}\binom{r-t-s}{r-m-t}. Hence the sum is (r−t−sr−t−m)\binom{r-t-s}{r-t-m}, as claimed. (If r−m−t<0r - m - t < 0 both sides are 00.)

Equation (25). Let r,m≥0r, m \ge 0 and n≥s≥0n \ge s \ge 0 be integers. For 0≤k≤r0 \le k \le r, apply (19) to both factors. The upper index s+ks + k is ≥0\ge 0: (r−km)(s+kn)=(−1)r−k−m(−1)s+k−n(−m−1r−m−k)(−n−1s−n+k).\binom{r-k}{m}\binom{s+k}{n} = (-1)^{r-k-m}(-1)^{s+k-n}\binom{-m-1}{r-m-k}\binom{-n-1}{s-n+k}. The sign is (−1)r+s−m−n(-1)^{r+s-m-n}, independent of kk. As before, the new form is zero for k>r−mk > r - m, where the old term is also zero. For k<0k < 0 we have s−n+k<0s - n + k < 0, since s≤ns \le n, so the new form is zero for k<0k < 0. Hence the sum may run over all integers kk. Put j=r−m−kj = r - m - k. Then s−n+k=(r+s−m−n)−js - n + k = (r + s - m - n) - j, and eq. 1.2.6(21) gives ∑k(−m−1r−m−k)(−n−1s−n+k)=(−m−n−2r+s−m−n).\sum_k \binom{-m-1}{r-m-k}\binom{-n-1}{s-n+k} = \binom{-m-n-2}{r+s-m-n}. Let N=r+s−m−nN = r + s - m - n. By eq. 1.2.6(17), (−m−n−2N)=(−1)N(N+m+n+1N)=(−1)N(r+s+1N)\binom{-m-n-2}{N} = (-1)^N\binom{N+m+n+1}{N} = (-1)^N\binom{r+s+1}{N}. Since (−1)r+s−m−n=(−1)N(-1)^{r+s-m-n} = (-1)^N, the sum equals (r+s+1N)=(r+s+1m+n+1)\binom{r+s+1}{N} = \binom{r+s+1}{m+n+1} by the symmetry rule (6), with r+s+1≥0r + s + 1 \ge 0. If N<0N < 0 both sides are 00.

Check

For (24): t=0t = 0, r=3r = 3, m=1m = 1, s=1s = 1: ∑k=03(3−k1)(1k)(−1)k=3−2=1\sum_{k=0}^{3}\binom{3-k}{1}\binom{1}{k}(-1)^k = 3 - 2 = 1, and (3−0−13−0−1)=(22)=1\binom{3-0-1}{3-0-1} = \binom{2}{2} = 1. For (25): r=3r = 3, m=1m = 1, n=2n = 2, s=1s = 1: the terms are 0,2,3,00, 2, 3, 0 for k=0,1,2,3k = 0, 1, 2, 3, sum 55, and (54)=5\binom{5}{4} = 5.

Remarks

Both sums are "expansions" of one coefficient in the basis (s+kn)\binom{s+k}{n}, as the text of the section explains. Exercise 1.2.6-21 shows that (25) is not an identity in ss.

This solution is drafted, and a person has not reviewed it yet. The source.

In Lean

stated The statement is in Lean and it builds. The proof is not in Lean yet. Lean states the parts one by one.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.