A determinant of size has terms, so a general
formula for a large matrix is hopeless. Some matrices,
though, have so much structure that their determinants
collapse to a short product or a recurrence. This
section computes the most useful of them: the
Vandermonde determinant, which governs polynomial
interpolation; tridiagonal determinants, which satisfy a
three-term recurrence; block triangular determinants,
which split into smaller ones; and the determinant of a
rank-one update of the identity. The proofs share one
idea: find the structure first (a polynomial with known
roots, a row with two non-zero entries, a pattern of
zeros) and let the defining properties of the
determinant do the rest.
The
Vandermonde determinant
Chapter 3 proved that there is exactly one polynomial
of degree at most
through
points with distinct first coordinates (Theorem 3.7.3).
Behind it sat a square matrix of powers of the nodes.
Its determinant turns out to be a product of all the
differences of the nodes, and that product explains at a
glance why distinct nodes are exactly what is
needed.
For , the Vandermonde matrix is
whose -entry is . Row lists the powers
of the -th node.
For it is the
matrix
, and for its determinant is
.
Theorem
7.8.1 (Vandermonde Determinant)
Let and
. Then where the empty product (for ) is .
Idea. Induction on . Replace the last node
by a variable
. Expanding along
the last row shows the determinant is a polynomial of degree at most
, with leading
coefficient the smaller Vandermonde determinant. Setting
for makes two rows
equal, so are roots of . A polynomial of degree
at most with
these roots
is its leading coefficient times .
Now put
back. The roots argument needs the distinct; if they are
not, both sides are anyway.
Proof. We use induction on (Theorem 0.2.7). For
, , the empty
product.
Let ,
assume the formula for nodes, and write .
Let be the cofactors of along row (Definition 7.6.1).
Each is
computed after deleting row , so it does not involve
. Define For , let be with row replaced by .
Then has the
same cofactors along row as , so by Theorem 7.6.1 along
row , In particular . The coefficient of in is , since deleting row and column of leaves the Vandermonde
matrix of the first nodes.
Case 1: two of are equal, say with . Then
rows and of are equal. By Theorem 7.4.5, , and
has two equal
columns, so because the determinant is alternating (Definition 7.2.2).
The product also vanishes, since it contains the factor
.
Case 2: are distinct. For , the matrix
has rows
and equal, so by and the argument
of Case 1. Hence are distinct roots of , and by Corollary 6.1.4, Write with . If , then by Theorem 0.8.3, since
;
so in every case
is a constant . As is
monic of degree , the coefficient of in is , so . Evaluating at (Theorem 0.8.5) and
using the induction hypothesis, The two products together run over all pairs
, the
second one collecting exactly the pairs with . This proves the
formula for , and
the theorem follows by induction.
Example
(A
Vandermonde Determinant)
Compute from the formula and by cofactor
expansion.
Solution. The formula gives . Directly, expanding along the first row gives .
The product vanishes exactly when a factor does,
because a field has no zero divisors. So:
Corollary
7.8.2 (Distinct Nodes Give an Invertible
Vandermonde Matrix)
is invertible if and only if are
distinct.
Proof. In a field, a product is
non-zero if and only if every factor is non-zero (Theorem 0.7.1 (f),
applied repeatedly). So by Theorem 7.8.1, if and only if for all . By Theorem 7.5.2, this
is equivalent to invertibility.
Now the promised two-line proof of Theorem 3.7.3.
Given distinct and values , a polynomial satisfies for all
if and only if
, since row of this system reads
. By Corollary 7.8.2 the
matrix is invertible, so the system has exactly one
solution (Theorem 3.4.4), and
the interpolating polynomial exists and is unique.
Warning. Watch the shape
and the order. The formula is for rows starting at the power , and for the factors
with
, “later
node minus earlier node”. Dropping the column of ones
changes the answer: , not . Writing the factors as instead flips
the sign of each of the factors, so
it multiplies the answer by :
already for
and this is
, a wrong
sign.
Quick check. Without expanding,
find .
Solution. The pairs give .
Tridiagonal
determinants
Many matrices in applications have non-zero entries
only on the diagonal and next to it: discretized
differential equations, chains of springs, the
recurrences of orthogonal polynomials. Such a matrix is
tridiagonal. Its determinant is not a
closed formula in general, but it obeys a recurrence in
the size, because the last row has only two non-zero
entries.
Let have diagonal entries , entries
just above the diagonal (-entry ), entries just
below it (-entry ), and zeros
elsewhere: For , the top-left block of is the tridiagonal
matrix built
from , , . Write , and set
.
Theorem
7.8.3 (Tridiagonal Recurrence)
With this notation, , and for ,
Proof. .
For , . Let . Row of has only two
possibly non-zero entries, in column and in column . By Theorem 7.6.1 along
row , where . The minor is the
determinant of the matrix obtained by deleting row
and column . Its last column
consists of rows of column of , which is in the last
position and
elsewhere. Expanding along this last column (Theorem 7.6.1), with
sign , gives ,
because deleting the last row and column leaves rows and
columns of .
Substituting proves the recurrence.
Example
(Fibonacci Numbers as Determinants)
Let have
on the diagonal,
above it and
below it. Find
.
Solution. Here and , so Theorem 7.8.3 gives
for , with and . Hence the Fibonacci numbers: , where
and
. For instance
Only the products enter the
recurrence, never and separately. For
example, for a real number , putting on the diagonal and
on both
neighboring lines gives , so , , . These
are the Chebyshev polynomials of the second kind.
Block
triangular matrices
A matrix can be cut into blocks by a horizontal and a
vertical line. When the block in the lower left is zero,
the determinant should see only the two square blocks on
the diagonal, just as a triangular determinant sees only
diagonal entries. This result is used constantly, for
instance in Chapter 8 for Schur complements.
Theorem
7.8.4 (Block Triangular Determinant)
Let , and , with . Then where
is the
zero matrix. The same holds for with .
Idea. In the Leibniz formula for
the whole matrix, a term picks one entry from each
column. The first
columns have zeros below row , so a non-zero term
must pick rows for the first columns, and is then
forced to pick rows for the last columns. Such a
permutation is a permutation of each block, its
inversions are the inversions inside the blocks, and the
Leibniz sum factors into two Leibniz sums.
Proof. Let and . By Definition 7.4.1,
. Since for , the term
of is unless for every
. For such
, the
injective map sends into
itself, hence onto itself (a finite set), and so it
sends onto itself. Therefore determines and by and every pair arises
from exactly one such .
We compare signs through inversions (Definition 7.3.1). A
pair with
is an
inversion of
exactly when it is one of ; a pair is an
inversion of
exactly when is one of ; and a pair is never
an inversion, since . By Definition 7.3.2,
. Also for and . Hence using Definition 7.4.1
twice. For the lower block triangular case, the
transpose of is
, so by Theorem 7.4.5 and the
first case its determinant is .
The proof uses only sums and products of entries, so,
like the results flagged in §4–§6, it holds for matrices
over any commutative ring; §10 uses this over . By induction on the
number of blocks, a matrix with square blocks on the
diagonal and zeros below them has determinant ; Theorem 7.4.6 is the
case where every block is .
For example, and the entries of the upper right block play no
role.
Warning. There is no “block
”
rule. For a general block matrix, . Take and : the matrix is the permutation
matrix of , a product of two transpositions, so its
determinant is ;
the rule would give . The zero block in the
corner is what the theorem needs. The correct formulas
for general blocks use Schur complements, in Chapter
8.
Quick check. Is
meaningful when
is and
is (so the whole
matrix is )?
Solution. No. The theorem requires
and square; here and are undefined. In
fact the whole determinant is whatever the entries:
the first columns
have their non-zero entries only in the first rows, so they are
linearly dependent in a -dimensional space, and
a determinant with dependent columns is (Theorem 7.2.1).
Rank-one
updates
Changing a matrix by a rank-one matrix is the smallest
possible change in the sense of rank, and it happens
often: updating one observation in statistics, modifying
one row of a system, or adding the same number to every
entry. The determinant of the updated identity turns out
to be a single dot product.
Theorem
7.8.5 (Matrix Determinant Lemma)
Let . Then
Idea. Border by an
extra column and
an extra row , giving a block triangular matrix with the same
determinant. Then clear the update by elimination with
blocks. Rows: add times the top rows to the new bottom
row (multiply by
on the left). Columns: subtract the last column times
from the
first columns
(multiply by on the right).
The factors ,
have
determinant , and
the result is block triangular with and the block on the
diagonal.
Proof. Consider the block
matrices Splitting the sum in Theorem 0.9.2 (1) into
the indices
and shows
that matrices partitioned in this way multiply block by
block, like matrices whose entries are blocks. Hence
where we used by associativity, being a matrix, that
is, a scalar. Multiplying on the right by , By Theorem 7.8.4, , , , and . By Theorem 7.5.4, . This
proves the lemma.
Example
( on the Diagonal,
Elsewhere)
Let
and , and
let have every diagonal entry and every other entry
. Find .
Solution. Let . Every entry of
is , so .
Case . Then with
. Scaling an matrix by
multiplies its
determinant by
(multilinearity in each of the columns), so by Theorem 7.8.5 since .
Case . For , all columns are equal, so , which the
formula also gives. For , , and the formula gives .
So for every . For this is ; with
it gives
.
Warning. The lemma is about
, not
or . The
rank-one matrix is and, for , has determinant
; the scalar is its trace. Do
not confuse with (for ), which is false whenever : for , has determinant .
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) State the
Vandermonde determinant formula, including the order of
the factors.
- (b) True or false:
is invertible whenever are non-zero. Justify your
answer.
- (c) Write down the
recurrence for the determinant of a tridiagonal matrix,
and say which row the proof expands along.
- (d) True or false:
whenever and are square and . Justify your
answer.
- (e) True or false:
for all . Justify
your answer.
Solution.
(a) , where
has -entry (Theorem 7.8.1).
(b) False. has non-zero nodes
and determinant .
The condition is that the nodes are
distinct (Corollary 7.8.2);
is allowed as a
node.
(c) , with , (Theorem 7.8.3). The
proof expands along the last row, which has only two
non-zero entries.
(d) True. With
the matrix
is lower block triangular, and Theorem 7.8.4
applies.
(e) True. Both
equal by Theorem 7.8.5, since
.
B. Practice
Exercise
(B1: A
Vandermonde determinant)
Compute . Hence decide whether there is
exactly one polynomial with , , , .
Solution. Row is
with nodes , so this is . By Theorem 7.8.1 its
determinant is (Check by expanding along row , which is : the
determinant is , that is .) Hence the
coefficient matrix of the interpolation system is
invertible, and there is exactly one with
the given values.
Exercise
(B2: The second-difference matrix)
Let have on the diagonal, directly above and
below it, and
elsewhere. Prove that . Hence show that is invertible for
every .
Solution. Here and . By Theorem 7.8.3,
for , with
, . We show by strong
induction on (Theorem 0.2.10). It
holds for .
If it holds for and , then . Hence , and is invertible by Theorem 7.5.2.
Exercise
(B3: A rank-one update)
Let and in .
- (a) Use Theorem 7.8.5 to find
.
- (b) Write out and check
your answer by elimination.
- (c) Find all for which is
not invertible.
Solution.
(a) ,
so .
(b) , so . Subtract row from row , which does not change
the determinant (Theorem 7.5.1), to
get row equal to
.
Expanding along that row,
(c) , whose determinant is .
It is zero exactly for , and by Theorem 7.5.2 that is
the only for
which the matrix is not invertible.
C. Going deeper
Exercise
(C1: The Cauchy determinant)
Let with for all
, and let have
-entry . The
goal is
- (a) For , subtract row
from row . Show that the new
-entry is
, and deduce that , where agrees with in rows and has
last row .
- (b) In , for , subtract column
from column . Deduce that , where is built from
and .
- (c) Prove the
formula by induction on .
- (d) The
Hilbert matrix has -entry . Show
that it is a Cauchy matrix, and use (c) to compute .
Hint: in (a) and (b), factor scalars out of whole
rows and columns using multilinearity.
Solution.
(a) For , . These row operations do not change the
determinant (Theorem 7.5.1). In
the new matrix, row has the factor in every entry,
and column has
the factor in every entry (in row , ). Pulling these scalars out of
each row and column by multilinearity (Theorem 7.5.1, in its
row and column forms) leaves the matrix with entries
in rows
and in row . This gives the stated
formula.
(b) For , subtracting
column from
column leaves the
determinant unchanged, makes the last row , and for
gives
. Pull out of column () and out
of row (); the last row
is
unaffected by the column factors because its first entries are , and row factors do not
touch row . What
remains has in positions , entries
in column above the corner, and
last row . Expanding along the last row (Theorem 7.6.1) gives
, with
sign .
(c) For , , which is the formula with empty products
upstairs. For , combining (a) and (b), The numerator supplies exactly the factors of
with , and the
denominator supplies exactly the factors with , each
once. By the induction hypothesis, supplies
all the remaining factors. This proves the
formula.
(d) With and , , so
is a Cauchy matrix over . For , the numerator is
, since . The denominator is the
product of all : the rows give , ,
, in total . Hence . (In general with ; we state this without
proof. These determinants shrink extremely fast, which
is why Hilbert matrices are a standard test of numerical
methods.)
Exercise
(C2: A circulant determinant over )
Let , let , and let
- (a) For , let and . Show that .
- (b) Let be the matrix with
columns . Show that and that . Deduce
.
- (c) Using and , deduce , and check this against
the Leibniz formula.
Circulant matrices of every size are treated in
Chapter 12.
Solution.
(a) By Example (Roots of Unity),
, so
and . Row of is . Row is .
Row is . Hence .
(b) By Theorem 0.9.2, column
of is ,
which is column
of . The -entry of is , so
. The nodes are
distinct (they are for ), so by Theorem 7.4.5 and Corollary 7.8.2. By
Theorem 7.5.4 and Theorem 7.4.6, , and canceling
gives
.
(c) Multiply out
.
The nine terms are , ,
, , , ,
. Using
and
, Then , expanding and canceling. The
Leibniz formula for gives the three even
terms , (from ) and , and the three odd terms, each
equal to with
sign : the same
answer.
Exercise
(C3: Rank-one updates of an invertible matrix)
Let be invertible and .
- (a) Prove that .
- (b) Deduce that
is
invertible if and only if .
- (c) Give an example
over with where is invertible, , and is
not invertible.
Solution.
(a) Since is invertible, by Theorem 0.9.4. By Theorem 7.5.4 and Theorem 7.8.5 applied
to the vectors and , .
(b) by Theorem 7.5.2, so
exactly when . Apply Theorem 7.5.2
again.
(c) Take , , . Then , and indeed
is not invertible.