Definitions, animated
The chapter's definitions and key theorems. Animations are paced for following step by step; use the speed buttons under a video to change the pace. Jump to a card here.The determinant of a matrix
Minors, cofactors, and expansion along any row or columnFor a 2 × 2 matrix, det(A) = a11a22 − a12a21, and A is nonsingular exactly when this number is not 0. Larger determinants are defined inductively: delete a row and a column to get a smaller matrix (a minor), attach a sign, and add up.
Geometrically, |det A| is the area (in 3D, the volume) of the parallelogram spanned by the columns, and the sign records whether the columns keep or reverse the orientation of the plane.
Cofactor expansion explorer
Definition, Theorem 2.1.1 · Exercises 2.1.1, 2.1.3How much work is this? (Table 1 of §2.2)
A cofactor expansion of an n × n determinant needs about n! multiplications; elimination needs about n3/3. For n = 25 the factorial is about 1.5 × 1025.
- Expand the same matrix along different rows and columns. The terms change but the total does not (Theorem 2.1.1).
- Load the 4 × 4 example with many zeros. The suggested line skips every zero entry, so only one 3 × 3 minor is needed.
- Make two rows equal, or a row of zeros, and watch the determinant become 0 (Theorem 2.1.4).
The determinant as a signed area
Geometric meaning of det for 2 × 2 matricesDrag the tips of a₁ and a₂, the columns of A.
- Swap the two columns. The area stays the same, the sign flips, and the letter F comes out mirrored.
- Make the columns parallel. The parallelogram collapses and det A = 0: no inverse can undo a collapse.
- Slide a₂ parallel to a₁ (a shear). The area does not change: that is row/column operation III.
Properties of determinants
Row operations, singularity, and det(AB) = det(A) det(B)Each elementary row operation changes the determinant in a predictable way: I. interchanging two rows changes its sign, II. multiplying a row by α multiplies it by α, III. adding a multiple of one row to another leaves it unchanged. So the determinant can be computed by reducing to triangular form and multiplying the diagonal entries, at a cost of about n3/3 operations instead of n!.
Determinant by elimination, with a ledger
Lemma 2.2.1–Theorem 2.2.2 · Exercise 2.2.2- Load Exercise 2.2.2 and run to triangular form. The ledger multiplies the diagonal and undoes each swap's sign change.
- Scale a row by 3 yourself. The ledger divides by 3 at the end, so the answer for det(A) does not change.
Additional topics and applications
The adjoint, Cramer's rule, and coded messagesThe adjoint adj A is the transpose of the matrix of cofactors. It satisfies A(adj A) = det(A)I, so when det(A) ≠ 0, A−1 = adj A / det(A). Applied to Ax = b, this gives Cramer's rule.
Cramer's rule and the adjoint
Theorem 2.3.1 · Exercises 2.3.1–2.3.3- Each Ai differs from A in one column only, highlighted. Watch which determinant ends up in which numerator.
- In the adjoint view, check that A times adj A is det(A) times the identity.
Coded messages
Application 1 · Exercise 2.3.14Write each letter as a number (space = 0, A = 1, …, Z = 26), put the numbers into the columns of a matrix B, and send AB. If A has integer entries and det(A) = ±1, then A−1 = ±adj A also has integer entries, so the receiver can decode exactly.