Elementary Algebra 2e — Original English

Solve Systems of Equations by Elimination

We have solved systems of linear equations by graphing and by substitution. Graphing works well when the variable coefficients are small and the solution has integer values. Substitution works well when we can easily solve one equation for one of the variables and not have too many fractions in the resulting expression.

The third method of solving systems of linear equations is called the Elimination Method. When we solved a system by substitution, we started with two equations and two variables and reduced it to one equation with one variable. This is what we’ll do with the elimination method, too, but we’ll have a different way to get there.

Solve a System of Equations by Elimination

The Elimination Method is based on the Addition Property of Equality. The Addition Property of Equality says that when you add the same quantity to both sides of an equation, you still have equality. We will extend the Addition Property of Equality to say that when you add equal quantities to both sides of an equation, the results are equal.

For any expressions a, b, c, and d,

ifa=bandc=dthena+c=b+d

To solve a system of equations by elimination, we start with both equations in standard form. Then we decide which variable will be easiest to eliminate. How do we decide? We want to have the coefficients of one variable be opposites, so that we can add the equations together and eliminate that variable.

Notice how that works when we add these two equations together:

3x+y=52xy=0_________5x=5

The y’s add to zero and we have one equation with one variable.

Let’s try another one:

{x+4y=22x+5y=−2

This time we don’t see a variable that can be immediately eliminated if we add the equations.

But if we multiply the first equation by −2, we will make the coefficients of x opposites. We must multiply every term on both sides of the equation by −2.

This figure shows two equations. The first is negative 2 times x plus 4y in parentheses equals negative 2 times 2. The second is 2x + 5y = negative 2. This figure shows two equations. The first is negative 2x minus 8y = negative 4. The second is 2x + 5y = -negative 2.

Now we see that the coefficients of the x terms are opposites, so x will be eliminated when we add these two equations.

Add the equations yourself—the result should be −3y = −6. And that looks easy to solve, doesn’t it? Here is what it would look like.

This figure shows two equations being added together. The first is negative 2x – 8y = −4 and 2x plus 5y = negative 2. The answer is negative 3y = negative 6.

We’ll do one more:

{4x3y=103x+5y=−7

It doesn’t appear that we can get the coefficients of one variable to be opposites by multiplying one of the equations by a constant, unless we use fractions. So instead, we’ll have to multiply both equations by a constant.

We can make the coefficients of x be opposites if we multiply the first equation by 3 and the second by −4, so we get 12x and −12x.

This figure shows two equations. The first is 3 times 4x minus 3y in parentheses equals 3 times 10. The second is negative 4 times 3x plus 5y in parentheses equals negative 4 times negative 7.

This gives us these two new equations:

{12x9y=30−12x20y=28

When we add these equations,

{12x9y=30−12x20y=28_____________29y=58

the x’s are eliminated and we just have −29y = 58.

Once we get an equation with just one variable, we solve it. Then we substitute that value into one of the original equations to solve for the remaining variable. And, as always, we check our answer to make sure it is a solution to both of the original equations.

Now we’ll see how to use elimination to solve the same system of equations we solved by graphing and by substitution.

How to Solve a System of Equations by Elimination

Solve the system by elimination. {2x+y=7x2y=6

Solution

Solution

This figure has seven rows and three columns. The first row reads, “Step 1. Write both equations in standard form. If any coefficients are fractions, clear them.” It also says, “Both equations are in standard form, A x + B y = C. There are no fractions.” It also gives the two equations as 2x + y = 7 and x – 2y = 6. The second row reads, “Step 2: 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.” It also says, “We can eliminate the y’s by multiplying the first equation by 2. Multiply both sides of 2x + y = 7 by 2.” It also shows the steps with equations. Initially the equations are ex + y = 7 and x – 2y = 6. Then they become 2(2x + y) = 2 times 7 and x – 2y = 6. They then become 4x + 2y = 14 and x – 2y = 6. The third row says, “Step 3: Add the equations resulting from step 2 to eliminate one variable.” It also says, “We add the x’s, y’s, and constants.” It then gives the equation as 5x = 20. The fourth row says, “Step 4: Solve for the remaining variable.” It also says, “Solve for x.” It gives the equation as x = 4. The fifth row says, “Step 5: Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.” It also says, “Substitute x = 4 into the second equation, x – 2y = 6. Then solve for y.” It then gives the equations as x – 2y = 6 which becomes 4 – 2y = 6. This is then −2y = 2, and thus, y = −1. The sixth row says, “Step 6: Write the solution as an order pair.” It also says, “Write it as (x, y).” It gives the ordered pair as (4, −1). The seventh row says, “Step 7: Check that the ordered pair is a solution to both original equations.” It also says, “Substitute (4, −1) into 2x + y = 7 and x – 2y = 6. Do they make both equations true? Yes!” It then gives the equations. 2x + y = 7 becomes 2 times 4 + −1 = 7 which is 7 = 7. x – 2y = 6 becomes 4 – 2 times −1 = 6 which is 6 = 6. The row then says, “The solution is (4, −1).”

The steps are listed below for easy reference.

First we’ll do an example where we can eliminate one variable right away.

Solve the system by elimination. {x+y=10xy=12

Solution

Solution

A system of two linear equations is displayed, showing x + y = 10 and x - y = 12, enclosed by a left brace, indicating they are to be solved simultaneously.
Both equations are in standard form.
The coefficients of y are already opposites.
Add the two equations to eliminate y.
The resulting equation has only 1 variable, x.
A system of two linear equations, x + y = 10 and x - y = 12, being solved using the elimination method, resulting in 2x = 22.
Solve for x, the remaining variable.

Substitute x = 11 into one of the original equations.
An image demonstrating algebraic substitution. The value x=11, circled, is shown with a red arrow pointing to its placement in the equation x+y=10.
A mathematical equation '11 + y = 10' is displayed on a white background. The number '11' is colored red, while the rest of the equation, including the plus sign, variable 'y', equals sign, and '10', is black.
Solve for the other variable, y. The image displays the simple algebraic equation 'y = -1' written in a clear, dark font against a plain white background.
Write the solution as an ordered pair. The ordered pair is (11, −1).
Check that the ordered pair is a solution
to both original equations.

x+y=1011+(1)=?1010=10xy=1211(1)=?1212=12
The solution is (11, −1).

In Example 3, we will be able to make the coefficients of one variable opposites by multiplying one equation by a constant.

Solve the system by elimination. {3x2y=−25x6y=10

Solution

Solution

A system of two linear equations is presented with a left curly brace: 3x - 2y = -2 and 5x - 6y = 10.
Both equations are in standard form.
None of the coefficients are opposites.
We can make the coefficients of y opposites by multiplying
the first equation by −3.
A system of two linear equations is displayed. The first equation is -3(3x - 2y) = -3(-2), and the second is 5x - 6y = 10, likely demonstrating a step in solving them.
Simplify. A system of two linear equations is presented, with the first equation being -9x + 6y = 6 and the second equation being 5x - 6y = 10.
Add the two equations to eliminate y. A step-by-step solution shows a system of two linear equations, -9x + 6y = 6 and 5x - 6y = 10, being added together to eliminate the 'y' variable, resulting in the equation -4x = 16.
Solve for the remaining variable, x.
Substitute x = −4 into one of the original equations.
An arrow indicates the substitution of x = -4 into the equation 3x - 2y = -2.
A mathematical equation is displayed on a white background: 3(-4) - 2y = -2. The number -4 is highlighted in red, indicating a potential substitution or a specific focus point in the equation.
Solve for y. A mathematical equation is displayed on a white background: -12 - 2y = -2.
A mathematical equation is displayed on a white background, reading '-2y = 10'.
The image displays the equation 'y = -5' written in a simple, clear font against a plain white background, centrally positioned.
Write the solution as an ordered pair. The ordered pair is (−4, −5).
Check that the ordered pair is a solution to
both original equations.

3x2y=23(4)2(5)=?212+10=?22y=25x6y=103(4)6(5)=?1020+30=?1010=10
The solution is (−4, −5).

Now we’ll do an example where we need to multiply both equations by constants in order to make the coefficients of one variable opposites.

Solve the system by elimination. {4x3y=97x+2y=−6

Solution

Solution

In this example, we cannot multiply just one equation by any constant to get opposite coefficients. So we will strategically multiply both equations by a constant to get the opposites.
A system of two linear equations is presented: 4x - 3y = 9 and 7x + 2y = -6.
Both equations are in standard form. To get opposite
coefficients of y, we will multiply the first equation by 2
and the second equation by 3.
A system of two linear equations is shown with both sides of each equation multiplied by a constant, likely in preparation for solving by elimination. The first equation is 2(4x - 3y) = 2(9), and the second is 3(7x + 2y) = 3(-6).
Simplify. A system of two linear equations is presented: 8x - 6y = 18 and 21x + 6y = -18, commonly solved using methods like elimination or substitution.
Add the two equations to eliminate y. A system of two linear equations, 8x - 6y = 18 and 21x + 6y = -18, being solved by the elimination method. The two equations are added, resulting in 29x = 0, indicating x=0.
Solve for x.

Substitute x = 0 into one of the original equations.
A red arrow shows x=0 being substituted into the equation 7x + 2y = -6, an algebraic step to solve for y.
An algebraic equation '7 multiplied by 0 plus 2y equals -6' is displayed, illustrating a step in solving for 'y' where a term involving 0 simplifies the equation.
Solve for y. A mathematical equation is displayed on a white background, reading '2y = -6' in black text.
The image displays the mathematical equation 'y = -3' written in black text against a plain white background, representing a horizontal line in a Cartesian coordinate system.
Write the solution as an ordered pair. The ordered pair is (0, −3).
Check that the ordered pair is a solution to
both original equations.

4x3y=94(0)3(3)=?99=97x+2y=67(0)+2(3)=?66=6
The solution is (0, −3).

What other constants could we have chosen to eliminate one of the variables? Would the solution be the same?

When the system of equations contains fractions, we will first clear the fractions by multiplying each equation by its LCD.

Solve the system by elimination. {x+12y=632x+23y=172

Solution

Solution

In this example, both equations have fractions. Our first step will be to multiply each equation by its LCD to clear the fractions.
A system of two linear equations with fractional coefficients is displayed, enclosed by a brace on the left side. The equations are x + 1/2y = 6 and 3/2x + 2/3y = 17/2.
To clear the fractions, multiply each equation by its LCD. The image displays a system of two linear equations. In the first equation, both sides are multiplied by 2, and in the second equation, both sides are multiplied by 6. This operation is performed to eliminate the fractional coefficients, specifically the denominators of 2 in the first equation and 2 and 3 in the second equation, thereby simplifying the system for further algebraic manipulation.
Simplify. A system of two linear equations: 2x + y = 12 and 9x + 4y = 51.
Now we are ready to eliminate one of the variables. Notice that
both equations are in standard form.
We can eliminate y multiplying the top equation by −4. A system of linear equations: -4(2x + y) = -4(12) and 9x + 4y = 51. The constant -4 is highlighted in red in the first equation.
Simplify and add.



Substitute x = 3 into one of the original equations.
Mathematical solution showing a system of linear equations (-8x - 4y = -48, 9x + 4y = 51) solved by elimination to find x=3, indicated by a red circle and arrow. A third equation, x + (1/2)y = 6, is also present.
Solve for y. A mathematical equation is displayed, showing '3 + (1/2)y = 6' against a plain white background. The number 3 is highlighted in red, while the rest of the equation is in black.
A mathematical equation is displayed on a white background, reading '1/2y = 3'. The fraction 1/2 is vertically aligned, followed by the variable 'y', an equals sign, and the number '3'.
The image shows the mathematical equation 'y = 6' in black text on a plain white background.
Write the solution as an ordered pair. The ordered pair is (3, 6).
Check that the ordered pair is a solution
to both original equations.

x+12y=63+12(6)=?63+3=?66=632x+23y=17232(3)+23(6)=?17292+4=?17292+82=?172172=172
The solution is (3, 6).

In the Solving Systems of Equations by Graphing we saw that not all systems of linear equations have a single ordered pair as a solution. When the two equations were really the same line, there were infinitely many solutions. We called that a consistent system. When the two equations described parallel lines, there was no solution. We called that an inconsistent system.

Solve the system by elimination. {3x+4y=12y=334x

Solution

Solution

Steps to solve a system of dependent linear equations, illustrating the algebraic transformations that result in the identity 0=0.
{3x+4y=12y=334x
Write the second equation in standard form. {3x+4y=1234x+y=3
Clear the fractions by multiplying the second equation by 4. {3x+4y=12 4(34x+y)=4(3)
Simplify. {3x+4y=123x+4y=12
To eliminate a variable, we multiply the second equation by −1.
Simplify and add.
{3x+4y=123x4y=−12________________0=0

This is a true statement. The equations are consistent but dependent. Their graphs would be the same line. The system has infinitely many solutions.

After we cleared the fractions in the second equation, did you notice that the two equations were the same? That means we have coincident lines.

Solve the system by elimination. {−6x+15y=102x5y=−5

Solution

Solution

Steps demonstrating the elimination method to solve a system of linear equations, illustrating a case with no solution.
The equations are in standard form. {6x+15y=102x5y=−5
Multiply the second equation by 3 to eliminate a variable. {6x+15y=103(2x5y)=3(−5)
Simplify and add. {6x+15y=106x15y=−15__________________0−5

This statement is false. The equations are inconsistent and so their graphs would be parallel lines.

The system does not have a solution.

Solve Applications of Systems of Equations by Elimination

Some applications problems translate directly into equations in standard form, so we will use the elimination method to solve them. As before, we use our Problem Solving Strategy to help us stay focused and organized.

The sum of two numbers is 39. Their difference is 9. Find the numbers.

Solution

Solution

A 7-step guide demonstrating how to solve a word problem by setting up and solving a system of linear equations.
Step 1. Read the problem.
Step 2. Identify what we are looking for. We are looking for two numbers.
Step 3. Name what we are looking for.
Choose a variable to represent that quantity.
Let n= the first number.
m= the second number.
Step 4. Translate into a system of equations.



The system is:
The sum of two numbers is 39.
n+m=39
Their difference is 9.
nm=9 {n+m=39nm=9
Step 5. Solve the system of equations.
To solve the system of equations, use elimination.
The equations are in standard form and the coefficients of m are opposites. Add.


Solve for n.


Substitute n=24 into one of the original equations and solve for m.
{n+m=39 nm=9____________ 2n=48n=24 n+m=39 24+m=39 m=15
Step 6. Check the answer. Since 24+15=39 and 2415=9, the answers check.
Step 7. Answer the question. The numbers are 24 and 15.

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, which had 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 there in one order of medium fries? How many calories in one small soda?

Solution

Solution

Step 1. Read the problem.
Step 2. Identify what we are looking for. We are looking for the number of
calories in one order of medium fries
and in one small soda.
Step 3. Name what we are looking for. Let f = the number of calories in
1 order of medium fries.
   s = the number of calories in
1 small soda.
Step 4. Translate into a system of equations: one medium fries and two small sodas had a
total of 620 calories
A mathematical equation reads 'f + 2s = 620' on a white background, suggesting a problem or relationship between two variables, 'f' and 's', totaling 620.
two medium fries and one small soda had a
total of 820 calories.
A mathematical equation is displayed on a white background, reading '2f + s = 820' in black text.
Our system is: A system of two linear equations is presented. The first equation is f + 2s = 620, and the second equation is 2f + s = 820.
Step 5. Solve the system of equations.
To solve the system of equations, use
elimination. The equations are in standard
form. To get opposite coefficients of f,
multiply the top equation by −2.
A system of two linear equations is displayed. The first equation is -2(f + 2s) = -2(620), and the second equation is 2f + s = 820. The system is enclosed by a blue brace on the left.
Simplify and add. Solving a system of linear equations by the elimination method. Adding -2f - 4s = -1240 and 2f + s = 820 results in -3s = -420.
Solve for s. The image shows the text 's = 140' in black against a white background.
Substitute s = 140 into one of the original
equations and then solve for f.
A mathematical equation shows 'f + 2s = 620' in black text against a white background.
A mathematical equation is displayed, showing 'f + 2 ××× 140 = 620' with the number '140' highlighted in red.
The image shows a mathematical equation, f + 280 = 620, presented in a clear, standard black text on a white background, typical of a math problem or educational material.
The image displays the equation 'f = 340' in black text against a plain white background, indicating a variable 'f' set to the value 340.
Step 6. Check the answer. Verify that these numbers make sense
in the problem and that they are
solutions to both equations.
We leave this to you!
Step 7. Answer the question. The small soda has 140 calories and
the fries have 340 calories.

Choose the Most Convenient Method to Solve a System of Linear Equations

When you will have to solve a system of linear equations in a later math class, you will usually not be told which method to use. You will need to make that decision yourself. So you’ll want to choose the method that is easiest to do and minimizes your chance of making mistakes.

This table has two rows and three columns. The first row labels the columns as “Graphing,” “Substitution,” and “Elimination.” Under “Graphing” it says, “Use when you need a picture of the situation.” Under “Substitution” it says, “Use when one equation is already solved for one variable.” Under “Elimination” it says, “Use when the equations are in standard form.”

For each system of linear equations decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

{3x+8y=407x4y=−32 {5x+6y=12y=23x1

Solution

Solution

  1. {3x+8y=407x4y=−32
    Since both equations are in standard form, using elimination will be most convenient.
  2. {5x+6y=12y=23x1

>Since one equation is already solved for y, using substitution will be most convenient.

Key Concepts

  • To Solve a System of Equations by Elimination
    1. Write both equations in standard form. If any coefficients are fractions, clear them.
    2. 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.
    3. Add the equations resulting from Step 2 to eliminate one variable.
    4. Solve for the remaining variable.
    5. Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
    6. Write the solution as an ordered pair.
    7. Check that the ordered pair is a solution to both original equations.

Practice Makes Perfect

Solve a System of Equations by Elimination

In the following exercises, solve the systems of equations by elimination.

{5x+2y=2−3xy=0

{−3x+y=−9x2y=−12

Solution

(6, 9)

{6x5y=−12x+y=13

{3xy=−74x+2y=−6

Solution

(−2,1)

{x+y=−1xy=−5

{x+y=−8xy=−6

Solution

(−7,−1)

{3x2y=1x+2y=9

{−7x+6y=−10x6y=22

Solution

(−2,−4)

{3x+2y=−3x2y=−19

{5x+2y=1−5x4y=−7

Solution

(−1,3)

{6x+4y=−4−6x5y=8

{3x4y=−11x2y=−5

Solution

(−1,2)

{5x7y=29x+3y=−3

{6x5y=−75x2y=−13

Solution

(−5,9)

{x+4y=83x+5y=10

{2x5y=73xy=17

Solution

(6, 1)

{5x3y=−12xy=2

{7x+y=−413x+3y=4

Solution

(−2,10)

{−3x+5y=−132x+y=−26

{3x5y=−95x+2y=16

Solution

(2, 3)

{4x3y=32x+5y=−31

{4x+7y=14−2x+3y=32

Solution

(−7,6)

{5x+2y=217x4y=9

{3x+8y=−32x+5y=−3

Solution

(−9,3)

{11x+9y=−57x+5y=−1

{3x+8y=675x+3y=60

Solution

(9, 5)

{2x+9y=−43x+13y=−7

{13xy=−3x+52y=2

Solution

(−3,2)

{x+12y=3215x15y=3

{x+13y=−112x13y=−2

Solution

(−2,3)

{13xy=−323x+52y=3

{2x+y=36x+3y=9

Solution

infinitely many solutions

{x4y=−1−3x+12y=3

{−3xy=86x+2y=−16

Solution

infinitely many solutions

{4x+3y=220x+15y=10

{3x+2y=6−6x4y=−12

Solution

infinitely many solutions

{5x8y=1210x16y=20

{−11x+12y=60−22x+24y=90

Solution

inconsistent, no solution

{7x9y=16−21x+27y=−24

{5x3y=15y=53x2

Solution

inconsistent, no solution

{2x+4y=7y=12x4

Solve Applications of Systems of Equations by Elimination

In the following exercises, translate to a system of equations and solve.

The sum of two numbers is 65. Their difference is 25. Find the numbers.

Solution

The numbers are 20 and 45.

The sum of two numbers is 37. Their difference is 9. Find the numbers.

The sum of two numbers is −27. Their difference is −59. Find the numbers.

Solution

The numbers are 16 and −43.

The sum of two numbers is −45. Their difference is −89. Find the numbers.

Andrea is buying some new shirts and sweaters. She is able to buy 3 shirts and 2 sweaters for $114 or she is able to buy 2 shirts and 4 sweaters for $164. How much does a shirt cost? How much does a sweater cost?

Solution

A shirt costs $16 and a sweater costs $33.

Peter is buying office supplies. He is able to buy 3 packages of paper and 4 staplers for $40 or he is able to buy 5 packages of paper and 6 staplers for $62. How much does a package of paper cost? How much does a stapler cost?

The total amount of sodium in 2 hot dogs and 3 cups of cottage cheese is 4720 mg. The total amount of sodium in 5 hot dogs and 2 cups of cottage cheese is 6300 mg. How much sodium is in a hot dog? How much sodium is in a cup of cottage cheese?

Solution

There are 860 mg in a hot dog. There are 1,000 mg in a cup of cottage cheese.

The total number of calories in 2 hot dogs and 3 cups of cottage cheese is 960 calories. The total number of calories in 5 hot dogs and 2 cups of cottage cheese is 1190 calories. How many calories are in a hot dog? How many calories are in a cup of cottage cheese?

Choose the Most Convenient Method to Solve a System of Linear Equations

In the following exercises, decide whether it would be more convenient to solve the system of equations by substitution or elimination.


{8x15y=−326x+3y=−5 {x=4y34x2y=−6

Solution

elimination substitution


{y=7x53x2y=16 {12x5y=−423x+7y=−15


{y=4x+95x2y=−21 {9x4y=243x+5y=−14

Solution

substitution elimination


{14x15y=−307x+2y=10 {x=9y112x7y=−27

Everyday Math

Norris can row 3 miles upstream against the current in 1 hour, the same amount of time it takes him to row 5 miles downstream, with the current. Solve the system. {rc=3r+c=5

  1. for r, his rowing speed in still water.
  2. Then solve for c, the speed of the river current.
Solution

r=4 c=1

Josie wants to make 10 pounds of trail mix using nuts and raisins, and she wants the total cost of the trail mix to be $54. Nuts cost $6 per pound and raisins cost $3 per pound. Solve the system {n+r=106n+3r=54 to find n, the number of pounds of nuts, and r, the number of pounds of raisins she should use.

Writing Exercises

Solve the system
{x+y=105x+8y=56

by substitution by graphing Which method do you prefer? Why?

Solution
  1. (8, 2)

  2. This image is a graph that shows the solution to the system “x plus y equals 10” and 5x plus 8y equals 56. The solution is on an x, y coordinate plane. Two arrows intersect at points 8 and 2.
  3. Answers will vary.

Solve the system
{x+y=−12y=412x

by substitution by graphing Which method do you prefer? Why?

Self Check

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This figure shows a table with four rows and four columns. The columns are labeled, “I can…,” “Confidently.” “With some help.” and “No - I don’t get it.” The only column with filled in cells below it is labeled “I can…” It reads, “solve a system of equations by elimination.” “solve applications of systems of equations by elimination.” and “choose the most convenient method to solve a system of linear equations.”

What does this checklist tell you about your mastery of this section? What steps will you take to improve?