A7 · Lesson 30 · Determinants
One number that says whether a system can be solved
Before you start eliminating, it would be good to know whether a system has a unique answer at all. One number tells you: the determinant. It also has a picture. It's how much the matrix scales areas, and when it's zero, the matrix squashes the plane flat and can't be undone.
Play
- The parallelogram is the image of the unit square (dashed), with sides given by the matrix's columns. The strip shows the determinant.
- Compare the determinant with the parallelogram's area as you change the entries. When is the determinant negative?
- Make the determinant exactly zero. What shape does the square become?
Predict
A matrix doubles every length in the plane: . What is its determinant?
- Doubling lengths in both directions multiplies every area by , and the determinant is that area factor: . In three dimensions, doubling every length would multiply volumes by 8, and the 3 × 3 determinant would be 8.
Name it
The determinant is the area factor
For a 2 × 2 matrix,
is the signed area of the parallelogram its columns make: the factor by which it scales every area. Negative means the map flips the plane over, like a mirror.
Bigger matrices. The 3 × 3 determinant scales volumes. It can be computed by expanding along a row,
but in practice it's the product of the pivots from elimination (with a sign change for each row swap). A triangular matrix's determinant is simply the product of its diagonal.
Determinant zero means singular. If , squashes space into a lower dimension: different inputs land on the same output, so has either no solution or infinitely many, and has no inverse. If , every has exactly one solution.
The 2 × 2 inverse shows the determinant dividing everything:
Useful rules: (scale, then scale again), and .
In circuits. A floating circuit, with no ground, gives a conductance matrix whose rows each add to zero: every current leaving one node arrives at another. Then times the all-ones vector is zero, so squashes that direction flat, and . Picking a ground node removes one row and column and makes the determinant nonzero.
Worked example
What area does give the unit square?
Show the solution
- Determinant.
- Read it as area. The unit square becomes a parallelogram of area 10, with sides along the columns and .
Answer an area of 10.
Worked example
What does mean?
Show the solution
- Look at the columns. The columns and are parallel.
- What the matrix does. It squashes the plane onto a line, so it has no inverse.
- In a circuit. For a circuit's nodal matrix this signals an equation that isn't independent of the others, such as a missing ground.
Answer the matrix flattens the plane onto a line and has no inverse; in a nodal matrix, it points to a dependent equation such as a missing ground.
Worked example
Find the area of the triangle with corners , and .
Show the solution
- The parallelogram on the two edges. The edges from the origin, and , span a parallelogram of area
- Halve it. The triangle is half of it: 5.5.
- The sign. The sign of the determinant, positive here, says is counterclockwise from . Graphics and layout tools use that sign to tell which side of an edge a point is on.
Answer the triangle's area is 5.5.
Check
What is ?
Check
What is the determinant of ?
Check
What is the top-left entry of the inverse of ?
Check
A circuit's conductance matrix has every row adding to zero. What does that tell you?
Check
The matrix .
(a)
What is the area of the triangle with corners , and ?
(b)
What is ?
Check
Work with .
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is ?
Explain why
Why does a zero determinant mean a system can't have exactly one solution?
The determinant is the factor by which A scales areas or volumes. If it's zero, A squashes space flat into a line or plane, so different input vectors land on the same output. Then an output on that line is reached by many inputs, giving infinitely many solutions, and an output off it is reached by none. Either way there's no unique solution, and A can't be inverted.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.