- aᵢⱼ is the entry in row i, column j of A. The minor of entry aᵢⱼ is the determinant of A with row i and column j crossed out.
- The cofactor Cᵢⱼ is that minor times (−1)^(i+j): signs + − + in row 1, − + − in row 2, and so on, like a checkerboard.
- Expanding along any row (or column): det A = sum of entries × their cofactors. (This follows from rule 3; take it on trust.)
- Fully expanded, a 3 by 3 determinant is a sum of 3! = 3·2·1 = 6 products (n!, “n factorial”, means n·(n − 1)·…·1). Each uses one entry from every row and every column. An n by n has n! of them.
Where the number comes from
Elimination gives det A fast. The cofactor formula shows what det A is made of: a sum of products, each using one entry from every row and every column.
The 2 by 2 case
For abcd we can find the formula from the three rules of slide 4. Split each row into two pieces: ab = a0 + 0b and cd = c0 + 0d. Rule 3 splits det into four determinants, one for each choice of piece:
The same splitting works for 3 by 3. Split each row into 3 pieces, one entry each. Any choice that takes two entries from the same column leaves a zero column, so it gives 0. What survives are the 6 choices with one entry in every row and every column. Each is a product of three entries times the det of I with its rows reordered, which is +1 or −1 by rule 2.
For example, the 2 by 2 formula on 3124:
Expanding a 3 by 3 along row 1
aᵢⱼ is the entry in row i, column j. Take each entry of row 1 and cross out its row and column. The 2 by 2 left over is its minor. Multiply entry × minor, with signs + − +:
Each minor with its sign is a cofactor. Try it on the matrix K from lesson 2:
The checkerboard of signs
The signs form a checkerboard, with + in the top left. The sign for row i, column j is (−1)^(i+j):
You may expand along any row or any column, as long as you use these signs (this also follows from rule 3; take it on trust). Along row 2 of K, the signs are − + −:
Pick the easiest row
A zero entry kills its whole term, so pick the row or column with the most zeros. In K, row 2 has a 0, so only two minors were needed above.
Keep reading with the full course
Finish lesson 6 and you will be able to: see a matrix as a move of the plane, and build one from where two arrows land.
Still locked here:
- The rest of this explanation
- 4 more examples with step-by-step solutions
- Five extra members-only problems with worked solutions
$20 once, lifetime access. Lessons 1 to 3 stay free.
Examples
Example 1 · A 2 by 2 as a cofactor expansion
3124: expand along row 1.

Questions and comments
Stuck on something, or found a mistake? Ask here and I'll answer. You sign in with GitHub.