Gradient and Line Relationships
The measures the direction and steepness of a non-vertical line. It compares vertical change with horizontal change.
Calculate rise over run
- A positive gradient rises from left to right. A negative gradient falls from left to right.
- A horizontal line has gradient because its vertical change is zero.
- A vertical line has undefined gradient because its horizontal change is zero and division by zero is not defined.
Subtract the coordinates in the same order in the numerator and denominator. Reversing both differences is safe; reversing only one changes the sign.
Parallel, perpendicular and collinear
lines have the same direction. Non-vertical parallel lines have equal gradients; distinct vertical lines are also parallel. lines meet at . When both gradients are defined, one is the negative reciprocal of the other.
A means invert the fraction and change its sign. Perpendicular to is . A horizontal line and a vertical line form the special perpendicular pair; do not use because the vertical gradient is undefined.
Points are when they lie on one straight line. Gradients between successive pairs are then equal, unless the common line is vertical.
Swipe left or right to see the whole diagram →
A parameter can give more than one line
A parameter, such as , is a fixed number whose value is not yet known.
Worked example
, and are collinear. Find
Coursebook Worked example 3.4.
- If , is vertical but does not have , so that case is not collinear. Otherwise compare gradients.
- and .
- Set them equal and multiply both sides by : , so .
- The calculator solver gives the convenient roots 3 and 10, so write .
Check the method
Find the gradient of the line through and . Then find the gradient of a perpendicular line.
Show worked answer
The negative reciprocal is .
Move the two endpoints below. The displayed gradient, midpoint and length are calculated from the coordinates. The perpendicular control also shows what happens when a line is horizontal or vertical, or the two points coincide (occupy the same position).
