Visual walkthrough — Cramer's rule
We will build up one idea at a time. First we agree on what the raw objects even mean.
Step 1 — What "" is really saying
WHAT. We have a system of equations. Written compactly it is Here is a square grid of numbers with rows and columns; is the list of unknowns we want; is a known target vector.
WHY read it by columns. The single most important fact for everything below: multiplying by is the same as mixing the columns of , using each as "how much of column ": where means "the -th column of ." So the question "solve " is literally "how much of each column do I stir together to land on ?"
PICTURE. Below, the two columns of a matrix are drawn as arrows. Scaling them by and and adding tip-to-tail reaches .

Step 2 — Determinant = the area (volume) of the column-box
WHAT. The determinant is a single number attached to a square matrix. Geometrically it is the signed area (in 2D) or signed volume (in 3D) of the box (parallelogram) whose edges are the columns .
WHY we care. Cramer's rule is a ratio of two such areas. So before we can divide areas, we must picture them. The word signed matters: if you list the columns in swapped order, the area comes out with a minus sign. Keep that in mind — it is the "alternating" behaviour we lean on later.
PICTURE. The parallelogram spanned by and ; its area is .

Step 3 — Build the clever helper matrix
WHAT. Start from the identity matrix (all s on the diagonal, s elsewhere — its columns are the standard arrows pointing along each axis). Now overwrite only the -th column with the unknown vector . Call the result . For , : Every column is a plain axis-arrow , except column , which is the orange unknown .
WHY invent this? Two reasons that pay off in the next steps: (1) its determinant is absurdly simple, and (2) when we multiply the axis-columns will "pick out" columns of untouched, while the orange column becomes . It is engineered to swap exactly one column for .
PICTURE. The box of : two edges are still unit axis-arrows; only the middle edge is tilted to .

Step 4 — Why (read it off the picture)
WHAT. The determinant of equals a single coordinate of the unknown:
WHY. Look at the box in Step 3. Every edge except the -th is a unit axis-arrow of length , mutually perpendicular. They form a unit "floor." The orange column is the only slanted edge; its height above that floor is precisely its -th coordinate (the sideways parts of lie flat inside the floor and add no volume). Volume floor-area height .
Term by term:
PICTURE. The orange edge decomposed: its "flat" part slides along the floor (no volume), only its perpendicular part sets the height.

Recall
Why do the other components of not affect ? ::: They lie inside the unit floor spanned by the other axis-columns, so they only shear the box — shearing never changes volume; only the perpendicular height counts.
Step 5 — The heart:
WHAT. Multiply by our helper . The rule " times a matrix = applied to each column separately" means we hit each column of with :
- A pure axis-column satisfies — it simply selects column of , unchanged.
- The orange column gives (our system!).
So the product is with every column left alone except the -th, which has become . That is exactly the matrix the parent note calls :
WHY this is the trick. We never had to hand-edit a column. Matrix multiplication did the swap for us, and it swapped a column (not a row) — because acts on columns. This is precisely why the common mistake of "replace a row" is wrong.
PICTURE. Three column-slots: the unchanged pass through; the middle slot's is transformed into .

Step 6 — Determinants multiply, so cancel to get the answer
WHAT. Take the determinant of both sides of , using the fact that determinants multiply, : Substitute from Step 4:
WHY divide. If (and only if) we may divide both sides by it, isolating the one unknown: Read the picture as areas: is the factor by which the original box must grow to become the swapped box . That growth factor is the unknown.
PICTURE. Two nested boxes: the original (area ) and the swapped one (area ); their ratio is the height .

Step 7 — The degenerate case:
WHAT. Everything above needed the one forbidden move — dividing by — to be legal. When that step is illegal, and Cramer's rule does not apply.
WHY. means the column-box is flat: the columns are squashed into a lower-dimensional space (a line, or a plane). Two sub-cases:
- If lies inside that flat span, infinitely many mixes reach it — infinitely many solutions.
- If pokes out of the flat span, no mix can ever reach it — no solution.
Either way there is no unique to read off, and indeed the formula tries to compute . Use Gaussian Elimination instead; see also Invertible Matrix Theorem for why is exactly the "unique solution" condition.
PICTURE. A collapsed (zero-area) column-box: the two column-arrows are parallel, so off the line is unreachable.

Step 8 — Sanity check: linearity in
WHAT. Predict what doubling the target does, then verify.
WHY it must hold. In , only the -th column is ; the determinant is linear in that column (multilinearity, Step 2). Doubling that one column doubles , while (which has no in it) is unchanged. So Every unknown doubles — exactly what a linear system should do. This is a free correctness check you can run on any answer.
PICTURE. Same box, but the swapped edge doubles the swapped area, hence doubles the height .

The one-picture summary
The whole derivation on a single canvas: build , multiply by to swap a column into , take determinants (which multiply), and the ratio of the two boxes is the unknown.

Recall Feynman retelling — say it to a friend
You want to know how much banana goes into a smoothie. Picture your three ingredients (banana, apple, milk) as three arrows; the "box" they make has a certain size — that's . Now build a trick container: leave apple and milk as plain unit measuring-cups, but pour the whole finished smoothie into the banana slot. When you run the machine () on this trick container, the plain cups just hand back the real ingredients untouched, and the smoothie-slot turns into the smoothie — so you get a new box whose size is . The magic (from Step 4) is that the trick container's own size is exactly the banana amount, and sizes multiply when you run the machine. So (size of banana) × (size of original box) = (size of swapped box), i.e. . Divide, and the banana count falls out. If the original box is flat — the ingredients were secretly copies of each other — there's no single recipe, and you can't divide by zero.
Connections
- Determinants — every box in every figure is a determinant.
- Multilinear and Alternating Maps — the "scale a column / equal columns ⇒ 0" rules of Steps 2, 4, 8.
- Cofactor Expansion — how you actually compute each .
- Matrix Inverse — the same idea packaged as .
- Gaussian Elimination — what to do in the Step 7 degenerate case.
- Invertible Matrix Theorem — the unique-solution world where Cramer lives.