Reading: 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?
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.
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 ofx, 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 |
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.
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.
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). |
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 gand 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 forw 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).
Permissions
This reading is taken from the Developmental Math Open Program created by The NROC Project. It is available under a Creative Commons license.