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

Exercise 1.2.6-17

proved in Lean solution written

RatingM18
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(21) from the series (15) and the identity (1+x)r+s=(1+x)r(1+x)s(1+x)^{r+s} = (1+x)^r(1+x)^s.

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

Expand the three powers with eq. 1.2.6(15) for ∣x∣<1|x| < 1.

Hint 2

Multiply the two series on the right and read the coefficient of xnx^n.

Solution

Show the solution

Let ∣x∣<1|x| < 1. Eq. 1.2.6(15) gives (1+x)r=∑i≥0(ri)xi,(1+x)s=∑j≥0(sj)xj,(1+x)r+s=∑n≥0(r+sn)xn,(1+x)^r = \sum_{i \ge 0}\binom{r}{i}x^i,\quad (1+x)^s = \sum_{j \ge 0}\binom{s}{j}x^j,\quad (1+x)^{r+s} = \sum_{n \ge 0}\binom{r+s}{n}x^n, and the three series converge absolutely for ∣x∣<1|x| < 1. The product of two absolutely convergent series is the Cauchy product, whose coefficient of xnx^n is ∑i+j=n(ri)(sj)\sum_{i + j = n}\binom{r}{i}\binom{s}{j} with i,j≥0i, j \ge 0. Since (1+x)r(1+x)s=(1+x)r+s(1+x)^{r}(1+x)^{s} = (1+x)^{r+s} for ∣x∣<1|x| < 1, ∑n≥0[∑k=0n(rk)(sn−k)−(r+sn)]xn=0(∣x∣<1).\sum_{n \ge 0}\left[\sum_{k=0}^{n}\binom{r}{k}\binom{s}{n-k} - \binom{r+s}{n}\right]x^n = 0 \quad (|x| < 1). A power series that is 00 on an interval has all its coefficients 00. So for each n≥0n \ge 0, ∑k=0n(rk)(sn−k)=(r+sn).\sum_{k=0}^{n}\binom{r}{k}\binom{s}{n-k} = \binom{r+s}{n}. The terms with k<0k < 0 or k>nk > n have a negative lower index, so they are zero, and the sum over all integers kk equals the sum over 0≤k≤n0 \le k \le n. For n<0n < 0 every term has kk and n−kn - k not both nonnegative, so each term is zero and the right side is zero. So eq. (21) holds for all integers nn and all real rr, ss.

Check

r=1/2r = 1/2, s=1/2s = 1/2, n=2n = 2: the left side is (1/20)(1/22)+(1/21)(1/21)+(1/22)(1/20)=−18+14−18=0\binom{1/2}{0}\binom{1/2}{2} + \binom{1/2}{1}\binom{1/2}{1} + \binom{1/2}{2}\binom{1/2}{0} = -\frac{1}{8} + \frac14 - \frac18 = 0, and the right side is (12)=0\binom{1}{2} = 0. With r=s=3r = s = 3, n=3n = 3: 1+9+9+1=20=(63)1 + 9 + 9 + 1 = 20 = \binom{6}{3}.

Remarks

Another proof is by counting: choose nn people from rr men and ss women. The proof here also covers the real values of rr and ss, which the counting argument does not. See Exercises 1.2.6-18 to 1.2.6-20 for the relatives of this identity.

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.