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

Exercise 1.2.6-49

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

Compare the coefficients of xmx^m in the two sides of (1+x)r=(1−x2)r(1−x)−r(1+x)^r = (1-x^2)^r(1-x)^{-r}.

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 each of the three factors with the binomial series, eq. 1.2.6(15).

Hint 2

Multiply the two series on the right.

Solution

Show the solution

For ∣x∣<1|x| < 1, eq. 1.2.6(15) gives (1+x)r=∑m(rm)xm(1+x)^r = \sum_m\binom{r}{m}x^m, (1−x2)r=∑k(rk)(−1)kx2k(1-x^2)^r = \sum_k\binom{r}{k}(-1)^kx^{2k} and (1−x)−r=∑j(−rj)(−1)jxj(1-x)^{-r} = \sum_j\binom{-r}{j}(-1)^jx^j. The product of the last two series has the coefficient of xmx^m ∑k(rk)(−1)k(−rm−2k)(−1)m−2k=∑k(rk)(−rm−2k)(−1)m+k.\sum_k\binom{r}{k}(-1)^k\binom{-r}{m-2k}(-1)^{m-2k} = \sum_k\binom{r}{k}\binom{-r}{m-2k}(-1)^{m+k}. Both sides are the same function for ∣x∣<1|x| < 1, so the power series have the same coefficients. Only 0≤2k≤m0 \le 2k \le m give nonzero terms.

Check

For r=2r = 2, m=2m = 2: the left side is (22)=1\binom{2}{2} = 1. On the right k=0k = 0 gives (−22)=3\binom{-2}{2} = 3, and k=1k = 1 gives (21)(−20)(−1)3=−2\binom{2}{1}\binom{-2}{0}(-1)^3 = -2. The sum is 11. For r=1/3r = 1/3, m=5m = 5 both sides are 22729\frac{22}{729}.

Remarks

For rr a natural number the identity says that (1+x)r(1−x)r=(1−x2)r(1+x)^r(1-x)^r = (1-x^2)^r, and the coefficient comparison is the same method that gives Vandermonde's convolution. Other identities of this kind come from (1+x)r+s=(1+x)r(1+x)s(1+x)^{r+s} = (1+x)^r(1+x)^s, which gives Vandermonde.

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.

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

Something is wrong? Report it.