There are three ways to draw a straight line, and which one you use just depends on what information you're given.
Method A — From a table of values (no equation given)
Take each (x, y) pair as coordinates, plot the points, then join them with a ruler. Every point should lie exactly on your line — if one doesn't, you've made an arithmetic slip somewhere.
Method B — Using y = mx + c directly
Build your own table of values by choosing 2–3 x-values spread across the given axis range, substituting each into the equation to find y, plotting those points, and joining them.
Worked Example
Plot y = 2x + 1 for x from 0 to 10. Choose spread-out x-values: 0, 5, 10.
Plot (0,1), (5,11), (10,21) and connect with a ruler.
Method C — The "staircase" method (no table needed)
This is the fastest method once you're confident. Assuming the equation is in y = mx + c form:
- Plot a single starting point at the y-intercept,
c.
- From there, for every 1 unit you move right, move up
m units (down if m is negative).
- If m is a fraction
a/b, move a units up for every b units right — this avoids messy fraction-of-a-square jumps.
- Repeat this stepping pattern to build a sequence of points, then join them up.
Example: y = 2x + 1, starting at (0, 1)
y
6 | *
5 | *
4 | *
3 | *
2 | *
1 | * <-- start here (y-intercept)
0 +------------------- x
0 1 2 3
Each step: +1 right, +2 up (gradient = 2)
Watch out
Be careful when the axes have different scales — 1 unit on the graph might not equal 1 grid square! Always check the axis labels before using the staircase method.
What if the equation isn't in y = mx + c form?
Equations are often given messily, like 3x + 5y = 30. You have two options:
Option 1 — Rearrange it into y = mx + c form:
Worked Example
Rearrange 3x + 5y = 30:
Subtract 3x from both sides: 5y = −3x + 30
Divide everything by 5: y = −⅗x + 6
Now you can see gradient = −⅗ and y-intercept = 6.
Option 2 — Use the intercepts method (often faster for equations in ax + by = c form):
Worked Example
For 3x + 5y = 30:
Set x = 0: 5y = 30 → y = 6 → point (0, 6)
Set y = 0: 3x = 30 → x = 10 → point (10, 0)
Plot these two points and join with a ruler — done, no rearranging needed!
Examiner Tip
Always plot at least 3 points, not just 2. If your third point doesn't sit on the line joining the first two, you know immediately that one of your calculations is wrong — before you lose marks.
📝 Practice Question 3
Rearrange 2x + 4y = 20 into the form y = mx + c, and state the gradient and y-intercept.