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

Exercise 1.2.6-33

proved 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

Show that (x+y)n‾=∑k(nk)xk‾yn−k‾(x+y)^{\underline{n}} = \sum_k\binom{n}{k}x^{\underline{k}}y^{\underline{n-k}} and (x+y)n‾=∑k(nk)xk‾yn−k‾(x+y)^{\overline{n}} = \sum_k\binom{n}{k}x^{\overline{k}}y^{\overline{n-k}}.

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 xk‾=k!(xk)x^{\underline{k}} = k!\binom{x}{k} and use Vandermonde's convolution.

Hint 2

For rising powers use xn‾=(−1)n(−x)n‾x^{\overline{n}} = (-1)^n(-x)^{\underline{n}}.

Solution

Show the solution

Falling powers. Since xk‾=k!(xk)x^{\underline{k}} = k!\binom{x}{k} and yn−k‾=(n−k)!(yn−k)y^{\underline{n-k}} = (n-k)!\binom{y}{n-k}, ∑k=0n(nk)xk‾yn−k‾=∑kn!k! (n−k)! k! (n−k)!(xk)(yn−k)=n!∑k(xk)(yn−k).\sum_{k=0}^n\binom{n}{k}x^{\underline{k}}y^{\underline{n-k}} = \sum_{k}\frac{n!}{k!\,(n-k)!}\,k!\,(n-k)!\binom{x}{k}\binom{y}{n-k} = n!\sum_k\binom{x}{k}\binom{y}{n-k}. By eq. 1.2.6(21) this is n!(x+yn)=(x+y)n‾n!\binom{x+y}{n} = (x+y)^{\underline{n}}.

Rising powers. From the definitions, xn‾=x(x+1)⋯(x+n−1)=(−1)n(−x)(−x−1)⋯(−x−n+1)=(−1)n(−x)n‾x^{\overline{n}} = x(x+1)\cdots(x+n-1) = (-1)^n(-x)(-x-1)\cdots(-x-n+1) = (-1)^n(-x)^{\underline{n}}. Apply the falling formula to −x-x and −y-y: (x+y)n‾=(−1)n∑k(nk)(−x)k‾(−y)n−k‾=∑k(nk)[(−1)k(−x)k‾][(−1)n−k(−y)n−k‾].(x+y)^{\overline{n}} = (-1)^n\sum_k\binom{n}{k}(-x)^{\underline{k}}(-y)^{\underline{n-k}} = \sum_k\binom{n}{k}\bigl[(-1)^k(-x)^{\underline{k}}\bigr]\bigl[(-1)^{n-k}(-y)^{\underline{n-k}}\bigr]. The two brackets are xk‾x^{\overline{k}} and yn−k‾y^{\overline{n-k}}.

Check

For x=3x = 3, y=2y = 2, n=2n = 2: falling, 5⋅4=205\cdot 4 = 20, and 1⋅2+2⋅3⋅2+3⋅2⋅1=2+12+6=201\cdot 2 + 2\cdot 3\cdot 2 + 3\cdot 2\cdot 1 = 2 + 12 + 6 = 20. Rising, 5⋅6=305\cdot 6 = 30, and 6+2⋅3⋅2+3⋅4=6+12+12=306 + 2\cdot 3\cdot 2 + 3\cdot 4 = 6 + 12 + 12 = 30.

Remarks

The same proof shows that any identity for falling powers has a twin for rising powers by x→−xx \to -x. The next exercise does this for Abel's formula.

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.