- Angles in parallel lines
- Finding the equation of a straight line
- Tangents and normals to a circle
Two lines that will never meet, and a guess that fails
The last lecture ended with a sorting task. Two of the equations, and , had the same gradient but crossed the -axis in different places. That lecture said they never meet, and promised to look at pairs of lines like these. Here is that promise kept.
Look around any room. The edges of a door, the lines on a sports court, the rows in an exercise book: all of them are built from two kinds of pairs. Some pairs of lines run side by side and never meet. Other pairs meet at a perfect corner, a right angle.
This lecture shows that you can recognise both kinds from the equations alone, without drawing anything. The first rule is the one you would expect. The second rule is not. Most students guess it wrong at first, and the guess fails for an interesting reason.
Parallel lines: the same steepness everywhere
Two lines are parallel when they run in the same direction and never meet. Think of the two rails of a railway track. They stay the same distance apart, however far you follow them.
Now use what you know about gradient. The gradient is the distance up for each 1 across. If two lines have the same gradient, then each step across lifts both of them by the same amount. So the vertical gap between them never changes.
Check it with algebra. Above any value of , the first line has height and the second has height . The gap is
The has cancelled. This means the gap is 6 at every point, whatever you choose. A gap that is always 6 can never become 0, so the lines never meet.
What if the gradients are different, such as 2 and 3? Then each step across changes the gap by 1. A gap that changes by the same amount every step must reach 0 somewhere, on one side or the other. At that point the two lines meet. So lines with different gradients always cross.
You can also see "never meet" by trying to find the meeting point. A meeting point would have the same height on both lines, so . Subtract from both sides, and you get . That is false for every . The equation has no solution, because there is no meeting point.
Two lines that are not vertical are parallel exactly when they have the same gradient and cross the -axis at different points.
and
The small numbers in and are labels, as in the last two lectures. They mean "the gradient of the first line" and "the gradient of the second line". If and are also equal, the two equations describe the same line, not two parallel lines. Vertical lines such as and have no gradient, but they are parallel too: both go straight up.
The guess that fails
Now the second kind of pair. Two lines are perpendicular when they meet at a right angle, 90°. The question is: if one line has gradient 2, what gradient does a perpendicular line have? Make a guess before you read on.
A line through O has gradient 2. Choose the gradient of the line through O that meets it at a right angle.
The figure shows a line with gradient 2, a line with gradient −½ and a dashed line with gradient −2, all through O. Only the line with gradient −½ meets the first line at a right angle.
Most people choose −2. It feels right, because −2 looks like the "opposite" of 2. But the lines with gradients 2 and −2 make a V shape, and the angle between them is only about 53°. Changing the sign is part of the answer, but it is not the whole answer.
Why a quarter turn flips the gradient
This is the hard part of the lecture. Spend time here.
Take a line through O with gradient . Draw its step triangle: 3 across and 2 up. Now imagine turning the whole picture a quarter turn anticlockwise about O, like turning a page on a table. The line turns through exactly 90°, so the new line is perpendicular to the old one.
Watch what happens to the triangle. It is the same triangle, but it now points a different way.
- The side that went 3 across now goes 3 up.
- The side that went 2 up now goes 2 to the left.
Now read the gradient of the new line. Going 2 to the left is the same as going −2 across. So the gradient is
Look at what happened to the fraction . Two things changed. The top and the bottom swapped places, because across became up and up became across. And the sign changed, because the side that went right now goes left. An uphill line turns into a downhill line.
The flipped fraction has a name: is the reciprocal of . With the sign changed too, is called the negative reciprocal of .
Now multiply the two gradients:
This is not luck either. Whatever the triangle is, the turned gradient has the same two numbers, swapped, with one minus sign. The two numbers cancel when you multiply, and only the minus sign is left. So the product is always −1.
That is it. That is the whole idea. A quarter turn swaps across and up, and turns uphill into downhill. The rule for perpendicular gradients is just a record of that turn.
Two lines that are neither horizontal nor vertical are perpendicular exactly when the product of their gradients is −1:
, which means .
So the perpendicular gradient is the negative reciprocal: flip the fraction and change the sign.
A whole number is a fraction too. The gradient 2 is : 1 across and 2 up. Turned a quarter turn, that is 1 up and 2 left, so the perpendicular gradient is . That is the answer to the prediction above. Check: . And the guess −2 fails the test, because .
Try the turn yourself below. Choose any step triangle, and the explorer turns it for you.
Choose the run and the rise of the first line with the sliders or the − and + buttons. The dark line is the first line turned a quarter turn about O. Watch what happens to the two numbers.
Each line below gives a step triangle, the same triangle turned a quarter turn anticlockwise, and the product of the two gradients.
- 3 across, 2 up: gradient . Turned: 3 up, 2 left, gradient . Product .
- 1 across, 1 up: gradient 1. Turned: 1 up, 1 left, gradient . Product .
- 1 across, 3 down: gradient . Turned: 1 up, 3 right, gradient . Product .
- 4 across, 1 up: gradient . Turned: 4 up, 1 left, gradient . Product .
- 2 across, 0 up: gradient 0, a horizontal line. Turned: 2 up, 0 across, a vertical line with no gradient. There is no product to find.
You should have seen the same thing every time. The run and the rise swap places, and one of them changes sign. So the product is always −1. The only exception is the horizontal line: its turned partner is vertical, and a vertical line has no gradient at all.
A line has gradient . Without drawing, is its perpendicular line uphill or downhill? Is it steep or gentle?
Show the answer
The negative reciprocal of is : flip to , then change the sign. So the perpendicular line is uphill, and it is steep. This always happens. A gentle downhill line has a steep uphill partner, because the quarter turn changes the direction and swaps the small number with the big one. Check: .
Using the two rules
Which of these lines are parallel to ? (a) . (b) . (c) . (d) .
Get alone in each one, then compare. The given line has and .
(a) and . Same gradient, different crossing point: parallel.
(b) . The numbers have swapped places, so the gradient is different: not parallel.
(c) Divide every term by 2: . Same gradient, different crossing point: parallel.
(d) Subtract : . Divide every term by : . This is the same line, written in another way. It is not a second, parallel line.
Check. For (c), find the gap above : . Above : . The gap is the same, as parallel lines need.
Find the equation of the line parallel to that passes through .
Gradient. A parallel line has the same gradient, so . The equation is .
Find . The point must fit. Put and : , so .
Answer. .
Check by walking. From , walk 3 steps left to . Each step left goes 2 up, so the height rises by 6, from 1 to 7. The line crosses at , as the equation says. And , so it really is a different line.
Find the equation of the line perpendicular to that passes through .
Perpendicular gradient. The gradient 3 is . Flip it to , and change the sign: .
Check the gradient first. . Correct.
Crossing point. The point is on the -axis, so .
Answer. .
Check the meeting point. At , the first line gives . The second gives . Both lines pass through , where the figure shows the right angle.
Find the equation of the line perpendicular to that passes through .
Get alone. Subtract : . Divide every term by 3: . So .
Perpendicular gradient. Flip: . Change the sign: . Check: .
Find . The equation is . Put in : , so .
Answer. , which is also .
Check. At : . The point fits.
A triangle has corners , and . Does it have a right angle?
Plan. A right angle is where two sides are perpendicular. So find the gradient of each side, and look for a pair whose product is −1.
Gradients. : rise , run , so . : rise , run , so . : rise , run , so 3.
Test the pairs. . So and are perpendicular, and the right angle is at , the corner they share. The other products are and , so there is only one right angle.
No drawing and no protractor were needed. A drawing can only suggest a right angle. The gradients prove it.
Three classic mistakes
The perpendicular to gradient 3 is not (flipped, but the sign is the same) and not (the sign changed, but not flipped). It is . The two steps belong together, because a quarter turn does both: it swaps across and up, and it turns uphill into downhill. Always check by multiplying: and , but .
If the two axes use different scales, perpendicular lines do not look perpendicular on the page. A graph where 1 unit across is 2 cm but 1 unit up is only 1 cm squashes every line, and the right angle disappears. The algebra does not change: the gradients still multiply to −1. Judge by the gradients, not by the look of the graph. If you want the right angle to show, draw both axes with the same scale.
The line is horizontal, with gradient 0. A line perpendicular to it is vertical, such as . Trying "flip and change sign" on 0 gives , and dividing by 0 has no answer. That is the algebra telling you the truth: a vertical line has no gradient. So answer from the picture: the perpendicular to a horizontal line is a vertical line, .
Work each one on paper first. Open a hint only when you are stuck.
-
For each line, write down the gradient of a parallel line and the gradient of a perpendicular line. (a) . (b) . (c) . (d) .
Hint 1
A parallel line has the same gradient. For the perpendicular, write the gradient as a fraction, flip it, and change the sign.
Hint 2
In (c), 0.4 is . In (d), get alone first.
Full answer
(a) Parallel 5, perpendicular .
(b) Parallel , perpendicular 4.
(c) . Parallel 0.4, perpendicular .
(d) . Parallel , perpendicular .
Check each perpendicular by multiplying: , , , .
-
Find the equation of the line perpendicular to that passes through . Then find the point where the two lines meet.
Hint 1
The perpendicular gradient is the negative reciprocal of . Then substitute the point to find , as in Worked Example 2.
Hint 2
The perpendicular line is . Where the lines meet, both heights are equal, so set the two right-hand sides equal and solve for .
Full answer
The perpendicular gradient is , because . So . Put in : , so . The line is .
Meeting point: . Add to both sides: . So and . Then . The lines meet at .
Check with the first line: . Correct.
-
Are the lines and parallel, perpendicular, or neither?
Hint 1
Rearrange each equation into the form . Only the gradients matter.
Hint 2
For the first: , then divide every term by . For the second: , then divide by 6.
Full answer
First line: , so . Gradient .
Second line: , so . Gradient .
The gradients are different, so the lines are not parallel. Their product is , so the lines are perpendicular.
Check with a point on the first line: gives , and . Correct.
-
The points , , and are the corners of a four-sided shape, in that order. Use gradients to show that is a rectangle.
Hint 1
A rectangle has two pairs of parallel opposite sides, and every corner is a right angle. Find the gradients of , , and .
Hint 2
: rise , run . : rise , run . Then compare opposite sides, and multiply the gradients of neighbouring sides.
Full answer
: . : . : rise , run , so . : rise , run , so .
Opposite sides: and both have gradient , and and both have gradient . So both pairs of opposite sides are parallel.
Neighbouring sides: . So every corner is a right angle.
A four-sided shape with four right angles is a rectangle. Check that the parallel sides are really different lines: is and is , with different crossing points.
Parallel and perpendicular are ideas about shape. Yet in this lecture you tested them with arithmetic: compare two numbers, or multiply them and look for −1. Joining shape and number in this way goes back to René Descartes. In 1637 he published La Géométrie, an essay that described curves by equations in two unknowns, which he called and . The square grid with axes that you use today was set out by later mathematicians, but the idea of turning geometry into algebra starts there.
The two rules will keep returning. The next topic, on angles, studies the angles a line makes when it crosses a pair of parallel lines. Much later, at Pre-University, a normal to a curve is the line perpendicular to its tangent, and its gradient is found by exactly the quarter turn of this lecture: flip and change the sign.
- Two lines with the same gradient keep the same vertical gap everywhere, so different lines with the same gradient are parallel and never meet.
- Two lines with different gradients always cross, because the gap between them changes by the same amount at every step.
- Turning a line a quarter turn swaps its across and its up and turns uphill into downhill, so the perpendicular gradient is the negative reciprocal.
- Two lines that are neither horizontal nor vertical are perpendicular exactly when their gradients multiply to −1.
- A horizontal line and a vertical line are perpendicular, but the product rule cannot be used, because a vertical line has no gradient.
- Gradients can prove a right angle or a parallel pair from coordinates alone, without a drawing or a protractor.