The determinant
By Amiro
What the determinant of a matrix is: the factor by which its map scales every area. A negative determinant means the plane is flipped, and zero means it is squashed flat, which is exactly when a system no longer has one solution.
A lesson of Linear Algebra
Transcript
- 0:00 Last time, we did one map after another, and watched the little square between i hat and j hat change its shape. But what about its size? When a map moves the plane, what happens to areas?
- 0:13 Let's take our matrix A. The unit square, with sides i hat and j hat, has area one. Under A, it becomes a parallelogram, with sides along A's columns, two, one and one, two. Measured on the screen, its area is three. So the map has multiplied the square's area by three.
- 0:33 And it's not just this square. Every square of the grid becomes the same parallelogram, so every area in the plane is multiplied by three. This factor is called the determinant of A. The determinant of A is three.
- 0:47 There's a formula for it. For a two by two matrix with rows a, b and c, d, the determinant is a times d, minus b times c. For A, that's two times two, minus one times one: three, the same as we measured.
- 1:04 Your turn. What will the shear S, with rows one, one and zero, one, which slants the plane, do to areas? Pause the video, and work it out, from the picture or with the formula.
- 1:21 One times one, minus one times zero, is one. The shear slants the square into a parallelogram, but its area stays one: same base, and same height.
- 1:32 Now try M, with rows minus one, zero and zero, one. It sends i hat to minus one, zero, and leaves j hat alone. Watch the square. On the way it flattens for an instant, and then opens out on the other side, flipped, like a mirror image. M itself squashes nothing. Minus one times one, minus zero times zero, is minus one. The area is still one, but the minus sign says the plane has been flipped.
- 2:02 And here's one we'll call P: rows two, four and one, two. Watch. Its columns, two, one and four, two, lie along one line, so the whole plane is squashed flat onto that line. The square has no area left. Two times two, minus four times one, is zero.
- 2:23 This is why the determinant matters for equations. Take A again: its determinant is three. Nothing is squashed, and x, our answer, is the only arrow that lands on b: A x equals b has exactly one solution. Now take P, whose determinant is zero, and start again from the plain grid. Here are three points on one dashed line. P squashes the plane onto its line, and the whole dashed line lands on one spot, minus two, minus one. So a point on P's line is reached from infinitely many points. A point off the line, like this one, is never reached: no solution. Just like the two lines in lesson two: one crossing, none, or infinitely many.
- 3:08 So here's the picture to keep. The determinant is the factor by which a map scales areas: A's is three. Its sign says whether the plane is flipped, and zero means squashed flat. And only a nonzero determinant gives a system exactly one solution.
- 3:25 When the determinant isn't zero, nothing gets squashed. So can we run the map backwards, and undo it? That's next time.
More explanations on Sifr