Determinants
A single number attached to a square matrix, computable by cofactor expansion along any row or column, that vanishes exactly when the columns are dependent. It scales by the same factor a linear map scales volume, and it multiplies across products, which is what makes it useful rather than merely computable.
Definition
The determinant of a square matrix
Cofactor expansion. For
and for any fixed column
Behaviour under row operations.
| Operation | Effect on |
|---|---|
| swap two rows | multiplied by |
| scale a row by | multiplied by |
| add a multiple of one row to another | unchanged |
The third is what makes elimination a practical method: reduce to triangular form without changing the determinant, then read it off.
Triangular matrices. If
The two properties that matter.
The second is the characterisation:
Also
Assumptions and scope
Only square matrices have determinants. A non-square matrix has a rank but no determinant, and asking for one usually signals a shape error upstream.
is not . The determinant is multilinear in the rows separately, not additive in the matrix, and the identity matricesand in dimension 2 already refute the additive version. Vanishing determinant is not an error. It is the informative case: it says the columns are dependent and the map collapses a direction, which is what an eigenvalue computation looks for.
The sign of
carries orientation, so is the volume factor while itself also says whether handedness is preserved. Cofactor expansion is correct at any size and impractical beyond small ones. Choosing it over elimination for a large matrix is a complexity error rather than a mathematical one.
Worked material
Example
Determinants readable without computation
Several matrices give up their determinants on sight. Recognising them saves the arithmetic and, more usefully, says what the value means.
| Matrix | Why | |
|---|---|---|
| diagonal product; the identity changes no volume | ||
| diagonal product | ||
| triangular: | ||
| a zero row; expanding along it gives nothing | ||
| two equal rows | ||
| second row is | ||
| a single row swap applied to | ||
Why equal rows force zero. Swapping two rows negates the determinant. Swapping two equal rows leaves the matrix unchanged, so
Why a zero row forces zero. Expanding along it, every term carries a factor of zero. Geometrically the figure spanned by the rows has been flattened: one edge has length zero, so the volume is zero.
The permutation matrix.
Each value is read from structure rather than computed from entries: a diagonal, a dependency among rows, a single swap. Looking for that structure before starting an expansion is the cheapest step in any determinant calculation, and on a singular matrix it is the whole calculation.
Non-example
Four determinant errors
Adding determinants. "
Scaling the matrix as though it were one row. "
Losing a sign in the expansion. Expanding along row 1 with entry
Treating a zero determinant as a failed calculation. "
What separates these. The first two mistake which object the linearity applies to. The third is arithmetic with a conceptual cause, not knowing that two independent sign factors are in play. The fourth misreads an informative result as a broken one, and it is the most costly, because it leads to redoing correct work rather than acting on what it found.
Common errors
Common misconception
The determinant is a linear function of the matrix, so
Related units
Requires
Connected
- Linear Independence, Rank, and Bases (related)