Determinant of a 3×3 Matrix via Cofactor Expansion
Problem
Compute det([[1,2,3],[4,5,6],[7,8,0]]) by cofactor expansion along row 1. Show each minor determinant.
Explanation
Cofactor expansion — the recipe
For any row (or column ) of an matrix :
where is the minor — the determinant of the submatrix obtained by deleting row and column .
The sign factor follows the checkerboard pattern:
Step-by-step — expand along row 1
Step 1 — Minor : delete row 1 and column 1.
Step 2 — Minor : delete row 1 and column 2.
Step 3 — Minor : delete row 1 and column 3.
Step 4 — Combine with signs:
Choosing the best row or column
Cofactor expansion works along any row or column. Pick the one with the most zeros to save work. If a row is , only one of its three minors contributes — huge time saver.
Row reduction as a faster alternative
For matrices , row reducing to upper triangular form is often faster. The determinant of an upper triangular matrix is the product of its diagonal entries. Track row operation effects:
- Row swap: flip sign of running determinant.
- Scale row by : multiply running determinant by .
- Add multiple of a row to another: no change to determinant.
Properties (reprise)
- iff rows (or columns) are linearly dependent.
- — so you can always expand along a column too.
- .
- .
Common mistakes
- Dropping the sign pattern. The factor is essential:
- Computing minors wrong. To delete row , column , cross them both out and use what remains.
- Expanding along a random row. Pick a row or column with zeros — much less arithmetic.
Try it in the visualization
Each of the three minors is highlighted in turn as you step through the expansion. Signs alternate, values are shown, and the running sum converges to the final determinant.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.