matrix algebra
Determinant
You should know: matrices
Overview
The determinant is a scalar-valued function of a square matrix's entries, denoted det(A), det A, or |A|. It characterizes key properties of the matrix and the linear map it represents: the determinant is nonzero exactly when the matrix is invertible (equivalently, when the linear map is an isomorphism). A matrix with determinant zero is called singular and has no inverse. Geometrically, |det(A)| is the factor by which A scales area (2×2) or volume (3×3 and higher).
Intuition
Picture the unit square (or unit cube in 3D) transformed by a matrix A. The determinant tells you the signed scaling factor of that area or volume after the transformation: |det(A)| = 2 means areas double, det(A) = 0 means the transformation flattens everything onto a lower-dimensional subspace (collapsing area/volume to zero — irreversible, hence 'singular'), and a negative determinant signals the transformation flips orientation (like a reflection).
Interactive Graph
Formal Definition
For a 2×2 matrix, the determinant is defined directly. For a 3×3 matrix, the rule of Sarrus gives an explicit formula (valid only for 3×3):
The 2×2 determinant formula
Sum of forward diagonal products minus sum of backward diagonal products
Notation
| Notation | Meaning |
|---|---|
| The determinant of square matrix A | |
| Alternative notation for det(A), using vertical bars around the matrix entries |
Properties
Invertibility criterion
Determinant of a product
Determinant of the transpose
Repeated row/column gives zero
Example: Any matrix with two identical rows or columns has determinant 0
Multilinearity in each row
Example: The determinant is linear in each row (and column) separately
Determinant of identity
Scaling a row scales the determinant
Condition: For an n×n matrix A, scaling ALL entries by c
Applications
Worked Examples
Apply the 2×2 formula ad − bc.
Answer: -19
Practice Problems
Compute det([[2, 5], [1, 3]]).
If det(A) = 0 for a square matrix A, what can you conclude?
A land parcel has corners at (0,0), (6,0), (6,4), (0,4) but was surveyed as a parallelogram spanned by vectors u = (6, 0) and v = (2, 4). Use the determinant to find its area.
Why does a structural engineer care that the global stiffness matrix K becomes SINGULAR (det K = 0) before supports are applied?
Common Mistakes
Applying the rule of Sarrus (diagonal shortcut) to matrices larger than 3×3.
The Sarrus diagonal trick is specific to 3×3 matrices. For 4×4 and larger, use cofactor (Laplace) expansion along a row/column or row-reduce to triangular form instead.
Assuming det(A+B) = det(A) + det(B).
The determinant is NOT additive over matrix addition — only multiplicative over matrix multiplication (det(AB)=det(A)det(B)) and linear in each individual row/column, not the whole matrix sum.
Quiz
Summary
- det(A) is a scalar computed from a square matrix's entries: ad−bc for 2×2, and the Sarrus diagonal formula for 3×3.
- A matrix is invertible if and only if its determinant is nonzero; det(A)=0 means A is singular.
- det(AB) = det(A)det(B), and det(Aᵀ) = det(A).
- |det(A)| measures the area/volume scaling factor of the linear transformation A represents; a negative sign indicates orientation reversal.
- For 4×4 and larger matrices, cofactor expansion or row reduction replaces the Sarrus shortcut.
References
- WebsiteWikipedia — Determinant
- BookStrang, G. Introduction to Linear Algebra, 5th ed. Ch. 5.
Mathematics