Exercise 4.4 · Q10: Inverse of a matrix by the adjoint
Find the inverse of the matrix (if it exists):
Let be the given matrix.
Expanding along :
Since , exists.
Cofactors, :
Want the reason behind every step, the basics and the checks?
A square matrix has an inverse exactly when its determinant is not zero, and then
where is the transpose of the matrix of cofactors. So the work is: one determinant, nine cofactors, one transpose, one division. Here , so dividing by just changes every sign.
- Given
- The matrix above, with entries , , , , , , , , .
- To find
- , if it exists.
- Plan
- (1) Compute ; if it were 0 there would be no inverse. (2)–(4) Find the minor and cofactor of every element, row by row. (5) Form the matrix of cofactors and transpose it to get . (6) Divide by . (7) Check that , entry by entry.
Basics you need
Pick any row or column. Multiply each of its elements by its cofactor and add. Every row and every column gives the same value, so choose one with zeros to save work (Section 4.2.3, Remarks). Lesson: expanding a 3 × 3 determinant
The minor is the determinant left after deleting row and column . The cofactor is (Definitions 1 and 2, Section 4.4). Lesson: minors and cofactors
is when is even and when it is odd, which gives the chessboard pattern below. Basics: the + − + sign pattern
is the transpose of (Definition 3). If , then (Theorem 4, Section 4.5). Basics: why the inverse divides by |A|
Entry of a product is row of the first matrix times column of the second: multiply matching entries and add. Basics: matrix facts the chapter uses
Solution
Compute to see whether exists
Look for zeros. Column 1 is and row 2 is ; each has one zero, and no row or column has two. Expand along column 1. Its signs, read down the first column of the pattern, are .
The three minors, each with its row and column deleted:
So
Since , is non-singular, so exists.
The question says "if it exists", so existence must be settled first. Theorem 4 says a square matrix is invertible exactly when its determinant is non-zero. The zero in column 1 means one of the three products is whatever its minor is; we computed anyway because it is needed again for the cofactor in Step 3.A determinant is the main diagonal product minus the other diagonal product, . Lesson: determinant of a square matrixCofactors of row 1
Delete row 1 and the column of each element. Signs for row 1: .
For we delete row 1 and column 2 of . What is left is rows 2 and 3 of columns 1 and 3: the entries on top and below. The cofactor then attaches the chessboard sign: position has , odd, so the sign is and . Position has , even, so : a plus sign keeps the minor's own sign, even when the minor is negative.Minor first, sign second. Mixing the two up (for example writing because "the sign is +") is the most common slip. Basics: the sign patternCofactors of row 2
Signs for row 2: .
keeps the four corners of (delete the middle row and middle column). deletes row 2 and column 3, leaving columns 1 and 2 of rows 1 and 3. A minus sign on a zero minor still gives zero, so .Cofactors of row 3
Signs for row 3: .
A quick test that the nine cofactors are right: multiplying any row of by its own cofactors must give . Row 1: is . Row 3: is . Both equal , as the Remark in Section 4.4 says they must.Sum of (element × its own cofactor) along any row or column is . Lesson: minors and cofactorsMatrix of cofactors, then transpose it to get
Put each cofactor in position :
The adjoint is its transpose: row 1 becomes column 1, row 2 becomes column 2, row 3 becomes column 3.
Transposing the matrix of cofactors: the cofactors of row of end up in column of . Why the transpose? Entry of is row of times column of . After transposing, column of holds the cofactors of row . So the diagonal entries are "row times its own cofactors", which is , and the off-diagonal entries are "row times another row's cofactors", which is (Note in Section 4.4). That is exactly (Theorem 1). Without the transpose the rows and cofactors would be mismatched.Divide by
Multiplying a matrix by changes the sign of every entry:
This is the formula from Theorem 4: since and , dividing by the number gives , and the same on the other side. Because , every entry of the inverse is a whole number, which is unusual and handy.A scalar times a matrix multiplies every entry. Basics: scaling and adding matrices · Lesson: inverse of a matrixCheck:
Both matrices are , so the product is defined and is . Write for entry : row of times column of .
The check catches any slip in a cofactor, a sign or the transpose: a single wrong entry in would spoil at least one . For square matrices of the same order, already forces too (taking determinants, , so is invertible and ), so one product is enough.Pair up, multiply, add. Basics: matrix facts the chapter uses
, so the inverse exists, and
(Textbook answer: the same matrix.)
The other order works too. Row 1 of times the columns of : , , . That is row 1 of ✓. A second test: column 2 of times its own cofactors gives , which is ✓.
- Forgetting the transpose. The matrix of cofactors is not the adjoint. Using it directly gives a matrix whose product with is not .
- Applying the sign twice or not at all. , not ; , not .
- Deleting the wrong row or column. deletes row and column ; write the remaining block out before evaluating it.
- Dividing by as if it were . , so every sign of flips.
- Skipping the existence check. If had been , the answer would be "the inverse does not exist", and the formula would involve division by zero.
- Recipe: (stop if 0), nine minors, nine cofactors with the chessboard signs, transpose, divide by , check .
- Row times its own cofactors equals : a cheap way to catch a wrong cofactor before transposing.
- When and has integer entries, has integer entries too.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Expansion of a determinant along any row or column gives the same value; choose zeros | Step 1 | Section 4.2.3 and its Remarks (Lesson: expanding) |
| Minor and cofactor | Steps 1–4 | Definitions 1 and 2, Section 4.4 (Lesson: minors and cofactors) |
| Row (or column) times its own cofactors ; times another row's cofactors | Steps 4, 5; Check | Remark and Note, Section 4.4 |
| = transpose of | Step 5 | Definition 3, Section 4.5.1 (Lesson: the adjoint) |
| Steps 5, 6 | Theorem 1, Section 4.5 | |
| invertible , and | Steps 1, 6 | Theorem 4, Section 4.5 (Lesson: inverse) |
| Step 7 remark | Theorem 3, Section 4.5 | |
| Row-times-column rule for products | Step 7, Check | Chapter 3, Section 3.4.5 |
| Every minor, cofactor and product entry | Steps 1–7 | Recomputed in the site's verification script |
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 →