Lesson 5.5 · Linear Functions
Parallel and perpendicular lines
Railroad tracks never meet, and the corner of a sheet of paper is a perfect right angle. Both of these relationships, parallel and perpendicular, show up in the slopes of lines. Once you know the rule, you can tell how two lines meet just by looking at their equations.
Parallel lines
Two lines in a plane are parallel if they never intersect. For that to happen they must rise at exactly the same rate. If one line were even slightly steeper, it would eventually catch up to the other and cross it.
Slopes of parallel lines
Two different non-vertical lines are parallel exactly when they have the same slope.
All vertical lines are parallel to each other, too (their slopes are all undefined).
The word "different" matters. The equations and have the same slope, but they're the same line written two ways (the second simplifies to the first). Parallel lines have the same slope and different -intercepts.
Perpendicular lines
Two lines are perpendicular if they meet at a right angle. Their slopes are related in a less obvious way.
Picture the line with slope : its slope triangle goes right and up . Now rotate that triangle a quarter turn counterclockwise. The run of becomes a rise of , and the rise of becomes a run of to the left. The rotated line has slope .
Rotating by a right angle flipped the fraction and changed the sign. That is the rule.
Slopes of perpendicular lines
Two non-vertical lines are perpendicular exactly when their slopes are opposite reciprocals:
A horizontal line (slope ) and a vertical line (undefined slope) are also perpendicular.
To find a perpendicular slope, flip the fraction and change the sign.
| slope | perpendicular slope | check: product |
|---|---|---|
Common mistake
Do both steps. Flipping to without changing the sign gives a line that is not perpendicular (the product is , not ). Changing the sign without flipping, , is also wrong.
Classifying pairs of lines
To compare two lines, put both in slope-intercept form and compare slopes.
Worked example: Parallel, perpendicular or neither?
- and
- and
- and
- and
Solutions.
- Both slopes are and the intercepts differ: parallel.
- : perpendicular.
- Solve each for : and . Same slope, different intercepts: parallel.
- The slopes are and . Their product is , not , and they aren't equal: neither. (Opposite slopes are not enough for perpendicular lines; you also need reciprocals.)
Writing equations of parallel and perpendicular lines
A typical question: "Write the equation of the line through a given point that is parallel (or perpendicular) to a given line." The plan is always the same.
- Find the slope of the given line.
- Use the same slope (parallel) or the opposite reciprocal (perpendicular).
- Use point-slope form with the given point, then simplify.
Worked example: A parallel line
Write the equation of the line through parallel to .
The given slope is , so the new slope is also .
Check: , and the intercept differs from , so the lines really are parallel and distinct.
Worked example: A perpendicular line
Write the equation of the line through perpendicular to .
Given slope. Solve for : , so . The slope is .
New slope. Flip and change the sign: .
Equation.
Check: , and .
Tip
Before you finish, multiply the two slopes. Parallel lines give equal slopes; perpendicular lines give a product of exactly . It takes five seconds and catches most sign errors.
Practice
What is the slope of any line parallel to ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the slope of any line perpendicular to ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How are the lines and related?
How are the lines and related?
Write the equation of the line through that is parallel to . Use slope-intercept form.
Enter an expression, e.g. 3x^2 - 2x + 1
Write the equation of the line through that is perpendicular to . Use slope-intercept form.
Enter an expression, e.g. 3x^2 - 2x + 1
Write the equation of the line through that is perpendicular to . Use slope-intercept form.
Enter an expression, e.g. 3x^2 - 2x + 1
For what value of is the line perpendicular to the line ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.