Skip to content

Straight-line graphs (y = mx + c): GCSE Maths revision notes

The equation of a straight line can be written y = mx + c, where m is the gradient and c is the y-intercept (where the line crosses the y-axis). y = 3x − 2 has gradient 3 and crosses the y-axis at (0, −2).

In short

The equation of a straight line can be written y = mx + c, where m is the gradient and c is the y-intercept (where the line crosses the y-axis). y = 3x − 2 has gradient 3 and crosses the y-axis at (0, −2).

For GCSE students in Years 10 and 11, on the AQA, Edexcel, OCR, Eduqas, Edexcel IGCSE and Cambridge IGCSE Maths courses.

y = mx + c

  • The equation of a straight line can be written y = mx + c, where m is the gradient and c is the y-intercept (where the line crosses the y-axis).
  • y = 3x − 2 has gradient 3 and crosses the y-axis at (0, −2).
  • Rearrange first if needed: 2y = 6x + 4 becomes y = 3x + 2.

Gradient

  • Gradient = change in y ÷ change in x. Through (1, 2) and (3, 8): (8 − 2) ÷ (3 − 1) = 3.
  • A positive gradient slopes up to the right; a negative gradient slopes down.
  • Parallel lines have the same gradient.
  • (Higher) Perpendicular lines have gradients that multiply to −1: the perpendicular to a line with gradient 2 has gradient −1/2.

Special lines and points

  • y = a is a horizontal line; x = a is a vertical line.
  • The x-intercept is where y = 0: y = 2x − 6 crosses the x-axis at (3, 0).
  • The midpoint of (2, 4) and (6, 10) is ((2 + 6)/2, (4 + 10)/2) = (4, 7).

Finding the equation of a line

  • Find the gradient, then substitute a point to find c: through (1, 5) and (3, 11), m = 3, and 5 = 3 × 1 + c gives c = 2, so y = 3x + 2.
  • A point lies on a line if its coordinates make the equation true: (2, 7) is on y = 3x + 1 because 3 × 2 + 1 = 7.

Key terms

Gradient
The steepness of a line: change in y ÷ change in x.
y-intercept
The point where a line crosses the y-axis.
x-intercept
The point where a line crosses the x-axis.
Parallel
Lines with the same gradient, which never meet.
Perpendicular
At right angles; gradients multiply to −1.
Midpoint
The point exactly halfway between two points.

Quick questions on Straight-line graphs (y = mx + c)

What is the gradient of y = 3x − 2?
3: The gradient is the coefficient of x.
What is the y-intercept of y = 5x + 4?
4: The line crosses the y-axis at (0, 4).
What is the gradient of the line through (1, 2) and (3, 8)?
3: (8 − 2) ÷ (3 − 1) = 3.
Which line is parallel to y = 2x + 1?
y = 2x − 5: Parallel lines have the same gradient.
What is the equation of the line with gradient 4 through (0, −3)?
y = 4x − 3: m = 4 and c = −3.
Where does y = 2x − 6 cross the x-axis?
(3, 0): Set y = 0: 2x = 6.
What is the equation of the horizontal line through (2, 5)?
y = 5: Every point on it has y-coordinate 5.
What is the midpoint of (2, 4) and (6, 10)?
(4, 7): Add the coordinates and halve them.
What is the gradient of a line perpendicular to y = 2x + 3?
−1/2: 2 × −1/2 = −1.
What is the gradient of 2y = 6x + 4?
3: Divide by 2: y = 3x + 2.
What is the equation of the line through (0, 1) and (2, 5)?
y = 2x + 1: Gradient (5 − 1) ÷ 2 = 2; intercept 1.
Does the point (2, 7) lie on y = 3x + 1?
Yes, because 3 × 2 + 1 = 7: Substitute x = 2 and check y.

Straight-line graphs (y = mx + c): exam-style questions and mark schemes

  1. Which line has a gradient of −2 and a y-intercept of 5? [1 mark]

    Answer: y = −2x + 5

  2. Find the equation of the line through (1, 5) and (3, 11). [2 marks]

    • Gradient = (11 − 5) ÷ (3 − 1) = 3 (1)
    • y = 3x + 2 (1)
  3. Line L has equation y = 4x − 1. Write down the equation of the line parallel to L that passes through (0, 6). [2 marks]

    • Gradient 4 (1)
    • y = 4x + 6 (1)
  4. Find the equation of the line perpendicular to y = 2x + 1 that passes through (4, 3). [3 marks]

    • Perpendicular gradient = −1/2 (1)
    • 3 = −1/2 × 4 + c, so c = 5 (1)
    • y = −½x + 5 (1)
  5. Without a calculator: What is the gradient of the line y = 5 − 3x? [1 mark]

    Answer: −3

  6. Without a calculator: Find the gradient of the line through (1, −2) and (4, 10) [2 marks]

    • (10 − (−2))/(4 − 1) (1)
    • 4 (1)
  7. Without a calculator: Line A has equation y = 3x + 2. Line B is perpendicular to line A and passes through (6, 1). (a) Find the equation of line B. [3 marks] (b) Find the coordinates of the point where lines A and B intersect. [3 marks] [6 marks]

    • (a) gradient of B is −1/3 (1)
    • (a) 1 = −1/3 × 6 + c (1)
    • (a) y = −1/3x + 3 (1)
    • (b) 3x + 2 = −1/3x + 3 (1)
    • (b) x = 0.3 (1)
    • (b) (0.3, 2.9) (1)

How to answer them: exam technique and command words.

Straight-line graphs (y = mx + c): questions and answers

What is the gradient of a line perpendicular to y = 2x + 3?
2 × −1/2 = −1.
What is the gradient of 2y = 6x + 4?
Divide by 2: y = 3x + 2.
What is the equation of the line through (0, 1) and (2, 5)?
y = 2x + 1. Gradient (5 − 1) ÷ 2 = 2; intercept 1.

Practise Straight-line graphs (y = mx + c): 12 questions

Download these notes as a PDF

Previous topic: Sequences and the nth termNext topic: Simultaneous equations

More in Algebra

LycoLearn is still loading…

This can take a little longer on a busy school or home network. If nothing happens, try refreshing the page.

LycoLearn didn’t load properly

Part of it didn’t arrive. Try refreshing the page in a minute, or open LycoLearn in another browser.