Category: Linear Algebra Level: 301
det [[a, b], [c, d]] = ad - bc = area scale factor
The determinant says how much a matrix scales area. Its sign says whether the map keeps or flips orientation, and zero means the plane gets squashed flat.
The square with sides e₁ and e₂ has area 1. Watch what the matrix does to it.
area = 1
The columns (3, 1) and (1, 2) are where e₁ and e₂ land. The unit square becomes the purple parallelogram they span.
det A = 3·2 - 1·1 = 5
The whole grid moves with the matrix. Each unit square turns into a copy of the parallelogram, so every shape grows by a factor of five.
new area = 5 × old area
Swapping the columns makes the same parallelogram, but e₁ and e₂ trade places. The turn from the first column to the second now runs clockwise, like a mirror image.
det = 1·1 - 3·2 = -5
When the columns point along the same line, the square collapses onto that line. Its area is 0, and no matrix can undo the squash.
det = 2·1 - 1·2 = 0
cd svg-generator python3 -m svgmath render determinant-area --out /tmp/determinant-area
Source: svgmath/diagrams/linear_maps.py