Straight lines, parallel and perpendicular

Gradient tells you how steep a line is. With one point and a gradient you can write the equation of any straight line.

Practise this lesson free (7 questions)

More tools

Gradient

m = (y2 − y1)(x2 − x1)
(2, 3) to (6, 11): m = 84 = 2

Equation of a line

y − y1 = m(x − x1)
Through (1, 4) with gradient 3: y − 4 = 3(x − 1), so y = 3x + 1.
Rearranging ax + by + c = 0 into y = mx + c shows the gradient.

Parallel and perpendicular

Parallel lines have equal gradients: m1 = m2
Perpendicular lines: m1 × m2 = −1, so m2 = −1m1
2x + 3y = 6 has gradient −23. A perpendicular line has gradient 32.
Worked example

Find the perpendicular bisector of A(1, 2) and B(5, 6).

  1. Midpoint (3, 4)
  2. Gradient AB = 44 = 1, so perpendicular gradient −1
  3. y − 4 = −1(x − 3)

Answer: y = −x + 7

Key idea

m = (y2 − y1)(x2 − x1). y − y1 = m(x − x1). Parallel: same m. Perpendicular: m1m2 = −1.

Key words
Perpendicular
At right angles. Perpendicular lines have gradients whose product is −1.
Gradient
The steepness of a line: change in y divided by change in x.

All International GCSE Further Pure Mathematics key terms and definitions →

Quick check

Try two quick questions

See if it has sunk in. Answers are marked straight away.

Extra practice

2 more questions

Try each one, then tap to check.

  1. Find the gradient of the line through (1, 4) and (4, 13).

    Show the answer

    Answer: 3

    13 − 44 − 1 = 93 = 3.

  2. Find the equation of the line through (−2, 5) with gradient 4.

    1. y = 4x + 13
    2. y = 4x + 5
    3. y = 4x − 3
    4. y = 4x − 13
    Show the answer

    Answer: y = 4x + 13

    5 = 4(−2) + c, so c = 13.

Check you have got it

Answer 7 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.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.