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

Exercise 1.2.6-50

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

Prove Abel's formula for y=−xy = -x.

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

Pull the signs out of the second power.

Hint 2

The terms then have the form (−1)n−kx(x−kz)n−1(-1)^{n-k}x(x-kz)^{n-1}. This is a polynomial in kk.

Hint 3

Use eq. 1.2.6(34).

Solution

Show the solution

For n=0n = 0 the sum has only k=0k = 0, and the term is x⋅x−1⋅1=1=00x\cdot x^{-1}\cdot 1 = 1 = 0^0. Let n≥1n \ge 1.

Write a=x−kza = x - kz. Since (−x+kz)n−k=(−1)n−kan−k(-x+kz)^{n-k} = (-1)^{n-k}a^{n-k}, the kkth term is (nk)(−1)n−kx ak−1an−k\binom{n}{k}(-1)^{n-k}x\,a^{k-1}a^{n-k}. For a≠0a \ne 0 the powers combine to an−1a^{n-1}. For a=0a = 0 and k≥1k \ge 1, the product ak−1an−ka^{k-1}a^{n-k} is 0k−10n−k0^{k-1}0^{n-k}, and it equals 0n−10^{n-1} in the same way, because the two exponents are natural numbers with the sum n−1n - 1. For k=0k = 0 we have a=x≠0a = x \ne 0. So every term equals (nk)(−1)n−k x (x−kz)n−1.\binom{n}{k}(-1)^{n-k}\,x\,(x-kz)^{n-1}. Now p(k)=x(x−kz)n−1p(k) = x(x-kz)^{n-1} is a polynomial in kk of degree at most n−1n-1. By eq. 1.2.6(34), the sum ∑k=0n(nk)(−1)n−kp(k)\sum_{k=0}^n\binom{n}{k}(-1)^{n-k}p(k) equals n!n! times the coefficient of knk^n in pp, which is 00. So the sum is 0=0n0 = 0^n.

Check

For n=2n = 2, x=1x = 1, z=2z = 2: the terms are k=0k = 0: 1⋅1⋅1−1⋅(−1)2=11\cdot 1\cdot 1^{-1}\cdot(-1)^2 = 1; k=1k = 1: 2⋅1⋅(−1)0⋅11=22\cdot 1\cdot(-1)^0\cdot 1^1 = 2; k=2k = 2: 1⋅(−3)1⋅10=−31\cdot(-3)^1\cdot 1^0 = -3. The sum is 00.

Remarks

The same argument shows that ∑k(nk)(−1)n−kp(k)=0\sum_k\binom{n}{k}(-1)^{n-k}p(k) = 0 for every polynomial pp of degree less than nn. Exercise 1.2.6-51 reduces the general case to this one.

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.