01 · Learn the idea
The crossing point is the solution
A system of two linear equations is a pair of equations you look at together. A solution of the system is an ordered pair (x, y) that makes both equations true.
Every point on a line makes that line's equation true. So a point that sits on both lines makes both equations true. To solve a system by graphing, you draw both lines on one coordinate plane and find the point where they cross.
Take the system y = x − 1 and y = −2x + 5. The graph shows both lines. They cross at (2, 1). Test it: 2 − 1 = 1, and −2(2) + 5 = 1. Both equations give y = 1 when x = 2, so (2, 1) is the solution.
In this lesson every equation is written in slope-intercept form, y = mx + b. The number b is the y-intercept, the point where the line crosses the y-axis. The number m is the slope: how far the line goes up or down for each 1 unit to the right.
- y = x − 1
- y = −2x + 5
02 · Build understanding
Worked example: graph, read, check
Solve the system y = 2x − 4 and y = −x + 5 by graphing.
Step 1: Graph the first line. Its y-intercept is −4, so plot (0, −4). Its slope is 2, so from there go right 1 and up 2 each time: (1, −2), (2, 0), (3, 2). Draw the line through these points.
Step 2: Graph the second line on the same plane. Its y-intercept is 5, so plot (0, 5). Its slope is −1, so go right 1 and down 1 each time: (1, 4), (2, 3), (3, 2). Draw the line.
Step 3: Find the point that is on both lines. The point (3, 2) is in both lists, and it is where the lines cross on the graph. So the solution looks like (3, 2).
Step 4: Check in both equations, because a graph can be read wrong. First equation: 2(3) − 4 = 6 − 4 = 2. Second equation: −3 + 5 = 2. Both give y = 2 when x = 3, so the solution is (3, 2).
- y = 2x − 4
- y = −x + 5
03 · Build understanding
Worked example: a crossing between the grid lines
Solve the system y = 2x − 1 and y = −x + 3 by graphing.
Step 1: Graph the first line from (0, −1) with slope 2. It passes through (1, 1) and (2, 3).
Step 2: Graph the second line from (0, 3) with slope −1. It passes through (1, 2) and (2, 1).
Step 3: Look for the crossing. At x = 1 the first line is at 1 and the second is at 2, so the first line is below. At x = 2 the first line is at 3 and the second is at 1, so the first line is above. The lines trade places between x = 1 and x = 2, so they cross there, at a point that is not on a grid corner.
Step 4: Estimate the point. On the graph the crossing is a little to the right of x = 1 and a little below y = 2. A fair estimate is (1.3, 1.7).
Step 5: Check the estimate. First equation: 2(1.3) − 1 = 1.6. Second equation: −1.3 + 3 = 1.7. The two results are 0.1 apart, and both are close to the estimated y of 1.7. They are close but not equal, which tells you (1.3, 1.7) is an approximate solution. When a crossing falls between grid lines, say "about" with your answer.
- y = 2x − 1
- y = −x + 3
04 · Build understanding
Parallel lines: same slope, no crossing
Look at the system y = (1/2)x + 3 and y = (1/2)x − 2. Both lines have slope 1/2, so both go up 1 for every 2 to the right. One starts at 3 on the y-axis and the other starts at −2.
Two different lines with the same slope are parallel. They climb at the same rate, so the gap between them never changes. Here the first line is 5 units above the second at x = 0, and still 5 units above at x = 2, where the heights are 4 and −1.
Parallel lines never cross, so no point is on both lines. The system has no solution.
You can spot this before you draw anything. Read the two slopes from the equations. If the slopes are equal and the y-intercepts are different, the lines are parallel and there is no crossing point to find.
- y = (1/2)x + 3
- y = (1/2)x − 2
05 · Build understanding
Worked example: two arcades
Two made-up arcades set their prices. Game Barn charges $2 to get in plus $2 for each game. Coin Corner charges $5 to get in plus $1 for each game. With x games played and y dollars spent, the costs are y = 2x + 2 for Game Barn and y = x + 5 for Coin Corner. For how many games do the two arcades cost the same?
Step 1: Graph Game Barn. Start at (0, 2), because you pay $2 before playing anything. The slope is 2, so the line passes through (1, 4), (2, 6) and (3, 8).
Step 2: Graph Coin Corner. Start at (0, 5). The slope is 1, so the line passes through (1, 6), (2, 7) and (3, 8).
Step 3: Read the crossing. Both lines pass through (3, 8). In the situation, x = 3 means 3 games and y = 8 means $8.
Step 4: Check with the prices. Game Barn: 2 + 2 × 3 = $8. Coin Corner: 5 + 1 × 3 = $8. The arcades cost the same when you play 3 games, and that cost is $8.
The graph tells you more. To the left of the crossing the Game Barn line is lower, so Game Barn is cheaper for fewer than 3 games. To the right, Coin Corner is cheaper.
- Game Barn
- Coin Corner
06 · Build understanding
Mistakes to watch for
Writing the crossing point backwards. In the first worked example the lines cross 3 units right and 2 units up, which is (3, 2). Writing (2, 3) fails the check: 2(2) − 4 = 0, and 0 is not 3. The x-coordinate always comes first.
Drawing a negative slope going up. The line y = −x + 5 starts at (0, 5) and goes down 1 for each 1 to the right, so its next point is (1, 4). If you plot (1, 6), your line leans the wrong way and crosses the other line in the wrong place.
Stopping the lines too soon. Graph y = x and y = 2x − 6 only from x = 0 to x = 4 and the lines do not meet. Their slopes are 1 and 2, which are different, so they must cross somewhere. Extend both lines and they meet at (6, 6). Only equal slopes mean no crossing.
Skipping the check. Reading a graph is easy to get slightly wrong. Put your point into both equations every time. One true equation is not enough.
Apply and explain
Your turn
Dana graphs y = 3x − 2 and y = 3x + 4 for x from 0 to 3. The lines do not cross on her paper. She says, "If I make the graph bigger, I will find where they cross." Is Dana right? Explain using the equations.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
Dana is not right. Both equations have slope 3, so both lines go up 3 for every 1 to the right. Their y-intercepts are −2 and 4, so they are two different lines with the same slope, which makes them parallel. The second line is 6 units above the first at x = 0 and still 6 units above at x = 3, where the heights are 7 and 13. The gap never shrinks, so the lines never cross on any size of graph. The system has no solution.
- Names the slope of each line as 3 and says the slopes are equal.
- Says the y-intercepts −2 and 4 are different, so the lines are parallel.
- Concludes that the lines never cross and the system has no solution, however large the graph.
Ready to practice?
Try the questions, get feedback, and review your reasoning.
Solve a system by graphing: practice →