Worked examples — Determinant of 3×3 matrix — cofactor expansion
This page is a drill hall. The parent note taught you the method; here we hunt down every kind of matrix a problem can throw at you and work each one to the end. Before we start, one reminder of the vocabulary, so no symbol is used before it is earned.
The checkerboard of signs you will glance at constantly:
The scenario matrix
Every 3×3 determinant problem is one (or a mix) of the cases below. Each worked example names the cell(s) it covers, so by the end every cell is hit.
| # | Case class | What makes it special | Example that hits it |
|---|---|---|---|
| A | All-nonzero, mixed signs | No shortcuts — brute-force one row carefully | Ex 1 |
| B | Row/column full of zeros | Whole term vanishes → less work | Ex 2 |
| C | Two expansions agree | Prove invariance (row vs column) | Ex 3 |
| D | Triangular matrix | Answer = product of the diagonal | Ex 4 |
| E | Degenerate (det = 0) | Rows linearly dependent → flat, zero volume | Ex 5 |
| F | Sign / orientation flip | Negative determinant = mirrored orientation | Ex 6 |
| G | Geometry / word problem | Volume of a real parallelepiped | Ex 7 |
| H | Exam twist (unknown letter) | Solve for so that | Ex 8 |
Example 1 — Case A: all-nonzero, mixed signs
Forecast: Row 2 is . The middle entry is , so one of the three terms will die on its own. Guess the sign of the final answer before reading on — is it positive or negative?
-
Write the row-2 expansion with its checkerboard signs. Row 2 signs from the board are . So Why this step? Row 2 gives cofactors whose signs are . Pinning the signs first stops the most common error (dropping a minus).
-
The middle term vanishes. Element , so . We never even compute . Why? A zero element kills its whole term — that is the entire reason we like zeros.
-
Compute (delete row 2, column 1): Why this step? The surviving 2×2 is exactly the four entries left when we shade out row 2 and column 1.
-
Compute (delete row 2, column 3):
-
Assemble. Why this step? Carefully: , then . Two sign flips per term — this is where beginners go wrong.
Verify: Expand instead along row 1 as an independent path. Same answer, different route — exactly what the parent note promised.
Example 2 — Case B: a column full of zeros
Forecast: An entire column is zero. What does zero volume look like? Predict the answer in your head before any arithmetic.
- Choose the zero column. Expand along column 2: entries . Why this step? Every element there is , so every term is .
- Add them up. Why this step? No minor even needs computing — the fastest possible determinant.
Geometric read: the three column-vectors of all have -component ; they are trapped in the -plane. Three vectors squashed into one plane span a flat parallelepiped — zero volume.
Verify: Expanding along row 1 instead:
Example 3 — Case C: two expansions must agree
Forecast: Column 1 is — two zeros. Row 1 is — no zeros. One path is short, one is long; the theorem says they land in the same place.
-
Expand along column 1 (the easy path). Column-1 signs are . Why this step? Two zeros kill two of three terms, leaving one clean 2×2.
-
Expand along row 1 (the long path). Row-1 signs . Why this step? No zeros in row 1, so we honestly compute all three minors.
-
Evaluate each 2×2. , , . Why this step? Two of them have a zero column, so they vanish — the matrix's structure protects us.
-
Sum:
Verify: Both paths give — invariance confirmed. This also demonstrates Case D below: , the product of the diagonal. See properties of determinants for why invariance always holds.
Example 4 — Case D: triangular matrix
Forecast: Guess the answer using only the diagonal .
- Expand along row 1 — it is , two free zeros. Why this step? Zeros above the diagonal in row 1 kill two terms.
- The surviving 2×2 is itself triangular. Why this step? The anti-diagonal has a , so only the main diagonal survives — the same trick one level down.
- Multiply:
Verify:
Example 5 — Case E: degenerate matrix (det = 0)
Forecast: The rows look suspiciously evenly spaced. Do you smell a hidden dependency?
- Expand along row 1.
- Three 2×2s. , , .
- Sum: Why this step? The alternating signs make the pieces cancel exactly — the signature of a collapsed shape.
Geometric read (see figure): row 3 = row 2 row 1. The three row-vectors lie in a single tilted plane, so the parallelepiped they build is a flat sheet — zero thickness, zero volume.

Verify:
Example 6 — Case F: sign / orientation flip
Forecast: Swapping two axes is like flipping a glove inside-out. Positive or negative volume?
- Expand along row 3 — two zeros. Why this step? Row 3 is cheapest.
- The minor.
- Assemble:
Verify: Swapping two rows of the identity always flips the sign:
Example 7 — Case G: real-world volume (word problem)
Forecast: Volume is the magnitude of the determinant whose rows are . Estimate: bigger than ? Smaller?

- Set up the determinant. Stack the vectors as rows: Why this step? The determinant of the edge-vectors is the signed volume — this is the whole geometric meaning from what is a determinant. (It is also the scalar triple product; see cross product and determinants.)
- Expand along column 1 — one zero helps. Why this step? removes the middle term; the checkerboard gives down column 1.
- Two minors. ,
- Assemble:
- Take the magnitude for physical volume:
Verify (units and sanity): each vector is in nm, so the volume is in : . It exceeds the naive because the vectors are close to perpendicular — reasonable. Cross-check by expanding along row 1:
Example 8 — Case H: exam twist with an unknown
Forecast: We'll get a cubic in . How many real roots — one, two, or three?
- Expand along column 1 — the middle zero saves one minor. Why this step? Column 1 has a zero; the sign pattern down it is .
- Two minors. ,
- Assemble as a polynomial in . Why this step? Now "singular" becomes "solve ."
- Factor. Test : ✓, so is a factor: The quadratic gives . Why this step? Dividing out the found root leaves a quadratic we solve with the standard formula.
- All three roots:
Verify: Plug back: ✓. And expanded ✓. (These -values are exactly where the inverse fails and where a linear system in has no unique Cramer's-rule solution.)
Recall Self-test: name the case, then solve
Which scenario cell does each belong to, and what's the answer? A row of zeros — determinant? ::: (Case B), space collapses. An upper-triangular matrix with diagonal — determinant? ::: (Case D). Swapping two rows of a matrix with — new determinant? ::: (Case F), orientation flips. tells you about the inverse? ::: It doesn't exist; the matrix is singular (Case E).