top of page

18.2 Gradient, intercept and y = mx + c

GCSE Maths Higher · OCR J560 · Chapter 18: Straight-line graphs

What is in the full lesson (25 activities)

Every item below opens free in the course.

A free OCR GCSE Maths Higher lesson (J560) from OBA School: gradient, y = mx + c, finding equations and interpreting lines in context (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

  • Work out the gradient of a line from a graph or from two points
  • Find the gradient and y-intercept from an equation, rearranging into y = mx + c first
  • Find the equation of a line from its gradient and one point, or from two points
  • Interpret the gradient and intercept of a real-life straight-line graph

Key words

  • Gradient: How steep a line is: change in y ÷ change in x. Positive lines go up left to right; negative lines go down.
  • y-intercept: Where the line crosses the y-axis, at (0, c).
  • y = mx + c: The equation of a straight line with gradient m and y-intercept c.
  • Rate of change: In context, the gradient tells you how much y changes for each 1 unit of x.

Finding a gradient

Pick two points on the line. Gradient = change in y ÷ change in x. Subtract the coordinates in the same order on the top and the bottom.

Worked example: gradient from two points

Find the gradient of the line through (−2, 7) and (4, −2).
Change in y: −2 − 7 = −9. Change in x: 4 − (−2) = 6.
Gradient = −9 ÷ 6 = −3/2

Answer: −3/2 (or −1.5)

Key fact: Horizontal lines have gradient 0. Vertical lines have no gradient (you cannot divide by 0).

Reading m and c from an equation

In y = mx + c, the number in front of x is the gradient and the constant is the y-intercept. If the equation is not in this form, rearrange it so that y is on its own first.

Worked example: rearrange first

4x + 2y = 10 → 2y = −4x + 10 → y = −2x + 5
3y − 6x = 9 → 3y = 6x + 9 → y = 2x + 3

Answer: gradients −2 and 2; y-intercepts (0, 5) and (0, 3)

  • y = 7 − 3x; In the form y = mx + c y = −3x + 7; m −3; c 7
  • 2y = x + 8; In the form y = mx + c y = ½x + 4; m ½; c 4
  • x + y = 6; In the form y = mx + c y = −x + 6; m −1; c 6

Finding the equation of a line

You need m and c. Find m (given, or from two points), then substitute one point into y = mx + c to find c.

Worked example: gradient 3 through (2, −1)

y = 3x + c. Substitute (2, −1): −1 = 6 + c, so c = −7.

Answer: y = 3x − 7

Worked example: through (−1, 6) and (3, −2)

Gradient = (−2 − 6) ÷ (3 − (−1)) = −8 ÷ 4 = −2
Substitute (−1, 6): 6 = −2 × (−1) + c = 2 + c, so c = 4.
Check with (3, −2): −2 × 3 + 4 = −2 ✓

Answer: y = −2x + 4

Gradient and intercept in context

For a real-life graph, the gradient is a rate (units of y per unit of x) and the intercept is the starting value when x = 0.

Worked example: a leaking tank

A tank holds 600 litres at the start. After 8 minutes it holds 200 litres. The graph of volume against time is a straight line.
Gradient = (200 − 600) ÷ 8 = −50. The intercept is 600.

Answer: V = 600 − 50t: it loses 50 litres per minute, starting from 600 litres

Common mistakes

  • Putting the change in x on top. Gradient = change in y ÷ change in x.
  • Reading m before rearranging: in 2y = 6x + 4 the gradient is 3, not 6.
  • Sign slips: 4 − (−2) = 6.
  • Confusing the y-intercept with the x-intercept.
  • Counting squares on a graph with different scales on the axes. Use the axis values instead.

Revision questions

Try these, then check your answers below each one.

Question 1. Work out the gradient of the line through (1, 4) and (4, 19).

Answer: 5

Working: (19 - 4) ÷ (4 - 1) = 15 ÷ 3 = 5.

Question 2. What is the gradient of the line 3x + 2y = 8? (Choose from: -3/2, 3, 3/2, -3.)

Answer: -3/2

Working: 2y = -3x + 8, so y = -3/2x + 4.

Question 3. Where does the line y = 6 - 4x cross the y-axis? (Choose from: (0, 6), (0, −4), (6, 0), (1.5, 0).)

Answer: (0, 6)

Working: When x = 0, y = 6.

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 Higher tier students sit three papers: J560/04 (calculator allowed), J560/05 (non-calculator) and J560/06 (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.

Foundation tier: the OCR Foundation 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: 29.2 Gradient and Intercepts of Straight-line Graphs; Edexcel: 6.2 More Linear Graphs.

Related lessons

Continue in the full course

This lesson is section 18.2 (OGCMH1802) of our free OCR GCSE Maths Higher 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 Higher course.

This lesson is part of the free GCSE Maths Higher course. You can also browse all our free GCSE courses.

 

 

 

 

 

 

 

Previous
Next
bottom of page