Lesson 5 of 8 · 15 min
Graphing straight lines
Construct the graph of three ways — from a table of values, from the -intercept and gradient, and from the two intercepts — and label it properly.
What you will be able to do
- Construct a straight-line graph from a table of values.
- Construct the graph of from its -intercept and gradient.
- Construct a straight-line graph from its - and -intercepts.
- Label a graph with axes, scale, the equation and key points.
Two points are enough to fix a straight line — lay a ruler through them and you're done. So graphing comes down to finding two (or, to be safe, three) points that lie on it. There are three good ways to get them, and each suits different equations.
Method 1: a table of values. Choose a few -values, substitute each into the equation to get , plot the points and join them. Use a third point as a check: if the three points don't line up, one of them is wrong.
| 0 | 1 | 2 | 3 | ||
|---|---|---|---|---|---|
| 1 | 3 |
The points from the table all lie on one straight line: .
Which point lies on the line ?
Method 2: the y-intercept and the gradient
Plot the y-intercept
Mark on the -axis.
Write the gradient as rise over run
is : up 3 for every 1 across. is down 2 for every 3 across.
Step out from the intercept
From , move the run to the right and the rise up (or down if negative). Mark the point. Repeat once more.
Rule the line
Draw a straight line through the points, across the whole grid, and label it with its equation.
Worked example
Graph from its gradient and intercept
Construct the graph of using its -intercept and gradient, for .
From : right 3, down 2 to ; right 3, down 2 to .
Step 1: Plot the -intercept
, so mark .
Step 2: Write the gradient as rise over run
: for every 3 units right, the line goes down 2.
Using a run of 3 (the denominator) lands on whole-number points, which are easier to plot accurately.
Step 3: Step out from the intercept
From : right 3, down 2 to . Again: right 3, down 2 to .
Step 4: Rule and label the line
Draw a straight line through the three points across and label it . Mark the intercepts and .
Try it yourself first, then check the working one step at a time.
Answer
A falling line through , and .
Method
Plot .
Use the denominator of as the run and the numerator as the rise (down if negative).
Step out twice, then rule and label the line.
Watch out for
Going up 2 instead of down 2: the gradient is negative.
You are graphing . You start at the -intercept, then move 4 units right and 3 units up. What point do you reach?
Method 3: the two intercepts. Find where the line crosses each axis — set for the -intercept and for the -intercept — and join them. This is quick when both intercepts are on the grid, and it is especially handy for equations like that aren't in form.
Worked example
Graph from its intercepts
Construct the graph of by finding its intercepts.
Step 1: Find the -intercept
Set : . Point .
Step 2: Find the -intercept
Set :
Point .
Step 3: Plot a check point
At : . Point .
A third point catches an arithmetic slip — if the three points don't line up, recheck.
Step 4: Rule and label the line
Draw the line through all three points and label the intercepts and the equation.
Try it yourself first, then check the working one step at a time.
Answer
A rising line through and (and ).
Method
Set to find the -intercept.
Set and solve to find the -intercept.
Plot both, add a check point, and rule the line.
Set and to build each line, then check the marked intercepts against your own working.
Find the -value on the line when .
Tip
Technology
The table mode on many scientific calculators fills in a table of values for you: enter , a start, an end and a step. In class, a spreadsheet or graphing software (such as Desmos or GeoGebra) draws the line and lets you read points off it. You still need to be able to draw it by hand, with labels, in an exam.
Exam tip
What a marker looks for in a graph
- Both axes drawn and labelled (with the quantity and units in a practical problem), and an even scale.
- The line ruled, extending across the region asked for.
- Key points — usually the intercepts — marked and labelled with coordinates.
- The equation written on or beside the line.
Common mistake
Starting from the origin
When you step out with the gradient, start at the -intercept , not at . Starting at the origin draws — a line with the right steepness in the wrong place.
Summary
Two points fix a line; plot a third as a check.
Table of values: substitute chosen -values to get points.
Gradient-intercept: plot , then step by run across and rise up (down if ).
Intercepts: set and , plot both and join them.
Label the axes, the scale, the line's equation and its intercepts.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.