What if you were given a system of linear equations like and ? How could you substitute one equation into the other to solve for the variables? After completing this Concept, you'll be able to solve a system of linear equations by substitution.
Try This
For lots more practice solving linear systems, check out this web page: http://www.algebra.com/algebra/homework/coordinate/practice-linear-system.epl
After clicking to see the solution to a problem, you can click the back button and then click Try Another Practice Linear System to see another problem.
Guidance
In this lesson, we’ll learn to solve a system of two equations using the method of substitution.
Solving Linear Systems Using Substitution of Variable Expressions
Let’s look again at the problem about Peter and Nadia racing.
Peter and Nadia like to race each other. Peter can run at a speed of 5 feet per second and Nadia can run at a speed of 6 feet per second. To be a good sport, Nadia likes to give Peter a head start of 20 feet. How long does Nadia take to catch up with Peter? At what distance from the start does Nadia catch up with Peter?
In that example we came up with two equations:
Nadia’s equation:
Peter’s equation:
Each equation produced its own line on a graph, and to solve the system we found the point at which the lines intersected—the point where the values for and satisfied both relationships. When the values for and are equal, that means that Peter and Nadia are at the same place at the same time.
But there’s a faster way than graphing to solve this system of equations. Since we want the value of to be the same in both equations, we could just set the two right-hand sides of the equations equal to each other to solve for . That is, if and , and the two ’s are equal to each other, then by the transitive property we have . We can solve this for :
Even if the equations weren’t so obvious, we could use simple algebraic manipulation to find an expression for one variable in terms of the other. If we rearrange Peter’s equation to isolate :
We can now substitute this expression for into Nadia’s equation to solve:
So we find that Nadia and Peter meet 20 seconds after they start racing, at a distance of 120 feet away.
The method we just used is called the Substitution Method. In this lesson you’ll learn several techniques for isolating variables in a system of equations, and for using those expressions to solve systems of equations that describe situations like this one.
Example A
Let’s look at an example where the equations are written in standard form.
Solve the system
Again, we start by looking to isolate one variable in either equation. If you look at the second equation, you should see that the coefficient of is 1. So the easiest way to start is to use this equation to solve for .
Solve the second equation for :
Substitute this expression into the first equation:
Substitute back into our expression for :
As you can see, we end up with the same solution that we found when we graphed these functions back in Lesson 7.1. So long as you are careful with the algebra, the substitution method can be a very efficient way to solve systems.
Next, let’s look at a more complicated example. Here, the values of and we end up with aren’t whole numbers, so they would be difficult to read off a graph!
Example B
Solve the system
Again, we start by looking to isolate one variable in either equation. In this case it doesn’t matter which equation we use—all the variables look about equally easy to solve for.
So let’s solve the first equation for :
Substitute this expression into the second equation:
Substitute into the expression we got for :
So our solution is . You can see how the graphical solution might have been difficult to read accurately off a graph!
Solving Real-World Problems Using Linear Systems
Simultaneous equations can help us solve many real-world problems. We may be considering a purchase—for example, trying to decide whether it’s cheaper to buy an item online where you pay shipping or at the store where you do not. Or you may wish to join a CD music club, but aren’t sure if you would really save any money by buying a new CD every month in that way. Or you might be considering two different phone contracts. Let’s look at an example of that now.
Example C
Anne is trying to choose between two phone plans. The first plan, with Vendafone, costs $20 per month, with calls costing an additional 25 cents per minute. The second company, Sellnet, charges $40 per month, but calls cost only 8 cents per minute. Which should she choose?
You should see that Anne’s choice will depend upon how many minutes of calls she expects to use each month. We start by writing two equations for the cost in dollars in terms of the minutes used. Since the number of minutes is the independent variable, it will be our . Cost is dependent on minutes – the cost per month is the dependent variable and will be assigned .
For Vendafone:
For Sellnet:
By writing the equations in slope-intercept form , you can sketch a graph to visualize the situation:
The line for Vendafone has an intercept of 20 and a slope of 0.25. The Sellnet line has an intercept of 40 and a slope of 0.08 (which is roughly a third of the Vendafone line’s slope). In order to help Anne decide which to choose, we’ll find where the two lines cross, by solving the two equations as a system.
Since equation 1 gives us an expression for , we can substitute this expression directly into equation 2:
So if Anne uses 117.65 minutes a month (although she can’t really do exactly that, because phone plans only count whole numbers of minutes), the phone plans will cost the same. Now we need to look at the graph to see which plan is better if she uses more minutes than that, and which plan is better if she uses fewer. You can see that the Vendafone plan costs more when she uses more minutes, and the Sellnet plan costs more with fewer minutes.
So, if Anne will use 117 minutes or less every month she should choose Vendafone. If she plans on using 118 or more minutes she should choose Sellnet.
Watch this video for help with the Examples above.
CK-12 Foundation: Linear Systems by Substitution
Vocabulary
- Solving linear systems by substitution means to solve for one variable in one equation, and then to substitute it into the other equation, solving for the other variable.
Guided Practice
Solve the system
Solution:
Again, we start by looking to isolate one variable in either equation. In this case it doesn’t matter which equation we use—all the variables look about equally easy to solve for.
So let’s solve the first equation for :
Substitute this expression into the second equation:
Substitute into the expression we got for :
So our solution is .
Explore More
- Solve the system:
- Solve the system:
- Solve the system:
- Solve the system:
- Solve the system:
- Solve the system:
- Solve the system:
- Of the two non-right angles in a right angled triangle, one measures twice as many degrees as the other. What are the angles?
- The sum of two numbers is 70. They differ by 11. What are the numbers?
- A number plus half of another number equals 6; twice the first number minus three times the second number equals 4. What are the numbers?
- A rectangular field is enclosed by a fence on three sides and a wall on the fourth side. The total length of the fence is 320 yards. If the field has a total perimeter of 400 yards, what are the dimensions of the field?
- A ray cuts a line forming two angles. The difference between the two angles is . What does each angle measure?
- Jason is five years older than Becky, and the sum of their ages is 23. What are their ages?