Solving three equations in three unknowns
What a system is
- A system of three linear equations in three unknowns looks like
- A solution is a triple satisfying all three equations at once.
- Each equation is a plane in three-dimensional space, and the solutions are the points where all three planes meet.
- Three unknowns generally need three independent equations. Fewer cannot pin down a point; more can only agree or contradict.
The strategy: reduce to
- This is the whole method, and it is worth stating before you start writing:
- Eliminate one variable — say — from two different pairs of equations.
- You now have two equations in the two remaining unknowns.
- Solve that system the usual way.
- Back-substitute into any original equation to find the third unknown.
- Check in the equation you did not use for the back-substitution.
- Use two DIFFERENT pairs. Combining (1)&(2) and then (1)&(2) again produces the same information twice and leaves you stuck.
The elimination step
- To eliminate a variable from a pair of equations:
- Multiply one or both equations so that the coefficients of that variable match in size.
- Subtract if the signs are the same, add if they are opposite.
- Label the result as a new equation.
- Choose the easiest variable to eliminate, not necessarily :
- Look for a variable with a coefficient of 1, which needs no multiplication.
- Look for coefficients that are multiples of each other.
- Look for a variable missing from one equation — that equation is already half-eliminated.
Worked through — a complete solve
Solve
- Choose to eliminate , since (1) and (3) both have coefficient 1.
- :
- , so — call this (4)
- :
- — call this (5)
- Solve (4) and (5). Substituting into (5): , so , and .
- Back-substitute into (1): , so .
- Check in (2), the equation not used for the back-substitution: ✓
Subtracting negatives
- This is where most errors happen. Write the subtraction out in full, with brackets:
- Every sign inside the second bracket flips. Doing it in your head produces an answer that looks right and is not.
Checking your solution
- Substitute the full triple into ALL THREE original equations, not just the one you back-substituted into.
- A solution that satisfies two equations and fails the third is not a solution — and it is exactly what an arithmetic slip produces.
- The check takes three lines and is worth doing every time.
Worked ExampleA fertiliser blend
A supplier makes three fertiliser blends. Each 100 kg of Blend A contains 20 kg nitrogen, 10 kg phosphorus and 5 kg potassium; Blend B contains 10, 20 and 10; Blend C contains 5, 10 and 30. A farmer needs a mix containing exactly 275 kg of nitrogen, 300 kg of phosphorus and 425 kg of potassium.
How many hundred-kilogram units of each blend should be ordered?
Step 1 — Define the variables
Step 2 — Form one equation per nutrient
Nitrogen — 20 kg per unit of A, 10 per unit of B, 5 per unit of C, total 275:
Phosphorus:
Potassium:
Step 3 — Simplify before eliminating
Divide (1) by 5:
Divide (2) by 10:
Divide (3) by 5:
Step 4 — Eliminate from the first pair
:
Expand the subtraction in full:
Step 5 — Eliminate from a DIFFERENT pair
:
Step 6 — Substitute back to find
Into (4):
Step 7 — Find
Into (2′):
Step 8 — Check in ALL THREE original equations
Nitrogen (1):
Phosphorus (2):
Potassium (3):
All three balance, so the solution is correct.
Step 9 — Interpret in context
All three values are positive, so the mix is physically possible — a negative value would have meant the nutrient targets could not be met with these three blends.
A practical note. The answers for A and B are not whole units. Fertiliser is measured continuously, so 833 kg is a perfectly orderable quantity — but if the blends were only sold in sealed 100 kg sacks, no exact solution would exist and the farmer would have to choose the nearest whole combination and accept a small nutrient error.