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

Exercise 1.2.6-55

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 each of Stirling's two triangles, read as matrices.

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

Put eq. 1.2.6(44) into eq. 1.2.6(45).

Hint 2

Compare coefficients of xjx^j.

Hint 3

Use the facts that the matrices are square and lower triangular for the other order of the product.

Solution

Show the solution

Let D=({nk})D = \bigl(\left\{{n \atop k}\right\}\bigr), C=([nk])C = \bigl(\left[{n \atop k}\right]\bigr), and SS the diagonal matrix with entries (−1)n(-1)^n. Replace xk‾x^{\underline{k}} in xn=∑k{nk}xk‾x^n = \sum_k\left\{{n \atop k}\right\}x^{\underline{k}} by ∑j(−1)k−j[kj]xj\sum_j(-1)^{k-j}\left[{k \atop j}\right]x^j: xn=∑jxj∑k{nk}(−1)k−j[kj].x^n = \sum_j x^j\sum_k\left\{{n \atop k}\right\}(-1)^{k-j}\left[{k \atop j}\right]. Coefficients of xjx^j must agree, so ∑k{nk}(−1)k+j[kj]=[ n=j ]\sum_k\left\{{n \atop k}\right\}(-1)^{k+j}\left[{k \atop j}\right] = [\,n = j\,]. In matrices, D (SCS)=ID\,(SCS) = I.

The matrices are lower triangular and square (for a section of any size NN), so (SCS)D=I(SCS)D = I as well. Hence the inverse of DD is SCSSCS, with entries (−1)n+k[nk](-1)^{n+k}\left[{n \atop k}\right]. That is the second claim.

For the first claim, multiply (SCS)D=I(SCS)D = I from the left by SS and from the right by SS: C (SDS)=IC\,(SDS) = I, since S2=IS^2 = I. So the inverse of CC is SDSSDS, with entries (−1)n+k{nk}(-1)^{n+k}\left\{{n \atop k}\right\}, and a square matrix with a one-sided inverse has a two-sided one.

Check

For N=4N = 4 the rows of DD are (1,0,0,0)(1,0,0,0), (0,1,0,0)(0,1,0,0), (0,1,1,0)(0,1,1,0), (0,1,3,1)(0,1,3,1) and the rows of SCSSCS are (1,0,0,0)(1,0,0,0), (0,1,0,0)(0,1,0,0), (0,−1,1,0)(0,-1,1,0), (0,2,−3,1)(0,2,-3,1). Row 3 of DD times column 1 of SCSSCS: 0⋅0+1⋅1+3⋅(−1)+1⋅2=00\cdot 0 + 1\cdot 1 + 3\cdot(-1) + 1\cdot 2 = 0. Row 3 times column 2: 3⋅1+1⋅(−3)=03\cdot 1 + 1\cdot(-3) = 0.

Remarks

In the polynomial view, the two triangles are the change of basis between the powers xnx^n and the falling powers xn‾x^{\underline{n}}, and the two directions of this change are inverse to each other.

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.