Exercise 4.4 · Q7: Inverse of an upper triangular matrix
Find the inverse of each of the matrices (if it exists) given in Exercises 5 to 11.
7.
Expanding along :
Since , exists.
Cofactors, :
Want the reason behind every step, the basics and the checks?
A square matrix has an inverse exactly when , and then (Theorem 4, Section 4.5). The formula is Theorem 1, , divided by the number . So the work is: one determinant, nine cofactors, one transpose, one division, and a final multiplication to confirm. This matrix is upper triangular: every entry below the main diagonal is 0. That makes and several cofactors immediate, and it shapes the answer: the inverse turns out to be upper triangular too.
- Given
- The matrix above.
- To find
- , if it exists.
- Plan
- (1) Compute , expanding along column 1 (two zeros); check . (2) Find all nine cofactors, row by row. (3) Form and transpose it to get . (4) Divide by . (5) Verify entry by entry.
Basics you need
Along any row or column: each entry times its sign times its minor, added up. All six choices give the same value, so choose a line with zeros (Section 4.2.3, Remark (i)). Lesson: expanding a 3 × 3 determinant
is the determinant left after deleting row and column , and (Definitions 1 and 2, Section 4.4). Basics: the + − + sign pattern
is the transpose of the matrix of cofactors (Definition 3, Section 4.5.1). Lesson: the adjoint
If , ; if , no inverse exists (Theorem 4, Section 4.5). Basics: why the inverse divides by |A|
The entry of is row of times column of ; multiplies every entry of by . Basics: matrix facts the chapter uses
Solution
Compute and decide whether exists
Column 1 is , with two zeros, so expand along it. The sign pattern is
, so is non-singular and exists.
The signs down column 1 are . The two zero entries kill their terms whatever their minors are, so only is needed. Notice , the product of the diagonal entries: expanding an upper triangular matrix down its first column always peels off one diagonal entry at a time (Step 8 shows this for every upper triangular matrix). Theorem 4 says is invertible if and only if , so this one number settles the "if it exists" in the question.Section 4.2.3, Remarks (i) and (ii): expand along the line with the most zeros, using or as is even or odd. Lesson: expanding a 3 × 3 determinantCofactors of the row 1 entries
Delete row 1, which leaves rows and , and one column at a time:
and are 0 because, once row 1 is gone, column 1 of what is left is : both of these minors keep that zero column, and a determinant with a zero column is 0. is the minor already used in Step 1.Definitions 1 and 2, Section 4.4. Lesson: minors and cofactorsCofactors of the row 2 entries
Delete row 2, which leaves rows and :
The entry is 0, but its cofactor is not: a cofactor is built from the other entries. is 0 because what is left has the zero row taken from row 3.Cofactors of the row 3 entries
Delete row 3, which leaves rows and :
None of the row 3 cofactors is 0. Position has odd , so becomes .The matrix of cofactors and
Transposing (row of becomes column ):
The matrix of cofactors is lower triangular (zeros above the diagonal: ). Transposing turns it into an upper triangular matrix, the same shape as .Definition 3, Section 4.5.1; transpose, Chapter 3, Section 3.5. Basics: transpose and identityDivide by
Multiplying every entry by :
This is Theorem 4. Each entry of is divided by 10: , , .Scalar multiple: each entry is multiplied by the scalar (Chapter 3, Section 3.4.2). Lesson: inverse of a matrixVerify
Since , it is enough to show . Write . Row 1 of is :
Row 2 of is :
Row 3 of is :
Hence . By Theorem 1, as well, so too.
The definition of the inverse (Chapter 3, Definition 6) asks for . The diagonal entries are expansions of along rows 1, 2, 3; the off-diagonal entries pair a row with the cofactors of another row, and the Note in Section 4.4 says such sums are 0. Getting exactly confirms all nine cofactors at once.Why the inverse is upper triangular
The zeros we found are not luck. For any upper triangular matrix (so ):
- and keep column 1 of rows 2 and 3, which is : a zero column, so both are 0.
- keeps rows 1 and 3 in columns 1 and 2; its second row is , so it is 0.
So : the matrix of cofactors has zeros above the diagonal, and its transpose has zeros below it.
On the diagonal, , , : in each of these minors the other product (, , ) contains an entry below the diagonal, which is 0. Expanding along column 1, as in Step 1, gives .
So exists exactly when , that is, when no diagonal entry is 0. Then has the same zeros below the diagonal as , and its diagonal entries are
Here that is , exactly what Step 6 gave.
Seeing the pattern gives a fast sanity check on any answer: an upper triangular matrix whose inverse has a nonzero entry below the diagonal, or whose inverse's diagonal is not the reciprocals, has been inverted wrongly.A determinant with a zero row or a zero column is 0: expand along that line and every term has a factor 0. Lesson: expanding a 3 × 3 determinant
, so exists and
(Textbook answer: times the same matrix.)
The determinant a second way. Along row 1, with the cofactors of Step 2: , as in Step 1. And the product of the diagonal entries is .
Undo a multiplication. Take as a column and compute (each entry is a row sum of ):
Applying and then dividing by should return . Entry of is row of times , written with the products already worked out:
We are back at , as the inverse must give.
- Inverting only the diagonal. The inverse is not obtained by replacing with and keeping . The off-diagonal entries of are .
- Giving zero entries zero cofactors. but .
- Forgetting the transpose. The cofactor matrix is lower triangular; an answer that is lower triangular has skipped the transpose.
- Fraction slips. and ; reduce carefully, or keep outside as the textbook does.
- Expand along a line with zeros: here column 1 gave with a single determinant.
- For a triangular matrix, is the product of the diagonal entries (Step 8).
- The inverse of an upper triangular matrix with no zero on its diagonal is upper triangular, with the reciprocals of the diagonal entries on its diagonal (Step 8).
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Expansion along any row or column; signs ; choose zeros | Step 1 | Section 4.2.3 and its Remarks (i), (ii) (Lesson: expanding) |
| determinant | Steps 1–4 | Section 4.2.2 |
| Non-singular: | Step 1 | Definition 5, Section 4.5 |
| Minor and cofactor | Steps 2–4 | Definitions 1 and 2, Section 4.4 (Lesson: minors and cofactors) |
| Adjoint = transpose of | Step 5 | Definition 3, Section 4.5.1 (Lesson: the adjoint) |
| Invertible ; | Steps 1, 6 | Theorem 4, Section 4.5 (Lesson: inverse of a matrix) |
| Scalar multiple; product of matrices | Steps 6, 7 | Chapter 3, Sections 3.4.2 and 3.4.5 (Basics: matrix facts) |
| Own cofactors give ; another row's give 0 | Step 7, Check | Remark after Example 10 and Note, Section 4.4 |
| Step 7 | Theorem 1, Section 4.5.1 | |
| Definition of the inverse | Step 7 | Chapter 3, Definition 6, Section 3.7 |
| Zero row or column gives a zero determinant | Steps 2–4, 8 | Expansion along that line, Section 4.2.3 |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →