Parallel and Perpendicular Lines (AA HL)
Parallel lines have equal gradients, , and perpendicular lines have gradients whose product is , . Find the gradient of each line first, rearranging to if needed, then compare. Use the conditions to find unknown constants or to write the equation of a line through a point that is parallel or perpendicular to a given line. It's part of the broader Straight Lines topic.
11 questions on this sub-topic.
Syllabus
| Code | Syllabus content |
|---|---|
| SL2.1 | Different forms of the equation of a straight line: (gradient-intercept form), (general form), and (point-gradient form). Gradient and intercepts. Parallel lines . Perpendicular lines . |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Skills practised on this page:
- Determine whether two lines are parallel or perpendicular from their gradients.
- Calculate the distance between two points, and the midpoint of a segment, in two dimensions.
The two conditions
Perpendicular lines ." Neither result is printed in the formula booklet - both are treated as things you already know.
Parallel condition
Match the gradient of a new line to a given one to guarantee they never meet.
Perpendicular condition
Take the negative reciprocal of a gradient, , to get a line at right angles to it.
Need the full syllabus wording and formula-booklet reference table? See Straight Lines.
Key terms
How do you find the gradient of a line?
Use two points on the line: . Subtract the coordinates in the same order in the numerator and denominator.
e.g. The line through and has gradient .
What is a negative reciprocal?
To find the negative reciprocal of , turn it upside down and change its sign, giving .
e.g. The negative reciprocal of is , and the negative reciprocal of is .
How do you find the gradient from ?
Rearrange to , so the gradient is .
e.g. For , the gradient is .
What happens with horizontal and vertical lines?
A horizontal line has gradient and a vertical line has no gradient, so the product rule cannot be used. A horizontal and a vertical line are always perpendicular.
e.g. The lines and are perpendicular.
Worked examples
The line is perpendicular to Find
Worked solution
Perpendicular M1
A1
The line through and is perpendicular to a line of gradient 4.
Find
Worked solution
The required gradient is M1
M1
A1
A1
Line A has gradient and line B has gradient Show that the lines are perpendicular.
Worked solution
Multiply the gradients: M1
A1
Since the product is , the lines are perpendicular. R1
Find the exact distance between and
Worked solution
M1
A1
A1
Common mistakes
- Flipping the gradient without also negating it. A perpendicular gradient is the negative reciprocal, - taking only the reciprocal (or only the negative) gives a line that isn't actually at right angles.
- Mixing up which condition is which. is parallel; is perpendicular - under exam pressure it's easy to set up the wrong equation, especially when a question gives one gradient and asks for the other relationship.
- Forgetting the vertical-line exception. A vertical line has no defined gradient, so it can't be checked against directly - it's perpendicular to any horizontal line () and parallel only to another vertical line.
- Substituting coordinates into the gradient formula the wrong way round. needs the same point first in both the numerator and the denominator - swapping only one of them flips the sign of the gradient, turning a correct perpendicular check into a wrong one even though every other step in the working was carried out correctly, which makes the mistake easy to overlook when checking back through the answer.
Quick questions
How do I find the gradient of a line perpendicular to another?
Take the negative reciprocal of the known gradient: if the given line has gradient , the perpendicular gradient is . Multiplying the two together always gives .
How do I show that two lines are parallel?
Rearrange both equations into gradient-intercept form and compare the two values. If the lines are parallel; if they also share the same they are actually the same line. For a quick refresher on your GDC, see Straight Lines.
How do I find the equation of a line perpendicular to through ?
The perpendicular gradient is . Then , which rearranges to . Check: at , .
How do I check whether two lines in general form are parallel?
Find each gradient using and compare. For and , both gradients are , and the intercepts differ, so the lines are parallel and distinct.
Why is the product of perpendicular gradients ?
A line of gradient goes 1 across and up. Turning that direction through a right angle gives back and 1 up, which has gradient . For example, gradient becomes gradient .
Ready to practise properly?
11 parallel-and-perpendicular-lines questions, marked instantly like the real exam.