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.8-24

Exercise 1.2.8-24

not stated yet in Lean solution written

RatingHM20
MarkersHM (needs higher mathematics)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.8 of Volume 1. Companion chapter: Fibonacci numbers

The task

Find the value of the n×nn \times n tridiagonal determinant that has 11 on the diagonal, 11 below it and −1-1 above it.

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

Expand along the first row.

Hint 2

Show that the minor you get by deleting the first row and the second column has the same form, of size n−2n - 2.

Solution

Show the solution

Let DnD_n be the determinant, with D0=1D_0 = 1 for the empty matrix and D1=1D_1 = 1. Expand along the first row. The entry 11 in position (1,1)(1, 1) has the minor Dn−1D_{n-1}. The entry −1-1 in position (1,2)(1, 2) has sign −1-1 in the cofactor expansion, so it adds −(−1)M-(-1)M, where MM is the minor with row 1 and column 2 deleted. The first column of that minor is (1,0,…,0)T(1, 0, \ldots, 0)^T, so MM is 11 times the determinant of the remaining (n−2)×(n−2)(n-2) \times (n-2) matrix, which has the same form. So M=Dn−2M = D_{n-2} and

Dn=Dn−1+Dn−2(n≥2).D_n = D_{n-1} + D_{n-2}\qquad (n \ge 2).

With D0=D1=1D_0 = D_1 = 1 this gives Dn=Fn+1D_n = F_{n+1} for all n≥0n \ge 0.

Check

For n=2n = 2: det⁡(1−111)=1+1=2=F3\det\begin{pmatrix}1&-1\\1&1\end{pmatrix} = 1 + 1 = 2 = F_3. For n=3n = 3: 1⋅(1+1)+1⋅(1)=3=F41\cdot(1 + 1) + 1\cdot(1) = 3 = F_4. With python and exact fractions the determinants for n=1,…,10n = 1, \ldots, 10 are 1,2,3,5,8,13,21,34,55,891, 2, 3, 5, 8, 13, 21, 34, 55, 89.

Remarks

The proof uses only the cofactor expansion. The same method turns every linear recurrence of order two into a tridiagonal determinant.

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.