Mathematics Knowledge · 9 min lesson

What you will learn
Solve a pair of linear equations by adding or subtracting them to cancel one variable, multiplying an equation first when the coefficients don't match.
The lesson
A system of equations is two equations that must both be true at the same time. The solution is the one pair of values (x, y) that works in both. Elimination finds it by combining the equations so that one variable cancels out, leaving a simple one-variable equation.
The coefficient is the number in front of a variable. In 5x + 2y, the coefficient of x is 5 and the coefficient of y is 2. Elimination is all about making one pair of coefficients cancel.
Add or subtract? Look at the signs
Stack the equations so x lines up under x, y under y, and the numbers on the right line up too. Then look at one variable's coefficients.
| What you see | What to do | Example |
|---|---|---|
| Same number, opposite signs (+2y and −2y) | Add the equations | x + y = 10 and x − y = 4 add to 2x = 14, so x = 7 and y = 3 |
| Same number, same sign (+2y and +2y) | Subtract the equations | 5x + 2y = 21 minus 3x + 2y = 15 gives 2x = 6, so x = 3 and y = 3 |
| Different numbers | Multiply one or both equations first | See below |
When you subtract, the sign of every term in the second equation flips. 3x − (−4y) is 3x + 4y, and 9 − (−2) is 11. If that feels error-prone, multiply the second equation by −1 and add instead.
Multiply first when nothing matches
Take 3x + 2y = 16 and x + 4y = 12. No coefficients match yet. Multiply the whole first equation by 2 to make its y-term 4y:
- Scale the whole equation2 × (3x + 2y = 16) becomes 6x + 4y = 32. Every term is doubled, including the 16.
- Subtract(6x + 4y) − (x + 4y) = 32 − 12, so 5x = 20.
- Solvex = 4.
- Back-substitute4 + 4y = 12, so y = 2. Check: 3(4) + 2(2) = 16. ✓
+ Opposite signs
Add. The terms cancel.
− Same signs
Subtract, flipping every sign of the second equation.
× No match
Multiply every term of an equation until one pair matches.
Finish the job
Once you know one variable, put it into either original equation to find the other. Then plug both values into the equation you did not use. If it works, your answer is right. Many questions ask for something built from x and y, such as x + y or 2x − y, so read the last line of the question again before you choose.
Line up the equations, make one pair of coefficients match, add if their signs are opposite or subtract if they are the same, then solve and check in both equations.
Worked example
Solve the system: 2x + 5y = 1 and 3x − 2y = 11.
- Pick a variable to cancelMake the x-terms match: multiply the first equation by 3 and the second by 2.
- Scale every term6x + 15y = 3 and 6x − 4y = 22.
- SubtractSame sign on 6x, so subtract: 15y − (−4y) = 19y, and 3 − 22 = −19. So 19y = −19.
- Solvey = −1.
- Back-substitute2x + 5(−1) = 1, so 2x = 6 and x = 3.
- Check3(3) − 2(−1) = 9 + 2 = 11. ✓
Answer: x = 3, y = −1
The y-terms already have opposite signs. Multiply the first equation by 2 and the second by 5 to get +10y and −10y, then add: 19x = 57, so x = 3. Choosing opposite signs lets you add, which avoids sign slips.
Practice with a hint
Hint: Line the equations up and add straight down each column: x-terms together, y-terms together, right sides together. Watch the sign on the right-hand numbers.
Try it on your own
Find both x and y first, check them, and only then work out the expression the question asks for.
Common mistakes
- Multiplying only the left side. 2 × (3x + 2y = 16) is 6x + 4y = 32, not 6x + 4y = 16.
- Adding when you should subtract. With 5x + 2y = 21 and 3x + 2y = 15, adding gives 8x + 4y = 36, and nothing cancels.
- Dropping a sign when subtracting. (4y) − (−5y) is 9y, not −y.
- Stopping at one variable. If the question asks for x + y, finding x = 7 is only half the work.
- Skipping the check. Plug both values into the equation you did not use to catch slips.
Next step
- Line up like terms in columns.
- Opposite signs: add. Same signs: subtract.
- Multiply every term of an equation, including the right side, to make coefficients match.
- Back-substitute, then check in both original equations.
Practice this with the free Mathematics Knowledge practice test, then review key ideas with the Mathematics Knowledge flashcards.