Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Precalculus · Unit 4 · Step-Through Animation

The Inverse and Determinant of a Matrix

One Number Decides Everything

You'll learnto see the determinant as the number that says whether a transformation can be undone.

The determinant ad minus bc answers two questions at once: whether a matrix can be undone, and how much it scales area. When it is nonzero the matrix has an inverse, built by swapping the diagonal, negating the rest, and dividing. When it is zero the plane has been crushed onto a line and nothing can bring it back. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · DETERMINANT · INVERTIBILITY · AREA · v3

Unit 4 is not assessed on the AP exam; schools include it where local requirements ask.

the shaded region is the unit square, before and after
Before you start
What you're looking at
The unit square at the origin, about to be pushed into a new shape by a matrix.
The question
Can this matrix's transformation be reversed, and how would you tell?
Step 1 / 12

Read all 12 steps as text
Step 1

A matrix bends the whole plane

A 2 × 2 matrix acts on every point of the plane at once, and the easiest way to watch it work is to send the unit square through and see what the square becomes.

Step 2

Sometimes it flattens onto a line

A different matrix squashes that same square flat: every point of the plane lands somewhere on a single line, so the whole two-dimensional picture has been lost.

Step 3

A flattened plane cannot be undone

To reverse a transformation you have to be able to say, for each point of the image, exactly where it came from — and once two different points have landed on the same spot, no rule can tell them apart again.

Step 4

One number tells the two cases apart

The determinant is worked from all four entries: multiply down the main diagonal, multiply up the other one, and subtract the second product from the first, which for \([[5, 2], [3, 4]]\) gives \(20 - 6 = 14\).

Step 5

The determinant is ad minus bc

Negative entries go into their product before anything is subtracted: here \(bc = (-2)(1) = -2\), and subtracting a negative adds it back, so the answer is \(12 - (-2) = 14\) rather than 10.

Step 6

Determinant zero means no inverse

The matrix that crushed the square has \(4 \cdot 1 - 2 \cdot 2 = 0\), and the inverse formula divides by exactly that number, so the algebra and the picture agree: there is nothing to divide by, and nothing to undo.

Step 7

Swap the diagonal, negate the rest, divide

Three moves build the inverse: swap the two main-diagonal entries, flip the signs of the other two, and divide every entry by the determinant. For \([[3, 1], [5, 2]]\) the determinant is \(1\), so the last move changes nothing here — but leave it out of the habit and every other matrix will punish you.

Step 8

Multiply back and look for the identity

An inverse is defined by what it does, so multiply the two together and look at the answer: \([[3, 1], [5, 2]] \cdot [[2, -1], [-5, 3]] = [[1, 0], [0, 1]]\), ones down the diagonal and zeros elsewhere, which is the identity.

Step 9

The determinant also measures area

The unit square starts with area 1, and after \([[4, 1], [2, 3]]\) has acted on it the slanted image has area \(10\) — the size of the determinant, which is the second job that one number does.

Step 10

Every area is multiplied by |det|

That factor is the same for every region, not just the unit square, so a shape of area \(2\) comes out with area \(2 \times 10 = 20\). A determinant of zero multiplies every area by zero, which is the flattening again.

Step 11

One over each entry inverts nothing

Taking one over each entry of \([[2, 4], [1, 3]]\) gives something that fails the only test that matters: multiplied back it produces \([[5, 1.833], [3.5, 1.25]]\), which is not the identity. The real inverse is \(\frac{1}{2}[[3, -4], [-1, 2]]\), and it passes.

Step 12

One number, two jobs

The determinant answers whether the transformation can be undone and by how much it stretches area, and those two answers are the same fact seen twice: a matrix that leaves no area behind has flattened the plane, and a flattened plane cannot be reversed.

Next in Unit 4: linear transformations, where these matrices are read as the moves they make rather than as tables of numbers.