The three defining properties lead to a formula. Splitting each row into pieces with one nonzero entry (linearity in each row) gives 2 × 2 determinants from four pieces, two of them zero, leaving ad − bc. For 3 × 3 there are 27 pieces, and only the 6 that take one entry from each row and each column survive: three with a plus sign and three with a minus, the sign being that of the permutation of the column numbers. The big formula for n × n: det A is a sum of n! terms ± a₁α a₂β ⋯ aₙω, where (α, β, …, ω) is a permutation of (1, …, n) and the sign is + for an even permutation, − for an odd one. (The 3 × 3 diagonal rule does not extend: the 4 × 4 counter-diagonal has a plus sign.) Collecting the terms that contain a₁ⱼ gives the cofactor formula det A = a₁₁C₁₁ + a₁₂C₁₂ + ⋯ + a₁ₙC₁ₙ, where the cofactor Cᵢⱼ is (−1)^(i+j) times the determinant of the matrix with row i and column j removed. For 2 × 2 it gives ad + b(−c). There are now three formulas: the product of the pivots, the big formula, and cofactors. Cofactors suit matrices with many zeros: for the tridiagonal matrices of ones, |Aₙ| = |Aₙ₋₁| − |Aₙ₋₂|, giving 1, 0, −1, −1, 0, 1 and then repeating with period 6.
For 2×2 (transcript, pp. 1–3): split the first row (a,b) as (a,0)+(0,b) by linearity, then split the second row the same way. Four simple determinants remain, and two of them have a column of zeros (pp. 2–3):
The bc term gets a minus sign from one row exchange (p. 3). The method is what matters (pp. 3–4). For 3×3, splitting each row into three pieces gives 33=27 pieces, but most have a column of zeros (pp. 4–5). The survivors take one entry from each row and each column: the column numbers are a permutation of 1,2,3 (pp. 5–6). Factoring out the entries leaves a permutation matrix, whose determinant is ±1 (pp. 6–8):
the determinant of capital A equals a one one a two two a three three minus a one one a two three a sub 32 minus a one two a two one a three three plus a one two a two three a sub 31 plus a one three a two one a sub 32 minus a one three a two two a sub 31
The plus terms run "down" one way and the minus terms the other way, but that picture is for 3×3 only (p. 9). For 4×4 the counter-diagonal product comes with a plus sign: two exchanges (rows 1 and 4, rows 2 and 3) turn it into the identity (p. 9).
For n×n (transcript, pp. 9–11): the entry in row 1 can come from any of n columns, the one in row 2 from the n−1 remaining, and so on, giving n! terms, half plus and half minus (p. 10):
The big formula
detA=n! terms∑±a1αa2βa3γ⋯anω,(α,β,γ,…,ω)=a permutation of (1,2,…,n)
In words
the determinant of capital A equals the sum over n factorial terms of plus or minus a one alpha a two beta a three gamma and so on a n omega, ( alpha, beta, gamma, and so on, omega ) equals a permutation of (1, 2, and so on, n)
The sign is + for an even permutation and − for an odd one. This is why Strang did not start with it: the properties come first, though they can be read back out of it; for the identity only the term a11a22⋯ann=1 survives (pp. 11–12). Proving detAB=detAdetB from it would take weeks (p. 12).
A 4×4 example (pp. 12–16). Strang invents a 4×4matrix of ones and zeros on the spot. Of its 24 terms only two are not zero: one from the permutation(4,3,2,1) with sign +1, one from (3,2,1,4) with sign −1. So the determinant is 0 and the matrix is singular, which he confirms another way: rows 1 and 3 add to a row of ones, and so do rows 2 and 4, so row 1 minus row 2 plus row 3 minus row 4 is zero (pp. 14–16). Zeros make the big formula manageable (p. 16).
the determinant of capital A equals a one one the quantity a two two a three three minus a two three a sub 32, all plus a one two the quantity minus a two one a three three plus a two three a sub 31, all plus a one three the quantity a two one a sub 32 minus a two two a sub 31
The factor multiplying a11 is the determinant of the 2×2matrix left after removing row 1 and column 1: all ways to use the remaining rows and columns once each (p. 18). For a12 there is a minus sign, which is built into the cofactor (p. 19). In general (pp. 20–21):
Cofactor
Cij=(−1)i+jdet(the (n−1)×(n−1) matrix with row i and column j removed)
In words
capital C i j equals (-1) to the power i plus j, end of power, the determinant of ( the the quantity n minus 1, all times the quantity n minus 1, matrix with row i and column j removed )
The signs form a checkerboard, starting with + in the corner (p. 21). (The determinant before the sign is attached is called a minor.) The cofactor formula along row 1, or along any row i (p. 21):
Cofactor formula
detA=a11C11+a12C12+⋯+a1nC1n
In words
the determinant of capital A equals a one one capital C one one plus a one two capital C one two plus and so on plus a one n capital C one n
One could start the whole subject this way, building determinants from smaller ones down to 1×1 (p. 22). For 2×2: the cofactor of a is d, that of b is −c, so det=ad+b(−c) (p. 22).
Three formulas (p. 23): the product of the pivots, where elimination builds in all the complication efficiently; the big formula with its n! terms spread out; and the cofactor formula in between, easy numbers times smaller determinants.
Let An be the n×nmatrix with ones on the main diagonal and the diagonals just above and below it, zeros elsewhere (transcript, p. 23). Then ∣A1∣=1, ∣A2∣=0, and ∣A3∣=−1 (pp. 24–25). For general n, use cofactors along row 1 (pp. 26–27): the corner 1 gives ∣An−1∣, and the 1 in position (1, 2) gives minus a determinant whose own cofactor expansion down its first column leaves ∣An−2∣:
The recursion
∣An∣=∣An−1∣−∣An−2∣
In words
the absolute value of capital A sub n equals the absolute value of capital A n minus 1 minus the absolute value of capital A n minus 2
So the sequence is 1,0,−1,−1,0,1, and then it repeats: the determinants have period 6, and ∣A61∣=∣A1∣=1 (p. 28).
Worked example
Formulas of your own
(a) Find det210031104 by the big formula and by cofactors along row 1. (b) Let Tn be tridiagonal with 4 on the diagonal and 1 on the two neighbouring diagonals. Find the recursion and ∣T4∣.
(a) Big formula
Of the six terms, only a11a22a33=2⋅3⋅4=24 (plus) and a13a21a32=1⋅1⋅1=1 (plus) are nonzero: det=25.
(a) Cofactors
23104−0+11031=2⋅12+1=25.
(b) The recursion
The same cofactor steps as for An give ∣Tn∣=4∣Tn−1∣−∣Tn−2∣ (the corner entry is now 4, the off-diagonal ones still multiply to 1). With ∣T1∣=4 and ∣T2∣=16−1=15: ∣T3∣=60−4=56 and ∣T4∣=224−15=209.
A single number worked out from a square array of numbers (a matrix), which measures how the matrix stretches areas or volumes. Explained in Determinants and the cross product.
A minor of a matrix with a plus or minus sign attached, following a checkerboard of signs that starts with plus in the top-left corner. Explained in Planes through three points, and matrices.
A matrix made by reordering the rows of the identity matrix; multiplying by it reorders the rows of another matrix the same way. Explained in Elimination with matrices.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
Of a square matrix: having no inverse, because its determinant is zero and some nonzero vector is sent to zero. Explained in The geometry of linear equations.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
A rule giving each term from the ones before it, or a method that solves a problem by applying itself to smaller copies of it. Explained in Complex matrices and the fast Fourier transform.
A written record of exactly what was said in a recorded lecture, word for word.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).