Solve Systems of Equations by Elimination
Solve a System of Equations by Elimination
We have solved systems of linear equations by graphing and by substitution. Graphing works well when the coefficients are small and the solution has integer values. Substitution works well when one equation is already solved for a variable, or can easily be solved for one.
The third method for solving systems of linear equations is called elimination. It is based on the Addition Property of Equality, which says that adding the same quantity to both sides of an equation preserves equality. We extend that idea: if and , then — adding equal quantities to both sides of an equation gives equal results.
To solve a system by elimination, we start with both equations in standard form, then decide which variable will be easiest to eliminate. We want the coefficients of that variable to be opposites, so that adding the equations eliminates it. Notice how that works when we add these two equations together:
The ’s add to zero, leaving one equation with one variable. Now try this system:
This time no variable is ready to eliminate right away. But multiplying the first equation by makes the coefficients of opposites: gives , while the second equation stays the same. Adding the new first equation to the second eliminates :
Sometimes we can’t make one variable’s coefficients opposite by multiplying only one equation — unless we’re willing to use fractions. Instead, we multiply both equations by (different) constants. For and , multiplying the first equation by and the second by turns the -coefficients into and :
Adding these eliminates the ’s, leaving .
Once we have an equation with just one variable, we solve it, then substitute that value into one of the original equations to solve for the remaining variable — and, as always, check the answer in both original equations.
Example. Solve the system by elimination.
| Step | What to do | Result |
|---|---|---|
| 1. Write both equations in standard form. If any coefficients are fractions, clear them. | Both equations are already in standard form, with no fractions. | |
| 2. Make the coefficients of one variable opposites. Decide which variable to eliminate, then multiply one or both equations so its coefficients become opposites. | We can eliminate by multiplying the first equation by . | |
| 3. Add the equations resulting from Step 2 to eliminate one variable. | Add the ’s, ’s, and constants. | |
| 4. Solve for the remaining variable. | Divide both sides by . | |
| 5. Substitute the solution from Step 4 into one of the original equations, then solve for the other variable. | Substitute into . | |
| 6. Write the solution as an ordered pair. | ||
| 7. Check that the ordered pair is a solution to both original equations. | Substitute into both equations. |
How to solve a system of equations by elimination.
- Write both equations in standard form. If any coefficients are fractions, clear them.
- Make the coefficients of one variable opposites. Decide which variable you will eliminate. Multiply one or both equations so that the coefficients of that variable are opposites.
- Add the equations resulting from Step 2 to eliminate one variable.
- Solve for the remaining variable.
- Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
- Write the solution as an ordered pair.
- Check that the ordered pair is a solution to both original equations.
Solve the system by elimination: and . What is x?
The y-coefficients are already opposites (1 and -1), so add the equations directly to eliminate y.Now let’s look at a system where multiplying just one equation makes a pair of coefficients opposite.
Example. Solve the system by elimination.
Neither variable’s coefficients are opposites yet, but multiplying the first equation by makes the -coefficients opposite ( and ): gives . Adding that to the second equation:
So . Substituting into gives , so , and , so . The solution is . Check: ✓ and ✓.
Solve the system by elimination: and . What is y?
Multiply the first equation by -3 so its y-coefficient becomes opposite the second equation's y-coefficient, then add.Sometimes we must multiply both equations by constants to make a pair of coefficients opposite.
Example. Solve the system by elimination.
Neither variable can be eliminated by multiplying just one equation. To make the -coefficients opposite, multiply the first equation by and the second by :
Adding these equations eliminates : , so . Substituting into gives , so . The solution is .
Solve the system by elimination: and . What is y?
Multiply the first equation by 3 and the second by 4 so the x-coefficients become opposites, then add and solve for x first.When a system has fractions, clear them first by multiplying each equation by its LCD — then eliminate as usual. For and , multiplying the first equation by and the second by clears the fractions: and . Multiplying the first of those by gives ; adding it to leaves , and substituting back gives . The solution is .
Not every system has exactly one solution. Recall from graphing that two equations describing the same line have infinitely many solutions (a consistent, dependent system), and two equations describing parallel lines have no solution at all (an inconsistent system). Elimination reveals both cases too.
Example. Solve the system by elimination.
Writing the second equation in standard form gives ; multiplying by clears the fraction: — the very same equation as the first! Multiplying this equation by and adding it to the first equation gives , a true statement. The system is consistent but dependent: the two equations describe the same (coincident) line, so the system has infinitely many solutions.
Solve the system by elimination: and . How many solutions does the system have?
Rewrite the second equation in standard form and compare it to the first - do they describe the same line?Example. Solve the system by elimination.
Multiplying the second equation by gives . Adding this to the first equation, the variables cancel and we’re left with — a false statement. The system is inconsistent: the two equations describe parallel lines, so the system has no solution.
Solve the system by elimination: and . How many solutions does the system have?
Multiply the first equation by 3 and add it to the second. If the variables cancel and leave a false statement, the lines are parallel.Solve Applications of Systems of Equations by Elimination
Many application problems translate directly into a system of two equations in standard form, which makes elimination a natural choice. As before, we follow the problem-solving strategy: read, identify, name, translate, solve, check, and answer.
Example. The sum of two numbers is 39. Their difference is 9. Find the numbers.
Let the first number and the second number. “The sum of two numbers is 39” translates to ; “their difference is 9” translates to . The system is:
The coefficients of are already opposite, so add the equations: , giving . Substituting into gives , so . Check: and . The numbers are 24 and 15.
The sum of two numbers is 42. Their difference is 8. What is the larger of the two numbers?
Let n and m be the numbers, with and . Add the equations to eliminate m.Example. Joe stops at a burger restaurant every day on his way to work. Monday he had one order of medium fries and two small sodas, for a total of 620 calories. Tuesday he had two orders of medium fries and one small soda, for a total of 820 calories. How many calories are in one order of medium fries? How many calories are in one small soda?
Let the number of calories in one order of medium fries, and the number of calories in one small soda. “One order of fries and two sodas had 620 calories” translates to ; “two orders of fries and one soda had 820 calories” translates to . The system is:
Multiplying the first equation by gives . Adding this to the second equation eliminates : , so . Substituting into gives , so . The fries have 340 calories and the soda has 140 calories.
Malik buys a bag of diapers and 2 cans of formula for a total of $37. The next week he buys 2 bags of diapers and 5 cans of formula for a total of $87. How much does one bag of diapers cost, in dollars?
$11Let d = the cost of a bag of diapers and c = the cost of a can of formula. Then and . Multiply the first equation by -2 and add to eliminate d.Choose the Most Convenient Method to Solve a System of Linear Equations
You now know three ways to solve a system of linear equations: graphing, substitution, and elimination. In a later math class you’ll usually have to decide for yourself which method to use, so it helps to recognize which method is easiest for a given system.
| Graphing | Substitution | Elimination |
|---|---|---|
| Use when you need a picture of the situation. | Use when one equation is already solved for one variable. | Use when the equations are already in standard form. |
Example. For each system of linear equations, decide whether it would be more convenient to solve it by substitution or elimination.
(a) and — both equations are already in standard form, so elimination will be most convenient.
(b) and — the second equation is already solved for , so substitution will be most convenient.
For the system and , both equations are in standard form. Which method is more convenient?
Neither equation is already solved for a variable, but both are in standard form ready for adding.Key terms
elimination — a method for solving a system of linear equations in which the equations are added together, after being multiplied by constants if necessary, so that one variable cancels out. consistent, dependent system — a system whose equations describe the same line, so it has infinitely many solutions; eliminating a variable leaves a true statement like . inconsistent system — a system whose equations describe parallel lines, so it has no solution; eliminating a variable leaves a false statement like .
This section is adapted from Elementary Algebra 2e, Section 5.3: Solve Systems of Equations by Elimination by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recast the seven-step worked example and the Choose-the-Method comparison as markdown tables; omitted the Be Prepared quiz, Self Check checklist, media links, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback — including turning the consistent/inconsistent Try Its into multiple-choice questions about the number of solutions, since a word answer like “no solution” can’t be graded by the math checker.