The second method, elimination, is usually the quickest by hand. Instead of making one variable the subject, you multiply the equations so that one variable has the same coefficient in both, then add or subtract the equations so that variable disappears, or is eliminated. What remains is an equation in one variable.
The method#
- Write both equations with the x terms, the y terms and the numbers lined up in columns. Number them (1) and (2).
- Choose a variable to eliminate. Multiply one or both equations by numbers that make its coefficients equal in size.
- If those coefficients have opposite signs, add the equations. If they have the same sign, subtract.
- Solve the one-variable equation that remains.
- Substitute that value in either original equation to find the other variable, then check.
Subtracting by changing signs#
Subtracting a whole equation is where slips happen. A safe way is to change the sign of every term in the lower equation and then add. Write the new signs above the old ones before you add. Subtracting 6x−9y=21 is the same as adding −6x+9y=−21.
Example 1#
Solve 3x+2y=5 and 2x−3y=7.
3x+2y2x−3y=5(1)=7(2)
To eliminate x, make both x coefficients equal to 6: multiply (1) by 2 and (2) by 3.
(1)×2:6x+4y(2)×3:6x−9y=10=21
Both x terms are +6x, the same sign, so subtract. Change the signs of the lower line, which becomes −6x+9y=−21, and add:
(6x−6x)+(4y+9y)13yy=10−21=−11=−1311
Substitute in (1):
3x+2(−1311)3x−13223x3xx=5=5=5+1322=1365+22=1387=1329
∴(x,y)=(1329,−1311)
This is exactly the answer the substitution method gave in the last lesson, as it must be.
The same pair, eliminating y instead#
You may eliminate either variable. To remove y, make both y coefficients 6: multiply (1) by 3 and (2) by 2.
(1)×3:9x+6y(2)×2:4x−6y=15=14
Now the y terms have opposite signs, +6y and −6y, so simply add:
13xx=29=1329
Same answer again. Choose whichever variable needs the smaller multipliers, or the one whose signs are already opposite, so that you can add.
Example 2#
Solve 7x−5y=2 and x+2y=3.
7x−5yx+2y=2(1)=3(2)
Make the x coefficients equal to 7: leave (1) as it is and multiply (2) by 7.
(1)×1:7x−5y(2)×7:7x+14y=2=21
Same sign on 7x, so subtract: change the lower line to −7x−14y=−21 and add.
−19yy=−19=1
Substitute in (2):
x+2(1)x+2x=3=3=1
∴(x,y)=(1,1)
Example 3#
Solve 2x−3y=4 and 5x+2y=1.
2x−3y5x+2y=4(1)=1(2)
Make the x coefficients 10: multiply (1) by 5 and (2) by 2.
(1)×5:10x−15y(2)×2:10x+4y=20=2
Subtract: change the lower line to −10x−4y=−2 and add.
−19yy=18=−1918
Substitute in (1):
2x−3(−1918)2x+19542x2x2xx=4=4=4−1954=1976−54=1922=1911
∴(x,y)=(1911,−1918)
Check in (2): 5×1911+2×(−1918)=1955−36=1919=1.
Example 4: a word problem#
Three pens and two notebooks cost ₹110. Two pens and three notebooks cost ₹140. Find the cost of one pen and of one notebook.
Let a pen cost x rupees and a notebook y rupees.
3x+2y2x+3y=110(1)=140(2)
Eliminate y: multiply (1) by 3 and (2) by 2.
9x+6y4x+6y=330=280
Subtract: 5x=50, so x=10. Then from (1), 30+2y=110, so 2y=80 and y=40. A pen costs ₹10 and a notebook ₹40. Check in (2): 20+120=140.
Practice#
Solve each pair by the elimination method.
- x+y=11 and x−y=5
- 2x+3y=13 and 2x−y=1
- 3x+2y=16 and x+2y=8
- 5x−2y=4 and 3x+4y=18
- 4x+3y=6 and 3x−2y=13
- 2x+5y=1 and 3x+2y=7
- 3x−4y=10 and 4x+3y=5
- 7x+3y=1 and 5x+2y=0
- 3x+4y=2 and 5x−2y=3
- Four chairs and three tables cost ₹6200. Two chairs and five tables cost ₹8000. Find the cost of one chair and of one table.
Answers#
Show answers
- Add: 2x=16, so x=8 and y=3. Answer (8,3).
- Subtract: 4y=12, so y=3 and x=2. Answer (2,3).
- Subtract: 2x=8, so x=4 and y=2. Answer (4,2).
- (1) ×2: 10x−4y=8. Add to (2): 13x=26, so x=2 and y=3. Answer (2,3).
- (1) ×2 and (2) ×3: 8x+6y=12 and 9x−6y=39. Add: 17x=51, so x=3 and y=−2. Answer (3,−2).
- (1) ×3 and (2) ×2: 6x+15y=3 and 6x+4y=14. Subtract: 11y=−11, so y=−1 and x=3. Answer (3,−1).
- (1) ×3 and (2) ×4: 9x−12y=30 and 16x+12y=20. Add: 25x=50, so x=2 and y=−1. Answer (2,−1).
- (1) ×2 and (2) ×3: 14x+6y=2 and 15x+6y=0. Subtract: −x=2, so x=−2 and y=5. Answer (−2,5).
- (2) ×2: 10x−4y=6. Add to (1): 13x=8, so x=138. Then 4y=2−1324=132, so y=261. Answer (138,261).
- Let a chair cost x rupees and a table y rupees: 4x+3y=6200 and 2x+5y=8000. Double the second: 4x+10y=16000. Subtract the first: 7y=9800, so y=1400. Then 2x+7000=8000, so x=500. A chair costs ₹500 and a table ₹1400.