Perpendicular lines

Maths · Coordinate geometry. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths topics

The idea

Two lines are perpendicular when they cross at a right angle (90°). On a graph you do not need to measure the angle: the gradients tell you. If you multiply the gradients of two perpendicular lines, the answer is always −1.

So the gradient of the perpendicular line is the negative reciprocal: turn the gradient upside down and change its sign. A gradient of 2 becomes −1/2, and a gradient of −3/4 becomes 4/3.

Always write the line as y = mx + c first, so that you read the correct gradient. A perpendicular bisector of AB is the line through the midpoint of AB that is perpendicular to AB.

In simpler words

Perpendicular lines cross at a right angle, like the corner of a page. You can tell from their gradients: multiply the two gradients together and you always get −1. So to find the perpendicular gradient, flip the fraction upside down and change its sign. A gradient of 2 becomes −1/2. Get the line into y = mx + c first so you read the right gradient.

An everyday comparison

Think of a road climbing a hill 2 metres up for every 1 metre along. A fence post standing at right angles to the road slopes down 1 metre for every 2 metres along, which is gradient −1/2: flip and change sign. The comparison stops at flat roads: a level road has gradient 0, and its perpendicular is a vertical post with no gradient, so the rule m1 × m2 = −1 cannot be used there.

Rules to remember

Common mistake

Students change only the sign (3 becomes −3) or only turn the gradient upside down (3 becomes 1/3). You must do both: 3 becomes −1/3. Check by multiplying the two gradients to get −1.

In the exam

Rearrange the given line to y = mx + c and state its gradient m. Write 'perpendicular gradient = −1 ÷ m', for example 3 → −1/3. Substitute the point into y = mx + c to find c and write the full equation. For a perpendicular bisector, first write the midpoint ((x1 + x2)/2, (y1 + y2)/2), then the gradient of AB, then the perpendicular gradient, then find c using the midpoint. Check: m1 × m2 = −1.

Worked example

Find the equation of the line through (6, 1) that is perpendicular to y = 3x + 4.

  1. Gradient of the given line = 3, so the perpendicular gradient = −1/3.
  2. The new line is y = −x/3 + c.
  3. Put in (6, 1): 1 = −6/3 + c, so 1 = −2 + c and c = 3.

Answer: y = −x/3 + 3

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Parallel linesGeometrical terms →Take a Maths test