Visual walkthrough — Solving 2×2 systems using Cramer's rule
Step 1 — Two rules about two secret numbers
WHAT. We are hunting two hidden numbers. Call the first one and the second one . Two "rules" tie them together:
Here are just known numbers the problem gives us. The letters are the unknowns. The symbol means "the left side and right side are the same amount."
WHY. Each rule alone allows many pairs . Only together do they pin down one answer — so we must use both.
PICTURE. Each rule draws a straight line on the flat plane whose across-axis is and up-axis is . A point sits on a line exactly when it obeys that line's rule. The pair we want lies on both lines — their crossing point.

Step 2 — Package the numbers into a grid (a matrix)
WHAT. Stack the coefficients into a grid and the unknowns/constants into columns:
A matrix is just a rectangle of numbers. This one is : two rows, two columns.
WHY. Writing lets us talk about the whole system as one object — and, crucially, it makes the columns visible. The left column of is "'s home"; the right column is "'s home." Remember that — the whole trick will be swapping a column.
PICTURE. Colour the first column (the -column) cyan, the second (the -column) amber.

See Matrix form of linear equations Ax=b for how this multiplication rebuilds the two original rules.
Step 3 — Kill so stands alone
WHAT. To isolate , we make the -terms cancel. Multiply the first rule by and the second by :
WHY these multipliers? We want both -coefficients to become the same number, . Multiplying rule 1 by turns its into ; multiplying rule 2 by turns its into . Same number on both — ready to subtract.
PICTURE. Scaling a rule by a constant does not move its line (both sides grew equally); it only relabels it. So the crossing point is untouched — we are just choosing convenient labels.

Step 4 — Subtract, and meet the determinant
WHAT. Subtract the second scaled rule from the first. The identical terms vanish:
WHY. With gone, is finally alone — divide and we have it. But look at the two clumps: each is a main-diagonal product minus anti-diagonal product. That pattern is exactly a determinant.
So:
PICTURE. Watch : it is the matrix with its first column (the -column) swapped for the constant column . The 's stayed put; the 's were kicked out for the 's.

Step 5 — Do the same dance for
WHAT. Repeat, but now cancel instead. Multiply rule 1 by , rule 2 by , subtract:
WHY. By symmetry, the bottom is the same (the geometry that decides "do the lines cross" does not care which unknown we chase). The top, , is with its second column (the -column) swapped for .
PICTURE. Mirror of Step 4: this time the amber -column is evicted and the constants move in; the cyan -column stays.

Step 6 — Ride it through one real example
WHAT. Solve
WHY compute first? If were we'd stop — no unique answer to find.
PICTURE. Both lines drawn; the amber dot at is the unique crossing.

Step 7 — The degenerate case: when
WHAT. means , i.e. the two coefficient rows are proportional — the two lines are parallel. Then Step 4 gave us , which cannot be divided. Two sub-cases:
- and or → parallel distinct lines → no solution. Example: gives .
- → the two lines are identical → infinitely many solutions. Example: gives ; every point on works.
WHY. is the signed area of the parallelogram spanned by the coefficient rows. Parallel rows fold that parallelogram flat — area — so "how sharply do the lines cross" has no answer.
PICTURE. Left: parallel-distinct (a visible gap, no meeting). Right: coincident (one line drawn twice, meeting everywhere).

See Consistency of linear systems for the full classification.
The one-picture summary
Everything at once: two lines meet at ; the coefficient grid on the side; the three swap-grids , , ; and the two little fractions that pop out the answers. Follow the arrows.

Recall Feynman retelling (say it to a 12-year-old)
Two friends each give you a straight-line rule about two secret numbers. Drawn on paper, the two lines usually cross at one dot — that dot's across-value is , its up-value is . To find without drawing, play a criss-cross game: take the coefficient grid, cover 's column, slide the answer numbers in, and do "down-diagonal times, minus up-diagonal times." That's the top number, . Do the same criss-cross on the untouched grid — that's the bottom number, . Divide: . Repeat with the other column covered to get . If the bottom number comes out , the two lines are secretly parallel — they either never meet (no answer) or are the same line (endless answers). Either way there's no single dot, so the division refuses to happen.
Recall checks
Bottom of both fractions is always which determinant?
To get , which column do you replace with the constants?
Rule for a determinant?
What does mean geometrically?
with ?
?
Connections
- Solving 2×2 systems using Cramer's rule — the parent this page unpacks visually.
- Determinant of a 2×2 matrix — the down-minus-up engine used in every step.
- Matrix form of linear equations Ax=b — Step 2's packaging.
- Inverse of a 2×2 matrix — hides the same factor.
- Consistency of linear systems — Step 7's classification.
- Cramer's rule for 3×3 systems — same column-swap idea, one dimension up.