Log inStart free
LESSON 2.05 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Inverses and conditioning

Watch a matrix squash the plane, and see its inverse blow up small errors.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 2.05 · MATRIX BAY25 POINTS · B = (1.94, 1.91)
01
Stage 1 of 5 · Apply A
A sends each grid point x to b = Ax. Its columns show where (1, 0) and (0, 1) land.
Explain it simply

On the left is a grid of points. Each point is a vector x. The matrix A moves every point to a new place, b, on the right. The point one step right lands on the tip of column 1. The point one step up lands on column 2.

The 25 grid points map to a slanted grid. The point x (0.66, 0.63) maps to b (1.94, 1.91).

input xmatrix A and its inverseoutput b = Axerror
x planematricesb plane−1−111−2−2−1−11122(1, 0)(0, 1)xa₁a₂bx = (0.66, 0.63)b = Ax = (1.94, 1.91)a₁ = (2, 1) · a₂ = (1, 2)A2112x planematricesb plane−1−111−2−2−1−11122(1, 0)(0, 1)xa₁a₂bx = (0.66, 0.63)b = Ax = (1.94, 1.91)a₁ = (2, 1) · a₂ = (1, 2)A2112
Toy: one 2×2 matrix A · a 5×5 grid of points · one seeded point x
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
b=A x=x1 a1+x2 a2\sy{b}{out}{b} = \sy{A}{param}{A}\,\sy{x}{data}{x} = \sy{x}{data}{x_1}\,\sy{c1}{param}{a_1} + \sy{x}{data}{x_2}\,\sy{c2}{param}{a_2}
(1.941.91)=0.66(21)+0.63(12)\begin{pmatrix}1.94\\1.91\end{pmatrix} = 0.66\begin{pmatrix}2\\1\end{pmatrix} + 0.63\begin{pmatrix}1\\2\end{pmatrix}

b is x₁ times column 1 plus x₂ times column 2.

Common mix-ups

MYTHIf A has an inverse, solving Ax = b is safe.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01Turn column 2 toward column 1. Does the condition number go up or down?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.