Determinants

Definition

The determinant of a square matrix is a scalar that is nonzero if and only if is invertible. When the matrix is called singular.

Intuition

The determinant measures the factor by which a linear transformation scales volumes. A determinant gives the signed area of the parallelogram formed by the column vectors; a determinant gives the signed volume of the parallelepiped. A negative determinant indicates that the transformation includes a reflection (orientation reversal). When the transformation collapses space onto a lower-dimensional subspace, making inversion impossible.

Formal Description

2×2 determinant. For ,

3×3 determinant. For a matrix,

Laplace (cofactor) expansion. The determinant can be expanded across any row or down any column. Expanding the determinant along the first row:

Each block is a minor — the submatrix obtained by deleting the element’s row and column. The sign of the term for position is , forming the checkerboard pattern

This rule generalises to matrices: expand along any row or column, multiply each element by its signed minor, and sum the results. The practical strategy is to expand along the row or column containing the most zeros.

Leibniz formula. An equivalent formulation expresses the determinant as a sum over all permutations of :

where each term contains exactly one element from each row and each column. The sign is for even permutations and for odd permutations. For a matrix the six terms are

corresponding to even permutations and odd permutations of the columns.

Applications

  • Testing matrix invertibility: is invertible iff .
  • Computing the characteristic polynomial to find eigenvalues.
  • Computing areas and volumes under linear transformations (change-of-variables in integration).
  • Cramer’s rule for solving small linear systems.

Trade-offs

  • Cofactor expansion has complexity in the naive form; LU decomposition reduces determinant computation to for large matrices, making direct expansion impractical beyond .
  • Numerical determinants of large matrices are susceptible to floating-point overflow/underflow; log-determinants are preferred in practice.
  • Determinant alone does not characterise a matrix fully — two matrices can share the same determinant while being structurally very different.