Some transformations can be undone — rotate a photo and you can rotate it back. Others squash everything flat and lose information forever. The determinant is the one number that tells you whether the transformation flattened things (0) or can be reversed.
A single number with big consequences
The determinant of a square matrix is a scalar that encodes key information. For a 2×2 matrix [[a, b], [c, d]], it is ad − bc. A matrix is invertible exactly when its determinant is non-zero; a determinant of zero means the matrix collapses space and has no inverse.
Geometrically the determinant is the factor by which the matrix scales area (or volume). If it's zero, the transformation flattens space onto a line or point — information is lost, so it can't be reversed.
det[[2, 1], [1, 3]] = 2·3 − 1·1 = 5 ≠ 0, so this matrix is invertible.
- Take the matrix [[4, 2], [2, 1]].
- Compute ad − bc.
- Decide whether the matrix has an inverse.
What you should see: det = 4·1 − 2·2 = 4 − 4 = 0, so the matrix is singular — it has no inverse.