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

Exercise 1.2.6-29

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 eq. 1.2.6(34) follows from the law of divided differences of Exercise 1.2.3-33.

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

Use the law of Exercise 1.2.3-33 with the r+1r + 1 distinct numbers 0,1,…,r0, 1, \ldots, r.

Hint 2

Compute the product ∏i≠k(k−i)\prod_{i \ne k}(k - i) for these numbers.

Solution

Show the solution

Let n=r+1n = r + 1 and take the distinct numbers xk=kx_k = k for 0≤k≤r0 \le k \le r. For fixed kk, ∏i≠k(k−i)=∏i<k(k−i)∏i>k(k−i)=k!⋅(−1)r−k(r−k)!.\prod_{i \ne k}(k - i) = \prod_{i<k}(k-i)\prod_{i>k}(k-i) = k!\cdot(-1)^{r-k}(r-k)!. So 1∏i≠k(k−i)=(−1)r−kk! (r−k)!=(−1)r−kr!(rk)\dfrac{1}{\prod_{i \ne k}(k-i)} = \dfrac{(-1)^{r-k}}{k!\,(r-k)!} = \dfrac{(-1)^{r-k}}{r!}\binom{r}{k}.

The law of Exercise 1.2.3-33 says that, for 0≤j≤r0 \le j \le r, ∑k=0rkj/∏i≠k(k−i)\sum_{k=0}^r k^j / \prod_{i\ne k}(k-i) is 00 for j<rj < r and 11 for j=rj = r (here n−1=rn - 1 = r). With the value of the product, ∑k=0r(rk)(−1)r−kkj={0,0≤j<r,r!,j=r.\sum_{k=0}^{r}\binom{r}{k}(-1)^{r-k}k^j = \begin{cases} 0, & 0 \le j < r, \\ r!, & j = r.\end{cases} Multiply by bjb_j and add over j=0,…,rj = 0, \ldots, r. Only j=rj = r is left, and the sum is r! brr!\,b_r.

Check

Take r=2r = 2 and p(k)=3+5k+7k2p(k) = 3 + 5k + 7k^2. Then p(0)=3p(0) = 3, p(1)=15p(1) = 15, p(2)=41p(2) = 41, and the sum is 3−2⋅15+41=14=2!⋅73 - 2\cdot 15 + 41 = 14 = 2!\cdot 7.

Remarks

The sum is the rrth finite difference of the polynomial at 00, written with binomial coefficients, and the identity says that the rrth difference of a polynomial of degree rr is the constant r! brr!\,b_r. Eq. (35) of the section is a consequence, see the C1 chapter.

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.