How the method works
The elimination method solves a system of equations by adding the equations so that one unknown drops out:
- Multiply one or both equations by non-zero numbers, so that one of the variables gets coefficients of the same size with opposite signs.
- Add the equations side by side. That variable cancels, leaving one equation in one unknown.
- Solve it.
- Put the answer into one of the original equations to get the other variable.
The method is a procedure and so has no formula. It rests on the fact that adding two true equations gives another true equation.
Worked examples
Two equations.
- (1) 2x + 3y = 12
- (2) 5x − 3y = 9
Step 1 is already done here: y has the coefficients 3 and −3. Add (1) and (2):
- (2x + 5x) + (3y − 3y) = 12 + 9
- 7x = 21, so x = 3.
Put x = 3 into (1): 6 + 3y = 12, so 3y = 6 and y = 2. The same working in the system of equations calculator.
Three equations.
- (1) x + y + z = 6
- (2) 2x − y + z = 3
- (3) x + 2y − z = 2
Eliminate y twice, with two different pairs:
- (1) + (2): 3x + 2z = 9.
- 2 · (2) + (3): 5x + z = 8.
That leaves a system in two unknowns. From 5x + z = 8, z = 8 − 5x, and put into 3x + 2z = 9 that gives 3x + 16 − 10x = 9, so x = 1. Then z = 3, and from (1) y = 6 − 1 − 3 = 2. Three equations in the calculator.
Common mistakes
- Multiplying only one side. If 2x + 3y is multiplied by 2, so is 12. Otherwise the equation no longer holds.
- Adding when the signs match. If the variable has the same sign in both equations, subtract them, or multiply one by −1 first. Otherwise the coefficient grows instead of cancelling.
- Not checking the answer. Put all the values into an equation you did not use last. In the two-equation example: 5 · 3 − 3 · 2 = 9. It holds.
Common questions
How do I know whether to add or subtract?
Look at the coefficients of the variable you want to get rid of. If they have opposite signs, add. If
they have the same sign, subtract. That is the same as multiplying one equation by −1 and adding.
What if no unknown already has matching coefficients?
Multiply both equations. With 3x + 2y = 7 and 2x + 5y = 1 you can multiply the first by 2 and the second
by −3, which gives x the coefficients 6 and −6.
Why is elimination used for three equations rather than substitution?
Both manage it in principle. But elimination does the same thing at every step, removing one variable
from a pair of equations, and the working stays in whole numbers for longer. That is why it is used for
three equations, in textbooks and in the calculator. The substitution method
is often quicker for two.