18.2 Gradient, intercept and y = mx + c
GCSE Maths Foundation · OCR J560 · Chapter 18: Straight-line graphs
What is in the full lesson (38 activities)
Every item below opens free in the course.
- Video: C1ch5 gftp ex 1 -calculate gradient starting from points
- Video: C1ch5 gftp ex 2 -calculate gradient starting from points
- Video: C1ch5 gftp ex 4 -calculate gradient starting from points
- Video: C1ch5 gftp ex 5 -calculate gradient starting from points
- Video: Introduction to the gradient of a straight line
- Video: Gradient of a straight line Example 1
- Video: Gradient of a straight line Example 2
- Video: Use the intercepts to plot a line
- Video: Straight line graphs - Equation of the form ax+by=c (exercise 17 -1)
- Video: Straight line graphs-Equation of the form ax+by=c (Exercise 17 - 4)
- Video: Graphs plotting Example 3
- Video: Reading gradient and y-intercept from linear equations
- Video: Graphs equation of line Example 2
- Video: Parallel Lines
- Video: Parallel lines (exercise)
- Video: Horizontal and Vertical lines
- Video: Graphs vertical lines Example 1
- Video: Graphs horizontal lines Example 1
- Video: How to find the equation of aline
- Video: Finding an equation of a straight line
- Video: Finding equation of a straight line
- Video: Equation of a line passing through origin
- Video: Equations parallel to x-axis
- Video: Equations parallel to y-axis
- Video: Straight line graphs - Equation of the form ax+by=c
- Video: Interactivity about lines and graphs
- Video: Exercise-what is the equation of the line
- Video: Graphs equation of line Example 3
- Video: Graphs equation of line Example 1
- Video: Graphs y equals x Example 1
- Video: Use gradient-intercept form to plot lines
- Video: How to plot a graph of a straight line
- Notes: Lesson notes: Gradient, intercept and y = mx + c
- Interactive lesson: Interactive lesson: Gradient, intercept and y = mx + c
- Practice questions: Practice questions (8 questions, 11 marks)
- Interactive lesson: Practice game: Gradient, intercept and y = mx + c
- Worksheet: Worksheet: Gradient, intercept and y = mx + c
- Answers: Answers and mark scheme of the Worksheet: Gradient, intercept and y = mx + c
A free OCR GCSE Maths Foundation lesson (J560) from OBA School: gradient, y-intercept, y = mx + c and finding the equation of a line (OCR J560: 7.02a). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with interactive activities, practice quizzes and printable worksheets, in our free online course.
What you will learn
- Find the gradient of a line from a graph or from two points
- Read the gradient and y-intercept from an equation in the form y = mx + c
- Sketch a straight line from its equation
- Find the equation of a line from its gradient and one point, or from two points
Key words
- Gradient: How steep a line is: how far it goes up for every 1 unit across. Written m.
- y-intercept: The point where a line crosses the y-axis. In y = mx + c it is (0, c).
- x-intercept: The point where a line crosses the x-axis (where y = 0).
- Coefficient: The number in front of a letter. In y = 5x + 2 the coefficient of x is 5.
What is a gradient?
Gradient = change in y ÷ change in x, or “up ÷ across”. Pick two points on the line, draw a right-angled triangle and measure how far up and how far across.
A line going up from left to right has a positive gradient. A line going down has a negative gradient. A horizontal line has gradient 0.
Gradient from two points
For points (x₁, y₁) and (x₂, y₂): gradient = (y₂ − y₁) ÷ (x₂ − x₁). Subtract in the same order on the top and the bottom.
Worked example: P(2, 7) and Q(5, 1)
Change in y: 1 − 7 = −6. Change in x: 5 − 2 = 3.
Gradient = −6 ÷ 3 = −2. The line slopes down.
Answer: gradient −2
Worked example: A(−1, 3) and B(3, 5)
Change in y: 5 − 3 = 2. Change in x: 3 − (−1) = 4.
Gradient = 2 ÷ 4 = 1/2.
Answer: gradient 1/2 (or 0.5)
The equation y = mx + c
Every straight line (except vertical ones) can be written as y = mx + c. The number in front of x is the gradient m. The number on its own is the y-intercept c.
- y = 4x + 3; Gradient m 4; y-intercept c (0, 3)
- y = −2x + 5; Gradient m −2; y-intercept c (0, 5)
- y = 7 − x; Gradient m −1; y-intercept c (0, 7)
- y = ½x − 6; Gradient m ½; y-intercept c (0, −6)
- y = 3x; Gradient m 3; y-intercept c (0, 0)
Worked example: rearrange first
Find the gradient and y-intercept of 2y = 6x + 8.
Divide every term by 2: y = 3x + 4.
Answer: gradient 3, y-intercept (0, 4)
Key fact: Get y on its own first. In y = 7 − x the gradient is −1, not 7.
Sketching a line from its equation
Start at the y-intercept (0, c). Then use the gradient: go 1 across and m up (or down if m is negative). Repeat and join with a ruler.
Finding the equation of a line
Worked example: gradient 3, through (2, 5)
Write y = 3x + c.
Substitute x = 2, y = 5: 5 = 3 × 2 + c = 6 + c, so c = −1.
Answer: y = 3x − 1
Worked example: through (1, 4) and (3, 10)
Gradient = (10 − 4) ÷ (3 − 1) = 6 ÷ 2 = 3.
Use (1, 4): 4 = 3 × 1 + c, so c = 1.
Check with (3, 10): 3 × 3 + 1 = 10 ✓
Answer: y = 3x + 1
Common mistakes
- Working out across ÷ up instead of up ÷ across.
- Subtracting the coordinates in a different order on the top and the bottom.
- Forgetting the minus sign for a line that slopes down.
- Reading m and c before getting y on its own: in 2y = 6x + 8 the gradient is 3, not 6.
- Using the scale wrongly: count units on the axes, not grid squares, when the scales are different.
Revision questions
Try these, then check your answers below each one.
Question 1. Write down the gradient of the line y = 4x - 7.
Answer: 4
Working: The number in front of x is 4.
Question 2. The line y = 9 - 2x crosses the y-axis at (0, c). Write down the value of c.
Answer: 9
Working: y = -2x + 9, so c = 9.
Question 3. Work out the gradient of the line through (1, 2) and (4, 14).
Answer: 4
Working: (14 - 2) ÷ (4 - 1) = 12 ÷ 3 = 4.
Exam board focus: OCR GCSE Maths (J560)
Specification: in the OCR J560 specification this lesson covers 7.02a (straight line graphs). In the national GCSE subject content these are A9, A10 and A22 (algebra).
Your exams: OCR Foundation tier students sit three papers: J560/01 (calculator allowed), J560/02 (non-calculator) and J560/03 (calculator allowed). Each paper lasts 1 hour 30 minutes and is worth 100 marks. Questions on this topic can appear on any of the three papers, so practise it both with and without a calculator.
Higher tier: the OCR Higher course covers this topic too, in 18.2 Gradient, intercept and y = mx + c and 18.4 Straight-line graph problems.
Studying with a different exam board? AQA: 28.2 Gradient and Intercepts of Straight-line Graphs; Edexcel: our free Edexcel GCSE Maths Foundation course.
Related lessons
- Previous lesson: 18.1 Plotting straight-line graphs
- Next lesson: 18.3 Parallel lines
Continue in the full course
This lesson is section 18.2 (OGCMF1802) of our free OCR GCSE Maths Foundation course (OCR J560: 7.02a). In the full course you get every video for this section, an animated interactive lesson, a practice interactivity, a self-marking practice quiz, a printable worksheet with a mark scheme, and your progress saved. Go to the full OCR GCSE Maths Foundation course.
This lesson is part of the free GCSE Maths Foundation course. You can also browse all our free GCSE courses.