4.5.21 · D3Linear Algebra (Full)

Worked examples — Determinants — cofactor expansion along any row - column

2,369 words11 min readBack to topic

Before anything, the two base facts everything rests on. First the determinant:

Second, the cofactor symbol we will use in every formula below:


The scenario matrix

Here is every class of case cofactor expansion can present. Each row is a distinct trap or twist; the last column says which worked example kills it.

# Case class What makes it different Killed by
A Plain , no zeros Full 3-cofactor grind Ex 1
B A row/column with zeros 80/20: pick the sparse line Ex 2
C Sign-trap position with odd The that people forget Ex 3
D "Same answer any line" proof-in-practice Expand two ways, compare Ex 4
E Make-zeros-first (row ops) Row-add is free; row-swap costs Ex 5
F Degenerate / singular () Detect collapse, meaning Ex 6
G recursion Cofactor of a cofactor Ex 7
H Real-world word problem (area) Determinant = signed area Ex 8
I Exam twist: symbolic / unknown entry Solve for making Ex 9

Work through all nine and you have touched every cell.


Example 1 — Case A: plain , no free zeros

  1. Write the row-1 formula. Why this step? Cofactor expansion along row says walk the top row, each entry times its signed minor:
  2. Read the signs off the checkerboard. , , . Why this step? The sign depends only on the position , never on the entry's value.
  3. Compute each minor by covering that entry's row and column. Why this step? Deleting the entry's row and column is the definition of its minor — it strips the problem down to a we already know how to solve.
  4. Combine with entries and signs. Why this step? Now plug , sign, minor together:

Example 2 — Case B: chase the zeros

  1. Pick column 2 and write the formula. Why this step? 80/20: two of the three terms are multiplied by , so they vanish before you lift a pencil.
  2. Sign of : . Why this step? Position sits on a square.
  3. One minor: delete row 2, column 2. Why this step? Removing the surviving entry's row and column leaves the block whose determinant is the minor.
  4. Combine: Why this step? Entry sign minor is the single surviving term.

Example 3 — Case C: the odd-position sign trap

  1. List the position signs. Why this step? Get every sign settled before touching numbers so a stray minus can't sneak in.
  2. Three minors (delete each entry's row and column 3). Why this step? Each minor is what survives after covering the entry's own row and column 3 — the same shading picture as the intro figure.
  3. Combine entry sign minor. Why this step? The middle term is where people crash — entry , sign , minor :

Example 4 — Case D: prove "any line" on a fresh matrix

  1. Expand along row 1. Why this step? Standard start.
  2. Minors. Why this step? Each is the block left after covering a row-1 entry's row and column.
  3. Combine. Why this step? Entries signs minors, summed:

Example 5 — Case E: make zeros first (row ops), mind the swap

  1. Row-add operations. Why this step? Adding a multiple of one row to another leaves unchanged — pure profit. Do and :
  2. Expand down column 1 — only the top entry is nonzero. Why this step? The two engineered zeros kill two of the three cofactors, leaving one.
  3. A cautionary variant. Why this step? Suppose instead you had swapped somewhere. A swap multiplies by ; scaling a row by multiplies by . Row-adds are the only free operation.

Example 6 — Case F: the degenerate (singular) matrix

  1. Expand along row 1. Why this step? No zeros, so grind it honestly to prove the collapse.
  2. Minors. Why this step? Cover each row-1 entry's row and column to read off the surviving .
  3. Combine. Why this step? Entries signs minors, summed:

Example 7 — Case G: a (cofactor of a cofactor)

  1. Expand along row 2. Why this step? One nonzero entry one cofactor. where deletes row 2 and column 2:
  2. Now expand this along its bottom row — again sparse. Why this step? Recursion: a cofactor is itself solved by cofactor expansion.
  3. Combine. Why this step? Feed the inner minor back into the single row-2 term.

Example 8 — Case H: real-world word problem (signed area)

Figure — Determinants — cofactor expansion along any row - column
  1. Build the edge vectors from . Why this step? A determinant measures the area of the parallelogram spanned by two vectors; the triangle is half of it.
  2. Form and expand the determinant (base case, no cofactors needed). Why this step? At we are already at the base case — nothing left to expand.
  3. Halve it. Why this step? The determinant gives the parallelogram area; a triangle is exactly half. Why positive? The sign of the determinant is , meaning runs counter-clockwise. A clockwise ordering would give ; the magnitude is still the area.

Example 9 — Case I: exam twist with an unknown

  1. Expand along row 1 (has a zero at position ). Why this step? One term vanishes.
  2. Minors. Why this step? Cover each row-1 entry's row and column to read the surviving .
  3. Combine. Why this step? Entries signs minors gives the determinant as a polynomial in :
  4. Set to zero and solve. Why this step? Singular .

Recall Self-test across all cells

Cover the answers and reproduce each number. Ex 1 answer ::: Ex 3 answer ::: Ex 4 answer ::: Ex 5 answer ::: Ex 6 answer (singular) ::: Ex 7 answer ::: Ex 8 area ::: Ex 9 singular values :::


Connections