Plotting straight-line graphs is a core skill tested on both Foundation and Higher tier GCSE Maths papers. Understanding the connection between an equation like y = mx + c and its graph allows you to tackle gradient questions, simultaneous equations, and real-life modelling problems.
What Is a Straight-Line Graph?
A straight-line graph represents a linear equation. The most common form is y = mx + c, where m is the gradient (how steep the line is) and c is the y-intercept (where the line crosses the y-axis). Every point on the line satisfies the equation.
The gradient m tells you how much y changes for every 1 unit increase in x. A positive gradient slopes upward from left to right; a negative gradient slopes downward. The larger the absolute value of m, the steeper the line.
There are two main methods for plotting a straight-line graph. The table of values method substitutes several x values into the equation to calculate corresponding y values, then plots the points and joins them with a ruler. The gradient-intercept method starts at the y-intercept and uses the gradient to mark a second point without needing a full table.
Key Formulas
Step-by-Step Method
- If the equation is not in y = mx + c form, rearrange it.
- Table of values method: choose at least three x values (e.g. -2, 0, 2), substitute each into the equation, and calculate y.
- Plot the coordinate pairs on a grid.
- Join the points with a straight line using a ruler.
- Gradient-intercept method (alternative): mark the y-intercept (0, c) on the y-axis, then from that point move across 1 unit and up or down by m units to place a second point. Draw the line through both points.
Worked Example 1 — Foundation Level
Question: Draw the graph of y = 2x + 1 for values of x from -2 to 3.
Working:
Build a table of values:
x = -2: y = 2(-2) + 1 = -3. x = -1: y = 2(-1) + 1 = -1. x = 0: y = 2(0) + 1 = 1. x = 1: y = 2(1) + 1 = 3. x = 2: y = 2(2) + 1 = 5. x = 3: y = 2(3) + 1 = 7.
Plot the points (-2, -3), (-1, -1), (0, 1), (1, 3), (2, 5), (3, 7) and join with a straight line.
The gradient is 2 (line goes up 2 for every 1 across) and the y-intercept is 1.
Answer: A straight line through the points listed above, crossing the y-axis at (0, 1).
Worked Example 2 — Higher Level
Question: A line has the equation 2y - 6x = 4. Find the gradient and y-intercept.
Working:
Step 1 — Rearrange into y = mx + c form.
2y = 6x + 4
y = 3x + 2.
Step 2 — Read off the gradient and y-intercept.
Gradient m = 3. Y-intercept c = 2, so the line crosses the y-axis at (0, 2).
Answer: Gradient = 3; y-intercept = (0, 2).
Worked Example 3 — Exam Style
Question: The line L passes through the points (1, 5) and (4, 14). Find the equation of line L in the form y = mx + c. (3 marks)
Working:
Step 1 — Find the gradient: m = (14 - 5) / (4 - 1) = 9 / 3 = 3.
Step 2 — Substitute one point into y = mx + c to find c. Using (1, 5):
5 = 3(1) + c, so c = 5 - 3 = 2.
Step 3 — Write the equation: y = 3x + 2.
Check with the other point: y = 3(4) + 2 = 14. Correct.
Answer: y = 3x + 2
Common Mistakes
- Plotting points inaccurately. A tiny error in placing a point makes the line wrong. Use the grid lines carefully and double-check each coordinate before drawing.
- Not using a ruler. Straight-line graphs must be drawn with a ruler. A freehand line will not pass through all your points and costs marks.
- Confusing gradient and y-intercept. In y = 3x + 2, the gradient is 3 (the coefficient of x) and the y-intercept is 2 (the constant). Students sometimes swap them.
Exam Tips
- Always plot at least three points when using the table of values method. If one point is slightly wrong, the other two will reveal the error because all three must lie on a straight line.
- Extend your line to fill the grid. A short line segment in the middle of the axes can lose marks if the question asks you to "draw the graph."
- If the equation is given in a different form (e.g. 3x + y = 7), rearrange to y = mx + c before trying to identify the gradient and intercept.
Practice Questions
Q1 (Foundation): Complete the table of values for y = 3x - 2 when x = -1, 0, 1, 2, 3.
Q2 (Foundation): Write down the gradient and y-intercept of y = -2x + 5.
Q3 (Higher): Find the equation of the line passing through (2, 3) and (6, 11) in the form y = mx + c.
Practise plotting straight-line graphs questions with instant feedback — completely free on GCSEMathsAI.
Related Topics
Summary
- A straight-line graph has the equation y = mx + c, where m is the gradient and c is the y-intercept.
- Use a table of values to calculate coordinates, then plot and join with a ruler.
- The gradient-intercept method starts at (0, c) and uses the gradient to mark further points.
- Rearrange any linear equation into y = mx + c form to read off the gradient and intercept easily.
- Always plot at least three points to catch any calculation errors.
Test your understanding
5 quick MCQs to identify any misconceptions on this topic.
Further reading from leading academic institutions — free and open-access.