Straight-line graphs: y = mx + c
▶ Watch the 1-minute version first, then work through the lesson.
Every straight line can be described by its steepness and where it crosses the y-axis.
Gradient and intercept
y = 2x + 3 crosses the y-axis at (0, 3) and goes up 2 for every 1 across.
Gradient from two points
Through (1, 4) and (3, 10): 10 − 43 − 1 = 62 = 3
Finding the equation
m = 3, through (1, 4): 4 = 3 + c, so c = 1. Equation: y = 3x + 1.
Find the equation of the line through (2, 5) and (4, 9).
- m = 9 − 54 − 2 = 2
- 5 = 2 × 2 + c, so c = 1
- y = 2x + 1
Answer: y = 2x + 1
y = mx + c: m is the gradient (rise over run), c is where the line crosses the y-axis. Find m from two points, then substitute a point to find c.
- Gradient
- The steepness of a line: change in y ÷ change in x. It is m in y = mx + c.
- Equation
- A statement with an equals sign that is true for particular values of the letter, such as 3x + 1 = 10.
All GCSE and International GCSE Mathematics key terms and definitions →
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
What is the gradient of y = −8x + 9?
Show the answer
Answer: -8
In y = mx + c, m = −8.
Where does y = 2x + 9 cross the y-axis? Give the y-coordinate.
Show the answer
Answer: 9
c = 9, so it crosses at (0, 9).
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
- Pearson Edexcel GCSE Mathematics (1MA1) specification, topic A9, A10
- Pearson Edexcel International GCSE Mathematics (4MA1) specification, topic 3.3
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.