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

Exercise 1.2.6-54

proved in Lean solution written

RatingM21
MarkersM (mathematical)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.6 of Volume 1. Companion chapter: Binomial coefficients

The task

Find the inverse of the matrix whose entry in row ii and column jj is (ij)\binom{i}{j}.

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

Guess that the inverse has the same entries with signs in a checkerboard pattern.

Hint 2

Multiply, and use eq. 1.2.6(20) to sum over the middle index.

Solution

Show the solution

Let P=((ij))P = \bigl(\binom{i}{j}\bigr) and P′=((−1)i+j(ij))P' = \bigl((-1)^{i+j}\binom{i}{j}\bigr) for i,j≥0i, j \ge 0. Both are lower triangular. The entry (i,k)(i,k) of PP′PP' is ∑j(ij)(−1)j+k(jk).\sum_j\binom{i}{j}(-1)^{j+k}\binom{j}{k}. By eq. 1.2.6(20), (ij)(jk)=(ik)(i−kj−k)\binom{i}{j}\binom{j}{k} = \binom{i}{k}\binom{i-k}{j-k}. Put l=j−kl = j - k. Since (−1)j+k=(−1)l(-1)^{j+k} = (-1)^l, the sum is (ik)∑l(−1)l(i−kl)=(ik) [ i=k ]=[ i=k ],\binom{i}{k}\sum_l(-1)^l\binom{i-k}{l} = \binom{i}{k}\,[\,i = k\,] = [\,i = k\,], by eq. 1.2.6(13) with x=−1x = -1. So PP′=IPP' = I. A finite section of size NN is a square matrix, so a right inverse is also a left inverse, and P′P=IP'P = I too.

Check

For N=4N = 4 the matrices are (1000110012101331),(1000−11001−210−13−31).\begin{pmatrix}1&0&0&0\\1&1&0&0\\1&2&1&0\\1&3&3&1\end{pmatrix},\qquad\begin{pmatrix}1&0&0&0\\-1&1&0&0\\1&-2&1&0\\-1&3&-3&1\end{pmatrix}. Row 3 of the first times column 1 of the second: 1⋅0+3⋅1+3⋅(−2)+1⋅3=01\cdot 0 + 3\cdot 1 + 3\cdot(-2) + 1\cdot 3 = 0. Row 3 times column 0: 1−3+3−1=01 - 3 + 3 - 1 = 0.

Remarks

This is the matrix form of the inversion formula, eq. 1.2.6(33). Exercise 1.2.6-55 does the same for the Stirling triangles.

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.