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.3-34

Exercise 1.2.3-34

proved in Lean solution written

RatingM25
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.3 of Volume 1. Companion chapter: Sums and products

The task

Show that a certain sum of nn fractions equals 11 for every xx and every mm with 1≤m≤n1 \le m \le n.

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

The denominators are ∏r≠k(k−r)\prod_{r \ne k}(k - r). These are the denominators of Exercise 1.2.3-33 for the nodes 1,2,…,n1, 2, \ldots, n.

Hint 2

In each numerator kk appears only through x+kx + k. Regard the numerator as the value at kk of a polynomial in a variable tt, and find the coefficient of tn−1t^{n-1}.

Solution

Show the solution

Let g(t)=∏1≤r≤n, r≠m(x+t−r)g(t) = \prod_{1 \le r \le n,\ r \ne m} (x + t - r). It is a polynomial in tt of degree n−1n - 1 with leading coefficient 11, because it has n−1n - 1 factors, each equal to tt plus a constant. The numerator of the kk-th fraction is g(k)g(k). So the sum is ∑k=1ng(k)∏r≠k(k−r).\sum_{k=1}^n \frac{g(k)}{\prod_{r \ne k}(k - r)}. The nodes are xk=kx_k = k. They are distinct, and ∏r≠k(k−r)=∏r≠k(xk−xr)\prod_{r \ne k}(k - r) = \prod_{r \ne k}(x_k - x_r). By formula (∗)(*) of Exercise 1.2.3-33, the sum equals the coefficient of tn−1t^{n-1} in gg. This coefficient is 11. □\square

The value of mm does not matter, since every mm gives a monic polynomial of degree n−1n - 1.

Check

For n=3n = 3, m=1m = 1 and x=5x = 5 the three fractions are 4⋅3/2=64 \cdot 3 / 2 = 6, 5⋅4/(−1)=−205 \cdot 4 / (-1) = -20 and 6⋅5/2=156 \cdot 5 / 2 = 15. The sum is 6−20+15=16 - 20 + 15 = 1. For n=5n = 5, m=3m = 3 and x=7/3x = 7/3 python3 gives 11 as well.

Remarks

For n=1n = 1 the only term is an empty product over an empty product, which is 11. Any monic polynomial gg of degree n−1n - 1 gives the same result.

This solution is checked, 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.