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

Exercise 1.2.3-40

not stated yet in Lean solution written

RatingM24
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 the matrix with the given entries bijb_{ij} is the inverse of Vandermonde's matrix.

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 hint of the exercise says that the numerator is a coefficient of a polynomial. Find this polynomial and call it Pi(t)P_i(t).

Hint 2

Divide Pi(t)P_i(t) by its value at xix_i. The result is a Lagrange polynomial, which is 11 at xix_i and 00 at the other xkx_k.

Hint 3

Compute the product BABA, where AA is Vandermonde's matrix, entry by entry.

Solution

Show the solution

Let the numbers x1,…,xnx_1, \ldots, x_n be distinct and non-zero. These conditions make det⁡A=∏xj∏i<j(xj−xi)\det A = \prod x_j \prod_{i<j}(x_j - x_i) non-zero (Exercise 1.2.3-37), so AA is invertible. Here ajl=xlja_{jl} = x_l^j.

For each ii put Pi(t)=∏k≠ixk−txk−xi.P_i(t) = \prod_{k \ne i} \frac{x_k - t}{x_k - x_i}. This polynomial has degree n−1n - 1 and satisfies Pi(xl)=δilP_i(x_l) = \delta_{il}. Write Pi(t)=∑j=1ncij tj−1P_i(t) = \sum_{j=1}^n c_{ij}\, t^{j-1}.

The coefficients. The numerator ∏k≠i(xk−t)\prod_{k \ne i}(x_k - t) has n−1n - 1 factors. To get tj−1t^{j-1} pick −t-t from j−1j - 1 factors and xkx_k from the other n−jn - j factors. So the coefficient of tj−1t^{j-1} in the numerator is (−1)j−1(-1)^{j-1} times the sum of xk1⋯xkn−jx_{k_1} \cdots x_{k_{n-j}} over k1<⋯<kn−jk_1 < \cdots < k_{n-j}, all different from ii. This is the sum in the exercise. The denominator ∏k≠i(xk−xi)\prod_{k \ne i}(x_k - x_i) is the same for all jj. Hence bij=cijxi.b_{ij} = \frac{c_{ij}}{x_i}.

The product. The entry of BABA in row ii and column ll is ∑j=1nbij xl j=xlxi∑j=1ncij xl j−1=xlxi Pi(xl)=xlxi δil=δil.\sum_{j=1}^n b_{ij}\, x_l^{\,j} = \frac{x_l}{x_i} \sum_{j=1}^n c_{ij}\, x_l^{\,j-1} = \frac{x_l}{x_i}\, P_i(x_l) = \frac{x_l}{x_i}\, \delta_{il} = \delta_{il}. So BA=IBA = I, and B=A−1B = A^{-1}. □\square

Check

Take x=(1,2,4)x = (1, 2, 4). For i=1i = 1 the polynomial is P1(t)=(2−t)(4−t)/((2−1)(4−1))=(8−6t+t2)/3P_1(t) = (2 - t)(4 - t) / ((2 - 1)(4 - 1)) = (8 - 6t + t^2)/3. So b11=(8/3)/1=8/3b_{11} = (8/3)/1 = 8/3, b12=−6/3=−2b_{12} = -6/3 = -2 and b13=1/3b_{13} = 1/3. These are the entries of the first row of the inverse matrix, which python3 gives as (8/3,−2,1/3)(8/3, -2, 1/3). The second row is (−1,5/4,−1/4)(-1, 5/4, -1/4) and the third row is (1/12,−1/8,1/24)(1/12, -1/8, 1/24), and all nine entries agree with the formula.

Remarks

The sum of the n2n^2 entries of this inverse is found in Exercise 1.2.3-43. The rows of the inverse hold the coefficients of the Lagrange polynomials, divided by xix_i.

This solution is checked, and a person has not reviewed it yet. The source.

In Lean

not stated yet The exercise is not stated in Lean yet.

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

Something is wrong? Report it.