The Determinant of a Square Matrix
Learning objectives
- Compute the determinant of a and matrix using cofactor expansion
- Interpret the determinant geometrically as a signed area or volume scaling factor
- Apply key properties: multiplicativity, row-operation effects, and the link to invertibility
- Predict the sign of the determinant from orientation (preservation versus reversal)
The determinant compresses an entire square matrix into a single number that tells you everything important about volumes and invertibility. When is non-zero, the matrix is invertible and the linear map stretches the unit cube into a parallelepiped of volume , with the sign indicating whether orientation flipped. When , the matrix collapses space into a lower-dimensional flat, rank deficient, non-invertible, kernel non-trivial. One number, all that information.
The formula and its geometry
For A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}, the determinant is . Geometrically, is the area of the parallelogram with sides and , the columns of . The sign of records orientation: positive if the columns are counter-clockwise from each other (preserving the standard orientation of the plane), negative if they have been swapped or reflected.
and cofactor expansion
For a matrix, expand along any row or column. The cofactor where is the determinant of the matrix obtained by deleting row and column . Expanding along row 1: . The cofactor formula generalises to matrices by recursion.
Key properties
(i) , the multiplicativity. (ii) Swapping two rows multiplies the determinant by . (iii) Multiplying a row by multiplies the determinant by ; in particular for an matrix. (iv) Adding a multiple of one row to another leaves the determinant unchanged. (v) . (vi) The determinant equals the product of eigenvalues (counted with multiplicity).
The determinant-area widget above gives the geometric picture: as you change the columns of the matrix, the parallelogram (the image of the unit square) updates in real time. When the area number flashes negative, the orientation has flipped. When it hits zero, the parallelogram collapses to a line, the matrix is singular at that instant.
- Computer graphics back-face culling: Renderers compute the determinant of a triangle's vertex matrix to decide whether the triangle faces the camera (positive determinant) or is on the back of the model (negative), saving a per-pixel rendering step on hidden geometry.
- Change of variables in calculus: When converting a multiple integral from Cartesian to polar, spherical, or any other coordinates, the Jacobian determinant is the volume-correction factor that keeps the integral correct.
- Cryptography and combinatorics: Several public-key schemes use Hadamard-type matrices whose determinants are known exactly; the determinant value certifies linear independence of the codewords. Permanent (a sibling of determinant) appears in counting perfect matchings of bipartite graphs.
Pause and think: Suppose is a matrix and you scale every entry by . What happens to the determinant? Predict the formula in terms of before reading further. (Hint: each of the four rows gets multiplied by .)
Try it
- Before computing, predict the determinant of A = \begin{pmatrix} 3 & 7 \\ 1 & 4 \end{pmatrix}. Then verify with .
- Predict for what value of the matrix \begin{pmatrix} 2 & k \\ 4 & 6 \end{pmatrix} becomes singular. Solve to verify.
- Predict if and is . (Hint: each of 3 rows is scaled by 2.)
- For A = \begin{pmatrix} 1 & 0 & 2 \\ 3 & 1 & 0 \\ 0 & 2 & 1 \end{pmatrix}, predict the sign of from the row patterns, then compute by cofactor expansion along row 1.
- If and , predict and before justifying with the multiplicativity property.
A trap to watch for
The most common error in cofactor expansion is forgetting the alternating signs. The sign pattern for a matrix is \begin{pmatrix} + & - & + \\ - & + & - \\ + & - & + \end{pmatrix}. When expanding along row 1, the middle term gets a MINUS sign: , not . Forgetting the minus is the single most common source of wrong determinants in homework. Use the formula explicitly to avoid sign errors.
What you now know
You can compute determinants by cofactor expansion or row reduction, interpret them geometrically as signed volume scalings, and chain them through products. The next section (§1.6) ties determinants together with rank, nullity, and invertibility into the Key Theorem of Linear Algebra, one unified picture of square matrices.
Mark section complete →
References
- Garrity, T. (2002). All the Mathematics You Missed. Cambridge University Press, ch. 1, §1.5.
- Strang, G. (2016). Introduction to Linear Algebra (5th ed.). Wellesley-Cambridge, ch. 5 (determinants).
- Hoffman, K., Kunze, R. (1971). Linear Algebra (2nd ed.). Prentice-Hall, ch. 5.
- Axler, S. (2015). Linear Algebra Done Right (3rd ed.). Springer, ch. 10.
- Trefethen, L. N., Bau, D. (1997). Numerical Linear Algebra. SIAM, lec. 1 (basic linear-algebra facts).