GCSE · Maths · OCR · Spec J560
Straight line graphs
Two numbers. Two completely different jobs. Grab the line below and work out which number does what.
Hold c still, change m
This line is y = mx + 2, so it always crosses the y-axis at (0, 2). Lift the dot to change m and watch the whole line pivot about that fixed point. At each stop, say the equation out loud: c from where it crosses, m from how far it climbs for one step right.
Draw it from the equation
Problem
Draw the graph of y = 2x + 1. Then draw the graph of 3x + 2y = 12.
Maths · Straight-line graphs
Which way does it lean?
Put each line in the category that describes its gradient.
Still to sort
Positive gradient (0)
y increases as x increases.
Negative gradient (0)
y decreases as x increases.
Zero gradient (0)
A flat (horizontal) line.
Where the line is: The y value never changes, so the change in y is 0. Compare the vertical category, where the x value never changes.
Gradient cannot be found (0)
A vertical line.
Where the line is: The x value never changes, so the change in x is 0, and dividing by 0 is undefined. This is the one people mix up with the flat line.
Some lines come as equations, some as two points. Decide where each one belongs, then read why.
Predict, then check
No rearranging yet. Go with your gut, then we will test it.
The line is y = 7 − 4x. What are its gradient and y-intercept?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
y = mx + c
One number sets the steepness. The other pins where the line crosses the y-axis.
What you need to know
- A relationship is linear if its graph is a straight line.
- To draw one, substitute x values and plot the (x, y) pairs. The y values rise by a common difference.
- Every one of the infinitely many points on the line fits its equation, so draw it right to the edge of the graph.
- Two points are enough, but a third point (or graphing software) catches slips.
- Got ax + by = c? Substitute x = 0, then y = 0, for two quick points.
Have a goTry it on 2x + 5y = 10. Which two points do you get from x = 0 and y = 0?
(0, 2) and (5, 0)
Putting x = 0 leaves 5y = 10, so y = 2. Putting y = 0 leaves 2x = 10, so x = 5. Writing (2, 0) and (0, 5) swaps them: x always comes first in a coordinate.
- In y = mx + c, m is the gradient and (0, c) is the y-intercept, where the line crosses the y-axis.
- Gradient means the change in y for each +1 in x: positive if y rises, negative if it falls, zero if flat.
- From two points, gradient = change in y ÷ change in x. Same x value twice? That divides by 0, so no gradient.
Have a goWhat is the gradient of the line through (1, 9) and (3, 3)? Careful with the sign.
−3
The change in y is 3 − 9 = −6 and the change in x is 3 − 1 = 2, so −6 ÷ 2 = −3. y falls as x rises, so a positive answer cannot be right.
- Rearrange into y = mx + c before reading m and c. The gradient is the coefficient of x, not the first number.
Have a goSam is very confident that y = 10 − 3x has gradient 10, "because 10 comes first". What do you tell Sam?
Not so fast, Sam: it is y = −3x + 10, so the gradient is −3.
The gradient is the coefficient of x once the equation is in the form y = mx + c, and it keeps its sign. The 10 is the y-intercept.
- Finding an equation: get m (off the graph or from two points), substitute a point to find c, then check another point.
The big picture
A straight-line graph is the picture of a linear equation. In y = mx + c, m is the gradient (the change in y for each +1 in x) and c fixes where the line crosses the y-axis, at (0, c). You can draw a line from its equation, read m and c once the equation is rearranged, and build the equation of a line from its graph, from a gradient and a point, or from two points.
Key points
Worked example
Problem
A graphic designer charges £92 for a 2-hour job and £232 for a 6-hour job. The charge £p for h hours is a linear equation. Find the equation and the cost of a 5-hour job.
⚠ Watch out
Reading the first number as the gradient, or dropping a minus sign. In y = 6 − 5x, the gradient is not 6. Rearrange to y = −5x + 6 and the gradient is −5.
Memory hook
m is how much the line Moves up for each step right. c is where the line Crosses the y-axis.
Check yourself
A line has gradient 4 and passes through (1, 7). Find its equation in the form y = mx + c, then show that (2, 11) is on it.
Flashcards
(14)What makes a relationship linear?
Why do you draw a straight line right to the edge of the graph?
How many points draw a straight line, and why plot another?
For y = 2/3 x − 4, which x values make plotting accurate?
For ax + by = c, how do you find two points quickly?
In y = mx + c, what does m tell you?
In y = mx + c, what does c tell you?
What is gradient, in words?
What does the sign of the gradient tell you?
How do you find a gradient from two points?
Two points have the same x value. What is the gradient?
You are given a gradient and one point. How do you find the equation?
How do you get the equation of a line from its graph?
Gradient 3, y-intercept (0, −5). Give the equation in two equivalent forms.
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Maths topics
- Areas under graphs
- Equations of circles
- Exponential functions
- Gradients in context
- Graphs of real-world contexts
- Parallel and perpendicular lines
- Plotting graphs of equations and functions
- Polynomial and reciprocal functions
- Translations and reflections of graphs
- Trigonometric functions
- x- and y-coordinates (graphs)
How this lesson was checked. This OCR GCSE Maths (specification J560)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 30 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.