01 · Learn the idea
A line is a picture of every solution
An equation such as y = x + 2 has two variables. A solution is a pair of numbers, one for x and one for y, that makes the equation true. The pair (1, 3) is a solution, because 3 = 1 + 2. The pair (1, 5) is not, because 5 is not 1 + 2.
There are endlessly many solutions: (0, 2), (1, 3), (−2, 0) and every pair in between, such as (0.5, 2.5). Plot them all and they form a straight line. That line is the graph of the equation.
So the graph and the equation carry the same information. Every point on the line is a solution, and every solution is a point on the line.
Two points are enough to fix a straight line. To graph a linear equation you find two points that you trust, draw the line through them with a ruler, and use a third point as a check.
- y = x + 2
02 · Build understanding
Worked example: from slope-intercept form
Graph y = −(2/3)x + 4.
Step 1: Read the y-intercept. Here b = 4, so the line crosses the y-axis at (0, 4). Plot that point first. It sits on the y-axis, 4 units up.
Step 2: Read the slope as a move. The slope is −2/3, which means down 2 for every 3 to the right. From (0, 4), go right 3 and down 2 to reach (3, 2). Plot it.
Step 3: Repeat the move for a third point. From (3, 2), go right 3 and down 2 to reach (6, 0).
Step 4: Draw the line through the three points and extend it both ways, since x can be any number.
Step 5: Check one plotted point in the equation. For (6, 0): −(2/3) × 6 + 4 = −4 + 4 = 0. That matches, and the three points sit in a straight row, so the graph is right.
03 · Build understanding
Worked example: from a table
A table shows a linear relationship with x: −2, 0, 2, 4 and y: −6, −2, 2, 6. Graph it.
Step 1: Turn each column into a point: (−2, −6), (0, −2), (2, 2) and (4, 6).
Step 2: Choose a window that fits them. The x-values run from −2 to 4 and the y-values from −6 to 6, so the axes need to reach at least that far.
Step 3: Plot the four points. Remember that x comes first: for (−2, −6), go left 2 and then down 6.
Step 4: Lay a ruler along the points and draw the line. They line up because the relationship is linear: each time x goes up 2, y goes up 4.
Step 5: Check with a point the table did not list. The line you drew passes through (1, 0). Does that fit the pattern? From (0, −2), one step right should raise y by 2, half of 4, giving −2 + 2 = 0. It fits.
04 · Build understanding
Worked example: from a description
A bamboo shoot is 10 inches tall and grows 4 inches each week. Graph its height over the next 8 weeks.
Step 1: Name the variables and set up the axes. Let x be the number of weeks, on the horizontal axis, and y the height in inches, on the vertical axis.
Step 2: Find the starting point. At 0 weeks the shoot is 10 inches tall, so plot (0, 10).
Step 3: Use the rate as the slope. The shoot grows 4 inches for each 1 week. To get a point that is easier to plot, take 5 weeks at once: right 5 and up 5 × 4 = 20, from (0, 10) to (5, 30).
Step 4: Draw the line from (0, 10) through (5, 30) and stop at x = 8. The graph starts at x = 0 and does not go left of the y-axis, because the story begins at week 0.
Step 5: Check with the equation. The description gives y = 4x + 10. For x = 5: 4 × 5 + 10 = 30, which matches the point. At week 8 the line reaches 4 × 8 + 10 = 42 inches.
05 · Build understanding
Choosing the graph that matches
Sometimes the graphs are already drawn and you have to pick the right one. Test the things you would have plotted yourself.
The graph here shows three lines, A, B and C. Which is the graph of y = −x + 3?
First test the y-intercept. The equation has b = 3, so the line must cross the y-axis at (0, 3). Lines A and B do. Line C crosses at (0, −3), so it is out.
Next test the direction. The slope is −1, so the line must fall from left to right. Line A falls. Line B rises, so it is out.
Last, check one more point on the line that is left. When x = 3, the equation gives y = −3 + 3 = 0, and line A does pass through (3, 0). Line A is the graph.
- A
- B
- C
06 · Build understanding
Mistakes to watch for
Plotting the y-intercept on the x-axis. For y = −(2/3)x + 4 the first point is (0, 4), on the y-axis. The point (4, 0) is on the x-axis, and it is not on this line: −(2/3) × 4 + 4 is 4/3, not 0.
Turning the slope move around. A slope of −2/3 means right 3 and down 2. Going right 2 and down 3 from (0, 4) lands on (2, 1), which is off the line. The bottom number of the slope is the sideways move.
Drawing a negative slope uphill. From (0, 4), going right 3 and up 2 gives (3, 6). The equation gives y = 2 when x = 3, so that point is wrong. A negative slope goes down as you move right.
Apply and explain
Your turn
Explain how to graph y = (3/4)x − 2 without making a table of values. Name the first three points you would plot, and show how you would check one of them.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
The y-intercept is −2, so plot (0, −2) on the y-axis first. The slope is 3/4, which means up 3 for every 4 to the right. From (0, −2), go right 4 and up 3 to (4, 1), then right 4 and up 3 again to (8, 4). Draw the line through the three points. Check (8, 4) in the equation: (3/4) × 8 − 2 = 6 − 2 = 4, so the point is on the line.
- Plots the y-intercept (0, −2) first.
- Uses the slope as right 4 and up 3 to reach (4, 1) and (8, 4).
- Checks a plotted point by putting its x-value into the equation.
Ready to practice?
Try the questions, get feedback, and review your reasoning.
Graph a two-variable linear equation: practice →