Algebra
Systems of Equations: Substitution, Elimination, Graphing
One system, solved three ways, with the coefficient patterns that tell you in advance which method will be shortest.
The idea
A single linear equation in two unknowns has infinitely many solutions. Every point on the line works, so the equation on its own pins down nothing. A second equation cuts that infinite set down: you are now asking which points lie on both lines. Generically two distinct lines cross once, and that intersection is the solution.
Only two things can spoil this. If the lines are parallel they never meet and there is no solution. If the two equations secretly describe the same line — and are the same line written twice — then every point on it qualifies and there are infinitely many solutions. Those are the only three outcomes for a pair of straight lines, and recognising which one you are in is half of what the topic is about.
All three methods do the same underlying thing: use one equation to remove a variable from the other, leaving a single equation in one unknown that you already know how to solve. Substitution removes it by replacement, elimination removes it by cancellation, and graphing removes it by looking. The choice is about arithmetic cost, not correctness.
When you need it
The structural cue is two unknowns and two independent pieces of information. In word problems that usually reads as two different totals about the same two quantities:
- A count and a value. Twelve coins worth £2.10 in total, made of 10p and 20p pieces: one equation counts coins, the other counts money.
- A mixture. Two solutions at different concentrations combined to hit a target volume and a target strength.
- Two tariffs compared. Two phone plans with different fixed fees and per-minute rates, asked to find the usage where the cost is identical.
- Distance problems with a current or a wind, where the same craft has two different effective speeds.
- Fitting a line through two known points, where the unknowns are the slope and the intercept rather than and .
The reliable signal that you are looking at a system rather than one equation is that the problem gives you two distinct sentences of fact and asks for two numbers. Getting from the English to those two equations is a separate skill, covered in the guide to turning words into equations.
The method
The interesting question is not how to execute each method — that is mechanical — but how to choose. Here is the reasoning, then the rule.
Take a general system and eliminate by hand to see what governs the outcome:
Multiply the first equation by and the second by , so both have the same coefficient:
Subtract the first from the second:
Everything hinges on . If it is non-zero you can divide and there is exactly one , hence exactly one solution. If it is zero, the left side vanishes and you are left with a statement about constants only: false means no solution, true means infinitely many. That quantity is the determinant of the coefficient matrix, and it is the same number that decides whether a matrix can be inverted. Checking it on our system gives , comfortably non-zero, so a unique solution exists before any solving begins.
The working rule:
- Normalise both equations. Multiply out fractions and decimals, expand brackets, and put the variables in the same order on the same side. Comparing coefficients is impossible until the equations look alike.
- Scan for a coefficient of 1 or −1. If one exists, isolating that variable introduces no fractions, and substitution is the cheapest route. This is the only condition that reliably favours substitution.
- Otherwise scan for a variable whose coefficients cancel or divide neatly. Coefficients of and mean you can add immediately; and mean one doubling. Elimination then avoids fractions entirely.
- Solve the resulting single-variable equation. When substituting, put the expression into the equation you did not rearrange, or you will produce a true but empty identity.
- Back-substitute and write an ordered pair. A system in two unknowns has a two-part answer. Half an answer earns half the marks.
- Check in both original equations. One substitution into each takes seconds and is the only check that catches a rearrangement error.
One system, three methods
Below is the same system solved by substitution, elimination, and graphing. Try to predict each step before revealing it — the point is to feel the difference in arithmetic cost between the three routes, not just to reach the answer three times.
2x + 3y = 12 and 4x − y = 10
0 of 11 stepsSolve a systems problem now
First solution freeThree worked examples
The first is built for substitution, the second for elimination, and the third arrives buried in fractions and decimals so that most of the work happens before any method is chosen.
Worked example
- 1
One equation is already solved for y. That is substitution's ideal case, and there is no reason to consider anything else.
- 2
Replace y in the second equation. The first equation has now been used, so it cannot give any further information.
- 3
Collect and solve.
- 4
Back-substitute into the isolated form.
- 5
Check both originals: 5 = 2(3) − 1 holds, and 3(3) + 5 = 14 holds.
Answer
Worked example
- 1
No coefficient is 1 or −1, so substitution would create fractions. But the y coefficients are already +4 and −4, which is elimination handed to you.
- 2
Add the equations term by term. No scaling is needed at all.
- 3
Solve for x.
- 4
Back-substitute into either original. The first is as easy as the second.
- 5
Check the pair in the equation you did not use for back-substitution: 3(2) − 4(−1) = 6 + 4 = 10.
Answer
Worked example
- 1
Neither equation is usable as written. Clear the first by multiplying every term by 6, the lowest common denominator of 3 and 2.
- 2
Clear the second by multiplying every term by 10. Multiplying the right-hand side as well is essential — this is where most of the errors in this example live.
- 3
Now compare coefficients. The y terms are +3 and −3, so elimination by addition needs no scaling.
- 4
Solve for x, then back-substitute into the cleared version of the first equation.
- 5
Check against the original fractional and decimal forms, not the cleared ones. A third of six is 2, half of four is 2, and 2 + 2 = 4.
Answer
Where people go wrong
Substituting back into the equation you rearranged
Rearranging to and then substituting that into gives , which simplifies to . True, and completely uninformative. The expression must go into the other equation, because that is the only place new information lives.
Scaling only part of an equation
To turn into something with , you must multiply all three terms: . Multiplying the left side and forgetting the 30 changes what the equation says, and the resulting solution will fail the final check. If your answer does not verify, look here first.
Reading a vanished variable as an error
Solving with gives after doubling the first equation and subtracting. That is not a mistake to hunt down — it is the answer. The lines have identical slopes and different intercepts, so they are parallel and no solution exists. The mirror case, , means the equations coincide and every point on the line is a solution.
Trusting an intersection read off a sketch
Graphing is excellent for classification and unreliable for values. A hand sketch cannot distinguish an intersection at from one at , and a graphing calculator will happily return a rounded decimal where the exact answer was a fraction. Use the picture to decide how many solutions there are, then get the numbers algebraically.
Practice
Decide which method you would use before you start solving. Write answers as unless the system has no unique solution.
Four systems, four different best methods
Answers are checked here — nothing is sent anywhere.
- 1
- 2
- 3
- 4
Where this goes next
Elimination does not stop at two equations. Applied repeatedly to a three- or four-variable system it becomes Gaussian elimination, and the bookkeeping is exactly what a matrix is for — the connection is made explicit in the two ways to invert a matrix, where the determinant that appeared in the derivation above returns as the test for whether a solution exists. When one of your equations is a curve rather than a line, substitution produces a quadratic and the quadratic formula finishes the job, usually with two intersection points instead of one. For a system you want checked line by line, the system of equations solver runs substitution and elimination on the same input so you can see which was shorter.