Home / IGCSE Mathematics 0580 / Perpendicular lines
Cambridge IGCSE Mathematics 0580 · Coordinate geometry

Perpendicular lines

Why the gradients of perpendicular lines multiply to −1, how to find a perpendicular gradient from any form of equation, the equation of a perpendicular line through a point, and perpendicular bisectors. This subtopic is Extended content only.

E3.7Extended onlyFree lesson
What the syllabus says

E3.7 (Extended)

  • Find the gradient and equation of a straight line perpendicular to a given line.

Notes and examples

  • Examples include:
  • find the gradient of a line perpendicular to 2y=3x+1
  • find the equation of the perpendicular bisector of the line joining the points (−3,8) and (9,−2).

Quoted from the Cambridge IGCSE Mathematics 0580 syllabus for 2025 to 2027.

Perpendicular gradients Extended

Two lines are perpendicular when they meet at a right angle. If neither line is horizontal or vertical, their gradients m1 and m2 are linked by a simple rule:

m1×m2=−1,som2=−1m1

In words: the perpendicular gradient is the negative reciprocal. Turn the gradient upside down and change its sign.

  • Gradient 2 (which is 21): perpendicular gradient −12.
  • Gradient −34: perpendicular gradient 43.
  • Gradient 1: perpendicular gradient −1.
  • Gradient 0.4: perpendicular gradient −10.4=−2.5.

Always check by multiplying: 2×−12=−1. If the product is not −1, the lines are not perpendicular.

Why it works. Take a gradient triangle with a run of 3 and a rise of 2, so the gradient is 23. Turn the whole triangle through a right angle. The side that went 3 across now goes 3 up, and the side that went 2 up now goes 2 back to the left. The turned line rises 3 for a run of −2, so its gradient is 3−2=−32. The rise and run swap places (the reciprocal) and one of them changes direction (the minus sign).

The rule does not apply to horizontal and vertical lines, because a vertical line has no numerical gradient. A horizontal line, such as y=4, is simply perpendicular to every vertical line, such as x=−1.

Turning a gradient triangle Extended

xy−4−3−2−11234−4−3−2−112340gradient 2/3gradient -3/2

The first line goes 3 across and 2 up: gradient 23. Turned through 90°, the same triangle goes 3 up and 2 to the left: gradient −32. And 23×−32=−1.

Finding a perpendicular gradient from an equation Extended

First find the gradient of the given line, which means making y the subject if it is not already. Then take the negative reciprocal.

For example, to find the gradient of a line perpendicular to 2y=3x+1:

  1. Divide every term by 2: y=32x+12, so the gradient is 32.
  2. Negative reciprocal: −23.

The usual error is to take the reciprocal of the coefficient of x before making y the subject: in 2y=3x+1 the gradient is not 3, so the perpendicular gradient is not −13.

Worked example 1 Extended

Find the gradient of a line perpendicular to 3y=6−4x.

  1. Make y the subject: y=2−43x, so the gradient is −43.

  2. Negative reciprocal: turn −43 upside down to get −34, then change the sign: 34.

  3. Check: −43×34=−1.

Answer: 34

Equation of a perpendicular line through a point Extended

The method is the same as for a parallel line, except for the gradient.

  1. Find the gradient of the given line.
  2. Take the negative reciprocal to get the gradient m of the new line.
  3. Substitute the given point into y=mx+c and solve for c.
  4. Write the equation in the form the question asks for, and check that the point fits.

When the perpendicular gradient is a fraction, the arithmetic for c is easier if you multiply out carefully: with m=−13 and the point (6,1), −13×6=−2.

Worked example 2 Extended

Find the equation of the line perpendicular to y=3x−2 that passes through (6,1). Give your answer (a) in the form y=mx+c, (b) in the form ax+by=c where a, b and c are integers.

  1. The given line has gradient 3, so the perpendicular gradient is −13.

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

  3. (a) y=−13x+3.

  4. (b) Multiply every term by 3: 3y=−x+9, then add x: x+3y=9.

  5. Check: 6+3×1=9.

Answer: (a) y=−13x+3 (b) x+3y=9

Check yourself Extended

Write down the gradient of a line perpendicular to y=−5x+1.

Answer it in the portal, where your answer is checked as you type →

Check yourself Extended

Find the equation of the line perpendicular to y=2x+1 that passes through (4,3). Give your answer in the form y=mx+c.

Answer it in the portal, where your answer is checked as you type →

Perpendicular bisectors Extended

The perpendicular bisector of a line segment AB is the line that cuts AB in half and crosses it at a right angle. Every point on it is the same distance from A as from B, which is why it appears in questions about loci and about the centre of a circle.

To find its equation, put together three skills from this topic:

  1. Midpoint of AB (subtopic 3.4): the bisector passes through it.
  2. Gradient of AB (subtopic 3.3).
  3. Perpendicular gradient: the negative reciprocal of the gradient of AB.

Then substitute the midpoint into y=mx+c. The key point to remember is that the bisector passes through the midpoint, not through A or B.

Worked example 3 Extended

Find the equation of the perpendicular bisector of the line segment joining A(−2,1) and B(6,5).

  1. Midpoint of AB: (−2+62,1+52)=(2,3).

  2. Gradient of AB: 5−16−(−2)=48=12.

  3. Perpendicular gradient: −2.

  4. Substitute the midpoint (2,3) into y=−2x+c: 3=−4+c, so c=7.

  5. y=−2x+7.

  6. Check: the point (0,7) is on this line. Its distance from A is 22+62=40 and from B is 62+22=40. Equal, as it should be.

Answer: y=−2x+7

Check yourself Extended

Find the equation of the perpendicular bisector of the line segment joining (1,2) and (5,6). Give your answer in the form y=mx+c.

Answer it in the portal, where your answer is checked as you type →

Right angles in shapes Extended

The gradient rule gives a quick test for a right angle when you know coordinates.

  • A right-angled triangle: find the gradients of two sides that meet at a vertex. If they multiply to −1, the angle there is 90°.
  • A rectangle or a square: adjacent sides are perpendicular.
  • A rhombus or a kite: the diagonals are perpendicular, and in a rhombus each diagonal is the perpendicular bisector of the other.
  • The shortest distance from a point to a line is along the perpendicular. Find the equation of the perpendicular through the point, solve simultaneously to find where it meets the line, then use the length formula.

In a "show that" question, write each gradient, show the product equals −1, and say in words what that means.

Key points

  • Perpendicular gradients multiply to −1: m2=−1m1, the negative reciprocal.

  • Make y the subject before reading the gradient of the given line.

  • Perpendicular line through a point: negative reciprocal gradient, then substitute the point to find c.

  • Perpendicular bisector of AB: passes through the midpoint, with gradient perpendicular to AB.

  • Check every answer: multiply the two gradients, and test that the point fits.

Where marks are lost

  • Taking the reciprocal but forgetting to change the sign, so 2 gives 12 instead of −12.

  • Changing the sign but not taking the reciprocal, so 2 gives −2.

  • Finding the perpendicular gradient of 2y=3x+1 from the 3 instead of from 32.

  • Using an end point instead of the midpoint for a perpendicular bisector.

  • Fraction slips when finding c, for example −13×6 written as −118.

  • Giving the gradient when the question asks for the equation.

Related IGCSE Mathematics 0580 lessons

All IGCSE Mathematics 0580 lessons →

An original lesson written to the Cambridge IGCSE Mathematics 0580 syllabus (2025 to 2027). The worked examples and questions are our own, not Cambridge questions. Back to every IGCSE Mathematics 0580 lesson.