Parallel and Perpendicular Lines
Slopes tell you more than how steep one line is. By comparing the slopes of two lines, you can tell straight away whether they’re parallel (they never meet) or perpendicular (they meet at a right angle), without drawing anything. You’ll use this to find equations of lines, to predict how many solutions a linear system has, and to check shapes like rectangles and right triangles.
Key ideas
Section titled “Key ideas”Parallel lines have equal slopes
Section titled “Parallel lines have equal slopes”Two different non-vertical lines are parallel exactly when they have the same slope:
The lines and both have slope . They rise at the same rate, so the gap between them never changes and they never meet. (If two lines have the same slope and the same -intercept, they aren’t two lines at all: they’re the same line.)
All vertical lines are parallel to each other, and so are all horizontal lines.
Perpendicular lines have negative reciprocal slopes
Section titled “Perpendicular lines have negative reciprocal slopes”Two lines are perpendicular exactly when their slopes are negative reciprocals: flip the fraction and change the sign.
For example, and are negative reciprocals, because . So and are perpendicular.
Why does this work? Picture a slope triangle with a run of and a rise of (slope ). Turn the whole picture a quarter turn counterclockwise. The run of becomes a rise of , and the rise of becomes a run of to the left. The turned line has slope . Turning swaps rise and run (that’s the reciprocal) and sends one of them backwards (that’s the negative sign).
The exception: a horizontal line (slope ) and a vertical line (undefined slope) are perpendicular, but you can’t multiply their slopes to get . Spot these by their equations: and .
Getting the slope from any form
Section titled “Getting the slope from any form”To compare slopes, you first need each line’s slope. Rewrite each equation in the form and read off .
For (or ), solving for always gives the slope . For example, becomes , and . It’s safest to solve for until you’re confident with the shortcut.
Finding a parallel or perpendicular line through a point
Section titled “Finding a parallel or perpendicular line through a point”- Find the slope of the given line.
- Use the same slope (parallel) or the negative reciprocal (perpendicular).
- Substitute that slope and the given point into , and solve for .
- Write the equation in the form the question asks for, and check the point.
Worked examples
Section titled “Worked examples”Example 1: Parallel, perpendicular, or neither?
Section titled “Example 1: Parallel, perpendicular, or neither?”Decide whether each pair of lines is parallel, perpendicular, or neither.
- (a) and
- (b) and
- (c) and
Solution.
(a) The first slope is . Solve the second equation for :
Both slopes are and the -intercepts are different, so the lines are parallel.
(b) The first slope is . For the second, , so , with slope .
The lines are perpendicular.
(c) For the first, , so , with slope . The second slope is . The slopes aren’t equal, and their product is , not . The lines are neither. (The slopes are opposites, but not reciprocals.)
Example 2: A parallel line through a point
Section titled “Example 2: A parallel line through a point”Find the equation of the line through that is parallel to . Give the answer in standard form.
Solution. Solve the given equation for :
Its slope is , so the parallel line also has slope . Substitute :
So . Multiply by and rearrange:
Check with : . ✓
Example 3: A perpendicular line through a point
Section titled “Example 3: A perpendicular line through a point”Find the equation of the line through that is perpendicular to .
Solution. The given slope is . Flip it and change the sign: the perpendicular slope is .
Check: . ✓
Substitute :
The line is , or in standard form.
Check with : . ✓
Example 4: Is it a right triangle?
Section titled “Example 4: Is it a right triangle?”A triangle has vertices , and . Show that it is a right triangle.
Solution. A right angle means two sides are perpendicular. Find the slope of each side:
Since , sides and are perpendicular. The triangle has a right angle at , the vertex the two sides share.
Common mistakes
Section titled “Common mistakes”Taking the reciprocal but forgetting the negative (or the reverse). The perpendicular slope to is . Neither nor works. Check by multiplying: you must get .
Reading the slope straight from standard form. In , the slope is not (or ). Solve for first: , so the slope is .
Calling the same line “parallel”. If two equations give the same slope and the same -intercept, they describe one line. For example, and are the same line.
Multiplying slopes for horizontal and vertical lines. and are perpendicular, even though you can’t multiply by an undefined slope. Recognize them by their equations.
Using the original line’s point. When you find a parallel or perpendicular line, substitute the new point into , not a point from the given line.
Practice
Section titled “Practice”1. (Warm-up) A line has the given slope. Find the slope of a line parallel to it and the slope of a line perpendicular to it.
- (a)
- (b)
- (c)
Solution
(a) Parallel: . Perpendicular: .
(b) Parallel: . Perpendicular: .
(c) Parallel: (another horizontal line). Perpendicular: undefined (a vertical line).
2. (Warm-up) Find the slope of the line .
Solution
The slope is .
3. (Core) Decide whether each pair of lines is parallel, perpendicular, or neither.
- (a) and
- (b) and
- (c) and
Solution
(a) The second line is , slope . Since , they are perpendicular.
(b) The first line is . The second is , so . Same slope, different -intercepts: parallel.
(c) The slopes are and . They aren’t equal, and , not : neither.
4. (Core) Find the equation of the line through that is parallel to .
Solution
The slope is . Substitute :
The line is .
Check: . ✓
5. (Core) Find the equation, in standard form, of the line through that is perpendicular to .
Solution
Solve the given equation for : , so . Its slope is , so the perpendicular slope is .
Substitute :
So . Multiply by : , so
Check with : . ✓
6. (Core) The line is vertical.
- (a) Find the equation of the line through that is parallel to it.
- (b) Find the equation of the line through that is perpendicular to it.
Solution
(a) A line parallel to a vertical line is also vertical. Through it is .
(b) A line perpendicular to a vertical line is horizontal. Through it is .
7. (Core) Show that the quadrilateral with vertices , , and is a rectangle.
Solution
Find the slope of each side:
Opposite sides have equal slopes ( and ), so is a parallelogram. Neighbouring sides have slopes and , whose product is , so every corner is a right angle. is a rectangle.
8. (Challenge) Consider the line . Find the value of that makes it
- (a) parallel to
- (b) perpendicular to
Solution
Solve for : , so . The slope is .
(a) Set . Multiply both sides by : .
(b) The perpendicular slope is . Set , so .
Check (b): gives , and . ✓
9. (Challenge) Triangle has vertices , and . Find so that the triangle has a right angle at .
Solution
A right angle at means .
So must have slope :
Check: , and . ✓