Use the substitution method to solve the system of equations

The substitution method is a way to solve the system of equations which requires calculating one of the variables from one equation and substituting it into the other equation.

The initial system is:

#{(2x+y=13),(5x-2y=10):}# ##

You can easily calculate #y# from the first equation:

#y=-2x+13#

Now if you substitute this value in the second equation you get the equation with one variable only (#x#):

#5x-2*(-2x+13)=10#

#5x+4x-26=10#

#9x=36 =>x=4#

Now you can substitute the calculated value of #x# into any of the equations:

#y=-2*4+13=>y=-8+13 =>y=5#

Finally we can write the answer:

This system has one solution:

#{(x=4),(y=5):}#

#2x+y=13to(1)#

#5x-2y=10to(2)#

#"rearrange equation "(1)" to give y in terms of x"#

#rArry=13-2xto(3)#

#color(blue)"substitute "y=13-2x" into equation "(2)#

#rArr5x-2(13-2x)=10#

#rArr5x-26+4x=10#

#rArr9x-26=10#

#"add "26" to both sides"#

#9xcancel(-26)cancel(+26)=10+26#

#rArr9x=36#

#"divide both sides by "9#

#(cancel(9) x)/cancel(9)=36/9#

#rArrx=4#

#"substitute this value into equation "(3)" and evaluate for y"#

#rArry=13-(2xx4)=13-8=5#

#color(blue)"As a check"#

#"substitute these values into equation "(2)#

#(5xx4)-(2xx5)=20-10=10larrcolor(blue)"True"#

#rArr"point of intersection "=(4,5)#
graph{(y+2x-13)(y-5/2x+5)=0 [-10, 10, -5, 5]}

#2x+y=13 ; (1) , 5x-2y=10; (2)#. From equation (1)

we get #y=13-2x #. Substituting #y=13-2x # in

equation (2) we get #5x - 2(13-2x)=10 # or

#5x - 26+4x =10 or 9x = 10+26 or 9x=36 or x=4#.

Substituting #x=4# in equation (1) we get ,

#2*4+y=13 :. y = 13-8 or y=5 :. x=4 , y=5#

Solution: #x=4 , y=5# [Ans]

The Substitution Method

Learning Objective(s)

·         Solve a system of equations using the substitution method.

·         Recognize systems of equations that have no solution or an infinite number of solutions.

·         Solve application problems using the substitution method.

Introduction

A graph can be used to show the solution for a system of two linear equations. However, accurately determining the solution from a graph is not always easy or accurate. For example, where do you think the two lines shown below intersect?

Use the substitution method to solve the system of equations

It looks like they might intersect at (1.8, –0.7)—though this is only an estimate. In cases like this, you can use algebraic methods to find exact answers. One method to look at is called the substitution method. You solve one equation for one variable and then substitute this expression into the other equation.

Using Substitution to Solve a System of Equations

In the substitution method you solve for one variable, and then substitute that expression into the other equation. The important thing here is that you are always substituting values that are equivalent.

For example:

Sean is 5 years older than four times his daughter’s age. His daughter is 7. How old is Sean?

You might do this problem in your head. Sean’s daughter is 7, so “four times his daughter’s age” is 28, and 5 years added to that is 33. Sean is 33.

If you solved the problem like that, you used a simple substitution—you substituted in the value “7” for “his daughter’s age.” You learned in the second part of the problem that “his daughter is 7.” So substituting in a value of “7” for “his daughter’s age” in the first part of the problem was okay, because you knew these two quantities were equal.

Let’s look at a simple system of equations that can be solved using substitution.

Example

Problem

Find the value of x for this system.

Equation A: 4x + 3y = 14

Equation B: y = 2

4x + 3y = −14

y = 2

The problem asks to solve for x. Equation B gives you the value of y, y = 2, so you can substitute 2 into Equation A for y.

4x + 3(2) = −14

Substituting y = 2 into

Equation A.

4x + 6 = −14

4x = −20

x = −5

Simplify and solve the equation for x.

Answer

x = −5

You can substitute a value for a variable even if it is an expression. Here’s an example.

Example

Problem

Solve for x and y.

Equation A: y + x = 3

Equation B: x = y + 5

y + x = 3

x = y + 5

The goal of the substitution method is to rewrite one of the equations in terms of a single variable. Equation B tells us that x = y + 5, so it makes sense to substitute that y + 5  into Equation A for x.

 y + x = 3

y  + (y + 5) = 3  

Substitute y + 5 into Equation A for x.

2y  + 5 = 3

−5    −5

2y = −2

y = −1

Simplify and solve the equation for y.

y  + x = 3

−1 + x =3

+1       +1

x = 4

To now find x, substitute this value for y into either equation and solve for x. We will use Equation A here.

y  + x = 3

−1 + 4 = 3

3 = 3

TRUE

x = y + 5

4 = −1 + 5

4 = 4

TRUE

Finally, check the solution

x = 4, y = −1 by substituting these values into each of the original equations.

Answer

x = 4 and y = −1

The solution is (4, −1).

Remember, a solution to a system of equations must be a solution to each of the equations within the system. The ordered pair (4, 1) does work for both equations, so you know that it is a solution to the system as well.

Let’s look at another example whose substitution involves the distributive property.

Example

Problem

Solve for x and y.

y = 3x + 6

2x + 4y = 4

y = 3x + 6

2x + 4y = 4

Choose an equation to use for the substitution.

The first equation tells you how to express y in terms of x, so it makes sense to substitute 3x + 6 into the second equation for y.

 2x + 4y = 4

2x  + 4(3x + 6) = 4  

Substitute 3x + 6 for y into the second equation.

2x + 12x  + 24 = 4

10x  + 24  = 4

24  24

10x      =   20

x = 2

Simplify and solve the equation for x.

y = 3x + 6

y = 3(2)+ 6

y = 6 + 6

y = 0

To find y, substitute this value for x back into one of the original equations.

y = 3x + 6

0 = 3(2) + 6

0 = 6 + 6

0 = 0

TRUE

2x + 4y = 4

2(2) + 4(0) = 4

4 + 0 = 4

4 = 4

TRUE

Check the solution x = 2, y = 0 by substituting them into each of the original equations.

Answer

x = −2 and y = 0

The solution is (−2, 0).

In the examples above, one of the equations was already given to us in terms of the variable x or y. This allowed us to quickly substitute that value into the other equation and solve for one of the unknowns.

Sometimes you may have to rewrite one of the equations in terms of one of the variables first before you can substitute. Look at the example below.

Example

Problem

Solve for x and y.

2x + 3y = 22

3x + y = 19

2x + 3y = 22

3x + y = 19

Choose an equation to use for the substitution. The second equation,

3x + y = 19, can easily be rewritten in terms of y, so it makes sense to start there.

3x + y = 19

y = 19 – 3x

Rewrite 3x + y = 19 in terms of y.

 2x + 3y = 22

2x  + 3(19 – 3x) = 22  

Substitute 19 – 3x for y in the other equation.

2x + 57 – 9x= 22

7x  + 57  = 22

7x = 35

x = 5

Simplify and solve the equation for x.

3x  +  y =   19

3(5)  +  y =   19

15 + y = 19

y = 19 15

y = 4

Substitute x = 5 back into one of the original equations to solve for y.

2x + 3y = 22

 2(5) + 3(4) = 22

10 + 12 = 22

22 = 22

TRUE

3x + y = 19

3(5)+ 4= 19

19 = 19

TRUE

Check both solutions by substituting them into each of the original equations.

Answer

x = 5 and y = 4

The solution is (5, 4).

Solve the system for x and y.

2y = x + 8

2y − 10 = 2x

A) x = 3, y = 2

B) x = 2, y = 3

C) x = 5, y = 2

D) x = 0, y = -5

Special Situations

There are some cases where using the substitution method will yield results that, at first, do not make sense. Let’s take a look at some of these and figure out what is going on.

Example

Problem

Solve for x and y.

y = 5x + 4

10x −2y =4

y = 5x + 4

10x − 2y = 4

10x – 2(5x + 4) = 4

Since the first equation is y = 5x + 4, you can substitute 5x + 4 in for y in the second equation.

10x – 10x – 8 = 4

Expand the expression on the left.

0 – 8 = 4

8 = 4

Combine like terms on the left side of equation.

10x – 10x = 0, so you are left with 8 = 4.

Answer

The statement −8 = 4 is false, so there is no solution.

You get the false statement 8 = 4. What does this mean? The graph of this system sheds some light on what is happening.

Use the substitution method to solve the system of equations

The lines are parallel, they never intersect and there is no solution to this system of linear equations. Note that the result 8 = 4 is not a solution. It is simply a false statement and it indicates that there is no solution.

Now take this problem, which is interesting as well.

Solve for x and y.

y = 0.5x

9y = 4.5x

Substituting 0.5x for y in the second equation, you find the following:

9y

=

4.5x

9(0.5x)

=

4.5x

4.5x

=

4.5x

This time you get a true statement: 4.5x = 4.5x. But what does this type of answer mean? Again, graphing can help you make sense of this system.

Use the substitution method to solve the system of equations

This system consists of two equations that both represent the same line; the two lines are collinear. Every point along the line will be a solution to the system, and that’s why the substitution method yields a true statement. In this case, there are an infinite number of solutions.

Aubrey is using the substitution method to solve the following system of equations:

y − x = 21

2y = 2x + 16

She arrives at an answer of 8 = 21. She thinks that this answer means that the lines are parallel and that the system has no solution.

Aubrey wants to check her answer. Which of the following actions will best help her find out whether the two equations in the system are, in fact, parallel?

A) Check to see whether the slopes of both lines are the same, and the y-intercepts are different.

B) Check to see whether either line goes through the origin.

C) Check to see whether the lines have the same y-intercept.

D) Check to see whether both lines go through the point (8, 21).

Solving Application Problems Using Substitution

Systems of equations are a very useful tool for modeling real-life situations and answering questions about them. If you can translate the application into two linear equations with two variables, then you have a system of equations that you can solve to find the solution. You can use any method to solve the system of equations. Use the substitution method in this topic.

In order to sell more of its produce, a local farm sells bags of apples in two sizes: medium and large. A medium bag contains 4 Macintosh and 1 Granny Smith apples and costs $2.80. A large bag contains 8 Macintosh and 4 Granny Smith apples and costs $7.20. The price of one Granny Smith apple is the same in the medium bag as it is in the large bag. The price of one Macintosh apple is the same in the medium bag as it is in the large bag. What is the price of each kind of apple?

Let’s start by creating a system of equations that represents what is happening in the problem. There are two types of apples and two sizes of bags. You can let m represent the cost of a Macintosh apple and g represent the price of a Granny Smith apple. Let’s make a table and see what is known.

Cost of Macintosh apples

+

Cost of Granny Smith apples

=

Total cost of bag

Medium

4m

+

g

=

$2.80

Large

8m

+

4g

=

$7.20

Now that you have two equations in the same variables you can solve the system. You will use substitution. The steps are shown in the example below:

Example

Problem

Solve for g and m using the substitution method.

4m + g = 2.80

8m + 4g = 7.20

4m + g = 2.80

g = 2.80 – 4m

First rewrite one of the equations in terms of one of the variables.

8m + 4g = 7.20

8m + 4(2.80 – 4m) = 7.20

8m + 11.20 – 16m = 7.20

8m  – 16m = 7.20 – 11.20

– 8m = –4.00

m = 0.50

Substitute (2.80 – 4m) for g in the second equation and solve for m.

4m + g = 2.80

4(0.5) + g = 2.80

2 + g = 2.80

g = 2.80 – 2

g = 0.80

Substitute the value of m, 0.50, into one of the original equations to solve for g.

4m + g = 2.80

4(.50) + .80 = 2.80

2.80 = 2.80

8m + 4g = 7.20

8(.50) + 4(.80) = 7.20

4.00 + 3.20 = 7.20

7.20 = 7.20

Check both equations by substituting in the values of g and m.

Answer

One Granny Smith apple costs $0.80 and one Macintosh costs $0.50.

Using the substitution method can be an effective approach to solving geometric problems.

Example

Problem

The perimeter of a rectangle is 60 inches. If the length is 10 inches longer than the width, find the dimensions using the substitution method.

2l  + 2w  = 60

l = w + 10

Use the information provided to write a system of equations. Let l = length and

w = width.

2l  + 2w  = 60

2(w + 10) + 2w = 60

2w  + 20 + 2w = 60

4w  + 20 = 60

20   20

4w  = 40

w = 10

Substitute w + 10 for l in the first equation and solve for w.

l = w + 10

l = 10+ 10

l = 20

To find l substitute 10 for w in one of the equations and solve for l.

l = w + 10

20 = 10 + 10

20 = 20

2l  + 2w  = 60

2(20) + 2(10) = 60

40 + 20 = 60

60 = 60

Check both solutions by substituting them into the two equations

Both of them are true, this is a correct solution.

Answer

The length of the rectangle is 20 inches.

The width of the rectangle is 10 inches.

Summary

The substitution method is one way of solving systems of equations. To use the substitution method, use one equation to find an expression for one of the variables in terms of the other variable. Then substitute that expression in place of that variable in the second equation. You can then solve this equation as it will now have only one variable. Solving using the substitution method will yield one of three results: a single value for each variable within the system (indicating one solution), an untrue statement (indicating no solutions), or a true statement (indicating an infinite number of solutions).

How do you use substitution to solve a system of equations?

Here's how it goes:.
Step 1: Solve one of the equations for one of the variables. Let's solve the first equation for y: ... .
Step 2: Substitute that equation into the other equation, and solve for x. ... .
Step 3: Substitute x = 4 x = 4 x=4 into one of the original equations, and solve for y..

How do you solve by substitution step by step?

Steps to Solving by Substitution:.
Step One→ Solve one equation for either x or y..
Step Two→ Substitute the expression from step one into the 2nd equation..
Step Three→ Solve the second equation for the given variable..
Step Four→ Plug you solution back into the first equation..
Step Five→ Write your solution as a point..

What is substitution method with example?

The first step in the substitution method is to find the value of any one of the variables from one equation in terms of the other variable. For example, if there are two equations x+y=7 and x-y=8, then from the first equation we can find that x=7-y. This is the first step of applying the substitution method.