Visual walkthrough — Linear equations in two variables — graphical and algebraic solutions
We start from the very first idea: what a single equation even looks like.
Step 1 — One equation is a fence of dots that lines up
WHAT. Take one equation, say . A "solution" is any pair of numbers that makes the two sides equal.
WHY. Before we hunt for the crossing point of two lines, we must see clearly that one equation already carries a whole shape's worth of answers — not a single answer.
PICTURE. Below, each blue dot is a pair that works: , , . Notice they don't scatter randomly — they fall on a perfectly straight track.

- ::: the horizontal coordinate we are free to choose.
- ::: the vertical coordinate forced on us once is chosen, so the equation stays true.
- Why straight? ::: Solving for gives — a fixed slope , so equal steps sideways cause equal steps up/down (see Slope-intercept form y = mx + c).
Step 2 — Two equations, and the ONE dot they share
WHAT. Now draw two equations on the same grid:
WHY. One line = infinitely many answers, too vague to be an "answer". A second line usually crosses the first at exactly one dot. That shared dot is the unique pair satisfying both — the thing we actually want.
PICTURE. The lavender line and the coral line cross at one mint dot. That mint dot lives on both tracks at once.

- ::: the three numbers that fix the lavender line's tilt and position.
- ::: the three numbers that fix the coral line.
- the mint dot ::: the pair that makes both equations true simultaneously.
Recall Why "on both lines" is the whole game
A point on line 1 satisfies equation 1. A point on line 2 satisfies equation 2. The crossing point is the only place that manages both — so its coordinates are the solution of the system.
Step 3 — Kill by making its two coefficients twins
WHAT. We want the -coordinate of the crossing. To find it, we make disappear. Multiply equation 1 by and equation 2 by :
WHY this tool — scaling then subtracting? Multiplying a whole equation by a number is legal (both sides grow equally, the line is unchanged — same set of solutions). We choose the scalings so the -terms become identical ( in both). Identical things subtract to zero — that is exactly how we erase a variable. We pick to erase first because then only survives.
PICTURE. Watch the -columns: both are now the same block (mint), ready to cancel. The -columns and constants (coral/lavender) stay distinct.

- ::: scaling equation 1 so its -coefficient becomes .
- ::: scaling equation 2 so its -coefficient also becomes .
- Why these exact multipliers? ::: they force the two -blocks to match, which is the only way subtraction wipes out.
Step 4 — Subtract, and out pops the -formula
WHAT. Subtract the second scaled line from the first. The twin -blocks cancel: Divide by that leftover coefficient:
WHY. After the -blocks vanish, we are left with a single equation in a single unknown — and a one-unknown linear equation is trivially solved by dividing. That division delivers the exact of the crossing point.
PICTURE. The mint -blocks annihilate (shown fading to zero), leaving a clean bar that we split to isolate .

- ::: the coefficient of that survived — call it , the denominator.
- ::: the constant that survived — the numerator for .
- the cancelled ::: gone, because we engineered it to be identical in both lines.
Step 5 — By perfect symmetry, get too
WHAT. Repeat Steps 3–4 but this time kill : scale equation 1 by , equation 2 by , subtract. The -blocks become twins and cancel, leaving
WHY. The two variables play mirror-image roles. Whatever trick isolates isolates if we just swap which coefficient we match. Notice the same denominator appears — because the lines' tilts (not the constants) decide both coordinates.
PICTURE. The bookkeeping is the mirror of Step 3–4: the coral -columns become identical and cancel, the mint survives.

- ::: the numerator for — note the constants now sit where the pair sat before.
- same underneath ::: the crossing point shares one denominator for both coordinates.
Step 6 — The degenerate case: what if ?
WHAT. The formula divides by . Division by zero is forbidden. So we must ask: when is , and what does that look like?
WHY. A formula is only trustworthy once you know exactly where it breaks. is precisely the boundary between "one crossing" and "no crossing / infinite crossings".
PICTURE. means , i.e. — the two lines have equal slope. Equal slope means they are either the same line (mint, overlapping — infinite solutions) or parallel (coral, never touching — no solution). Neither has a single crossing, so the formula correctly refuses to give one.

- ::: the algebra's alarm bell for "no unique crossing".
- same line ::: all three ratios match, — infinitely many shared points.
- parallel ::: the tilts match but constants don't, — zero shared points.
Step 7 — A concrete run, watched end to end
WHAT. Solve and with the boxed formula.
WHY. To see the letters turn into real numbers and land on the crossing dot.
PICTURE. Read off .

Answer . Both checks pass: ✓ and ✓ — and the mint dot in the figure sits exactly where the two lines cross.
The one-picture summary

Two lines → engineer twin coefficients → subtract to erase one variable → divide → both coordinates fall out with a shared denominator ; and is the "no unique crossing" siren.
Recall Feynman retelling — the whole walkthrough in plain words
I have two straight roads. Each road is all the pairs that make its own equation true, so alone a road is too vague — infinitely many answers. Where the two roads cross is the one spot that obeys both rules at once; that's my answer. To compute it without drawing, I play a trick: I stretch each equation by just the right number so the -parts become identical, then I subtract one from the other — the identical -parts vanish and I'm left with a plain "(number) times = number", which I solve by dividing. Doing the mirror trick (stretching to match the -parts) gives . Both answers share the same bottom number , which is made only from the road tilts. If turns out to be zero, the tilts were equal — the roads are the same road (touch everywhere) or parallel train tracks (never touch) — so there is no single crossing, and the formula rightly refuses to divide by zero.
Connections
- 2.1.09 Linear equations in two variables — graphical and algebraic solutions (Hinglish)
- Slope-intercept form y = mx + c
- Simultaneous equations by matrices & determinants
- Consistency and rank of linear systems
- Graphing lines and intercepts
- Word problems — age, boat-stream, mixture
- Linear inequalities in two variables