01 · Learn the idea
A solution is a point on both lines
A system of two linear equations is a pair of equations that you look at together. Each equation has a line as its graph. Every point on a line makes that line's equation true.
A solution of the system has to make both equations true at once. On a graph, that means a point that sits on both lines.
The graph here shows line p through (0, 1) and (1, 2), and line q through (0, 5) and (1, 4). The lines cross at (2, 3). That point is on both lines, so (2, 3) is a solution. No other point is on both lines, so this system has exactly one solution.
To count the solutions of a system from its graph, you ask one thing: how many points do the two lines share?
- p
- q
02 · Build understanding
Three things two lines can do
Two straight lines on one plane can only do three things.
They can cross. Two lines with different slopes cross at exactly one point, so the system has one solution.
They can be parallel. Parallel lines have the same slope but sit at different heights, so they never meet. The graph here shows line p through (0, 1) and (1, 3), and line q through (0, −3) and (2, 1). Both go up 2 for every 1 to the right. No point is on both lines, so the system has no solution.
They can be the same line. If both equations have the same graph, every point on that line is on both graphs. A line has endlessly many points, so the system has infinitely many solutions. On paper this looks like one line, which is why a problem will tell you that both equations are graphed.
Two different straight lines can never cross exactly twice. So the count is always one, none or infinitely many.
- p
- q
03 · Build understanding
Worked example: are these lines really parallel?
Line p passes through (0, 4) and (2, 5). Line q passes through (0, −1) and (4, 1). How many solutions does the system have?
Step 1: Find the slope of line p by counting between its two points. It goes up 1 and right 2, so its slope is 1/2. You count because eyes are easy to fool: lines can look parallel when they are not.
Step 2: Find the slope of line q the same way. It goes up 2 and right 4, so its slope is 2/4, which is also 1/2.
Step 3: Compare the slopes. They are equal, so the lines are either parallel or the same line.
Step 4: Decide which. Line p crosses the y-axis at 4 and line q crosses it at −1. Those are different points, so these are two different lines with the same slope. They are parallel, and the system has no solution.
Step 5: Check with the gap between the lines. At x = 0 the lines are 4 − (−1) = 5 units apart. At x = 4, line p is at 6 and line q is at 1, which is 5 units apart again. The gap never shrinks, so the lines never meet.
- p
- q
04 · Build understanding
Worked example: the crossing is off the picture
A graph shows only part of the plane, for x from −2 to 5. Line p passes through (0, 1) and (4, 3). Line q passes through (0, −2) and (4, 2). The lines do not cross in the part shown. How many solutions does the system have?
Step 1: Find each slope, because the slopes decide what happens outside the picture. Line p goes up 2 and right 4, so its slope is 1/2. Line q goes up 4 and right 4, so its slope is 1.
Step 2: Compare. The slopes are different, so the lines are not parallel. Lines go on forever, and two lines with different slopes must cross somewhere. The system has one solution.
Step 3: See where, using the gap. At x = 0 the lines are 1 − (−2) = 3 units apart. At x = 4 they are 3 − 2 = 1 unit apart. The gap shrinks by 2 for every 4 units to the right, so 2 more units to the right closes it. The lines meet at x = 6.
Step 4: Check. At x = 6, line p is at 1 + 3 = 4 and line q is at −2 + 6 = 4. Both lines pass through (6, 4), which is just outside the picture.
- p
- q
05 · Build understanding
Worked example: two rain barrels, one line
Two rain barrels fill during a storm. Each barrel has an equation for its gallons of water after x minutes, and both equations are graphed on one plane. The graph for barrel A passes through (0, 2) and (2, 6). The graph for barrel B passes through (1, 4) and (4, 10). At how many times do the barrels hold the same amount?
Step 1: Find the slope for barrel A. From (0, 2) to (2, 6) the water goes up 4 gallons in 2 minutes, which is 2 gallons per minute.
Step 2: Find the slope for barrel B. From (1, 4) to (4, 10) the water goes up 6 gallons in 3 minutes, which is also 2 gallons per minute.
Step 3: The slopes match, so test whether the lines are the same line. Barrel A starts at 2 gallons and gains 2 each minute, so after 1 minute it holds 4 gallons. That is the point (1, 4), which is on barrel B's graph. Two lines with the same slope that share a point are the same line.
Step 4: Read the answer. Every point on the line is on both graphs, so the system has infinitely many solutions. The barrels hold the same amount at every time.
Step 5: Check with another point. After 4 minutes barrel A holds 2 + 2 × 4 = 10 gallons, and (4, 10) is on barrel B's graph too.
- A
- B
06 · Build understanding
Mistakes to watch for
Trusting the edge of the picture. In the second worked example the lines do not touch for x from −2 to 5, but their slopes are 1/2 and 1, so they cross at (6, 4). "They do not cross in the part I can see" does not mean no solution. Compare the slopes.
Mixing up no solution and infinitely many solutions. Both happen when the slopes are equal. Parallel lines share no points, so there is no solution. The same line shares every point, so there are infinitely many.
Counting marked points as solutions. A graph may have four dots marked on it, or show where each line crosses the y-axis. Those are just points used to draw the lines. A solution has to be on both lines.
Judging "parallel" by eye. Lines with slopes 2/3 and 5/6 look almost parallel on a small graph, yet they cross. Count the rise and the run.
Apply and explain
Your turn
Jalen sees a graph that shows x from 0 to 3. Line p passes through (0, 2) and (3, 3), and line q passes through (0, 0) and (3, 2). The lines do not touch on his graph, so Jalen says the system has no solution. Is he right? Explain how you know.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
Jalen is not right. Line p goes up 1 for every 3 to the right, so its slope is 1/3. Line q goes up 2 for every 3 to the right, so its slope is 2/3. The slopes are different, so the lines are not parallel and must cross once. The gap between them is 2 at x = 0 and 1 at x = 3, so it closes at x = 6, where both lines are at height 4. The system has one solution, at (6, 4), outside the part Jalen can see.
- Finds both slopes, 1/3 and 2/3, from the given points.
- Says that different slopes mean the lines cross exactly once, so there is one solution.
- Explains that the crossing is outside the part of the graph shown, or finds it at (6, 4).
Ready to practice?
Try the questions, get feedback, and review your reasoning.
One solution, no solution or infinitely many: practice →