Part 19 of 36 · EquationsSee the whole course
How to solve a system by elimination
Elimination solves a system by adding or subtracting the two equations so that one letter cancels. That leaves one equation with one unknown. Solve it, put the answer back into either equation to find the other letter, and check in both.
Why adding two equations is allowed
An equation says two amounts are equal. If you add equal amounts to equal amounts, the results are still equal. So if x + y = 7 and x − y = 1, then (x + y) + (x − y) = 7 + 1 is a true equation too. The point of the move is that the y terms are +y and −y, and they cancel.
On a graph, both equations are lines, and the solution is the one point where they cross. (If that picture is new, start with solving a system by graphing.) Elimination finds that point with algebra and no drawing.
The steps
- Line up both equations so that the x terms, the y terms and the numbers are in columns, like standard form: Ax + By = C.
- Make one letter match. If a letter has opposite numbers (+y and −y), or the same number (2x and 2x), go on. If not, multiply one or both equations to make them match.
- Cancel. Add the equations if the numbers are opposites. Subtract if they are the same.
- Solve the one equation that is left.
- Put the answer back into either original equation to find the other letter.
- Check the pair in both equations.
Try all three kinds below. Press the step buttons to see each stage on the graph.
- x + y = 7 and x − y = 1
- Add: 2x = 8
- x = 4
- 4 + y = 7, so y = 3 → (4, 3)
Example 1: add, x + y = 7 and x − y = 1
The y terms are +y and −y, so add the equations:
(x + y) + (x − y) = 7 + 1, so 2x = 8 and x = 4
Put x = 4 into x + y = 7: 4 + y = 7, so y = 3
Check in x − y = 1: 4 − 3 = 1 ✓
The solution is (4, 3).
Example 2: subtract, 2x + 3y = 12 and 2x − y = 4
This time the x terms are the same (2x and 2x), so subtract the second equation from the first. Subtract everything, including the signs: minus (−y) becomes plus y.
(2x + 3y) − (2x − y) = 12 − 4
2x − 2x = 0 and 3y + y = 4y, so 4y = 8 and y = 2
Put y = 2 into 2x + 3y = 12: 2x + 6 = 12, so x = 3
Check in 2x − y = 4: 6 − 2 = 4 ✓
The solution is (3, 2).
Example 3: multiply first, 2x + 3y = 13 and 3x − 2y = 0
Nothing matches here: 2x and 3x, 3y and −2y. Make the y terms match. The numbers 3 and 2 both go into 6, so multiply the first equation by 2 and the second by 3. Every term gets multiplied, including the number on the right.
First × 2: 4x + 6y = 26
Second × 3: 9x − 6y = 0
The y terms are +6y and −6y, so add: 13x = 26, and x = 2
Put x = 2 into 2x + 3y = 13: 4 + 3y = 13, so 3y = 9 and y = 3
Check in 3x − 2y = 0: 6 − 6 = 0 ✓
The solution is (2, 3).
What if both letters cancel?
Sometimes adding or subtracting removes x and y at the same time. If what is left is false, like 0 = 5, the lines are parallel and there is no solution. If what is left is always true, like 0 = 0, the two equations are the same line and there are infinitely many solutions. See no solution or infinitely many solutions for the pictures.
Which method should you pick?
- Graphing shows the picture and gives a quick estimate.
- Substitution is the best fit when one letter is already alone, like y = 3x. See solving a system by substitution.
- Elimination is the best fit when both equations are in standard form with the letters lined up.
Watch it explained in under a minute
Read the video transcript
Two equations, two letters. x + y = 7. x − y = 1.
+y and −y cancel. So add the equations. x + x = 2x. 7 + 1 = 8.
Now one letter is left. 2x = 8. Divide by 2, and x = 4.
Put 4 into the first equation. 4 + y = 7. So y = 3. The lines cross at (4, 3).
Check with the other equation. 4 − 3 = 1. It works.
Want practice questions and more examples? Full guide: pipmath.app/blog
The five mistakes to avoid
- Multiplying only part of an equation. Multiply every term, including the number on the right.
- Subtracting only the first term of the second equation. Subtract all of it, so signs flip: −(−y) is +y.
- Adding when the numbers are the same (that makes 4x, not 0), or subtracting when they are opposites.
- Finding one letter and stopping. The solution is a pair (x, y).
- Skipping the check. Put the pair into both original equations.
Try it yourself
Solve each system. Tap a question to see the answer.
1. x + y = 10 and x − y = 4
Add: 2x = 14, so x = 7. Then 7 + y = 10 gives y = 3. (7, 3). Check: 7 − 3 = 4 ✓.
2. 3x + y = 11 and x + y = 5
The y terms are the same, so subtract: 2x = 6, so x = 3. Then 3 + y = 5 gives y = 2. (3, 2). Check: 9 + 2 = 11 ✓.
3. 3x + 2y = 16 and x − y = 2
Multiply the second equation by 2: 2x − 2y = 4. Add it to the first: 5x = 20, so x = 4. Then 4 − y = 2 gives y = 2. (4, 2). Check: 12 + 4 = 16 ✓.
Where this fits in
You now have three ways to solve a system: graphing, substitution and elimination. Next in this course: what happens when the lines never meet, or are the same line, in no solution or infinitely many solutions.