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.
On the SAT
Section titled “On the SAT”For these SAT questions, mental math is usually fastest: find the slope, keep it for a parallel line, or flip it and change its sign for a perpendicular line. Desmos is a good check: graph the given line and your answer and see whether they look parallel or meet at a right angle, and whether your line passes through the given point (type it as (x, y)). Don’t decide from the picture alone, though: if you’ve zoomed so the axes have different scales, perpendicular lines no longer look square, so always confirm with the slopes. See using Desmos on the SAT.
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 . ✓
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
Give slopes as fractions, not decimals, and check every perpendicular slope by multiplying.
Foundations
Section titled “Foundations”H1. (Foundations) For each line, give the slope of a line parallel to it and the slope of a line perpendicular to it.
- (a) A line with slope
- (b) A line with slope
- (c) A line with slope
- (d) The vertical line
H2. (Foundations) Decide whether each pair of lines is parallel, perpendicular, the same line, or neither. Show the slopes you compare.
- (a) and
- (b) and
- (c) and
- (d) and
H3. (Core) Find the equation of the line through that is parallel to . Give it in the form and in standard form, and check the point.
H4. (Core) Find the equation of the line through that is perpendicular to . Give it in the form and in standard form, and check the point.
H5. (Core) On a (hypothetical) town map of a small Ontario town, each grid unit is m, with east along the positive -axis and north along the positive -axis. Main Street runs in a straight line through and .
- (a) Find the equation of Main Street, and show that the library at is on it.
- (b) A new road will cross Main Street at a right angle at the library. Find its equation.
- (c) A bike path will run parallel to Main Street and pass through the arena at . Find its equation.
- (d) Where does the new road from (b) cross the -axis? How far east of the origin is that, in metres?
H6. (Core) (SAT style) Line in the -plane is perpendicular to the line and passes through the point . Which of the following is an equation of line ?
- A)
- B)
- C)
- D)
(On the SAT, you could graph the given line and each choice in Desmos, but check the slopes too.)
Challenge
Section titled “Challenge”H7. (Challenge) Jordan was asked for the equation of the line through that is perpendicular to . Here is his work:
The line is , so its slope is . The perpendicular slope is . Then , so and . The answer is .
Answer these:
- (a) Find Jordan’s mistake.
- (b) Find the correct equation, in the form and in standard form.
- (c) Jordan checked that his line passes through , and it does. Explain why that check didn’t catch his mistake, and give a check that would have.
H8. (Challenge) Use slopes only to classify each quadrilateral as a parallelogram, a rectangle, a trapezoid (exactly one pair of parallel sides), or none of these. Say where any right angles are.
- (a) , , ,
- (b) , , ,
H9. (Challenge) Consider the lines and .
- (a) Find the value of that makes the lines perpendicular. Check your answer by finding both slopes.
- (b) When , the second line is vertical. Are the lines perpendicular then? Explain.
- (c) Find the value of that makes the first line parallel to .
H10. (Challenge) Decide whether each statement is true or false. Justify each answer with a reason or a counterexample.
- (a) If two lines are perpendicular, one of them has a positive slope and the other has a negative slope.
- (b) The lines and are perpendicular.
- (c) If line 1 is perpendicular to line 2, and line 2 is perpendicular to line 3, then line 1 and line 3 are parallel (or are the same line).
- (d) If two lines have slopes that are opposites, such as and , then they are perpendicular.