Section 4.1 Solving a System by Graphing
In Chapter 3 we learned a few ways we can graph one line in the plane. Now we will graph two lines simultaneously and use what we see to identify the solution set to a “system of two linear equations in two variables”.
Subsection 4.1.1 Systems of Two Linear Equations in Two Variables
There are times when two linear equations (each one having two variables—the same two variables) are relevant to some situation at the same time. When this happens, we have a system of two equations in two variables which we can write this way (if the variables are and ):
The large left brace indicates that this is a collection of two distinct equations, not one equation that was somehow changed with algebra into an equivalent equation. In the system above, and are specific numbers, while and are the variables. The two line equations in the system above are both in slope-intercept form, but that is not required. Each line equation could be written in some other form and we would still call this a system of two equations in two variables.
Let’s explore an example of how these things arise.
Example 4.1.2.
Fabiana and David are running at constant speeds in parallel lanes on a track. David starts out ahead of Fabiana, but Fabiana is running faster. We want to determine when Fabiana will catch up with David.
Suppose that Fabiana is running with a speed of If she started out at position meters, then her position in meters after seconds is given by
David is running more slowly, at only But he had a head start, starting out at a position meters ahead of Fabiana. So David’s position in meters after seconds is given by
One of these equations represents Fabiana, and the other represents David. But imagine if you could find a point that worked as a solution to Fabiana’s equation and also as a solution to David’s equation. That would mean there is a moment in time ( seconds after the clock started) when Fabiana’s position equals David’s position. (Both runners would be meters from the starting point.) In other words, this would be the moment when Fabiana catches up to David.
A solution to a system is an ordered pair that is a solution to both equations in the system. Of course the variables may be different letters—they should be whatever two variables the equations are using.
In Example 2, there is a solution: You can verify that it works for both equations. Could you find that ordered pair yourself? In this section and the ones that follow, we will learn some techniques for finding it yourself. In this case, the solution tells us that it takes 8 s for Fabiana to catch up with David. And when she does, they are 18 m from the starting point.
For future reference, we establish some formal definitions now.
Definition 4.1.3. System of Linear Equations.
A system of linear equations is any pairing of two (or more) linear equations. (But in this book we are only examining systems with two equations with two variables.) A solution to a system of linear equations is any point that is a solution to each of the equations in the system. The solution set to a system of linear equations is the collection of all solutions to the system. The solution set might be empty, might consist of one point only, or might have more.
Subsection 4.1.2 Solving a System of Equations by Graphing
If the two equations in a system are both easy to graph, it might happen that we can find the solution to a system by graphing them both on the same axis system.
Example 4.1.4.
And each of these two lines is straightforward to graph.
Fabiana’s line has vertical intercept at and slope So we can plot it by starting at the origin and using slope triangles that move to the right, then up
David’s line has vertical intercept at and slope So we can plot it by starting at and using slope triangles that move to the right, then up
As we can see in Figure 5, the two line equations cross at the point Note that this means is a solution to Fabiana’s equation and also to David’s equation. So there is a moment in time (8 s) when both runners are at the same position (18 m). This means that is the solution to our system of linear equation. And it means that it takes Fabiana 8 s to catch up to David.
The lesson of Example 4 is that we can find a solution to a system by graphing both lines and identifying where they cross.
Example 4.1.6.
Explanation.
The two lines intersect where and so there is only one solution. It is the point The solution set is
Checkpoint 4.1.8.
Determine the solution to the system of equations graphed below.
Explanation.
The two lines intersect where and so the solution is the point
Now let’s solve a system where we need to make the graph ourselves.
Example 4.1.9.
Notice that each of these equations is written in slope-intercept form. The first equation, has slope and -intercept The second equation, has slope and -intercept We can use this information to graph both lines.
It appears that the two lines intersect where and so the solution to the system of equations would be the point However we should be careful. Maybe the lines are poorly drawn, or maybe they cross at a point close to that is too close for us to see. We should check that actually works as a solution to each of the original equations, since we have those equations.
Checkpoint 4.1.11.
Solve the following system of equations by graphing.
Explanation.
Both equations are written in slope-intercept form. The first equation, has slope and -intercept The second equation, has slope and -intercept We can use this information to graph both lines.
It appears that the two lines intersect where and so the solution to the system of equations would be the point However we should check that actually works as a solution to each of the original equations.
This verifies that is the solution.
Checkpoint 4.1.12.
Solve the following system of equations by graphing. Note that the equations are in standard form. To review plotting a line equation that is in standard form, see Section 3.7.
Explanation.
Both of these equations are written in standard form. The first equation, has -intercept at and -intercept at The second equation, has -intercept at and -intercept at We can use this information to graph both lines.
It appears that the two lines intersect where and so the solution to the system of equations would be the point However we should check that actually works as a solution to each of the original equations.
This verifies that is the solution.
Checkpoint 4.1.13.
Solve the following system of equations by graphing. Note that the equations are in point-slope form. To review plotting a line equation that is in point-slope form, see Section 3.6.
Explanation.
Both of these equations are written in point-slope form. The first equation, passes through and has slope The second equation, passes through and has slope We can use this information to graph both lines.
It appears that the two lines intersect where and so the solution to the system of equations would be the point However we should check that actually works as a solution to each of the original equations.
This verifies that is the solution.
Checkpoint 4.1.14.
A college has a north campus and a south campus. The north campus has thousand students, but enrollment has been declining by thousand students per year. The newer south campus has only thousand students, but enrollment has been increasing by thousand students per year. If these trends continue, in how many years would the two campuses have the same number of students?
(a)
Write two equations that form a system for this scenario.
Explanation.
The north campus has initial population and decreases with rate thousand students per year. So one equation is
The south campus has initial population and increases with rate thousand students per year. So the other equation is
(b)
Plot the two lines.
Explanation.
For plotting, it may be helpful to write the system with the decimals converted to fractions:
(c)
Based on the graph, how long will it be until the two campuses have the same number of students?
How many students will each campus have at that time?
Explanation.
The lines cross at So after years, each campus will have thousand students.
Subsection 4.1.3 Special Systems of Equations
When we studied linear equations in one variable, there were two special cases discussed in detail in Section 2.4. One of these special cases was like with the equation where there simply is no solution at all. The solution set is empty. The other special case is like with the equation where there are infinitely many solutions. When solving systems of two linear equations in two variables, we have similar special cases to consider.
Example 4.1.15. Parallel Lines.
For the system of equations
what would the solution be? Since the two lines have the same slope, they are parallel lines and they never cross. This means that there is no solution to this system of equations. Because if there were a solution then it would be a point that is on the first line and also on the second line. So it would be a point where the two lines would cross.
When there are no solutions to a system, we can simply say that. Or we can write that the solution set is the empty set, which we can write as or
When a system of two linear equations has no solution, we call the system inconsistent. The idea is that while it may possible for and to have the relationship given by the first equation, and while it may possible for and to have the relationship given by the second equation, it’s not possible for both of these relationships to happen at the same time: they are inconsistent.
Warning 4.1.17. The Symbol is not Zero.
The symbol is a special symbol that represents an empty set, a set with no numbers in it. You could also write the empty set as braces with nothing in between them, like But is a fancy alternative. This symbol is not the same thing as the number zero. The symbol represents a set with nothing in it. The symbol represents the number zero. If you have an empty carton of eggs, the carton itself would be while is the count of how many eggs are in that carton.
Example 4.1.18. Coinciding Lines.
To solve this system of equations, we want to graph each line. The first equation is in slope-intercept form and we graph it by starting at the -intercept and using the slope to make slope triangles.
The second equation is in standard form. We find its -intercept is and its -intercept is and use this to plot the line. The two lines are plotted together in Figure 19.
Now we can see these “two” lines are actually the same line. They coincide. Can we really solve this system? Finding a solution means finding a point that is a solution to each of the two lines in the system. But apparently any point on this one line we see is actually a solution to both of the original line equations. So we have an infinite number of solutions. All points that fall on that one line are in the solution set.
It may be enough for us to report that there are infinitely many solutions, not just one. But we could also be more specific and use set-builder notation. We want to write that any ordered pair that satisfies one (or the other) of the two original line equations is actually a solution to the system. We can write that the solution set is
When a system of two linear equations has infinitely many solutions, we call the system dependent. The two equation may not have looked identical, but it turned out that they represented the same line. So in a sense, the two equations “depend” on one another (since actually they are equivalent equations).
Remark 4.1.20.
In Example 18, what would have happened if we had decided to convert the second line equation into slope-intercept form?
This is the literally the same as the first equation from that system. This is a different way to show that these two equations represent coinciding lines.
Warning 4.1.21.
Notice that for a system of equations with infinite solutions like Example 18, we didn’t say that everything is a solution. It’s only the points that are on that coinciding line that are solutions. It would be incorrect to say that the solution set is “all real numbers” or as “all ordered pairs”.
Checkpoint 4.1.22.
Checkpoint 4.1.23.
We can summarize the possibilities for a solution set to a system of two linear equations in two variables.
- Crossing Lines
- If two linear equations make lines with different slopes, the system has one solution. That one solution is the place where the lines cross.
- Parallel Lines
- If two linear equations make lines with the same slope but different
-intercepts, the system has no solution. - Coinciding Lines
- If two linear equations make lines with the same slope and the same
-intercept (in other words, they make the same line), the system has infinitely many solutions. This solution set consists of all ordered pairs on that line.
Reading Questions 4.1.4 Reading Questions
1.
What is the purpose of the one big left brace in a system of two equations?
2.
When you find a solution to a system of two linear equations in two variables, why should you check the solution?
3.
When you are checking a solution to a system of two linear equations in two variables, would it be good enough to only substitute the numbers into one of the original two equations? Why or why not?
4.
Suppose you have a system of two linear equations, and you know the system has exactly one solution. What can you say about the slopes of the two lines?
Exercises 4.1.5 Exercises
Review
Skills Practice
Check a Possible Solution to a System.
Check if the given point is a solution to the given system of two linear equations.
Identify Solution from Graph.
The graph of two lines represents a system of two linear equations. Use the graph to identify the solution to the system.
See How Many Solutions.
Simply by looking closely at the linear equations, determine how many solutions the system will have. And state whether the system is dependent, inconsistent, or neither.
Applications
41.
Cohen is organizing an office lunch party. His budget for beverages is and he will try to spend all of it. He assumes that people will attend, and there should be two beverages available per person. Cohen has decided to order cans of a fancy beverage that cost each, and cans of a cheaper beverage that cost each. How many of each should he order?
(a)
Write two equations that form a system for this scenario.
(b)
Plot the lines for the system of two equations.
(c)
Based on the graph, how many of the more expensive beverage should Cohen buy?
How many of the less expensive beverage should Cohen buy?
42.
At the local hardware store, Lauren bought a hammer and two boxes of nails. The total cost was The hammer costs more than a box of nails. How much does a hammer cost and how much does one box of nails cost?
(a)
Write two equations that form a system for this scenario.
(b)
Plot the lines for the system of two equations.
(c)
Based on the graph, how much does the hammer cost?
How much does a box of nails cost?
43.
Alia enters a grassy field from some dense trees. Her dog is standing out in the field, away. As soon as they see each other, they start running toward each other. Alia runs with speed and her dog runs with speed How long will it be until they meet?
(a)
Write two equations that form a system for this scenario.
(b)
Plot the lines for the system of two equations.
(c)
Based on the graph, how long will it be until they meet?
How far will that be from the place where Alia started?
44.
A cyclist riding at rides past a dog. A moment later, when the bicycle is away, the dog begins to chase the bicycle at a speed of Assuming the cyclist does not change course or speed, how long will it be until the dog catches up to the bicycle?
(a)
Write two equations that form a system for this scenario.
(b)
Plot the lines for the system of two equations.
(c)
Based on the graph, how long will it be until the dog catches up with the bicycle?
How far will that be from the place where the dog started running?
You have attempted 1 of 56 activities on this page.