3.1–3.3 - Gradients, perpendicular lines and distance
Measure a line's direction using its gradient and its length using Pythagoras' theorem. In 3.1 you will calculate gradients, in 3.2 you will recognise parallel and perpendicular directions, and in 3.3 you will work out exact distances and use them to check coordinate arguments.
Gradient as a ratio of changes
Do , and make a right-angled triangle? None of its sides is horizontal or vertical, so a quick look at a sketch may not settle it. By the end you will have two exact ways to check.
A line's direction is described by how much its height changes compared with its horizontal change. Moving units right and units up gives the same direction as moving units right and units up: both rise by a unit per unit across.
Gradient
The gradient of a non-vertical straight line is its change in divided by its change in . A positive gradient rises from left to right; a negative gradient falls. For example, a rise of over a horizontal change of gives gradient , not .
Use signed changes rather than just positive lengths. Keep the same point order in the numerator and denominator: going from to in one must mean going from to in the other.
Gradient between two points
For distinct points and , with ,
A horizontal line has gradient . A vertical line has no defined gradient because its horizontal change is .
Not on the formulae sheet: learn it.
Here are two lines with the same horizontal change. Only the second point's height will change.
Worked example 1: a positive gradient
Question. Work out the gradient of the line through and .
Plan. Subtract coordinates in the order , then divide the vertical change by the horizontal change.
Why this step? Subtracting a negative -coordinate adds its distance to the left of zero: the horizontal gap is , not .
Answer. The gradient is .
Check. Moving units right at unit up per unit across gives a rise of , from to .
Worked example 2 changes only 's height, from to . The line now falls as you move right.
Worked example 2: a negative gradient
Question. Work out the gradient of the line through and .
Plan. Use the same point order for both signed changes.
Why this step? The negative numerator records a fall. Removing that sign would describe a different direction.
Answer. The gradient is .
Check. Reversing both differences gives , the same gradient.
Horizontal and vertical lines need no fraction calculation. Points and share a height, so their line has gradient . Points and share an -coordinate, so their line is vertical and has an undefined gradient.
Watch out
Wrong: , or subtracting in opposite orders above and below. Right: . Give the resulting number as your gradient, rather than a term involving .
Now the fall is steeper and the coordinates cross zero in both directions.
Parallel and perpendicular gradients
Parallel lines keep the same direction; perpendicular lines differ by a right-angle turn.
Parallel and perpendicular lines
Distinct parallel lines never meet and have the same direction. Perpendicular lines meet at . For non-vertical lines, equal gradients give parallel directions; equal gradients can also describe the same line, so check that the lines are distinct before calling them parallel.
A right-angle turn exchanges the horizontal and vertical changes and reverses one sign. For example, a move right and up turns into left and up. The gradients are and , whose product is . The two moves also have the same length: both form a , , triangle.
Parallel and perpendicular directions
For non-vertical lines with gradients and ,
When , the perpendicular gradient is . A horizontal line is perpendicular to a vertical line; the product rule cannot be used there because the vertical gradient is undefined.
Not on the formulae sheet: learn it.
Calculate the gradients before deciding the relationship. A sketch is useful for a check, but an apparent right angle on a stretched grid is not proof.
Worked example 3: equal directions
Question. Line passes through and . Line passes through and . Show that the lines are parallel.
Plan. Calculate both gradients and confirm that these are distinct lines with the same gradient.
Why this step? A matching ratio of changes establishes the same direction, regardless of where the line sits.
Answer. Both gradients are . The lines are distinct: from , moving units right along reaches height , not 's height . Therefore the lines are parallel.
Check. Both point pairs move units right and units up, so their directions agree.
Worked example 4 changes only the point , turning the second line while the first stays fixed.
Worked example 4: a right-angle turn
Question. Line passes through and . Line passes through and . Show that the lines are perpendicular.
Plan. Calculate both gradients and test whether their product is .
Why this step? The sign changes and the fraction inverts. Either change on its own would not give a right-angle turn.
Answer. The lines are perpendicular because their gradients multiply to .
Check. The first direction moves right and up; the second moves right and down, a clockwise quarter-turn.
The exceptions fit the geometry: every horizontal line is perpendicular to every vertical line, while two distinct vertical lines are parallel. Neither needs an invented “infinite gradient”.
Exam tip
For “Show that”, finish with the required relationship and the reason. Two correct gradients leave your argument unfinished unless you explain why they establish parallel or perpendicular directions.
Test a new pair, stating which gradient relationship proves your decision.
Distance from coordinate differences
The horizontal and vertical gaps between two points form the shorter sides of a right-angled triangle, so Pythagoras' theorem gives their direct distance.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account