GCSE · Maths · Edexcel · Spec 1MA1 · Higher
Straight-line graphs and y = mx + c
A non-vertical straight line needs just two numbers: one for how steep it is, one for where it crosses the y-axis. Slide the line and spot which is which.
Slide the line. What moves, and what refuses to?
Grab the dot where the line meets the y-axis and slide it up or down. The line always climbs 2 for every 1 across, so its steepness never changes.
Two points, one equation
Problem
A straight line passes through A(1, 2) and B(3, 8). Find its equation.
Predict, then check
Before you calculate anything, look at the two x-coordinates.
A line passes through (3, 1) and (3, 6). What happens when you try to work out its gradient?
Maths · Straight lines
How are these two lines related?
Decide how each pair of lines is related, then read why.
Still to sort
Parallel (0)
Same gradient, different y-intercepts.
Where the line is: If the y-intercepts matched too, it would be one line, not two.
The same line (0)
Same gradient and same y-intercept.
Where the line is: The equations may be written in a different order and still be one line.
Perpendicular (0)
Non-vertical lines whose gradients multiply to −1.
Where the line is: Multiply the two gradients. If the answer is not −1, they are not perpendicular.
Neither (0)
Different gradients that do not multiply to −1.
Where the line is: Not parallel and not at right angles.
Look at the gradients first, then the y-intercepts.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
y = mx + c
Two numbers. One line.
What you need to know
- A non-vertical straight line has an equation y = mx + c. Know m and c? Write it straight down.
- m is the gradient, the steepness. On a straight line it is the same everywhere along it.
- c is the y-intercept: where the line crosses the y-axis, which is where x = 0.
Have a goYour mate says y = 4x + 7 crosses the y-axis at 4. Confident. Wrong. Where does it actually cross, and how could you prove it?
At y = 7. Put x = 0 in: y = 4 × 0 + 7 = 7.
c is the value of y when x = 0. The 4 multiplies x, so it vanishes when x is 0 and cannot be the intercept.
- Gradient from two points: m = (change in y) ÷ (change in x).
Have a goA line passes through (2, 1) and (4, 9). Work out its gradient before you look.
4
Change in y is 9 − 1 = 8 and change in x is 4 − 2 = 2, so m = 8 ÷ 2 = 4. The change in y goes on the top.
- Given two points, find m first. Then put m and one point into y = mx + c to find c.
- Check your equation by substituting the second point. Every point on the line fits its equation.
- Same x-coordinate twice? The change in x is 0, so the gradient is undefined. It is a vertical line, like x = 3.
- Same y-coordinate twice? That is a horizontal line, like y = 5.
Have a goTwo points on a line are (2, 7) and (9, 7). What is the equation of the line through them?
y = 7
Both y-coordinates are 7, so the line is flat and horizontal. Whatever x is, y stays at 7.
- Parallel lines have the same gradient and different y-intercepts. Same gradient and same y-intercept means the same line.
- Two non-vertical lines are perpendicular when their gradients multiply to −1, like 3 and −1/3.
The big picture
A non-vertical straight line has an equation y = mx + c. The gradient m says how steep it is, and c is where it crosses the y-axis. From two points you find m, then c, then check. Vertical and horizontal lines, parallel lines and perpendicular lines all follow from the gradient.
Key points
Worked example
Problem
A straight line has gradient 4 and passes through (2, 5). Find its equation.
⚠ Watch out
Mixing up which number does what. In y = 4x + 7 the 4 is the gradient and the line crosses the y-axis at 7, not at 4. If you are unsure, put x = 0 in and see what is left.
Memory hook
c = where the line Crosses the y-axis. m = how much the line Moves up for each step across.
Check yourself
A line has gradient 2 and crosses the y-axis at (0, −3). Write its equation, then the equation of a parallel line through (0, 5).
Flashcards
(13)In y = mx + c, what does m tell you?
In y = mx + c, what does c tell you?
How can you check the y-intercept of y = mx + c?
How do you find the gradient from two points?
You know the gradient and the y-intercept. What is the equation?
You know the gradient and one point that is not on the y-axis. How do you find c?
What are the stages for a line through two points?
Why is the gradient the same everywhere along a straight line?
Two points share the same x-coordinate, such as 3. What is the line?
Two points share the same y-coordinate, such as 5. What is the line?
How do you tell parallel lines from the same line?
What is the gradient rule for perpendicular non-vertical lines?
A line has gradient 3/5. What is the gradient of a non-vertical line perpendicular to it?
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 Edexcel GCSE Maths topics
- Gradients and areas under curves
- Gradients and intercepts of linear functions
- Iterative methods
- Plotting non-standard and reciprocal graphs in real contexts
- Roots, intercepts and turning points of quadratics
- Simultaneous equations
- Sketching and interpreting standard graphs
- Solving linear and quadratic inequalities
- Solving linear equations
- Solving quadratic equations
- Translating situations into algebra
- Translations and reflections of functions
How this lesson was checked. This Edexcel GCSE Maths (specification 1MA1)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 11 November 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.