A guided walk through Kenji Hiranabe's graphic notes on Gilbert Strang's Linear Algebra for Everyone. One idea runs through all of it: matrix arithmetic is not rows-times-columns dot products — it is linear combinations of columns and sums of rank-1 pieces. Read this alongside the interactive sims in the hub.
The same array of numbers, read at four zoom levels.
Before any multiplication, notice that an \(m\times n\) matrix \(A\) can be seen as four things at once. Which view you pick decides which formula feels natural.
A single object — a map that sends vectors to vectors.
Individual entries \(a_{ij}\). The bookkeeping view.
Each column is a vector in \(\mathbb R^m\). This is the view that makes \(A\mathbf x\) a linear combination.
Each row is a vector in \(\mathbb R^n\). This is the view behind the dot-product formula.
The dot product, and its overlooked twin: the outer product.
Row times column → a single number. Measures alignment; zero means perpendicular.
Column times row → a whole rank-1 matrix. This is the building block of every factorization further down.
Hiranabe's key remark: knowing the outer product (a column times a row) is what unlocks \(CR\), \(LU\), \(QR\), and the \(\mathrm{SVD}\) — each rebuilds a matrix as a sum of rank-1 pieces.
The single most important re-framing in the whole subject.
Each output entry is a dot product of a row with \(\mathbf x\). How you first learn it. Setting the result to 0 — every row perpendicular to \(\mathbf x\) — defines the null space \(N(A)\).
\(A\mathbf x\) is a linear combination of the columns of \(A\), weighted by the entries of \(\mathbf x\). Every such output lives in the column space \(C(A)\).
Once \(A\mathbf x\) = combination of columns becomes automatic, the four fundamental subspaces stop being definitions to memorize and become obvious.
▶ Sim: From Wheels to Motion — Ax as a column combinationEverything a matrix can and cannot do, in four spaces.
A row vector times a matrix (\(\mathbf y^{\mathsf T}A\)) mirrors the column story: outputs fill the row space \(C(A^{\mathsf T})\); the solutions of \(\mathbf y^{\mathsf T}A=\mathbf 0\) form the left-null space \(N(A^{\mathsf T})\). The four fit together as two perpendicular pairs:
The rank \(r\) is the shared dimension of the row and column spaces — they are always equal, a fact the \(A = CR\) factorization makes visible.
"Matrix × Vector" extended one step. Same four viewpoints.
The product \(AB = C\) can be computed four equivalent ways — and the fourth is the one that matters most for factorizations:
| Way | Reading |
|---|---|
| rows × cols | Each \(c_{ij}\) is a dot product (row \(i\) of \(A\)) · (column \(j\) of \(B\)) — the schoolbook rule. |
| A × cols of B | Each column of \(C\) is \(A\) times a column of \(B\) (a combination of \(A\)'s columns). |
| rows of A × B | Each row of \(C\) is a row of \(A\) times \(B\) (a combination of \(B\)'s rows). |
| Σ cols × rows | Sum of rank-1 matrices: column \(k\) of \(A\) times row \(k\) of \(B\), added up. The factorization view. |
Four recurring shapes that make the factorizations feel inevitable.
Multiplying by a diagonal on the right scales each column of a matrix. A column operation.
Multiplying by a diagonal on the left scales each row. A row operation.
The shape \(X\Lambda X^{-1}\) that appears when you solve \(\dfrac{d\mathbf u}{dt}=A\mathbf u\) or \(\mathbf u_{n+1}=A\mathbf u_n\): decompose the start into eigenvectors, evolve each, recombine.
A diagonal in the middle: \(X\Lambda X^{-1}\) and \(U\Sigma V^{\mathsf T}\) both expand into a sum of rank-1 terms weighted by eigen/singular values.
The spine of the book. Each writes A as a product — and as a sum of rank-1 pieces.
| Factorization | What it reveals |
|---|---|
| \(A = CR\) | Rank. \(C\) keeps the independent columns; \(R\) is the row-reduced echelon form with its zero rows dropped. Proves column rank = row rank. |
| \(A = LU\) | Elimination. Gaussian elimination as lower-triangular × upper-triangular. Peel off one rank-1 layer per pivot. |
| \(A = QR\) | Orthogonalization. Gram–Schmidt turns the columns of \(A\) into orthonormal columns \(Q\), keeping \(C(A)=C(Q)\); \(R\) is triangular. |
| \(S = Q\Lambda Q^{\mathsf T}\) | Spectral theorem. A symmetric \(S\) has real eigenvalues (in \(\Lambda\)) and orthonormal eigenvectors (in \(Q\)). Sum of rank-1 projections. |
| \(A = U\Sigma V^{\mathsf T}\) | SVD. Every matrix, rectangular included: rotate (\(V^{\mathsf T}\)), stretch by singular values (\(\Sigma\)), rotate (\(U\)). |
The last two share pattern P4 — a diagonal sandwiched between orthogonal matrices — and both expand as
The SVD is the natural capstone: \(\sigma_1,\sigma_2,\dots\) are the semi-axes of the ellipse the unit sphere becomes under \(A\). For a robot Jacobian that ellipse is the manipulability ellipsoid, and \(|\det A|=\sigma_1\sigma_2\cdots\) is its volume (up to the constant volume of the unit ball) — connecting SVD straight back to the determinant.
▶ Sim: SVD & the Manipulability Ellipse — rotate · stretch · rotate ▶ Step 16: explore symmetric and positive definite matricesRead a concept here, then go move it in the matching simulation.