# 5.2 Solving Systems of Equations by Substitution

### Learning Objectives

By the end of this section, you will be able to:

• Solve a system of equations by substitution
• Solve applications of systems of equations by substitution

Solving systems of linear equations by graphing is a good way to visualize the types of solutions that may result. However, there are many cases where solving a system by graphing is inconvenient or imprecise. If the graphs extend beyond the small grid with x and y both between −10 and 10, graphing the lines may be cumbersome. And if the solutions to the system are not integers, it can be hard to read their values precisely from a graph.

In this section, we will solve systems of linear equations by the substitution method.

### Solve a System of Equations by Substitution

We will use the same system we used first for graphing.

We will first solve one of the equations for either x or y. We can choose either equation and solve for either variable—but we’ll try to make a choice that will keep the work easy.

Then we substitute that expression into the other equation. The result is an equation with just one variable—and we know how to solve those!

After we find the value of one variable, we will substitute that value into one of the original equations and solve for the other variable. Finally, we check our solution and make sure it makes both equations true.

We’ll fill in all these steps now in Example 5.13.

### How To

#### Solve a system of equations by substitution.

• Step 1. Solve one of the equations for either variable.
• Step 2. Substitute the expression from Step 1 into the other equation.
• Step 3. Solve the resulting equation.
• Step 4. Substitute the solution in Step 3 into one of the original equations to find the other variable.
• Step 5. Write the solution as an ordered pair.
• Step 6. Check that the ordered pair is a solution to both original equations.

If one of the equations in the system is given in slope–intercept form, Step 1 is already done! We’ll see this in Example 5.14.

If the equations are given in standard form, we’ll need to start by solving for one of the variables. In this next example, we’ll solve the first equation for y.

In Example 5.15 it was easiest to solve for y in the first equation because it had a coefficient of 1. In Example 5.16 it will be easier to solve for x.

When both equations are already solved for the same variable, it is easy to substitute!

Be very careful with the signs in the next example.

In Example 5.19, it will take a little more work to solve one equation for x or y.

Look back at the equations in Example 5.19. Is there any way to recognize that they are the same line?

Let’s see what happens in the next example.

### Solve Applications of Systems of Equations by Substitution

We’ll copy here the problem solving strategy we used in the Solving Systems of Equations by Graphing section for solving systems of equations. Now that we know how to solve systems by substitution, that’s what we’ll do in Step 5.

### How To

#### How to use a problem solving strategy for systems of linear equations.

• Step 1. Read the problem. Make sure all the words and ideas are understood.
• Step 2. Identify what we are looking for.
• Step 3. Name what we are looking for. Choose variables to represent those quantities.
• Step 4. Translate into a system of equations.
• Step 5. Solve the system of equations using good algebra techniques.
• Step 6. Check the answer in the problem and make sure it makes sense.
• Step 7. Answer the question with a complete sentence.

Some people find setting up word problems with two variables easier than setting them up with just one variable. Choosing the variable names is easier when all you need to do is write down two letters. Think about this in the next example—how would you have done it with just one variable?

In the Example 5.22, we’ll use the formula for the perimeter of a rectangle, P = 2L + 2W.

For Example 5.23 we need to remember that the sum of the measures of the angles of a triangle is 180 degrees and that a right triangle has one 90 degree angle.

### Media

Access these online resources for additional instruction and practice with solving systems of equations by substitution.

• Instructional Video-Solve Linear Systems by Substitution
• Instructional Video-Solve by Substitution

### Section 5.2 Exercises

#### Practice Makes Perfect

Solve a System of Equations by Substitution

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

Solve Applications of Systems of Equations by Substitution

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

107.The sum of two numbers is 15. One number is 3 less than the other. Find the numbers.
108.The sum of two numbers is 30. One number is 4 less than the other. Find the numbers.
109.The sum of two numbers is −26. One number is 12 less than the other. Find the numbers.
110.The perimeter of a rectangle is 50. The length is 5 more than the width. Find the length and width.
111.The perimeter of a rectangle is 60. The length is 10 more than the width. Find the length and width.
112.The perimeter of a rectangle is 58. The length is 5 more than three times the width. Find the length and width.
113.The perimeter of a rectangle is 84. The length is 10 more than three times the width. Find the length and width.
114.The measure of one of the small angles of a right triangle is 14 more than 3 times the measure of the other small angle. Find the measure of both angles.
115.The measure of one of the small angles of a right triangle is 26 more than 3 times the measure of the other small angle. Find the measure of both angles.
116.The measure of one of the small angles of a right triangle is 15 less than twice the measure of the other small angle. Find the measure of both angles.
117.The measure of one of the small angles of a right triangle is 45 less than twice the measure of the other small angle. Find the measure of both angles.
118.Maxim has been offered positions by two car dealers. The first company pays a salary of \$10,000 plus a commission of \$1,000 for each car sold. The second pays a salary of \$20,000 plus a commission of \$500 for each car sold. How many cars would need to be sold to make the total pay the same?
119.Jackie has been offered positions by two cable companies. The first company pays a salary of \$ 14,000 plus a commission of \$100 for each cable package sold. The second pays a salary of \$20,000 plus a commission of \$25 for each cable package sold. How many cable packages would need to be sold to make the total pay the same?
120.Amara currently sells televisions for company A at a salary of \$17,000 plus a \$100 commission for each television she sells. Company B offers her a position with a salary of \$29,000 plus a \$20 commission for each television she sells. How televisions would Amara need to sell for the options to be equal?
121.Mitchell currently sells stoves for company A at a salary of \$12,000 plus a \$150 commission for each stove he sells. Company B offers him a position with a salary of \$24,000 plus a \$50 commission for each stove he sells. How many stoves would Mitchell need to sell for the options to be equal?

#### Self Check

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

ⓑ After reviewing this checklist, what will you do to become confident for all objectives?