To plot a straight-line graph, make a table of values from the equation, plot each point, then draw one ruled line. Free notes and 11 questions answered.
Updated 24 Mar 2026 · Revise Right Team
Plotting Straight-Line Graphs is part of Graphs in GCSE AQA Higher Maths.
4 min
Reading time
39
Lessons in this topic
GCSE AQA Higher
Pathway
Reviewed by Revise Right
Content review
What this lesson covers
To plot a straight-line graph, make a table of values from the equation, plot each point, then draw one ruled line. Free notes and 11 questions answered.
Plot straight-line graphs from a given equation by constructing a table of values
Identify and use the gradient and y-intercept from the equation $y = mx + c$
Plot straight-line graphs that pass through the origin
Read coordinates accurately from a plotted straight-line graph
Revise Right Mocks '26
AQA GCSE Maths mock draft, 26–31 Oct. Draft coverage: Maths Paper 1 (Higher tier). Reviewed for an original-practice sitting; check student availability before registering. Marking and results will follow later, after separate approval. Eligible new accounts receive a five-day Pro trial when signup email verification completes. Previous trials keep their original expiry. After expiry, new papers need Pro unless you have an explicitly confirmed free sitting offer for this event. That offer adds no Pro time or AI learning. Saved attempts and released results remain readable. No card or automatic charge.
Use this lesson to stay inside Graphs while connecting the detail back to the wider Algebra topic.
Straight-line graph: A graph whose equation produces a constant rate of change, resulting in a perfectly straight line when plotted on a coordinate grid. Used when the relationship between two variables is linear.
Gradient ($m$): A measure of the steepness of a straight line, calculated as the change in $y$ divided by the change in $x$. A positive gradient slopes upward left to right; a negative gradient slopes downward.
y-intercept ($c$): The point where a straight-line graph crosses the $y$-axis, occurring when $x = 0$. Written as the coordinate $(0, c)$.
Table of values: A structured method for generating coordinate pairs by substituting chosen $x$-values into an equation. Used to produce points that are then plotted to draw the graph.
Revision notes
Read the core explanations from Plotting Straight-Line Graphs before testing yourself from memory.
1. Why Straight-Line Graphs Matter
Every time a taxi charges a fixed rate per mile, or a phone plan adds a set cost per minute, the relationship between cost and usage is a straight line. Plotting straight-line graphs is one of the most tested skills in GCSE Maths — and once you see the pattern, every question becomes predictable.
The key equation you need is $y = mx + c$, where $m$ controls the steepness and $c$ tells you where the line crosses the $y$-axis. Your job in this lesson is to go from an equation like $y = 2x + 1$ to a correctly plotted line on a coordinate grid — every time, without error.
2. The Equation of a Straight Line
Reading $m$ and $c$ from an equation is a quick win. In $y = 3x - 2$, the gradient is $3$ and the line crosses the $y$-axis at $-2$. In $y = -x + 5$, the gradient is $-1$ (the line slopes downward) and the y-intercept is $5$. Spotting these values instantly saves time in the exam.
3. Building a Table of Values
Knowing $m$ and $c$ tells you a lot about a line, but to plot it accurately you need coordinates. That is where a table of values comes in — you choose a set of $x$-values, substitute each one into the equation, and record the resulting $y$-values as coordinate pairs.
Choose $x$-values that are spread across the grid you are given, typically three to five values including at least one negative. Wider spacing makes it easier to draw an accurate line and spot any arithmetic errors.
Worked example: Plotting $y = 2x + 1$ from a Table of Values
Complete a table of values for $y = 2x + 1$ using $x = -2, -1, 0, 1, 2$, then describe the coordinates you would plot.
$x$: $-2,\ -1,\ 0,\ 1,\ 2$ — Choose a spread of $x$-values that covers the grid range. Including negatives and zero gives a reliable picture of the line. [M1 for method]
$y = 2 \times (-2) + 1 = -4 + 1 = -3$ — Multiply first, then add. The coordinate is $(-2, -3)$.
$y = 2 \times (-1) + 1 = -2 + 1 = -1$ — The coordinate is $(-1, -1)$.
$y = 2 \times 0 + 1 = 0 + 1 = 1$ — When $x = 0$, $y$ equals the y-intercept $c = 1$. The coordinate is $(0, 1)$. This is a useful check.
$y = 2 \times 1 + 1 = 2 + 1 = 3$ — The coordinate is $(1, 3)$.
$y = 2 \times 2 + 1 = 4 + 1 = 5$ — The coordinate is $(2, 5)$. Notice each $y$-value increases by $2$ as $x$ increases by $1$ — that is the gradient $m = 2$ in action. [A1 for all correct coordinates]
Answer: Coordinates to plot: $(-2, -3)$, $(-1, -1)$, $(0, 1)$, $(1, 3)$, $(2, 5)$. Join with a straight line and extend to the edges of the grid.
Notice how the five plotted points all lie perfectly on the same straight line. If one point looks out of place when you draw the line, go back and recheck that substitution — a single arithmetic slip is almost always the cause.
4. Plotting the Graph Accurately
Once you have your table of values, plotting is a three-step process: mark each coordinate as a small cross or dot, check they appear to lie in a straight line, then draw a single ruled line through all of them extending to the edges of the grid.
Use a sharp pencil and a ruler — a wobbly freehand line will lose marks.
Mark points with a small, precise cross ($\times$) so the exact location is clear.
Extend the line to the edges of the grid unless the question specifies a limited domain.
Label the line with its equation, especially if more than one line is plotted.
Worked example: Plotting $y = -x + 3$ (Negative Gradient)
Complete a table of values for $y = -x + 3$ using $x = -1, 0, 1, 2, 3$ and describe the graph.
$y = -(-1) + 3 = 1 + 3 = 4$ — Negative times negative gives positive. Coordinate: $(-1, 4)$. [M1 for correct handling of negative gradient]
$y = -(0) + 3 = 0 + 3 = 3$ — The y-intercept is $3$. Coordinate: $(0, 3)$.
$y = -(1) + 3 = -1 + 3 = 2$ — Coordinate: $(1, 2)$. Notice $y$ decreases by $1$ each time $x$ increases by $1$ — that is the gradient $m = -1$.
$y = -(3) + 3 = -3 + 3 = 0$ — Coordinate: $(3, 0)$. The line crosses the $x$-axis here. [A1 for all correct coordinates]
Points: $(-1, 4)$, $(0, 3)$, $(1, 2)$, $(2, 1)$, $(3, 0)$ — The line slopes downward from left to right (negative gradient). It crosses the $y$-axis at $3$ and the $x$-axis at $3$. Draw a ruled line through all five points.
Answer: A straight line with gradient $-1$, crossing the $y$-axis at $(0, 3)$ and the $x$-axis at $(3, 0)$, sloping downward from left to right.
5. Special Cases: Lines Through the Origin and Horizontal Lines
Two types of straight line appear regularly in exam questions and are worth recognising immediately. The first is any line of the form $y = mx$, where $c = 0$. These lines pass directly through the origin $(0, 0)$ because when $x = 0$, $y = 0$ as well.
The second type is a horizontal line such as $y = 4$. Here, $y$ is always $4$ regardless of the value of $x$, so the gradient is zero. Vertical lines like $x = 3$ are also straight lines — every point on them has $x = 3$ regardless of $y$.
Equation form
Gradient
y-intercept
Key feature
$y = mx + c$
$m$
$c$
General straight line
$y = mx$
$m$
$0$
Passes through the origin
$y = c$
$0$
$c$
Horizontal line
$x = a$
Undefined
None
Vertical line
Worked example: Plotting $y = 3x$ (Through the Origin)
Plot the graph of $y = 3x$ using $x = -2, -1, 0, 1, 2$.
$y = 3 \times 0 = 0$ — Coordinate: $(0, 0)$. The line passes through the origin — this confirms $c = 0$. [M1]
$y = 3 \times 1 = 3$ — Coordinate: $(1, 3)$.
$y = 3 \times 2 = 6$ — Coordinate: $(2, 6)$. Plot all five points and draw a ruled line through them. [A1]
Answer: A straight line through the origin with gradient $3$, passing through $(-2, -6)$, $(-1, -3)$, $(0, 0)$, $(1, 3)$, $(2, 6)$.
6. Deliberate Practice
Now that you have seen the method across three different equation types, it is time to apply it independently. Work through each problem below before checking the solution — the act of attempting it first is what builds exam confidence.
7. Exam Technique and Common Mistakes
Most marks lost on straight-line graph questions come from a small number of predictable errors. Knowing what they are — and actively checking for them — is the difference between full marks and dropping two or three on a question you understood.
Plotting straight-line graphs accurately — by building a table of values, substituting carefully, and drawing a ruled line — is the core skill assessed in higher-tier specification point 3.2.2. Every other straight-line topic (finding equations, solving simultaneous equations graphically) builds directly on this foundation.
Sources and content standards
Published by Revise Right. Use the official specification reference to check the requirements for your course. Content updated: 2026-03-24.
A line such as y = 4 is horizontal, because y is always 4 regardless of the value of x, so its gradient is zero. A line such as x = 3 is vertical, because every point on it has x = 3, and its gradient is undefined.
How do you plot a straight-line graph?
To plot a straight-line graph, make a table of values by substituting x-values into the equation, mark each coordinate with a small cross, then draw a single ruled line through them to the edges of the grid. For y = 2x + 1, x = -2 to 2 gives (-2, -3), (-1, -1), (0, 1), (1, 3) and (2, 5).
What does a negative gradient look like on a graph?
A negative gradient makes a line slope downward from left to right. For y = -x + 3, each time x increases by 1, y decreases by 1, giving the points (-1, 4), (0, 3), (1, 2), (2, 1) and (3, 0).
Which straight lines pass through the origin?
Any line of the form y = mx, where c = 0, passes through the origin (0, 0), because when x = 0, y = 0 as well. For example, y = 3x passes through (-2, -6), (0, 0) and (2, 6).
What is the table of values for y = 2x + 1?
For y = 2x + 1 with x = -2, -1, 0, 1 and 2, the coordinates are (-2, -3), (-1, -1), (0, 1), (1, 3) and (2, 5). Each y-value increases by 2 as x increases by 1, which is the gradient m = 2.
What is the gradient and y-intercept of y = 3x - 2?
The line y = 3x - 2 has a gradient of 3 and a y-intercept of -2, read straight from y = mx + c. In the same way, y = -x + 5 has gradient -1, so it slopes downward, and y-intercept 5.
What does the graph of y = -x + 3 look like?
The graph of y = -x + 3 is a straight line with gradient -1, sloping downward from left to right. It passes through (-1, 4), (0, 3), (1, 2), (2, 1) and (3, 0), crossing both axes at 3.
How do you plot y = 3x?
y = 3x is plotted by substituting x = -2, -1, 0, 1 and 2 to get (-2, -6), (-1, -3), (0, 0), (1, 3) and (2, 6), then drawing a ruled line through them. It passes through the origin because c = 0.
How do you draw a straight-line graph accurately?
A straight-line graph is drawn accurately with a sharp pencil and a ruler, marking each point as a small precise cross. The single ruled line should extend to the edges of the grid and be marked with its equation if more than one line is plotted.
What is the gradient of a horizontal line?
The gradient of a horizontal line is zero. A line such as y = 4 keeps y equal to 4 for every value of x, so it has gradient 0 and y-intercept 4.
What if one point does not lie on the straight line?
If one plotted point does not lie on the straight line, that substitution should be rechecked, because a single arithmetic slip is almost always the cause. All the correct points from a linear equation lie on the same straight line.