Maths · 4 Coordinate geometry
4.6 Perpendicular lines
Before you start
- Calculating the gradient of a line from two points on it, (4.2).
- Finding the midpoint of a line segment (4.3).
- Rearranging a linear equation into the form and reading off the gradient and the -intercept (4.4).
- Parallel lines have equal gradients (4.5).
- Multiplying fractions, turning a fraction upside down, and substituting negative numbers into an expression.
Syllabus objectives covered (1)
- Find the gradient and equation of a straight line perpendicular to a given line.
Part 1 of 7
Why perpendicular gradients multiply to
- Two lines are perpendicular if they meet at a right angle, . In 4.5 you saw that parallel lines have equal gradients. Perpendicular lines also have gradients that are linked, and this lesson is about that link.
- Start with the signs. If one line goes uphill from left to right, a line at right angles to it must go downhill. So perpendicular gradients have opposite signs, one positive and one negative.
- Now the steepness. A gentle uphill line, turned through a right angle, becomes a steep downhill line. So a small gradient goes with a large perpendicular gradient.
- To see the exact link, draw the gradient as a step. A line with gradient goes 3 right for every 2 up.
- Turn that step through a quarter turn () anticlockwise. The 3 right turns into 3 up. The 2 up turns into 2 left.graph diagram — not drawn yet
A coordinate grid from -3 to 4 across and -2 to 4 up with the origin O; a solid line through O and (3, 2) with a dashed step from O 3 right to (3, 0) then 2 up to (3, 2), labelled '3 right, 2 up'; a second solid line through O and (-2, 3) with a dashed step from O 2 left to (-2, 0) then 3 up to (-2, 3), labelled '2 left, 3 up'; a right-angle mark at O between the two solid lines.
Turning the step through swaps the run and the rise and makes one of them negative, so the gradient becomes . - The new step is 2 left and 3 up. Going left is a negative run, so the gradient of the turned line is
- The whole step turned through , so the new line is perpendicular to the first. Compare the gradients: the fraction has turned upside down and the sign has changed. Multiply them:
- The same happens for any step. A step of right and up has gradient . Turned through it becomes left and up, with gradient .
- So the rule is: two lines, neither of them horizontal or vertical, are perpendicular exactly when the product of their gradients is . Horizontal and vertical lines are the awkward case, and they have their own section below.
Part 2 of 7
Flip and change the sign: the negative reciprocal
- Rearrange by dividing both sides by . This gives the gradient you need directly.
- In words: turn the gradient upside down (its reciprocal) and change its sign. The result is called the negative reciprocal.
- A whole number is a fraction over 1. Gradient is . Flip it to , then change the sign: the perpendicular gradient is .
- A negative gradient gives a positive answer. Gradient flips to , and changing the sign gives .
- A decimal is easiest as a fraction first. , which flips to , so the perpendicular gradient is .
- Do both moves every time. Flip without changing the sign and gradient gives , but , not . Change the sign without flipping and you get , but .
- So check every perpendicular gradient by multiplying the pair. If the product is not , one of the two moves is missing.
Part 3 of 7
Get the given line into first
- The gradient is the number multiplying only when the equation reads with on its own. In the gradient is .
- If has a number in front of it, divide every term by that number first. In , the is multiplying , so divide every term by :
- Now the gradient is , and the perpendicular gradient is . Reading the straight off would give a wrong gradient before you even started.
- For the form , move the term across first, then divide. From , subtract from both sides, then divide by :
- The gradient is , so the perpendicular gradient is . Watch the sign as the term crosses the equals sign: on the left becomes on the right.
- A quick check for any line : its gradient is . For that is , which agrees with the rearrangement.
Part 4 of 7
The equation of the perpendicular line through a point
- A straight line is fixed by two facts: its gradient and one point on it. 'Perpendicular to the given line' gives you the gradient. The question gives you the point.
- Example: find the equation of the line through that is perpendicular to . Step 1 is the gradient. The given gradient is , so the new gradient is .
- Step 2: write the new line as . You do not know yet, but is on the line, so its coordinates must fit the equation. Substitute and :
- Step 3: write the whole equation, . The answer is the equation, not the value of .
- Check by putting the point back in: , which is the -coordinate of the point.
- The syllabus notes say equations of lines are expected in fully simplified form. If the question asks for the form with integers, clear the fraction by multiplying every term by , then move the term across:
- You may have met the form . It gives exactly the same line. Use whichever method you are sure of.
Part 5 of 7
The perpendicular bisector of a line segment
- To bisect means to cut into two equal parts. The perpendicular bisector of a line segment is the line that cuts in half and crosses it at a right angle.
- Those two words give you the two facts you need. 'Bisector': the line passes through the midpoint of . 'Perpendicular': its gradient is the negative reciprocal of the gradient of .
- Recall the midpoint from 4.3: add the -coordinates and halve, then do the same for the -coordinates.
- The method has four steps, in this order: (1) the midpoint of ; (2) the gradient of ; (3) its negative reciprocal; (4) substitute the midpoint into to find .graph diagram — not drawn yet
A coordinate grid from -4 to 6 on both axes showing the segment from A(-3, 4) to B(5, -2) with its midpoint M(1, 1) marked, equal tick marks on AM and MB, and the line y = (4/3)x - 1/3 drawn through (-2, -3), M and (4, 5), with a right-angle mark where it crosses AB at M.
The bisector passes through the midpoint M, not through A or B, and it crosses AB at a right angle. - The trap is the wrong point or the wrong gradient. The bisector goes through the midpoint, not through or . It has the perpendicular gradient, not the gradient of .
- Every point on the perpendicular bisector is the same distance from as from . This gives you a check at the end: pick a point on your line and compare its distances to and to .
Part 6 of 7
Horizontal and vertical lines
- A horizontal line has an equation and gradient . A vertical line has an equation . Its run is , and you cannot divide by , so a vertical line has no gradient.
- A horizontal line and a vertical line are always perpendicular. The rule cannot show this, because no number multiplied by gives . Deal with these lines by sight instead.
- Perpendicular to a horizontal line means vertical. The line through perpendicular to is , because every point on a vertical line has the same -coordinate as the point you were given.
- Perpendicular to a vertical line means horizontal. The line through perpendicular to is .
- The axes count too. The -axis is the line and the -axis is the line . So a line perpendicular to the -axis is vertical, and a line perpendicular to the -axis is horizontal.
Part 7 of 7
Showing that two lines are perpendicular
- A Show (that) question gives you the result, and your job is to provide the evidence that leads to it. So every gradient must be worked out on the page, not just stated.
- For two lines given as equations, rearrange each one to and write down both gradients. For two sides of a shape given by vertices, work out each gradient from two points.
- Then multiply the gradients. For gradients and :
- Finish with a sentence: 'The product of the gradients is , so the lines are perpendicular.' The sentence links your arithmetic to the result you were asked to show.
- To show that a triangle has a right angle, test the two sides that meet at the angle named. For angle the angle is at , the middle letter, so the sides are and .
Worked examples
Example 1. Find the gradient of a line perpendicular to the line .
Show the working
- The gradient is not the . First get on its own. Subtract from both sides, so the term moves to the right with its sign changed.
- Divide every term by , because is what is multiplying .
- Now read the gradient: the number multiplying is .
- Flip it and change the sign. Upside down, becomes . Changing the sign gives .
- Check that the product is .
Answer:
Example 2. Find the equation of the line that passes through and is perpendicular to the line . Give your answer in the form , where , and are integers.
Show the working
- Rearrange the given line to find its gradient. Subtract from both sides.
- Divide every term by . Dividing by a negative number changes the sign of every term.
- The given gradient is , so the perpendicular gradient is . Check: .
- Write the new line as and substitute the point, and .
- So the line is . The question asks for integers, so multiply every term by to clear the fraction.
- Add to both sides to reach the form asked for.
- Check with the point: , which matches.
Answer:
Example 3. Find the equation of the perpendicular bisector of the line joining and .
Show the working
- Step 1, the midpoint . Add the -coordinates and halve, then do the same for .
- Step 2, the gradient of . Use rise over run, taking both coordinates in the same order ( minus ).
- Step 3, the perpendicular gradient. Flip and change the sign: becomes .
- Step 4, substitute the midpoint, because the bisector passes through , not through or .
- So the bisector is . Multiplying every term by gives , which rearranges to : the same line without fractions.
- Check with the equal-distance property. The point is on the line, since . Its squared distance to is and to is , so it is the same distance from both ends.
Answer: , which is the same line as
Example 4. Triangle has vertices , and . Show that angle is a right angle.
Show the working
- Angle is at , the middle letter, between the sides and . Those are the two gradients to test.
- Gradient of :
- Gradient of :
- Multiply the two gradients.
- Finish with the sentence that links the product to the angle: the product of the gradients is , so is perpendicular to and angle .
Answer: and ; their product is , so is perpendicular to and angle .
Where people go wrong
Mistake: Flipping the gradient but keeping its sign, e.g. giving as the gradient perpendicular to .
Instead: Flip and change the sign: the perpendicular gradient is .
, not . Two lines that both slope upwards cannot meet at a right angle.
Mistake: Changing the sign but not flipping, e.g. giving as the gradient perpendicular to .
Instead: Flip as well: .
, not . The steepness has to change too: a steep line turned through becomes a gentle one.
Mistake: Taking the gradient of to be .
Instead: Divide every term by first: , so the gradient is and the perpendicular gradient is .
The number multiplying is the gradient only when stands on its own.
Mistake: Putting the perpendicular bisector of through or , or giving it the gradient of .
Instead: It passes through the midpoint of and has the negative reciprocal of the gradient of .
'Bisector' means it cuts in half, so it goes through the halfway point. 'Perpendicular' means it crosses at a right angle, so its gradient is the perpendicular one.
Mistake: Stopping at , or at the gradient , when the question asks for the equation of the line.
Instead: Write the whole equation: .
An equation of a line connects and . A value of or of the gradient on its own is only one part of it.
Check yourself
- Write down the gradient of a line perpendicular to a line with gradient (a) (b) (c) .
Answer
(a) (b) (c) , so the perpendicular gradient is , which is . - Find the gradient of a line perpendicular to .
Answer
Divide by : . The gradient is , so the perpendicular gradient is . - Are the lines and perpendicular? Show how you know.
Answer
Yes. rearranges to . The gradients are and , and , so the lines are perpendicular. - Write down the equation of the line through that is perpendicular to the line .
Answer
. The line is horizontal, so the perpendicular line is vertical, and every point on it has -coordinate . - Find the equation of the line through that is perpendicular to .
Answer
The perpendicular gradient is . Then , so , and the line is . - Find the equation of the perpendicular bisector of the line joining and .
Answer
Midpoint . Gradient of the segment , so the perpendicular gradient is . Then gives : , which is the same line as . - Explain why a line with gradient and a line with gradient are not perpendicular.
Answer
, not . Both lines slope upwards, and two lines that both slope upwards cannot meet at a right angle.
Exam questions
Try each part first. Open the mark scheme after you have written your answer.
Question 1. The line has equation . The point is .
(a) Find the gradient of . 2 marks No calculator
Mark scheme
- M1 correct first step in rearranging towards , e.g. or oe, or uses gradient with ; implied by a correct answer
- A1 oe
(b) Write down the gradient of a line perpendicular to . 1 mark No calculator
Mark scheme
- B1 oe, FT their (a)
(c) The line passes through and is perpendicular to . Find the equation of . Give your answer in the form , where , and are integers. 3 marks No calculator
Mark scheme
- M1 substitutes into oe, FT their (b)
- A1 oe, or
- A1 oe with integer coefficients
(d) Write down the equation of the line through that is perpendicular to the -axis. 1 mark No calculator
Mark scheme
- B1 cao
Question 2. is the point and is the point .
(a) Find the coordinates of the midpoint of . 1 mark No calculator
Mark scheme
- B1 cao
(b) Find the equation of the perpendicular bisector of . Give your answer in the form . 4 marks No calculator
Mark scheme
- M1 gradient of or oe
- M1 perpendicular gradient , FT their gradient of
- M1 substitutes their midpoint into
- A1 cao
(c) The perpendicular bisector crosses the -axis at . Show that is the same distance from as from . 2 marks No calculator
Mark scheme
- M1 uses with Pythagoras for or , e.g.
- A1 and , so
Question 3. Triangle has vertices , and .
(a) Show that angle . 3 marks No calculator
Mark scheme
- B1 gradient of or . Alternative method (lengths), marked B1 B1 B1 in the same way: ; then and ; then , so angle by the converse of Pythagoras
- B1 gradient of or
- B1 dep on both previous marks: , so is perpendicular to and angle
(b) Find the equation of the line through that is perpendicular to . 3 marks No calculator
Mark scheme
- M1 gradient of or
- M1 gradient (FT their gradient of ) used with to find
- A1 oe
How this is examined
- Finding the perpendicular bisector of the line joining two given points: A Find worth about 4 marks, with the two end points given as coordinates; a part asking for the midpoint may come before it Four steps written in order: the midpoint, e.g. ; the gradient of the segment from rise over run, e.g. ; the perpendicular gradient from that gradient, e.g. ; and the midpoint substituted into . The first three are method steps, and the last mark is for the whole equation, e.g. .
- Writing the equation of the line through a given point, perpendicular to a given line: A 3-mark Find; the given line may be written as , and the answer may have to be given in a stated form The perpendicular gradient, then the point substituted to find , e.g. , then the whole equation, fully simplified: . A value of on its own is not an equation. If the question asks for with integers, the final line must be in that form: .
- Proving that two lines, or two sides of a shape, are perpendicular: A Show (that) of 2 or 3 marks, about two given equations or about an angle of a triangle whose vertices are given Both gradients worked out on the page, their product shown to be , and the sentence 'the product of the gradients is , so the lines are perpendicular'. One gradient alone, or 'it looks like a right angle', does not show it.
- Reading the gradient of a line that is not written as , then finding the perpendicular gradient: A 2-mark Find the gradient of a line perpendicular to a line such as or The rearrangement with on its own, e.g. , which shows where the gradient comes from; then the negative reciprocal, .
- A line perpendicular to a horizontal line, a vertical line or an axis: A 1-mark Write down the equation of the line through a given point The other kind of line through the point, using the coordinate that stays fixed: perpendicular to through is ; perpendicular to the -axis through is . The answer is an equation, , not a number.
Words to know
- Perpendicular
- Meeting at a right angle ().
- Gradient
- The steepness of a line: the rise divided by the run, .
- Reciprocal
- A number turned upside down. The reciprocal of is , and the reciprocal of is .
- Negative reciprocal
- The reciprocal with its sign changed. A line perpendicular to a line with gradient has gradient .
- Bisect
- Cut into two equal parts.
- Line segment
- The part of a line between two end points.
- Perpendicular bisector
- The line through the midpoint of a line segment that is perpendicular to it. Every point on it is the same distance from both ends of the segment.