Determinants
What you will be able to do
Given a square matrix, the learner can compute its determinant by cofactor expansion or by elimination, choosing the cheaper route and justifying the choice, and can state what the value implies about invertibility, dependence of the columns, and the volume scaling of the associated map.
Orientation
Deciding whether a square matrix is invertible could be done by row reduction every time. The determinant answers it with a single number instead, and that number carries more than a yes or no.
Its magnitude is the factor by which the map stretches volume: a matrix with determinant 3 turns any region into one of three times the volume. Its sign says whether orientation survives. And it vanishing is not a failure but the informative case. It says the map has flattened space into something lower-dimensional, which is exactly the condition an eigenvalue computation searches for.
The arithmetic has two routes. Cofactor expansion is defined at any size and unusable beyond small ones; elimination is what anything larger uses. Choosing between them is part of the skill.
Definition
The sign pattern, and why any row will do
The cofactor sign is positional, not a property of the entry.
The top-left is always
Any row or column gives the same answer. This is a theorem, and it has two practical consequences. First, a row or column containing zeros is the one to expand along, since a zero entry annihilates its whole term regardless of the minor. Second,
What multilinearity actually says. The determinant is linear in each row separately, with the other rows held fixed:
This is not linearity in the matrix. Scaling the whole
and
Why
Figure
Three determinants: area factor, orientation, and collapse
The same unit square under three maps, each in its own coordinate frame with its own origin. The separation between frames is layout, not distance.
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.
Procedure
Two routes, and when to take each
Route 1: cofactor expansion.
- Choose the row or column with the most zeros.
- For each entry
in it, form the minor by deleting row and column . - Compute
, recursing until . - Sum the terms.
Skip any entry that is zero: its term vanishes whatever the minor is, and computing that minor is wasted work.
Route 2: elimination to triangular form.
- Reduce using row operations, recording the effect of each on the value.
- Stop at upper triangular form.
- Multiply the diagonal entries.
- Undo the recorded effects.
| Operation used | Correction to apply |
|---|---|
| swapped two rows | multiply the result by |
| scaled a row by | divide the result by |
| added a multiple of a row to another | none |
The third row of that table is why elimination works at all: the workhorse operation costs nothing, so a whole reduction can be carried out with only swaps needing correction. Preferring it over row scaling keeps the bookkeeping trivial.
Choosing. Expansion costs about
Checks worth running.
- A zero row or a zero column forces
; so do two equal rows, or one row a multiple of another. - A triangular matrix needs no work: multiply the diagonal.
- After computing, ask whether the verdict is plausible, if the columns visibly satisfy a dependence, the answer must be zero.
Worked example
One matrix, two routes, same answer
---
Route 1: expansion along row 1.
Signs along the first row are
Route 1b: expansion along column 1, as a check. Signs down column 1 are
The agreement is the theorem, not a coincidence. Note that column 2 would have been the shrewd choice here: it contains a zero, so one of its three terms vanishes before any minor is computed.
---
Route 2: elimination.
Use only "add a multiple of a row to another", which leaves the value unchanged.
Upper triangular, with no swaps and no scalings, so the value is unchanged from
---
Geometrically: the unit cube maps to a parallelepiped of volume
What each route cost. Expansion: three
Principle
Row operations and multiplicativity, checked
Take
Swapping rows negates. Exchanging rows 1 and 2 gives
One swap, one sign change. Two swaps return the original value, which is why an even number of exchanges costs nothing.
Scaling a row scales the value. Multiplying row 1 by 5:
One row, one factor. Scaling the whole matrix by 5 would scale all three rows and give
Adding a multiple of a row changes nothing. Replacing row 2 by row 2 plus
The matrix is visibly different and the determinant is identical. Geometrically the figure has been sheared: the base is unmoved and the height is unchanged, so the volume is too.
Multiplicativity. With
and
Read geometrically:
Two consequences.
A singular check.
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.
Optional enrichment (1)
Application
Area, volume, and the change of variables factor
Area in the plane. The columns of a
Shearing confirms the row-operation rule visually. Replacing the second column by
Volume in space. In
This is what makes multiplicativity geometrically inevitable: applying
Orientation. The sign distinguishes a rotation from a reflection. A rotation has determinant
Change of variables. In multivariable calculus, substituting
The factor is exactly this unit's content. Near a point, a differentiable map is approximately linear with matrix
The absolute value appears because an integral over a region does not care about orientation, while the determinant itself does.
Where the volume reading stops. It requires a square matrix over the reals. Determinants over finite fields, or of matrices of formal variables as in the characteristic polynomial, obey the same algebra with no volume to point at, so the geometry motivates the definition without being the definition.