Perpendicular Lines
Perpendicular lines have gradients that multiply to −1: flip and change the sign, then find the line's equation or a missing coordinate.
- 7 steps
- 7 min
- 6 syllabuses
Try a real exam question on this
4024/13 · May/Jun 2026 · Q19 · 4 marks · Solve it step by step, the way the examiner marks it.
Loading the animated solution…
See the solution as textText version of the solution
Line L goes through P(1, 7) and Q(3, −1). Line N is perpendicular to L through P. Find N's equation as y = mx + c.
- Gradient L = (−1 − 7)/(3 − 1) = −4
- Gradient N = −1/(−4) = 1/4
- 7 = 1/4 × 1 + c, so c = 27/4
- y = 1/4 x + 27/4
Answer y = 1/4 x + 27/4
The lesson, step by step
Step 1 of 7
Flip and Change the Sign
Perpendicular lines meet at a right angle. Their gradients are linked: multiply them and you always get −1.
Formula
Key idea
Why does this work? Perpendicular means at 90 degrees. Turn a line through 90 degrees and its across and up steps swap round, and one of them changes sign.
So a gradient of up over across becomes minus across over up. Multiply the two gradients and you always get minus 1.
So to get the perpendicular gradient, turn the fraction upside down and change its sign.
| Gradient | Perpendicular gradient |
Rule
Check: . If the product is not −1, the lines are not perpendicular.
Step 2 of 7
Equation of a Perpendicular Line
The 4-mark question: “Find an equation of the line perpendicular to L through a point.” Often it then asks where that line crosses the x-axis.
Worked example
- 1
— L is in the form y = mx + c, so its gradient is the number in front of x: 2.
- 2
— Write 2 as , flip it and change the sign. Check: .
- 3
— The new line has this gradient. Its c is still unknown, so leave it as c for now.
- 4
— The line passes through (4, 3), so put x = 4 and y = 3 in.
- 5
— . Keep the minus sign.
- 6
— Add 2 to both sides: 3 + 2 = 5.
- 7
— Put c back in. This is the answer in the form y = mx + c.
- 8
— Only if the question wants no fractions: multiply every term by 2.
- 9
— Add x and take 10 from both sides, so every term is on one side.
Key idea
Crossing the x-axis means : , so and . The point is .
Common mistake
Using L's gradient 2 for the new line. That gives a parallel line, not a perpendicular one.
Step 3 of 7
Starting From Two Points
Most exam questions give the first line as two points, A and B. Find the gradient of AB first, then carry on as before.
Find the line perpendicular to AB through (4, 1), where A is (−1, 6) and B is (3, −2).
Worked example
- 1
— Gradient = change in y ÷ change in x. Take B's numbers minus A's, in the same order on top and bottom. Put −1 in brackets.
- 2
— −2 − 6 = −8. And 3 − (−1) = 3 + 1 = 4, because taking away a negative adds.
- 3
— −8 ÷ 4 = −2. AB goes down from left to right.
- 4
— Flip −2 to , then change the sign to . Check: .
- 5
— The line passes through (4, 1), so put x = 4 and y = 1 into .
- 6
— .
- 7
— Take 2 from both sides: 1 − 2 = −1.
- 8
— Put c back in. Check with the point: . It works.
Common mistake
Writing 3 − 1 = 2 on the bottom. It is 3 − (−1), which is 3 + 1 = 4. Brackets round negatives stop this.
Key idea
Show every line. Most of the marks are for the working: the gradient of AB, the flipped gradient, and putting the point in. A slip in the last line can still leave you with 3 marks out of 4.
Step 4 of 7
When y Is Not on Its Own
The 2-mark question: “Find the gradient of a line perpendicular to .” First get y alone to read the gradient.
Worked example
- 1
— The question. y has a 3 in front and an x term beside it, so the gradient is not on show yet.
- 2
— Take 4x from both sides, so only the y term is left on the left.
- 3
— Divide every term by 3: and . Now the number in front of x is the gradient.
- 4
— Flip and change the sign: becomes , and minus becomes plus.
- 5
— Check: the product is −1, so the lines are perpendicular.
Common mistake
Reading the gradient as 4, the number in front of x. Until y is alone, that number is not the gradient.
Key idea
For more on rearranging, see The Equation y = mx + c.
Step 5 of 7
Finding a Missing Coordinate
The 4-mark question: “L is perpendicular to M. Work out the value of k.” Write M's gradient in two ways and make them equal.
Worked example
- 1
— L is in the form y = mx + c, so its gradient is 3.
- 2
— M is perpendicular to L: flip 3 to and change the sign.
- 3
— Both points lie on M, so the gradient from A to B must also be .
- 4
— Gradient = change in y ÷ change in x, written with k. Set it equal to M's gradient.
- 5
— Work out the bottom: 8 − 2 = 6.
- 6
— Multiply both sides by 6: .
- 7
— Add 5 to both sides: −2 + 5 = 3.
- 8
— Check: put k = 3 back. The gradient is , as it should be.
Key idea
A right angle in a triangle, like angle ABC = 90°, works the same way: the gradients of AB and BC multiply to −1.
Step 6 of 7
Tangent to a Circle
A tangent touches a circle at one point, P. It is always perpendicular to the radius at P. So the radius gives you the gradient.
A circle has centre C(1, 2). P(7, 6) is on the circle. Find the equation of the tangent at P.
Worked example
- 1
— The radius joins the centre C to P. Gradient = change in y ÷ change in x.
- 2
— 6 − 2 = 4 and 7 − 1 = 6. Divide top and bottom by 2: the radius gradient is .
- 3
— The tangent is perpendicular to the radius: flip and change the sign. Check: .
- 4
— The tangent passes through P(7, 6), so put x = 7 and y = 6 in.
- 5
— , which is −10.5.
- 6
— Add to both sides: 6 + 10.5 = 16.5, which is .
- 7
— Put c back in. This is the tangent at P.
- 8
— Only if the question wants no fractions: multiply every term by 2. Both forms are correct.
Key idea
Sometimes you are given A, the other end of the diameter, not P. The centre is halfway, so repeat the step. From A(−5, −2) to C(1, 2) is 6 right and 4 up, so P is (1 + 6, 2 + 4) = (7, 6).
Common mistake
Using the radius gradient for the tangent. The tangent is at 90° to the radius, so flip and change the sign.
Step 7 of 7
Which Method? Read the Question
Find the gradient you are given first. Then decide what to do with it.
| You see | You do |
| Two points, A and B | gradient of AB first: change in y ÷ change in x |
| “Perpendicular gradient” | get y alone, flip, change sign |
| “Perpendicular … passes through” | new gradient, then find c |
| Through the origin | c = 0 |
| “Crosses the x-axis” | put y = 0 |
| An unknown like k | gradient two ways, make them equal |
| Tangent to a circle at P | radius gradient, flip, change sign |
| Perpendicular to a flat line like y = 3 | an upright line: x = the point's x |
| “Parallel” | Parallel Lines and Their Equations |
| Through the midpoint of AB | The Perpendicular Bisector |
Key idea
Always check: the two gradients multiplied must give exactly −1.
More real exam questions on this
Solve one in Lemmara and see where every mark goes.
- 0580/22Feb/Mar 2026 · Q73 marksA horizontal line L is given as y = 2. Work out a perpendicular line through (−1, 5), then locate where L meets y = 20 − 6x.Solve it →
- 0580/43May/Jun 2026 · Q147 marksGiven points A (5, 2) and B (−3, 6), work out the distance between them and the equation of a line at right angles to AB through (−2, 5), in y = mx + c form.Solve it →
- 4024/12May/Jun 2026 · Q158 marksLine L is 2y + x = 19. Find its gradient and y-intercept, show that the line perpendicular to L through (−1, −5) is y = 2x − 3, and find where the two lines meet.Solve it →
- WMA11/01Jan 2026 · Q49 marksWork without a calculator with points A(−1, 8) and B(7, 2) on line L₁, and a perpendicular line L₂ through A that meets the x-axis at C.Solve it →
- WMA11/01Jun 2026 · Q26 marksFind a perpendicular line through a point on y = 10 − 3x, written as ax + by + c = 0, then the area of a triangle on the y-axis.Solve it →
- 0580/43May/Jun 2025 · Q136 marksLine L is y = 2(x − 5). Find its y-axis crossing, its x-value where y = 19, and the equation of perpendicular line P through (2, 3) in y = mx + c form.Solve it →
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.