Replace every entry of by its cofactor, transpose the result to get the adjugate, and divide by the determinant: . It gives a formula for every entry at once, which suits small or symbolic matrices.
| Step | On | |
|---|---|---|
| 1 | Compute the determinant. Use cofactor expansion along a row. Stop if it is zero. | |
| 2 | Compute every cofactor. Delete row and column , take the determinant, attach the sign (cofactor). | cofactor matrix |
| 3 | Transpose to get the adjugate. Row of the cofactor matrix becomes column of .Transpose ↗ | |
| 4 | Divide by the determinant. Here , so the adjugate is already the inverse.Scalar multiplication ↗ | |
| 5 | Check one row of the product. Row 1 of times the three columns of must give . | , , ✓ |