Determinants
Compute 2 × 2 and 3 × 3 determinants, interpret them as signed area and volume scaling, and use their properties under row operations and products.
Welcome back!
Step 1 of 12Learn
One number that tells a lot
Take the unit square with corners at (0, 0), (1, 0), (0, 1) and (1, 1). Apply the matrix A = [3 1; 0 2]. The corner (1, 0) moves to (3, 0), the first column of A, and (0, 1) moves to (1, 2), the second column. The square becomes a parallelogram with base 3 and height 2, so its area is 6.
Compute ad − bc for A: 3·2 − 1·0 = 6. That's not a coincidence. The determinant is the factor by which a matrix scales area. Every shape, not just the square, has its area multiplied by |det A|.
For a 2 × 2 matrix:
det [a b; c d] = ad − bc.
The sign carries meaning too. A positive determinant preserves orientation: going counterclockwise around the square, you also go counterclockwise around the image. A negative determinant flips orientation, like a mirror image. For example, the reflection [1 0; 0 −1] has determinant −1: areas are unchanged but the picture is flipped.
And zero means the matrix flattens the plane onto a line or a point, so every area becomes 0. That's exactly why a zero determinant means no inverse: once space is flattened, you can't unflatten it.
In 3D, the determinant of a 3 × 3 matrix is the factor by which it scales volume, and the same sign and zero interpretations hold.
Step 2 of 12Practice · Work it out
A matrix sends a triangle of area 5 to a new triangle. If the matrix is [2 3; 1 4], what is the area of the new triangle?
Step 3 of 12Try the calculator
Determinant and area of a 2 × 2 transformation
Enter A = [a b; c d]. The columns (a, c) and (b, d) are where the unit square's edges land. The determinant gives the signed area of the parallelogram they span. Find entries that make the determinant 0, and notice that the columns become parallel.
- Determinant ad − bc
- 6
- Area of the image of the unit square
- 6
- Area of the image of a circle of radius 1
- 18.8496
Step 4 of 12Practice · Diagram
What the determinant says about a transformation
A matrix flattens the whole plane onto a single line. Tap its determinant.
Tap the shape that answers the question, then press Check.
- det = −2
Doubles areas and flips the plane over, like a mirror.
- det = 0
Squashes the plane onto a line or a point: not invertible.
- det = 0.5
Halves every area.
- det = 1
Preserves area, as rotations and shears do.
- det = 2.5
Multiplies every area by 2.5.
Step 5 of 12Learn
3 × 3 determinants
For a 3 × 3 matrix, use cofactor expansion along the first row. Each entry is multiplied by the determinant of the 2 × 2 matrix left after deleting its row and column, with signs alternating +, −, +:
det [a b c; d e f; g h i] = a(ei − fh) − b(di − fg) + c(dh − eg).
Example. det [2 0 1; 1 3 2; 1 1 1]:
- 2·(3·1 − 2·1) = 2·1 = 2
- −0·(…) = 0
- +1·(1·1 − 3·1) = −2
Total: 2 + 0 − 2 = 0. This matrix is singular. Sure enough, column 3 is the average of columns 1 and 2: ((2 + 0)/2, (1 + 3)/2, (1 + 1)/2) = (1, 2, 1). Its columns lie in a plane, so the volume they span is 0.
You can expand along any row or column, using the sign pattern of a checkerboard (+ in the top-left corner). Choosing a row or column with many zeros saves work, which is why the 0 above was welcome.
For triangular matrices (all zeros below or above the diagonal), the determinant is simply the product of the diagonal entries. det [2 5 1; 0 3 7; 0 0 4] = 2·3·4 = 24. That fact powers the efficient method: row reduce to triangular form, keeping track of how each operation changes the determinant.
Cofactor expansion of an n × n matrix takes roughly n! steps, which is hopeless for n = 20. Elimination takes roughly n³, which a computer handles instantly.
Step 6 of 12Practice · Work it out
Compute det [1 2 0; 3 1 2; 0 1 1].
Step 7 of 12Learn
How row operations change the determinant
Since row reduction is the fast way to compute determinants, you need to know what each operation does:
- Swapping two rows multiplies the determinant by −1.
- Scaling a row by k multiplies the determinant by k.
- Adding a multiple of one row to another doesn't change the determinant at all.
Example. det [2 4; 3 1]. Factor 2 out of row 1: 2·det [1 2; 3 1]. Then R2 − 3R1 gives [1 2; 0 −5], which is triangular with determinant −5. So the original determinant is 2·(−5) = −10. Check with ad − bc: 2 − 12 = −10.
Other key properties:
- det(AB) = det A · det B. Scaling area by one matrix then another multiplies the factors.
- det(A⁻¹) = 1/det A. Undoing a transformation undoes its scaling.
- det(Aᵀ) = det A.
- det(cA) = cⁿ det A for an n × n matrix, because every one of the n rows gets scaled. Doubling a 3 × 3 matrix multiplies its determinant by 8, not 2.
- If two rows are equal, or a row is all zeros, the determinant is 0.
What does not hold: det(A + B) is generally not det A + det B. The determinant is multiplicative, not additive.
Step 8 of 12Practice · Select all that apply
A and B are 3 × 3 matrices with det A = 2 and det B = −3. Which statements are true? Select all that apply.
Select all that apply.
Step 9 of 12Compare
Row operations and the determinant
| Aspect | Effect on det | Example |
|---|---|---|
| Swap two rows | Multiply by −1 | det 5 becomes −5 |
| Scale one row by k | Multiply by k | Scale a row by 3: det 5 becomes 15 |
| Add a multiple of one row to another | No change | det 5 stays 5 |
| Reach triangular form | det = product of the diagonal | Diagonal 2, 3, 1: det 6 |
Step 10 of 12Note
Step 11 of 12Practice · True or false
If two rows of a square matrix are identical, its determinant is 0.
Step 12 of 12Practice · Choose one
A 4 × 4 matrix A has det A = 3. What is det(2A)?
Lesson complete!