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

Exercise 1.2.6-28

proved in Lean solution written

RatingM25
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 second convolution of Gould and Hagen type, ∑k(r+tkk)(s−tkn−k)=∑k≥0(r+s−kn−k)tk\sum_k \binom{r+tk}{k}\binom{s-tk}{n-k} = \sum_{k \ge 0}\binom{r+s-k}{n-k}t^k, for a natural nn.

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

Write each side as the coefficient of xnx^n in a power series in xx.

Hint 2

For the left side, use Exercise 1.2.6-26 with tt replaced by −t-t and the value 1+x1 + x for the variable.

Solution

Show the solution

Both sides are polynomials in rr, ss and tt for a fixed nn. The proof compares coefficients of xnx^n in formal power series.

Right side. By eq. 1.2.6(15), (r+s−kn−k)\binom{r+s-k}{n-k} is the coefficient of xn−kx^{n-k} in (1+x)r+s−k(1+x)^{r+s-k}. So the right side is the coefficient of xnx^n in ∑k≥0tkxk(1+x)r+s−k=(1+x)r+s∑k≥0(tx1+x)k=(1+x)r+s+11+(1−t)x.\sum_{k \ge 0} t^k x^k (1+x)^{r+s-k} = (1+x)^{r+s}\sum_{k\ge 0}\left(\frac{tx}{1+x}\right)^k = \frac{(1+x)^{r+s+1}}{1 + (1-t)x}. (The geometric series has the ratio tx/(1+x)tx/(1+x), which is small for small xx. Only k≤nk \le n matter for the coefficient of xnx^n.)

Left side. Likewise (s−tkn−k)\binom{s-tk}{n-k} is the coefficient of xn−kx^{n-k} in (1+x)s−tk(1+x)^{s-tk}. So the left side is the coefficient of xnx^n in (1+x)s∑k≥0(r+tkk)(x(1+x)t)k.(1+x)^s\sum_{k\ge 0}\binom{r+tk}{k}\left(\frac{x}{(1+x)^t}\right)^k. Now use Exercise 1.2.6-26 with tt replaced by −t-t. There z=X−t(X−1)z = X^{-t}(X - 1) for the variable XX. Take X=1+xX = 1 + x. Then z=x(1+x)−tz = x(1+x)^{-t}, the number that appears above, and ∑k(r+tkk)zk=Xr+1(1−t)X+t=(1+x)r+11+(1−t)x.\sum_k \binom{r+tk}{k}z^k = \frac{X^{r+1}}{(1-t)X + t} = \frac{(1+x)^{r+1}}{1 + (1-t)x}. So the left side is the coefficient of xnx^n in (1+x)s+r+11+(1−t)x\dfrac{(1+x)^{s+r+1}}{1+(1-t)x}.

The two coefficients are equal.

Check

Take r=1r = 1, s=1s = 1, t=2t = 2, n=2n = 2. The left side is (10)(12)+(31)(−11)+(52)(−30)=0−3+10=7\binom{1}{0}\binom{1}{2} + \binom{3}{1}\binom{-1}{1} + \binom{5}{2}\binom{-3}{0} = 0 - 3 + 10 = 7. The right side is (22)+(11)⋅2+(00)⋅4=1+2+4=7\binom{2}{2} + \binom{1}{1}\cdot 2 + \binom{0}{0}\cdot 4 = 1 + 2 + 4 = 7.

Remarks

For t=0t = 0 the identity is Vandermonde's convolution, eq. 1.2.6(21). For t=1t = 1 it says ∑k(r+kk)(s−kn−k)=∑k(r+s−kn−k)\sum_k \binom{r+k}{k}\binom{s-k}{n-k} = \sum_k \binom{r+s-k}{n-k}, and the sum on the right is a sum of a diagonal, so it is (r+s+1n)\binom{r+s+1}{n} by eq. 1.2.6(10). The identity is due to Hagen and Rothe and Gould.

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.