Sub topic 9
Solving Systems by Elimination
This chapter assumes you can solve one-variable linear equations, rearrange a simple formula, and recognize that each equation in a two-variable system describes a line. It also assumes you have seen the substitution method. Elimination is the other main way to solve a system. On the GRE it is often faster than substitution, because it works without isolating a variable first.
The Idea Behind Elimination
A system of equations asks for values that make every equation true at once. If two equations are both true, you can add them, or subtract one from the other, and the result is still true. Elimination uses this fact. You combine the equations so that one variable disappears. That leaves one equation in one variable, and you already know how to solve that.
The justification is the property of equality from earlier chapters. If A = B and C = D, then A + C = B + D. The new equation contains no new information that the originals did not already contain. It is just a more convenient form of them.
Step-by-Step Procedure
- Line up the equations. Write both in the form Ax + By = C, with the x terms, y terms, and constants in matching columns. Move terms across the equals sign if needed.
- Choose a variable to eliminate. Pick the one whose coefficients are already equal, opposite, or easy to make so.
- Scale. Multiply one or both equations by nonzero numbers so that the chosen variable has coefficients of equal size. Multiply every term on both sides, including the constant.
- Add or subtract. If the coefficients are opposites (such as 2y and -2y), add. If they are equal (such as 3y and 3y), subtract.
- Solve the resulting one-variable equation.
- Substitute back into either original equation to find the other variable.
- Check in both original equations.
Worked Example 1: One Equation Needs Scaling
Solve 3x + 2y = 12 and x - y = 1.
The y coefficients are 2 and -1. Multiplying the second equation by 2 makes them 2 and -2, which are opposites.
3x + 2y = 12
2x - 2y = 2 (second equation times 2)
-----------
5x = 14
x = 14/5Substitute into x - y = 1. This gives y = x - 1 = 14/5 - 5/5 = 9/5.
Check in the first equation: 3(14/5) + 2(9/5) = 42/5 + 18/5 = 60/5 = 12. Check in the second: 14/5 - 9/5 = 5/5 = 1. Both hold.
Fractional answers are normal in elimination. Do not take a fraction as a sign that you made an error. Take it as a prompt to check carefully.
Worked Example 2: Both Equations Need Scaling
Solve 2x + 3y = 7 and 5x - 2y = 8.
No coefficient pair matches, and neither is a multiple of the other. Pick y. The coefficients 3 and -2 have a least common multiple of 6. Multiply the first equation by 2 and the second by 3.
4x + 6y = 14 (first equation times 2)
15x - 6y = 24 (second equation times 3)
------------
19x = 38
x = 2Substitute into 2x + 3y = 7. This gives 4 + 3y = 7, so y = 1.
Check in the second equation: 5(2) - 2(1) = 8. Correct.
Choosing Which Variable to Eliminate
Either variable works, and you get the same answer. The choice affects how much arithmetic you do.
- If a variable already has equal or opposite coefficients, eliminate it with no scaling.
- If one coefficient is a multiple of the other (2 and 4, or 3 and -9), scale only one equation.
- Prefer eliminating the variable whose scaling factors are smaller. In Example 2, eliminating x would need multipliers 5 and 2, while eliminating y needed only 2 and 3.
- Prefer a variable whose coefficients have opposite signs, so you add instead of subtract. Adding avoids sign errors.
Subtracting Safely
Subtraction is where most elimination mistakes happen. When you subtract the second equation, you subtract every term, including the constant, and the signs flip on all of them.
Solve 4x + 3y = 17 and 4x - y = 5.
4x + 3y = 17
- (4x - y = 5)
----------------
0x + 4y = 12
y = 3Here 3y - (-y) = 4y, and 17 - 5 = 12. A common slip is to compute 3y - y = 2y. Then x = (5 + 3)/4 = 2, and you check in both equations: 4(2) + 3(3) = 17 and 4(2) - 3 = 5. Both hold.
If subtraction makes you nervous, multiply the second equation by -1 and add instead. The result is identical, and each step is simpler.
Handling Equations That Are Not Lined Up
Some systems arrive in a messy form. Rewrite them first.
Solve y = 3x - 4 and 2x + y = 11.
Rewrite the first equation as -3x + y = -4. Now the y coefficients are both 1. Subtract the first from the second:
2x + y = 11
-(-3x + y = -4)
---------------
5x = 15
x = 3Then y = 3(3) - 4 = 5. Here substitution would also work, since y is already isolated. Elimination is not always better. Look at the form of the system and choose.
| Situation | Better method |
|---|---|
| A variable is already isolated (y = 2x - 1) | Substitution |
| Both equations in the form Ax + By = C | Elimination |
| A coefficient is 1 or -1 in one equation only | Either, usually substitution |
| Question asks for x + y or a similar combination | Elimination, or just adding the equations |
Decimals and Fractions in the System
Clear them first so that the coefficients are integers. This is the same technique used for single equations.
Solve 0.5x + 0.2y = 3.1 and x/2 - y/3 = 0.
Multiply the first equation by 10: 5x + 2y = 31. Multiply the second by 6: 3x - 2y = 0. The y terms are now opposites, so add:
5x + 2y = 31
3x - 2y = 0
-----------
8x = 31
x = 31/8Then 3x = 2y gives y = 3x/2 = 93/16. Check in the first original equation: 0.5(31/8) + 0.2(93/16) = 15.5/8 + 18.6/16 = 31/16 + 18.6/16 = 49.6/16 = 3.1. Correct.
Optional Check in Python
You can verify answers with Cramer's rule, which is a formula-based version of the same elimination. This is for practice only. You cannot run code on the exam.
from fractions import Fraction
def solve_2x2(a1, b1, c1, a2, b2, c2):
"""Solve a1*x + b1*y = c1 and a2*x + b2*y = c2 using Cramer's rule."""
det = a1 * b2 - a2 * b1
if det == 0:
return None # no solution or infinitely many solutions
x = Fraction(c1 * b2 - c2 * b1, det)
y = Fraction(a1 * c2 - a2 * c1, det)
return x, y
print(solve_2x2(3, 2, 12, 1, -1, 1)) # (Fraction(14, 5), Fraction(9, 5))
print(solve_2x2(2, 3, 7, 5, -2, 8)) # (Fraction(2, 1), Fraction(1, 1))The quantity det is the coefficient of x in the equation you get after eliminating y with the cross-multiplying approach. When it is zero, the elimination step cancels both variables at once. That case is the subject of the next chapters.
What Happens When Both Variables Disappear
Sometimes the elimination step removes both variables. Two outcomes are possible.
- You get a true statement such as 0 = 0. The equations describe the same line, so there are infinitely many solutions.
- You get a false statement such as 0 = 3. The lines are parallel, so there is no solution.
Example: x + 2y = 5 and 2x + 4y = 7. Multiply the first by 2 to get 2x + 4y = 10. Subtracting the second gives 0 = 3, which is false. The system has no solution.
Do not report "x = 0" or "no answer" from an arithmetic slip. A false statement is a legitimate result, but only if your arithmetic was right. Re-check the scaling before you trust it.
Elimination Without Solving for Variables
The GRE often asks for a combination such as x + y, not each variable. Elimination's add-or-subtract step can deliver it directly.
Given 3x + y = 11 and x + 3y = 9, find x + y. Add the equations: 4x + 4y = 20, so x + y = 5. To find x - y, subtract instead: 2x - 2y = 2, so x - y = 1. No variable was isolated. A later chapter covers this shortcut in full.
Common Errors
- Scaling only one side. Multiplying the left side of an equation by 2 but not the right side changes the equation.
- Sign errors in subtraction. Subtracting a negative term adds a positive one.
- Eliminating the wrong thing. Adding when the coefficients have equal signs leaves the variable in place. Check that the chosen variable's terms really cancel before you continue.
- Stopping at one variable. The question may ask for y, or for x + y. Reread the question after solving.
- Checking in only one equation. An error made during scaling can leave a pair that satisfies the original equation you substituted into but not the other. Check both.
Exercises
Exercise
Solve the system 4x + 3y = 10 and 2x - 5y = -8 by elimination.
Show answer
Multiply the second equation by 2 to get 4x - 10y = -16. Subtract it from the first: 13y = 26, so y = 2. Then 4x + 6 = 10, so x = 1. Check in the second equation: 2(1) - 5(2) = -8. The solution is (1, 2).
Exercise
Solve 3x + 4y = 5 and 5x + 6y = 7 by choosing the variable that needs the smallest multipliers.
Show answer
Eliminate y, since 4 and 6 have a least common multiple of 12. Multiply the first equation by 3 and the second by 2: 9x + 12y = 15 and 10x + 12y = 14. Subtract the first from the second: x = -1. Then 3(-1) + 4y = 5, so y = 2. Check in the second equation: 5(-1) + 6(2) = 7. The solution is (-1, 2).
Exercise
Given 5x + 2y = 19 and 3x + 4y = 17, find x + y without solving for x and y separately.
Show answer
Add the equations: 8x + 6y = 36. This does not give x + y directly, so use a different combination. Solving by elimination: multiply the first equation by 2 to get 10x + 4y = 38, subtract the second to get 7x = 21, so x = 3, and y = 2. Then x + y = 5. The shortcut works only when the coefficients line up, as in 3x + y and x + 3y. Here it does not, so elimination is the right tool.
Exercise
What does elimination produce for 6x - 4y = 10 and 3x - 2y = 5, and what does that mean?
Show answer
Multiply the second equation by 2 to get 6x - 4y = 10. Subtracting the first equation from it gives 0 = 0. Both variables vanish and the statement is true, so the two equations describe the same line and the system has infinitely many solutions.