Reading and display settings

Appearance

System follows your operating system and keeps following it, even if you change it later. The header's sun, moon and monitor cycle the same three options.

Text size (%) 100%

Default. Scales every text size on the site, equations and tables included.

Reading width 70ch

How much text runs across one line of prose. Narrower is easier to track; wider fits more on screen.

Line spacing 1.6

The leading on body text. Taller leading helps a tired eye stay on the line.

Density

Padding and gaps around controls, cards, and tables — how much breathing room the layout leaves itself.

Motion

System follows your operating system. Reduced removes every transition on this site. Full keeps them on unless your system asks for less.

Parts build on each other, but each one stands alone. A single running example — a 2D point cloud that becomes, in turn, a set of vectors, a transformed grid, a least-squares fit, a covariance ellipse and a PCA basis — threads through the first three acts so you see the same object gain meaning. If you have seen the symbols and never seen the pictures, start at Part 1. If you are here for a specific tool, jump straight to it, and keep the glossary open for notation.

The parts

Part 1
What a vector is (three answers)

An arrow, a list of numbers, and an abstract object you can add and scale — and why they are the same thing.

Part 2
Span, independence and basis

When two vectors reach the whole plane, when they collapse to a line, and what a basis is for.

Part 3
Linear transformations are matrices

The one idea that makes matrices inevitable: a linear map is determined by where it sends the basis vectors.

Part 4
Matrix multiplication is composition

Applying one transformation after another is a matrix product — which is why AB is not BA.

Part 5
The determinant: signed area

The signed area of the unit square after a transformation, and why det = 0 means information is destroyed.

Part 6
Solving Ax = b, and Gaussian elimination

Elimination as a sequence of row operations, and the geometric picture of three planes that meet at a point, a line, or nowhere.

Part 7
Rank, null space, and the four subspaces

Column space, null space, row space and left null space — the four subspaces that rank ties together.

Part 8
Dot product, projection, duality

Projection, cosine similarity, and the duality that a 1×n matrix is really a vector in disguise.

Part 9
Orthonormal bases and Gram–Schmidt

Turning any set of vectors into a perpendicular one, and why QR is what you actually compute.

Part 10
Least squares is a projection

When Ax = b has no solution, the best you can do is project b onto the column space.

Part 11
Cross product and skew-symmetric matrices

The area of a parallelogram, the normal to a plane, and the matrix form of the cross product.

Part 12
Same map, different coordinates

The same linear map looks different in every basis; P⁻¹AP is the change of costume.

Part 13
The arrows that don't turn

Sweep a vector around a circle: almost all of them turn, except the special directions that only stretch.

Part 14
Matrix powers and dynamical systems

Iterating x ← Ax, and why the eigenvalue magnitude decides whether a system settles, cycles or explodes.

Part 15
Symmetric matrices and quadratic forms

Matrices you can rotate to face you: real eigenvalues, orthogonal eigenvectors, and xᵀAx as a shape.

Part 16
Every matrix maps a circle to an ellipse

Every matrix is a rotation, a stretch, and another rotation — the geometry behind everything in Act IV.

Part 17
Low-rank approximation and PCA

Keeping only the biggest singular values, and what PCA really does to a point cloud.

Part 18
The complete picture of Ax = b

One widget for every shape of Ax = b: unique, least-squares, least-norm, and the big picture that unifies them.

Part 19
Conditioning, stability, and cost

Why a tiny change in b can move x a long way, and what each decomposition costs.

Part 20
Rotations, SO(3) and the exponential map

Rotations as matrices, angle-axis and the exponential map, gimbal lock, and why quaternions exist.

Part 21
Jacobians, Hessians and Gauss–Newton

Jacobians, Hessians and the Gauss–Newton step, with the sparsity pattern that makes pose graphs tractable.

Part 22
Linear algebra in ML and AI

Attention as three matrices, and a low-rank update to a weight matrix — the linear algebra a transformer runs on.

Reference

Start at Part 1 →