Linear Algebra, Live
Recap · Reading

What you can now do.

Lesson 6 in one page: a matrix moves the whole plane, and one number, the determinant, says how much it stretches every area and volume. You can now compute that number three ways (ad − bc, pivots, cofactors) and use it for solutions, inverses, areas, volumes and cross products.

Lesson 6 · slide 9Recap
A invertible exactly when det A ≠ 0    det AB = det A · det B    det = ± product of pivots
Key ideas
  1. A matrix moves the whole plane. Column 1 is where 10 lands, column 2 is where 01 lands.
  2. det A is the area or volume factor; the sign says whether space is flipped.
  3. Three rules define it; elimination does not change it.
  4. Compute it from the pivots; cofactors give the explicit formula.
  5. Cramer's rule, A⁻¹ = Cᵀ / det A, areas, volumes and cross products all come from it.
  • §8.1 A matrix moves the whole plane. Graph paper that stretches, turns, slants or flips, but never bends. Two landmarks decide everything: 10 lands on column 1 and 01 on column 2. A turn by θ has columns cos θsin θ and −sin θcos θ.
  • §8.1 Challenge: build a mirror. The mirror across the y-axis sends 10 to −10 and keeps 01. Same size, turned over: det = −1. Two mirrors give back I.
  • §5.1 The determinant as area. The photocopier picture: every area is multiplied by the same number, det A. Read it off the unit square, which lands on the parallelogram of the columns. Negative means flipped, zero means squashed flat and no inverse. In 3D it is the volume of the box made by the columns.
  • §5.1 The three rules. det I = 1, a row swap flips the sign, and det is linear in each row (one row at a time). From them: two equal rows give 0, and elimination steps never change det.
  • §5.1 From the pivots. Push the leaning stack upright: eliminate to U, multiply the pivots, and add one minus sign per row swap. Also det AB = det A · det B, det A⁻¹ = 1 / det A and det Aᵀ = det A.
  • §5.2 Cofactors. Cross out an entry's row and column to get its minor, attach the checkerboard sign + − +, and add entry × cofactor along any row or column. Pick the row with the most zeros.
  • §5.3 Cramer's rule and the inverse. The café prices one at a time: xⱼ = det Bⱼ / det A, with b in column j. The whole inverse is A⁻¹ = Cᵀ / det A. Neat on paper, slow for big systems.
  • §5.3 Areas, volumes and the cross product. A triangle's area is ½ |det| of two edge vectors. A box's volume is |det| of its three edges. u × v stands at a right angle to u and v, and its length is their parallelogram's area. Torque is τ = r × F.

Next lesson: eigenvalues and eigenvectors (§6.1–6.5)

Most vectors change direction when a matrix moves the plane. A few special ones only get longer or shorter. Lesson 7 finds them, and the determinant is the tool that does it.

Read along

Keep reading with the full course

Finish lesson 6 and you will be able to: see a matrix as a move of the plane, and build one from where two arrows land.

Still locked here:

  • The rest of this explanation
  • 2 more examples with step-by-step solutions
  • Five extra members-only problems with worked solutions

$20 once, lifetime access. Lessons 1 to 3 stay free.

Examples

Example 1

Find det 210121012 by elimination.

Show solutionHide solution

Row 2 − ½·row 1 = 03/21. Row 3 − ⅔·row 2 = 004/3. Pivots 2, 3/2, 4/3, so det = 2 · 3/2 · 4/3 = 4.

Exercise Free play: try show(M) with matrices of your own and watch the determinant in the readout. Edit the code and press Run.
slide_9.py Loading Python…
1
Output · Ctrl+Enter runs
Press Run to execute this slide's code. Ctrl+Enter works too.

Questions and comments

Stuck on something, or found a mistake? Ask here and I'll answer. You sign in with GitHub.

The full course

From Ax = b to PCA, by running it

Lessons 1 to 3 are free. Finish all eight and you will be able to:

You get: all 8 lessons with Python labs · every worked example and solution · 5 extra problems per lesson · your progress tracked · answers to your questions · every future update.

$20 once · lifetime access
Continue to checkout →

Already a member? Log in to the course