Linear Algebra, Interactive EditionXYZ Homework Edition

⇩ Download ▾

4.1 The Determinant as Area

The determinant of the 2×22 \times 2 matrix with columns (a,c)(a, c) and (b,d)(b, d) is the number det=adbc\det = ad - bc. The definition earns its keep through two facts you can watch. First, |det||\det| is the area of the image of the unit square — and therefore the factor by which the transformation multiplies the area of any region, since any region is well approximated by a fine mosaic of little squares, each of which is scaled by the same factor. Second, the sign of det\det records whether the plane kept its orientation or was flipped over.

The figure below is built to be driven through the interesting event. It starts at a=2a = 2, b=1b = 1, c=1c = 1, d=1d = 1, where det=2·11·1=1\det = 2 \cdot 1 - 1 \cdot 1 = 1: a sheared parallelogram with exactly the area of the gray unit square beneath it.

A flat parallelogram in the xy-plane with its two origin edges drawn in red (first matrix column) and blue (second column), over a faint gray unit square. Four sliders a, b, c, d set the matrix entries: dragging them changes the parallelogram's area, collapses it to a segment when ad - bc reaches zero, and turns it inside out when ad - bc goes negative.Explore in 3D (opens in a new tab)
The image parallelogram with red edge (a,c)(a, c) and blue edge (b,d)(b, d), over a faint gray unit square for scale. The starting entries a=2a = 2, b=1b = 1, c=1c = 1, d=1d = 1 give determinant 11; dragging dd downward drives the determinant through zero and out the other side.
11
Determinant at the starting entries ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text Determinant at the starting entries, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The determinant at the figure's starting entries, computed by a computer algebra system: the matrix with columns (2,1)(2, 1) and (1,1)(1, 1) has determinant exactly 11 — a violently sheared parallelogram covering precisely one gray square of area.

Explore the figure

  1. At the defaults, compare the parallelogram with the gray unit square. The shapes differ, but the areas match: det=1\det = 1. A matrix can distort violently while preserving area exactly.
  2. Drag dd up to 22. Now det=2·21·1=3\det = 2 \cdot 2 - 1 \cdot 1 = 3; judge by eye that the parallelogram holds about three gray squares.
  3. Drag dd slowly down to 0.50.5. Watch the parallelogram thin and die: at d=0.5d = 0.5 the blue edge (1,0.5)(1, 0.5) is exactly half the red edge (2,1)(2, 1), the columns are dependent, and det=2(0.5)1=0\det = 2(0.5) - 1 = 0.
  4. Keep going to d=0d = 0. The parallelogram reopens — but flipped. Before the collapse, sweeping from the red edge to the blue edge went one way around; now it goes the other. Here det=1\det = -1: area 11 again, orientation reversed.

Read the number while you drag

Everything above you judged by eye: three gray squares, about half, flipped. The determinant is a number, though, and the second figure prints it — the same four entries on sliders, in the plane the parallelogram actually lives in, with det\det updating as you drag. Use it to check the estimates you just made.

Interactive figureThe determinant is the signed area of the image of the unit squareDrag the 4 sliders below the figure.
A filled parallelogram with one corner at the origin, the image of a dashed unit square, with the first matrix column drawn as a red arrow and the second as a blue arrow. A readout gives the determinant, whether area is scaled up or down, and whether orientation is preserved or reversed. Four sliders set the matrix entries; dragging d shrinks the parallelogram to a segment when the determinant reaches zero, then reopens it with the arrows in the reversed arrangement. Adjustable parameters: entry a (a) = 2, entry b (b) = 1, entry c (c) = 1, entry d (d) = 1. Viewing window: x from -4.24 to 6.04, y from -2.51 to 3.71.
XYZ Graph · viewer build 5edf91b
The image of the unit square, drawn flat. The dashed square is where the shape started; the red arrow is the first column (a,c)(a, c) and the blue arrow the second column (b,d)(b, d). The readout gives det\det live, together with the area factor and the orientation.
  1. At the starting entries the readout says det=1\det = 1 — the number you took on trust in step 1 above. The parallelogram and the dashed unit square have the same area.
  2. Drag dd to 22 and read det=3\det = 3. Compare with your by-eye estimate of "about three squares": how close were you?
  3. Drag dd down through 0.50.5 slowly and watch the readout rather than the shape. It reaches exactly 00 at the instant the parallelogram becomes a segment, and the readout says so in words instead of leaving you to judge a flat sliver.
  4. Continue to d=0d = 0. The readout now reports a negative determinant and orientation reversed — the same flip you saw, stated as the sign of a number.

Sign is orientation

Why does the sign change mean a flip? For edge vectors (a,c)(a, c) and (b,d)(b, d), the quantity adbcad - bc is positive exactly when the second edge lies counterclockwise from the first — the same relative position 𝐞2\mathbf{e}_2 holds to 𝐞1\mathbf{e}_1. A positive-determinant matrix moves both basis vectors while preserving that relative arrangement; a negative determinant means the images are in the reversed arrangement, which no amount of rotating or stretching within the plane can produce — the plane must have been turned over. And because your slider moved continuously, the only route from det=1\det = 1 to det=1\det = -1 passed through det=0\det = 0: you cannot flip a page without, at some instant, seeing it edge-on.

Determinant zero is the same event Chapter 2 called dependence and Chapter 3 called collapse, viewed once more. Dependent columns span a line instead of a plane; the transformation crushes two dimensions of input into one dimension of output; distinct points are forced to share images, so no inverse transformation can exist. A matrix is invertible exactly when its determinant is nonzero — a numerical test for a geometric catastrophe.

At the figure's starting entries the test passes: det=10\det = 1 \ne 0, and the inverse exists concretely — the matrix with rows (1,1)(1, -1) and (1,2)(-1, 2), which carries the sheared parallelogram back onto the unit square. A determinant of exactly 11 even keeps the inverse's entries whole numbers.

[1112]\begin{bmatrix}1 & -1 \\ -1 & 2\end{bmatrix}
The inverse at the starting entries ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The inverse at the starting entries, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The undo matrix, computed entry by entry and checked against the rows stated above. Determinant 11 is what keeps every entry a whole number: the inverse's entries are the original's, shuffled and signed, divided by the determinant.

1+2·d-1 + 2 \cdot d
The determinant as d varies ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The determinant as d varies, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The whole slider experiment as one symbolic determinant: with a=2a = 2, b=1b = 1, c=1c = 1 held fixed, a computer algebra system expands det=2d1\det = 2d - 1 — the line that vanishes at d=0.5d = 0.5, reaches 33 at d=2d = 2, and lands on 1-1 at d=0d = 0.

An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.