Laplace’s Formula
This section is optional. The only later sections that depends on this material is Five.III.
Determinants are a font of interesting and amusing formulas. Here is one that is often used to compute determinants by hand.
Laplace’s Expansion
In the permutation expansion of , every term has one and only one entry from each row and column of .
Here is the formula’s instance.
We can focus on any row or column; here we bring out the entries from ’s first row.
Note that inside the first set of square brackets is the determinant
and similarly, inside the other brackets are other determinants.
The explanation for these determinants lies with the permutations. If we fix some row and column—such as when we consider all terms containing , or all terms containing , or —then what remains is for the permutation to pick one entry from each of the other rows and columns.
The matrices below illustrate. On the left, the row and column containing are shaded and what remains is the matrix from () above. Similarly, in the other two what remains are the matrices from ().
So that accounts for the appearance in equation () of the determinants of smaller-sized matrices. As to the minus sign on that equation’s second line, consider this version of .
The matrices and in the first line are all set up for the determinant (), since their first row is as in the identity matrix and their other two rows look like the rows for that determinant. The matrices and in the second line will be set up in the same way with a single row swap, putting into the first row. Of course, that row swap puts a negative sign on that line. Finally, setting up the third line’s matrices in the same way takes two swaps, which keeps the sign positive.
In short, we have this.
The formula given in Theorem 1.4, which generalizes this, is a recurrence since the determinant is expressed as a combination of determinants. This formula isn’t circular because it gives the determinant in terms of smaller-sized matrices.
Definition 1.1 For any matrix , the matrix formed by deleting row and column of is the minor of . The cofactor of is times the determinant of the minor of .
Example 1.2 The cofactor of the matrix from equation () is the negative of the first determinant in ().
Example 1.3 Where
these are the and cofactors.
Theorem 1.4 (Laplace Expansion of Determinants) Where is an matrix, we can find the determinant by expanding by cofactors on any row or column .
Proof Exercise 1.26.
QED
Example 1.5 We can compute the determinant
by expanding along the first row.
We could also expand down the second column.
Example 1.6 A row or column with many zeroes makes a this expansion easier.
We finish by applying Laplace’s expansion to derive a new formula for the inverse of a matrix. With Theorem 1.4, we can calculate the determinant of a matrix by taking linear combinations of entries from a row with their associated cofactors.
Recall that a matrix with two identical rows has a zero determinant. Thus, weighting the cofactors by entries from row with gives zero
because it represents the expansion along the row of a matrix with row equal to row . This summarizes.
Note that the order of the subscripts in the matrix of cofactors is opposite to the order of subscripts in the other matrix; e.g., along the first row of the matrix of cofactors the subscripts are then , etc.
Definition 1.7 The matrix adjoint (or adjugate) to the square matrix (or the classical adjoint) is
where the row , column entry, , is the cofactor.
Theorem 1.8 Where is a square matrix, . Thus if has an inverse, if , then .
Proof The discussion before the theorem statement makes it clear.
QED
Example 1.9 If
then is
and taking the product with gives the diagonal matrix .
The inverse of is .
The formulas from this subsection are often used for by-hand calculation and are sometimes useful with special types of matrices. However, for generic matrices they are not the best choice because they require more arithmetic than, for instance, the Gauss-Jordan method.
Exercises
Exercise 1.13 Supplied answer
Recommended. Find the determinant by expanding
on the first row
on the second row
on the third column.
Exercise 1.16 Supplied answer
Recommended. Find the inverse of each matrix in the prior question with Theorem 1.8.
Exercise 1.18 Supplied answer
Recommended. Expand across the first row to derive the formula for the determinant of a matrix.
Answer. The determinant
expanded on the first row gives (note the two minors).
Exercise 1.19 Supplied answer
Recommended. Expand across the first row to derive the formula for the determinant of a matrix.
Exercise 1.20 Supplied answer
Recommended.
Give a formula for the adjoint of a matrix.
Use it to derive the formula for the inverse.
Exercise 1.21 Supplied answer
Recommended. Can we compute a determinant by expanding down the diagonal?
Answer. No. Here is a determinant whose value
doesn’t equal the result of expanding down the diagonal.
Exercise 1.22 Supplied answer
Give a formula for the adjoint of a diagonal matrix.
Answer. Consider this diagonal matrix.
If then the minor is an matrix with only nonzero entries, because we have deleted both and . Thus, at least one row or column of the minor is all zeroes, and so the cofactor is zero. If then the minor is the diagonal matrix with entries , …, , , …, . Its determinant is obviously times the product of those.
By the way, Theorem 1.8 provides a slicker way to derive this conclusion.
Exercise 1.23 Supplied answer
Recommended. Prove that the transpose of the adjoint is the adjoint of the transpose.
Answer. Just note that if then the cofactor equals the cofactor because and because the minors are the transposes of each other (and the determinant of a transpose equals the determinant of the matrix).
Exercise 1.25 Supplied answer
A square matrix is upper triangular if each entry is zero in the part above the diagonal, that is, when .
Must the adjoint of an upper triangular matrix be upper triangular? Lower triangular?
Prove that the inverse of a upper triangular matrix is upper triangular, if an inverse exists.
Answer.
An example
suggests the right answer.
The result is indeed upper triangular.
This check is detailed but not hard. The entries in the upper triangle of the adjoint are where . We need to verify that the cofactor is zero if . With , row and column of ,
when deleted, leave an upper triangular minor, because entry of the minor is either entry of (this happens if and ; in this case implies that the entry is zero) or it is entry of (this happens if and ; in this case, implies that , which implies that the entry is zero), or it is entry of (this last case happens when and ; obviously here implies that and so the entry is zero). Thus the determinant of the minor is the product down the diagonal. Observe that the entry of is the entry of the minor (it doesn’t get deleted because the relation is strict). But this entry is zero because is upper triangular and . Therefore the cofactor is zero, and the adjoint is upper triangular. (The lower triangular case is similar.)
This is immediate from the prior part, by Theorem 1.8.
Exercise 1.26 Supplied answer
This question requires material from the optional Determinants Exist subsection. Prove Theorem 1.4 by using the permutation expansion.
Answer. We will show that each determinant can be expanded along row . The argument for column is similar.
Each term in the permutation expansion contains one and only one entry from each row. As in Example [unresolved original reference: ex:ExpThreeFirstRow], factor out each row entry to get , where each is a sum of terms not containing any elements of row . We will show that is the cofactor.
Consider the case first:
where the sum is over all -permutations such that . To show that is the minor , we need only show that if is an -permutation such that and is an -permutation with , …, then . But that’s true because and have the same number of inversions.
Back to the general case. Swap adjacent rows until the -th is last and swap adjacent columns until the -th is last. Observe that the determinant of the -th minor is not affected by these adjacent swaps because inversions are preserved (since the minor has the -th row and -th column omitted). On the other hand, the sign of and changes plus times. Thus .
Exercise 1.27 Supplied answer
Prove that the determinant of a matrix equals the determinant of its transpose using Laplace’s expansion and induction on the size of the matrix.
Answer. This is obvious for the base case.
For the inductive case, assume that the determinant of a matrix equals the determinant of its transpose for all , …, matrices. Expanding on row gives and expanding on column gives Since the signs are the same in the two summations. Since the minor of is the transpose of the minor of , the inductive hypothesis gives .
Exercise 1.28 Supplied answer
Puzzle. Show that
where is the -th term of , the Fibonacci sequence, and the determinant is of order . [Am. Math. Mon., Jun. 1949]
Answer. This is how the answer was given in the cited source. Denoting the above determinant by , it is seen that , . It remains to show that . In subtract the -th column from the -th, the -th from the -th, …, the first from the third, obtaining
By expanding this determinant with reference to the first row, there results the desired relation.
References cited in this section
Am. Math. Mon., Jun. 1949
Don Walter (proposer), Alex Tytun (solver), Elementary problem 834, American Mathematical Monthly, vol. 56 no. 6 (June-July 1949), p. 409.