Before you get started, take this readiness quiz.

Simplify $\mathrm{-5}\left(3-x\right)$.

If you missed this problem, review Example 1.136.

Simplify $4-2\left(n+5\right)$.

If you missed this problem, review Example 1.123.

Solve for $y$. $8y-8=32-2y$

If you missed this problem, review Example 2.34.

Solve for $x$. $3x-9y=\mathrm{-3}$

If you missed this problem, review Example 2.65.

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.

### Example 5.13 How to Solve a System of Equations by Substitution

Solve the system by substitution. $\{\begin{array}{c}2x+y=7\hfill \\ x-2y=6\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}\mathrm{-2}x+y=\mathrm{-11}\hfill \\ x+3y=9\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}x+3y=10\hfill \\ 4x+y=18\hfill \end{array}$

### 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.

### Example 5.14

Solve the system by substitution.

$\{\begin{array}{c}x+y=\mathrm{-1}\hfill \\ y=x+5\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}x+y=6\hfill \\ y=3x-2\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}2x-y=1\hfill \\ y=\mathrm{-3}x-6\hfill \end{array}$

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*.

### Example 5.15

Solve the system by substitution. $\{\begin{array}{c}3x+y=5\hfill \\ 2x+4y=\mathrm{-10}\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}4x+y=2\hfill \\ 3x+2y=\mathrm{-1}\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}-x+y=4\hfill \\ 4x-y=2\hfill \end{array}$

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*.

### Example 5.16

Solve the system by substitution. $\{\begin{array}{c}x-2y=\mathrm{-2}\hfill \\ 3x+2y=34\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}x-5y=13\hfill \\ 4x-3y=1\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}x-6y=\mathrm{-6}\hfill \\ 2x-4y=4\hfill \end{array}$

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

### Example 5.17

Solve the system by substitution. $\{\begin{array}{c}y=\mathrm{-2}x+5\hfill \\ y=\frac{1}{2}x\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}y=3x-16\hfill \\ y=\frac{1}{3}x\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}y=\text{\u2212}x+10\hfill \\ y=\frac{1}{4}x\hfill \end{array}$

Be very careful with the signs in the next example.

### Example 5.18

Solve the system by substitution. $\{\begin{array}{c}4x+2y=4\hfill \\ 6x-y=8\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}x-4y=\mathrm{-4}\hfill \\ \mathrm{-3}x+4y=0\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}4x-y=0\hfill \\ 2x-3y=5\hfill \end{array}$

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

### Example 5.19

Solve the system by substitution. $\{\begin{array}{c}4x-3y=6\hfill \\ 15y-20x=\mathrm{-30}\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}2x-3y=12\hfill \\ \mathrm{-12}y+8x=48\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}5x+2y=12\hfill \\ \mathrm{-4}y-10x=\mathrm{-24}\hfill \end{array}$

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.

### Example 5.20

Solve the system by substitution. $\{\begin{array}{c}5x-2y=\mathrm{-10}\hfill \\ y=\frac{5}{2}x\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}3x+2y=9\hfill \\ y=-\frac{3}{2}x+1\hfill \end{array}$

Solve the system by substitution. $\{\begin{array}{c}5x-3y=2\hfill \\ y=\frac{5}{3}x-4\hfill \end{array}$

### 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?

### Example 5.21

The sum of two numbers is zero. One number is nine less than the other. Find the numbers.

The sum of two numbers is 10. One number is 4 less than the other. Find the numbers.

The sum of two number is −6. One number is 10 less than the other. Find the numbers.

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

### Example 5.22

The perimeter of a rectangle is 88. The length is five more than twice the width. Find the length and the width.

The perimeter of a rectangle is 40. The length is 4 more than the width. Find the length and width of the rectangle.

The perimeter of a rectangle is 58. The length is 5 more than three times the width. Find the length and width of the rectangle.

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.

### Example 5.23

The measure of one of the small angles of a right triangle is ten more than three times the measure of the other small angle. Find the measures of both angles.

The measure of one of the small angles of a right triangle is 2 more than 3 times the measure of the other small angle. Find the measure of both angles.

The measure of one of the small angles of a right triangle is 18 less than twice the measure of the other small angle. Find the measure of both angles.

### Example 5.24

Heather has been offered two options for her salary as a trainer at the gym. Option A would pay her $25,000 plus $15 for each training session. Option B would pay her $10,000 + $40 for each training session. How many training sessions would make the salary options equal?

Geraldine has been offered positions by two insurance companies. The first company pays a salary of $12,000 plus a commission of $100 for each policy sold. The second pays a salary of $20,000 plus a commission of $50 for each policy sold. How many policies would need to be sold to make the total pay the same?

Kenneth currently sells suits for company A at a salary of $22,000 plus a $10 commission for each suit sold. Company B offers him a position with a salary of $28,000 plus a $4 commission for each suit sold. How many suits would Kenneth need to sell for the options to be equal?

### Media Access Additional Online Resources

Access these online resources for additional instruction and practice with solving systems of equations 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.

$\{\begin{array}{c}2x+y=\mathrm{-2}\hfill \\ 3x-y=7\hfill \end{array}$

$\{\begin{array}{c}x-3y=\mathrm{-9}\hfill \\ 2x+5y=4\hfill \end{array}$

$\{\begin{array}{c}\mathrm{-2}x+2y=6\hfill \\ y=\mathrm{-3}x+1\hfill \end{array}$

$\{\begin{array}{c}2x+5y=\mathrm{-14}\hfill \\ y=\mathrm{-2}x+2\hfill \end{array}$

$\{\begin{array}{c}3x+4y=1\hfill \\ y=-\frac{2}{5}x+2\hfill \end{array}$

$\{\begin{array}{c}\mathrm{-3}x-5y=3\hfill \\ y=\frac{1}{2}x-5\hfill \end{array}$

$\{\begin{array}{c}\mathrm{-2}x+y=10\hfill \\ -x+2y=16\hfill \end{array}$

$\{\begin{array}{c}x+y=0\hfill \\ 2x+3y=\mathrm{-4}\hfill \end{array}$

$\{\begin{array}{c}x+2y=\mathrm{-1}\hfill \\ 2x+3y=1\hfill \end{array}$

$\{\begin{array}{c}4x+y=10\hfill \\ x-2y=\mathrm{-20}\hfill \end{array}$

$\{\begin{array}{c}y=x-6\hfill \\ y=-\frac{3}{2}x+4\hfill \end{array}$

$\{\begin{array}{c}y=\text{\u2212}x-1\hfill \\ y=x+7\hfill \end{array}$

$\{\begin{array}{c}-x-12y=\mathrm{-1}\hfill \\ 2x-8y=\mathrm{-6}\hfill \end{array}$

$\{\begin{array}{c}2x-15y=7\hfill \\ 12x+2y=\mathrm{-4}\hfill \end{array}$

$\{\begin{array}{c}x=2y\hfill \\ 4x-8y=0\hfill \end{array}$

$\{\begin{array}{c}15x+4y=6\hfill \\ \mathrm{-30}x-8y=\mathrm{-12}\hfill \end{array}$

$\{\begin{array}{c}y=-\frac{1}{4}x\hfill \\ x+4y=8\hfill \end{array}$

$\{\begin{array}{c}y=-\frac{2}{3}x+5\hfill \\ 2x+3y=11\hfill \end{array}$

**Solve Applications of Systems of Equations by Substitution**

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

The sum of two numbers is 30. One number is 4 less than the other. Find the numbers.

The perimeter of a rectangle is 50. The length is 5 more than the width. Find the length and width.

The perimeter of a rectangle is 60. The length is 10 more than the width. Find the length and width.

The perimeter of a rectangle is 58. The length is 5 more than three times the width. Find the length and width.

The perimeter of a rectangle is 84. The length is 10 more than three times the width. Find the length and width.

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.

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.

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.

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.

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?

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?

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?

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?

#### Everyday Math

When Gloria spent 15 minutes on the elliptical trainer and then did circuit training for 30 minutes, her fitness app says she burned 435 calories. When she spent 30 minutes on the elliptical trainer and 40 minutes circuit training she burned 690 calories. Solve the system $\{\begin{array}{c}15e+30c=435\hfill \\ 30e+40c=690\hfill \end{array}$ for $e$, the number of calories she burns for each minute on the elliptical trainer, and $c$, the number of calories she burns for each minute of circuit training.

Stephanie left Riverside, California, driving her motorhome north on Interstate 15 towards Salt Lake City at a speed of 56 miles per hour. Half an hour later, Tina left Riverside in her car on the same route as Stephanie, driving 70 miles per hour. Solve the system $\{\begin{array}{c}56s=70t\hfill \\ s=t+\frac{1}{2}\hfill \end{array}$.

- ⓐ for $t$ to find out how long it will take Tina to catch up to Stephanie.
- ⓑ what is the value of $s$, the number of hours Stephanie will have driven before Tina catches up to her?

#### Writing Exercises

Solve the system of equations

$\{\begin{array}{c}x+y=10\hfill \\ x-y=6\hfill \end{array}$

ⓐ by graphing. ⓑ by substitution. ⓒ Which method do you prefer? Why?

Solve the system of equations

$\{\begin{array}{c}3x+y=12\hfill \\ x=y-8\hfill \end{array}$ by substitution and explain all your steps in words.

#### 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?