Section 4.2 Substitution
In Section 1, we used graphing to solve a system of two linear equations. While graphing is insightful, it can be time-consuming. And what happens if the actual solution to the system does not have whole number coordinatesβwill you be able to see exactly what are the coordinates of the crossing? And what if your hand-drawn graph has some small imperfection that makes it look like the lines are crossing at the wrong place?
There are two main alternatives to graphing that can find the solution to a system of two linear equations. They use pencil-and-paper algebra instead of a picture. This section covers one of those alternative methods, and the next section covers the other.
Subsection 4.2.1 Substitution
Example 4.2.2. The Interview.
Once upon a time, the New York Times published an article about the movie, The Interview. It included the following quote:
β1β
nyti.ms/2pupebT
The Interview generated roughlymillion in online sales and rentals during its first four days of availability, Sony Pictures said on Sunday. Sony did not say how much of that total representeddigital rentals versus sales. The studio said there were about two million transactions overall.
Note the article is suggesting that we do not know how many rentals there were and how many sales there were. A few days later, Joey Devilla cleverly pointed out in his blog that there is enough information here to use algebra to figure out the number of sales and the number of rentals. We can write a system of equations and solve it to find the two quantities. (Since the numbers given in the article are only approximations, the solutions we find will also only be approximations.)
β2β
www.joeydevilla.com/2014/12/31/
First, we will define variables. There are two unknown quantities: how many sales there were and how many rentals there were. Let be the number of rental transactions and let be the number of sales transactions.
If you are unsure how to write an equation from the background information, use the units to help you. The units of each term in an equation must match because we can only add like quantities. Both and are measured in βtransactionsβ. The article says that the total number of transactions is two million. So our first equation will add the total number of rental and sales transactions and set that equal to two million. Our equation is:
Without the units:
The price of each rental was That means the problem has given us a rate of to work with. The rate unit suggests this should be multiplied by something measured in transactions. It makes sense to multiply by and that would give us the total number of dollars generated from rentals. This is Similarly, the price of each sale was so the revenue from sales was The total revenue was million, which we can represent with this equation:
Without the units:
Here is our system of equations, with the commas removed:
To solve the system, we will use a method called substitution. The idea is to use one equation to isolate Then substitute this for the β β thatβs in the other equation. This leaves you with one equation where the only variable is And we can handle that directly.
The first equation from the system is an easy one to isolate
This tells us that the expression is equal to so we can substitute that in place of in the second equation:
Remark 4.2.3.
In Example 2, we rounded the solution values because only whole numbers make sense in the context of the problem. It was especially acceptable to round because the original numbers we worked with were already rounded. In fact, it would be OK to round even more to something like and as long as we communicate clearly that we rounded.
In other exercises where there is no context, it is not OK to round. Solutions should be communicated with their exact values.
Example 4.2.4.
Explanation.
To use substitution, we need to isolate one of the variables in one of our equations. Looking over both equations, it will be easiest to isolate in the first equation:
Next, we substitute in for in the second equation, giving us a linear equation in only one variable And this is an equation that we may solve using skills from Section 2.1.
Now that we have the value for we need to find the value for We already isolated and itβs easiest to just use that equation.
At this point we think the solution is the point or in other words: Itβs only human to make mistakes though, so we should check that the solution actually works. To check it, try using in both of the original equations.
We conclude then that this system of equations is true when and The solution is the point and we write the solution set as
Checkpoint 4.2.5.
(a)
Isolate one of the variables in one of the equations.
Explanation.
We choose to isolate in the first equation. All we need to do is add to each side, and then
(b)
Substitute the isolated expression into the other equation.
Explanation.
Making the substitution:
(c)
Solve for the one variable that remains.
Explanation.
(d)
Solve for the other variable.
Explanation.
Sometimes it makes more sense to start the process using the second equation instead of the first. And sometimes it makes more sense to isolate the second variable instead of the first.
Example 4.2.6.
Explanation.
We need to isolate one of the variables in one of the equations. Looking over both equations, it will be easiest to isolate in the second equation because that is where the coefficient is smallest. We are going to have to divide by some coefficient; it might as well be the smallest one to keep the fraction arithmetic as simple as we can.
Note that there are fractions once weβve isolated We should take care with the steps that follow to make sure that the fraction arithmetic is correct.
Substitute in for in the first equation, and that leads to having a single linear equation with only one variable. We can solve this as we did in Section 2.3. Note the step in the middle where we clear denominators.
Now that we have the value for we need to find the value for We already isolated and itβs easiest to just use that equation.
To check the solution we think weβve found, try using in both of the original equations.
We conclude then that this system of equations is true when and The solution is the point and we write the solution set as
A system may start out with fractions among the coefficients. Just as we learned in Section 2.3, the algebra can go more smoothly if we clear the denominators before doing more work.
Example 4.2.7.
Explanation.
When a system of equations has fraction coefficients, it may be helpful to βclear the denominatorsβ. With each equation, multiply each side by the least common multiple of that equationβs denominators.
In the first equation, the least common multiple of the denominators is so:
In the second equation, the least common multiple of the denominators is so:
Now we have a system that is equivalent to the original system of equations, but there are no fraction coefficients:
The second equation has already isolated so we will substitute in for in the first equation.
And we have solved for To find we know so we have:
The solution is (This should be checked in the original two equations though.)
Real world applications can lead to a system where both equations are either in point-slope form or slope-intercept form. This is helpful, since it means one variable has already been isolated.
Example 4.2.8.
Explanation.
In the first equation, is already isolated. So we can substitute in for in the second equation:
Some people prefer to think of this as setting the two right sides equal to each other. That works too: if is equal to and is also equal to then these expressions are equal to each other. Either way:
And then:
And the solution is
For summary reference, here is the general procedure.
Process 4.2.9. Solving Systems of Equations by Substitution.
To solve a system of two linear equations in two variables by substitution,
- If helpful, clear denominators from each equation using the least common multiple of each equationβs denominators.
- Isolate one variable in one of the equations.
- Substitute that expression into the other equation. There should now only be one variable in that equation.
- Solve that equation for the one remaining variable.
- Substitute that value into the earlier result where the first variable was isolated, and solve for that variable.
- Verify your solution using the original two equations.
Subsection 4.2.2 Applications
Example 4.2.10. Two Different Interest Rates.
Notah made some large purchases with his two credit cards one month and took on a total of in debt from the two cards. He didnβt make any payments the first month, so the two credit card debts each started accruing interest. That month, his Visa card charged interest and his Mastercard charged interest. Because of this, Notahβs total debt grew by How much money did Notah charge to each card?
Explanation.
We start by clearly defining two variables for the two unknowns. Let be the amount charged to the Visa card (in dollars) and let be the amount charged to the Mastercard (in dollars).
To set up the equations, notice that we are given two different total dollar amounts. One is the total debt Notah initially took on, So we have:
Or without units:
The other total we were given is the total amount of interest, The Visa had dollars charged to it and accrues interest. So is the dollar amount of interest that comes from using the Visa card. Similarly, is the dollar amount of interest from using the Mastercard. Together:
Or without units:
As a system, we write:
To solve this system by substitution, notice that it will be easier to isolate one of the variables in the first equation. Weβll isolate
Now we substitute in for in the second equation:
And then we can determine the value of by using the earlier equation where we isolated
In summary, Notah charged to the Visa and to the Mastercard. We should check that these numbers work as solutions to our original system and that they make sense in context. (For instance, if one of these numbers were negative, or was something small like they wouldnβt make sense as credit card debt.)
The next two examples are called mixture problems, because they involve mixing two quantities together to form a combination and we want to find out how much of each quantity to mix.
Example 4.2.11. Mixing Solutions with Two Different Concentrations.
LaVonda is a meticulous bartender and she needs to serve milliliters of Rob Roy, a cocktail that is alcohol by volume. The main ingredients are scotch that is alcohol and vermouth that is alcohol. How many milliliters of each ingredient should she mix together to make the concentration she needs?
Explanation.
The two unknowns are the quantities of each ingredient. Let be the amount of scotch (in mL) and let be the amount of vermouth (in mL).
One quantity given to us in the problem is 600 mL. Since this is the total volume of the mixed drink, we must have:
Or without units:
To build the second equation, we have to think about the alcohol concentrations for the pure scotch, pure vermouth, and the mixed Rob Roy. It can be tricky to think about percentages like these correctly. One strategy is to focus on the amount of alcohol (in mL). If we have milliliters of scotch that is alcohol, then is the actual amount of alcohol (in mL) in that scotch. Similarly, is the amount of alcohol in the vermouth. And the final cocktail is 600 mL of liquid that is alcohol. So it has milliliters of alcohol. This is telling us:
Or without units:
So our system is:
To solve this system, weβll isolate in the first equation:
And then substitute in for in the second equation with :
Now we determine using the equation where we had isolated
In summary, LaVonda needs to combine 400 mL of scotch with 200 mL of vermouth to create 600 mL of Rob Roy.
Letβs take a moment to consider estimation to ask whether the solution to Example 11 is reasonable. LaVonda will mix scotch ( concentration) with vermouth ( concentration) and wants to end with a concentration. Is closer to or Itβs closer to so we should expect there to be more scotch than vermouth. This agrees with the solution we found.
Checkpoint 4.2.12. Mixing a Coffee Blend.
Desi owns a coffee shop and they want to mix two different types of coffee beans to make a blend that sells for per pound. They have some coffee beans from Columbia that sell for per pound and some coffee beans from Honduras that sell for per pound. How many pounds of each should they mix to make pounds of the blend?
(a)
Write two equations that form a system for this scenario.
Explanation.
We have pounds of Columbian coffee and pounds of Honduran coffee. Since there must be pounds total, one equation is
The total cost of the Colombian coffee in the blend will be and the total cost of the Honduran coffee in the blend will be All together, the blend has a total cost of dollars. So another equation is
(b)
Isolate one of the variables in one of the equations.
Explanation.
We choose to isolate in the first equation. All we need to do subtract from each side, and then
(c)
Substitute the isolated expression into the other equation.
Explanation.
Making the substitution:
(d)
Solve this equation in one variable and then solve for the other variable using the isolation from a previous step. Finally, report how much of each type of coffee Desi should use.
Explanation.
In summary, Desi needs to mix pounds of the Honduran coffee beans with pounds of the Columbian coffee beans to create this blend.
Subsection 4.2.3 Solving Special Systems of Equations with Substitution
Remember the two special cases for a system of two linear equations? We studied them in Subsection 4.1.3. If the two lines have the same slope, then they might be distinct lines that never meet, and then the system has no solutions. Or they might coincide as the same line, in which case there are infinitely many solutions represented by all the points on that line. In these cases, when we try to use substitution, interesting things happen.
Example 4.2.13. A System with No Solution.
Explanation.
Since the first equation has already isolated we will substitute in for in the second equation, and we have:
Even though we were only intending to replace in the second equation, it turned out that all instances of disappear too. There are no variables at all in what remains. This will happen whenever the two lines from a system have the same slope. In this case, since is false no matter what values and might be, there can be no solution to the system. If we graphed the two lines from this system, we would see them as parallel and distinct. We can say that there are no solutions, or that the solution set is empty. The solution set is or
For verification, letβs re-write the second equation in slope-intercept form:
So the system is equivalent to:
Now it is easier to see that the two lines have the same slope but different -intercepts. The lines are parallel and distinct confirming that there should be no solution to the system.
Example 4.2.14. A System with Infinitely Many Solutions.
Explanation.
Since is already isolated in the first line, we will use that and substitute in for in the second equation:
Once again, after the substitution we find ourselves with an equation where there are no variables. This time, it is an outright true equation; really does equal What does this mean for the original system of equations though? Apparently as long as equals then both of the original equations are true. Itβs obvious that makes the first equation true, but our algebra above shows that also makes the second equation true. So there are infinitely many solutions. If we want to, we can write the solution set using set-builder notation: Ultimately the βtwoβ lines from the system were actually the same line.
For verification, letβs re-write the second equation in slope-intercept form:
So the system is equivalent to:
Now it is clear that the two equations represent the same line. So every point on that line is a solution, and there are infinitely many solutions.
Reading Questions 4.2.4 Reading Questions
1.
Give an example of a system of two equations in and where it would be nicer to solve the system using substitution than by graphing the two lines that the equations define. Explain why substitution would be nicer than graphing for your example system.
2.
What can be helpful if you have a system of two linear equations in two variables where there are fractions appearing in the equations?
3.
In an application problem, thinking about the can help you understand how to set up equations.
Exercises 4.2.5 Exercises
Skills Practice
Exercise Group.
Solve the system of equations using substitution.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
Applications
53.
A rectangleβs length is shorter than four times its width. The rectangleβs perimeter is Find the rectangleβs length and width.
54.
A school fundraising event sold a total of tickets and generated a total revenue of Each adult ticket cost and each child ticket cost How many adult tickets and how many child tickets were sold?
55.
One telecom company charges a monthly fee of and for each Gigabyte (GB) of data transmitted. A rival telecom company charges a monthly fee of and for each GB of data transmitted. How many GB of data would you have to use for the monthly bill to be the same for the two providers? And what would that monthly bill be?
56.
A local restaurant has two locations. At one location, the revenue this month is but it has been decreasing by per month. At the other location, the annual revenue this month is and it has been increasing by per month. How long will it be until the two restaurant locations are taking in the same monthly revenue? And what will that monthly revenue be?
57.
An algebra exam has questions worth a total of 100 points. There are two types of question on the exam. There are multiple-choice questions each worth points, and short-answer questions, each worth points. How many questions are there of each type?
58.
Skye invested a total of in two investments. Her savings account pays interest annually. A riskier stock investment earned at the end of the year. At the end of the year, Skye earned a total of in interest. How much money did she invest in each account?
59.
Alessandro invested a total of in two investments. His savings account pays interest annually. A riskier stock investment lost at the end of the year. At the end of the year, Alessandroβs total fell from to How much money did he invest in each account?
60.
Asterton and Balsamburg were two towns located close to each other, and recently they merged into one city. Asterton had a population with Democrats. Balsamburg had a population with Democrats. After the merge, the new city has a total of residents, with Democrats. How many residents did each town have before the merge?
61.
Delilah poured some alcohol solution and some alcohol solution together into a beaker, and then the beaker had of alcohol solution. How much of each solution did Delilah pour into the beaker?
62.
A snack company will produce and sell 1-lb bags with a mixture of peanuts and cashews. Peanuts cost per pound, and cashews cost per pound. The company is targeting a product that will cost them per pound worth of ingredients. How much of each type of nut should go into a bag?
You have attempted 1 of 68 activities on this page.