Introduction to Determinants
The determinant of a square matrix is defined recursively by cofactor expansion: an n-by-n determinant is a signed sum of (n-1)-by-(n-1) determinants built from the first row. The expansion can equally run along any row or down any column, and a triangular matrix has determinant equal to the product of its diagonal.
╌╌╌╌
A matrix is invertible exactly when its determinant is nonzero, and for that determinant is the number . Extending this quantity to a square matrix of any size is recursive: an determinant is a signed sum of determinants, each of which unwinds the same way down to the base case. The single number that results decides invertibility, measures how a linear map scales area and volume, and appears in closed-form solution formulas.
Origin of the definition
The general definition comes from the condition for row reduction of a larger matrix to succeed. Take a matrix with . Scaling rows 2 and 3 by and clearing the first column produces an equivalent matrix whose lower-right block, after one more elimination, has the single nonzero entry in its corner, where1
Because reduces to a triangular matrix whose corner entry carries this factor , the matrix is invertible exactly when . The quantity is the determinant of the matrix. Grouping its six terms by the first-row entries rewrites using three determinants:
Each matrix here is with its first row and one column struck out. This is the pattern that generalizes.
Minors, cofactors, and the recursive definition
The submatrix is one row and one column smaller than . Deleting the crossing row and column is the mechanical step behind every determinant computation.
The determinant of a matrix is ; the case is . Everything larger is defined by reducing to these.
The sign alternates across the row. Reading the definition top-down, an determinant calls determinants of size , each of which calls of size , and so on. The recursion bottoms out at the or rule.
It is convenient to fold the alternating sign into the minor itself.
The cofactor is the minor with its position sign attached, so the expansion becomes an ordinary (unsigned) dot product of the first row with its cofactors.
Expansion along any row or column
The first row is not special. The following theorem, stated without proof to avoid a lengthy digression, is what makes determinants practical to compute.1
Every row and every column gives the same number. The freedom to choose which one is the practical value of the theorem: pick the row or column with the most zeros, and the terms attached to those zeros vanish before any minor is computed.
The sign attached to position does not depend on the entry itself, only on where it sits. Laid out over the whole matrix the signs form a checkerboard.
Triangular matrices
The chaining above always terminates in one step when the matrix is triangular, because every column below the diagonal is a column of zeros in the relevant submatrix. Expanding repeatedly down the first column peels off one diagonal entry at a time.
A row or column of all zeros forces by the same reasoning: the cofactor expansion along that line is a sum of zeros. This is often the fastest way to spot a zero determinant by eye.
Determinants of a few standard matrices
The triangular-determinant rule fixes several determinants that recur constantly and are worth knowing on sight. Each follows by reading the diagonal of a triangular (indeed diagonal) matrix.
- Identity. , the product of ones.
- Diagonal. .
- Scalar. For the scalar matrix , every diagonal entry is , so .
The elementary matrices — the identity altered by one row operation — also have determinants readable at a glance. A matrix that adds a multiple of one row to another is triangular with ones on the diagonal, so its determinant is ; a matrix that scales a row by is diagonal with a single off-one entry , so its determinant is ; and a matrix that swaps two rows has determinant , a fact that takes one cofactor expansion to check.
| Elementary matrix | Effect on | Determinant |
|---|---|---|
| Replacement | add to row | |
| Scaling | multiply row by | |
| Interchange | swap rows and |
These three numbers are the factors by which the corresponding row operations rescale a determinant, which is the content of Properties of Determinants.
Base cases
The base cases recur inside every larger computation.
| Size | Matrix | Determinant |
|---|---|---|
| (first-row) |
Every expansion ultimately resolves into the rule, main-diagonal product minus anti-diagonal product. A diagonal-based mnemonic exists for the case, but it does not extend to or larger, so cofactor expansion remains the general method.
The cost of the definition
Cofactor expansion defines the determinant cleanly but computes it slowly. An expansion generates subdeterminants, each of size , so the recursion visits on the order of terms. Even for a matrix that today counts as small, this is impractical.1
A determinant by cofactor expansion needs more than multiplications; a machine doing a trillion per second would run for over years.1 The definition is the right tool for small matrices and for proofs. The practical algorithm for large matrices comes from row reduction, which also settles the invertibility criterion and the multiplicative law .
Summary
- The determinant of a square matrix is defined recursively by cofactor expansion: , bottoming out at the rule .
- The minor is the determinant of with row and column deleted; the cofactor folds in the position sign.
- Cofactor expansion can run along any row or down any column, so choosing a line rich in zeros minimizes work.
- Triangular determinant: a triangular matrix has determinant equal to the product of its diagonal; a zero row or column forces .
- Cofactor expansion costs operations, unusable for large ; row reduction is the practical algorithm.
Footnotes
- Lay, Lay & McDonald, Linear Algebra and Its Applications, 5th ed., §3.1 — Introduction to Determinants: the motivation via row reduction, the recursive definition, Theorem 1 (expansion across any row or down any column), Theorem 2 (triangular matrices), and the numerical note on the cost of cofactor expansion. ↩ ↩2 ↩3 ↩4
╌╌ END ╌╌