Skip to content

Straight-line graphs (y = mx + c)

GCSE Maths revision notes, key terms and practice questions.

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 and Eduqas 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.

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.