Matrices, Determinants & Systems

determinant

The determinant is a single number squeezed out of a square matrix that tells you, in one quantity, whether the matrix is “healthy” enough to be invertible. Think of it as a health reading: a nonzero determinant means good; a determinant of zero means the matrix has collapsed in some direction.

For a 2-by-2 matrix [a, b; c, d], the determinant is ad - bc — multiply the main diagonal, subtract the off-diagonal product. Larger matrices use a recursive expansion (cofactor expansion) or row reduction, but the spirit is the same: one number summarizing the whole grid. We write it det(A) or with vertical bars around the matrix.

Geometrically the determinant measures how much the matrix scales area (in 2-D) or volume (in 3-D), and its sign records whether orientation is flipped. The crucial fact: a square matrix is invertible exactly when its determinant is nonzero. A determinant of zero marks a singular, non-invertible matrix.

det([3, 1; 2, 4]) = 3·4 - 1·2 = 12 - 2 = 10. Nonzero, so this matrix is invertible.

ad - bc for any 2-by-2.