Linear and Quadratic Functions
Senior 3 · Mathematics
Linear and Quadratic Functions
Lesson 3 of 5
25 min
Look down on a street in Kigali: the kerbs and the lane markings run side by side and never meet, while the zebra crossing runs straight across them at a right angle. These two relationships, parallel and perpendicular, can be read straight from the gradients of the lines, without drawing anything.

Definition
Parallel lines: lines in the same plane that never meet. Notation: .
Perpendicular lines: lines that meet at a right angle. Notation: .
Example: ; the -axis the -axis.
Important
Parallel lines have equal gradients. Two non-vertical lines with gradients and are parallel exactly when
Why: equal gradients mean both lines rise by the same amount for every unit across, so the vertical gap between them never changes and they never meet. (If they also have the same intercept, they are the same line.) All vertical lines are parallel to each other.
Important
Perpendicular lines: the product of the gradients is . Two lines with gradients and , neither horizontal nor vertical, are perpendicular exactly when
Why: a gradient triangle with run 3 and rise 1 gives . Turn the triangle through about O: the run of 3 becomes a rise of 3, and the rise of 1 becomes a run of . The turned line has , and . The same turn works for any triangle with run and rise : the gradient becomes .
A horizontal line () and a vertical line are also perpendicular, but the product rule cannot be used, because a vertical line has no gradient.
Definition
Negative reciprocal of a non-zero number : the number . Turn the fraction upside down and change the sign.
Example: the negative reciprocal of is ; of it is .
Worked example 1: which lines are parallel or perpendicular?
, , .
Solution Find each gradient. . For , . For , , so .
, so . , so , and so too.
Worked example 2: a parallel line through a point
Find the line through parallel to .
Solution The given line has . A parallel line has the same gradient:
Shortcut: a line parallel to has the form . Put in : , so , giving , the same line.
Worked example 3: the perpendicular from a point to a line
Find the line through perpendicular to , the point where the two lines meet, and the distance .
Solution The given line has , so the perpendicular has :
Solve and together: multiply by 2 and by 3 and add, , so , , and then . So .
units. This is the shortest distance from to the line.
Worked example 4: a water point fair to two villages
On a map, two villages are at and . A water point must be the same distance from both, so it must lie on the perpendicular bisector of : the line through the midpoint of perpendicular to . Find its equation.
Solution Midpoint: . Gradient of : , so the bisector has gradient :
Check: the point is on it, and its distances are from and from ✓.
Warning
Do both steps of the negative reciprocal. Perpendicular to is : not (sign forgotten) and not (fraction not turned over). Check: ✓.
Find the gradient before comparing. and are not parallel: the first has gradient 3.
Tip
Parallel: keep and . A line parallel to is . Perpendicular: swap them and change one sign: . Find from the given point.
Khan Academy: Equations of parallel and perpendicular lines. Watch how the gradient of the given line is used to write a parallel line and a perpendicular line through a chosen point.
Practice
The last three are harder.
Sources and credits
The diagrams, worked examples, practice items and quiz questions were written by Ganzaa; the village map is illustrative. This lesson adapts CC BY-SA material and is shared under CC BY-SA 4.0.