Math Bytes · Linear algebra · Episode 4 · Matrix transformations
The determinant
The determinant of a 2×2 matrix is the factor by which it multiplies every area. The matrix with columns (3, 0) and (1, 2) turns the 1 × 1 square into a parallelogram with base 3 and height 2, so every area gets 6 times bigger, and ad − bc = 3 × 2 − 1 × 0 = 6. A negative determinant means the plane got flipped; zero means it got squashed onto a line, which happens when the columns are dependent.
Watch the unit square
Last lesson, the matrix with rows 3 1 and 0 2 moved the grid:
`` [ 3 1 ] [ 0 2 ] ``
Its columns are (3, 0) and (1, 2), so (1, 0) lands on (3, 0) and (0, 1) lands on (1, 2).
Now watch the little 1 × 1 square at the origin, with corners (0, 0), (1, 0), (1, 1) and (0, 1). Its area is 1.
Worked example: area 1 becomes area 6
After the move, the square's corners land at (0, 0), (3, 0), (4, 2) and (1, 2). That is a slanted shape (a parallelogram) whose sides are the two columns.
- Its base runs along the x-axis from
(0, 0)to(3, 0): base 3. - Its top edge sits at height 2: height 2.
- Area of a parallelogram = base × height =
3 × 2= 6.
So the area went from 1 to 6.
Every shape gets the same factor
Because the matrix moves the grid evenly, every little grid square becomes a copy of that same parallelogram. So every shape in the plane, a circle, a triangle, anything, ends up with 6 times its area. That factor is the determinant: here det = 6.
The shortcut: ad − bc
For the matrix with rows a b and c d, the determinant is
`` det = a × d − b × c ``
Multiply down the main diagonal (a and d), then subtract the other diagonal (b and c). For our matrix, a = 3, b = 1, c = 0, d = 2:
3 × 2 − 1 × 0 = 6 − 0 = 6, the same 6 we got from the picture.
Negative and zero
- det < 0: flipped. A negative determinant means the plane got mirrored (its orientation reversed). Areas still scale by the size of the number: a determinant of −3 flips the plane and triples every area. Example: rows
−1 0and0 1mirror the plane left to right, and(−1)(1) − (0)(0) = −1. - det = 0: flat. A determinant of zero means the whole plane got squashed onto a line, so every shape ends up with zero area. This happens exactly when the columns are dependent (lesson 2): one column is a multiple of the other, so both land on the same line. Example: columns
(1, 3)and(2, 6)give rows1 2and3 6, and1 × 6 − 2 × 3 = 0.
Try it yourself
- Find the determinant of the matrix with rows
2 1and1 3. - A matrix has columns
(2, 4)and(1, 2). What is its determinant, and what does it do to the plane?
(Answers: 1. 2 × 3 − 1 × 1 = 6 − 1 = 5, so every area gets 5 times bigger. 2. Rows 2 1 and 4 2: 2 × 2 − 1 × 4 = 0. The columns are dependent ((2, 4) is 2 times (1, 2)), so the plane is squashed flat onto a line.)
Good to know
- On screen and here, matrix entries are written in rows (
[3 1; 0 2]has rows3 1and0 2), while the columns are the vectors(3, 0)and(1, 2). Watch which is which when you read offa,b,c,d:aandbare the top row. - The size of the determinant (its absolute value) is the area of the parallelogram spanned by the two columns.
- For 3×3 matrices the determinant measures how volume scales, with the same meaning for negative and zero.
- This is lesson 4 of the Linear algebra course. Next up: eigenvectors.
Answer to the comment question
A matrix has columns (4, 2) and (1, 3). What's its determinant? 10. Written in rows, the matrix is 4 1 and 2 3, so a = 4, b = 1, c = 2, d = 3, and ad − bc = 4 × 3 − 1 × 2 = 12 − 2 = 10. It multiplies every area by 10.
Test your knowledge
Quick quiz: The determinant
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- Margalit and Rabinoff, Interactive Linear Algebra (Georgia Tech), "4.3 Determinants and Volumes": the size of the determinant is the area of the parallelogram spanned by the columns and the factor by which the matrix scales areas; the sign tracks orientation
- Margalit and Rabinoff, Interactive Linear Algebra (Georgia Tech), "4.1 Determinants: Definition": the 2×2 formula ad − bc; the determinant is zero exactly when the columns are dependent
- MIT OpenCourseWare, "18.06SC Linear Algebra (Fall 2011)", Gilbert Strang: "Properties of Determinants" and "Determinant Formulas and Cofactors"
- Wolfram MathWorld, "Determinant": definition and 2×2 formula (cross-check)
Video transcript
When a matrix moves space, how much bigger do shapes get?
Last time, columns (3, 0) and (1, 2) moved the grid. Watch the little 1-by-1 square at the origin.
Its area is 1. After the move, it's a slanted shape with base 3 and height 2. Area 6.
Every shape in the plane gets 6 times the area. That factor is the determinant.
The shortcut: a d minus b c. Here, 3 times 2 minus 1 times 0 is 6.
A negative determinant means the grid got flipped. Zero means space got squashed flat onto a line. That happens when the columns are dependent.
Your turn. A matrix has columns (4, 2) and (1, 3). What's its determinant? Comment your answer below!
That's your byte.
More from Linear algebra
- Linear algebra EP1Linear combinations and span
- Linear algebra EP2Linear independence
- Linear algebra EP6Change of basis