Many problems hide a linear system: several unknown amounts, and several conditions that each add them up in a fixed way. Name the unknowns, write one linear equation per condition, and let elimination do the rest.
Recognize the problem
Trigger words: how much of each, mixture, total, flow into and out of, junction, balance the equation, passes through the points. Several unknown quantities are tied together by conditions that are sums of multiples of them, with no products or powers of the unknowns.
Set it up
1. UnknownsGive each unknown quantity its own letter, with units: litres of each solution, cars per hour on each street, molecules of each compound, coefficients of a polynomial.
2. EquationsWrite one equation per condition: per total, per junction (inflow equals outflow), per chemical element (atoms on the left equal atoms on the right), per given point.
3. Standard formMove every unknown to the left side and every number to the right, in the same order of unknowns in every equation.
4. MatrixWrite the augmented matrix. Count equations and unknowns: fewer independent equations than unknowns means free variables.
5. ConstraintsNote what the answer must satisfy: amounts not negative, flows within street capacity, whole numbers of molecules.
Interpret the result. Translate each unknown back into words with its units. With a free parameter, say which values are allowed (for example t≥0 for a flow) or pick the one the question wants (the smallest whole numbers in a chemical equation). Put the answer back into the original wording to check every condition.
Worked examples
Example 1 · a mixture
2 unknowns
mix 10% and 30% acid to get 20 L of 25% acid
x, y litres of each
x+y=20,0.1x+0.3y=0.25⋅20=5
volume, then pure acid
R2−0.1R1: 0.2y=3
eliminate x
y=15 L of 30%, x=5 L of 10%
Example 2 · a parabola through three points
interpolation
y=ax2+bx+c through (1,2),(2,3),(3,6)
one equation per point
a+b+c=2,4a+2b+c=3,9a+3b+c=6
unknowns a,b,c
subtract in pairs: 3a+b=1,5a+b=3
c eliminated
a=1,b=−2,c=3: y=x2−2x+3
check (3,6): 9−6+3
Example 3 · traffic around a block
network flow
loop A→B→C→D→A, cars/h: 400 in at A, 300 out at B, 200 in at C, 300 out at D
Each condition in the story removes one degree of freedom from the unknowns. With as many independent conditions as unknowns the answer is pinned to one point. A network or a chemical equation usually has one condition fewer than it seems, because the last junction or element is implied by the others, so a free parameter survives and the real-world constraints decide its value. The linear system solutions visualizer shows the three possible outcomes.
Common mistakes
Mixing percentages and amounts
✗10x+30y=25
✓equate amounts of pure acid: 0.1x+0.3y=0.25⋅20
Inflow and outflow on the wrong sides
✗at A: x1+x4=400
✓in =400+x4, out =x1, so x1−x4=400
Stopping at a fractional chemical answer
✗choosing d=1 and answering a=41,b=45,c=43
✓multiply through by 4: a=1,b=5,c=3,d=4
Too few points for the degree
✗a unique parabola through two points
✓a degree-n polynomial needs n+1 points with different x values