How much bigger does a matrix make the plane? Watch the unit square grow into a parallelogram while a meter fills with its area.
What the determinant measures
The unit square, the unit circle and a letter F, carried by one matrix.
The unit square has area 1, and the unit circle has area π.
Describe this picture
A panel with a faint grid, the shaded unit square, a unit circle and a small letter F. After a second’s rest, over 5 s the grid moves to the place the matrix sends it, turning a little as it stretches. The unit square becomes the parallelogram on the columns and , and an area meter in the corner of the panel fills to its area, 3. The circle becomes an ellipse of area ; readouts give both areas. No frame flattens or flips on the way. When the clip has finished, the tip of the second column can be dragged, or moved with the arrow keys in steps of half a unit, while the first stays at ; the meter shows the signed area. At it reads 3. Dragged to , it reads , the letter F appears mirrored, and the meter’s bar turns to the negative side. Dragged onto the line of the first column, for example to , it reads 0 and the grid lies flat on a line.
How much bigger
The unit square has area 1. Under it becomes the parallelogram with sides and , the columns of the matrix, as in A matrix moves the plane. What is its area?
Count it. Its corners are , , and . Draw the smallest upright rectangle around it: from to across and to up, area . The rectangle’s four corners hold four right triangles outside the parallelogram, with areas , , and . So the parallelogram’s area is .
The matrix makes the unit square 3 times bigger. That factor is the determinant of , written . Here .
Every shape, the same factor
Not only the square grows by 3. Every small square of the grid becomes a copy of the same parallelogram, because a matrix moves every grid square alike. So every shape, built from many small squares, grows by the same factor. The circle of area becomes an ellipse of area . A triangle with corners , and , area , becomes the triangle on , and , area .
So is one number that tells you how the matrix changes every area at once.
Sign and zero
After the clip, drag the second column. While it sits above the line of the first column, so that turning from to goes anticlockwise, the meter is positive. Drag it across the line of the first column, to . The parallelogram now turns the other way, the letter F is mirrored, and the meter reads .
A negative determinant means the map flips the plane, like seeing it in a mirror. The size of the number is still the area factor; the sign tells you about the flip. Two different matrices can both scale area by 2, and the sign tells which one also mirrors.
Now drag the column onto the line of the first one, to . The parallelogram is flat, the meter reads 0, and the whole plane lands on one line. A zero determinant means the map flattens the plane. Then no inverse can exist, as The inverse matrix showed: two points that land together cannot both be sent back.
The rules
Doing one map after another multiplies the area factors. First a shear, which slides the grid sideways without changing any area, then .
Areas multiply
A shear, then A: the area meter after each.
The unit square, and its area: 1.
Describe this picture
The unit square and the area meter. First the shear slides the square into a slanted parallelogram, and the meter stays at 1. Then acts on top, and the result is the parallelogram on and , with the meter at 3. A caption names each step. The picture has no control.
In symbols, with the shear first and second, the product is , and . In general,
Three more rules follow.
- The inverse. undoes the growth, so . For our , .
- The transpose. . For our , also has determinant 3.
- A multiple. doubles both columns, so the area grows by : . For an matrix, .
Swapping the two columns turns the parallelogram the other way: has determinant .
The formula
For a matrix, the signed area of the parallelogram on the columns and is
It is the number that appeared in the inverse formula of The inverse matrix. For our : . With fixed and , it is , the number the meter shows while you drag.
In three dimensions, the determinant is the signed volume of the box on the three columns. The columns , and make a box of volume 2, turned inside out, so the determinant is . Computing determinants shows how to get it.
Worked example
- The matrix of the page. ; the half-unit triangle becomes a triangle of area .
- A product. .
- Other maps. Scaling by 1.5 in every direction: . The reflection : . The projection : . Any rotation or shear: .
- A stretch. .
- A flat one. : the columns lie on one line.
- Rules. If and , then .
- Predict. As crosses the line of , the sign changes: the plane flips.
Where you’ll meet this
A graphics engine checks the sign of each object’s matrix. A negative determinant means the object has been mirrored, so its triangles now wind the other way round, and the engine must flip them to draw their front faces.
When a change of variables stretches a region, every area is multiplied by a determinant. Polar coordinates stretch a small patch by the distance from the centre, so at areas are doubled. A probability density moved by a map must shrink by the same factor to keep its total at 1.
In signal processing · the DFT keeps volume
The DFT as a matrix writes the DFT of samples as an matrix. Scaled by , it keeps every length, so its determinant has size 1. The two-point DFT has determinant : it doubles area and flips; scaled by , its determinant is .
Where this leads · stretched densities
Transforming random variables in the probability and statistics course stretches a density by the slope of a map, the one-dimensional determinant.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Meaning | = area of the image of the unit square | every area scales by it |
| signed area on the columns | ||
| Sign | negative: the plane is flipped | zero: flattened, no inverse |
| Product | areas multiply | |
| Inverse | ||
| Transpose | ||
| Multiple | ||
| Three dimensions | signed volume of the box on the columns |