Train rails never meet, and the corner of a sheet of paper is a right angle. In the -plane both relationships show up in the slopes. Parallel lines climb at the same rate, and perpendicular lines turn a rise into a run. Once you see that, a question asking for the line through a point parallel or perpendicular to another line becomes two short steps.
See also Drawing Lines from Slope and Intercepts in Foundations for Calculus.
Key terms
Parallel lines
Definition Two distinct lines in a plane are parallel when they have no point in common. Two nonvertical lines and are parallel exactly when
Any two distinct vertical lines and are also parallel. A vertical line is never parallel to a nonvertical one, since the two always cross.
In plain words Same steepness, different starting height. The lines run side by side forever.
Example Find the line through parallel to . It needs slope , so , which gives . Its -intercept differs from , so the two lines really are distinct and parallel.
Parallel or the same line
Definition Two equations can describe one and the same line. Two lines coincide when every point of one is a point of the other. For nonvertical lines this happens exactly when the slopes and the -intercepts are both equal. On this page, including the questions at the end, parallel always means two distinct lines with no common point, so a line is not called parallel to itself. Some books count a line as parallel to itself, and under that convention equal slopes alone are enough, so read how a question uses the word. Any two lines in a plane are parallel, coincident, or meet in exactly one point, and only one of the three happens.
In plain words Equal slopes alone are not enough. Also compare the intercepts, because the second line might just be the first one written differently.
Example Solving for gives . Solving gives the same thing, so these are one line. The equation gives , with the same slope and a different intercept, so that line is parallel to the first.
Perpendicular lines
Definition Two lines are perpendicular when they meet at a right angle. If both lines are nonvertical, with slopes and , then they are perpendicular exactly when
This product rule applies only when both slopes are defined. It also forces both slopes to be nonzero. The remaining case is a horizontal line and a vertical line, which are always perpendicular even though the product of their slopes cannot be formed.
In plain words For two slanted lines, multiply the slopes. If you get , they meet at a right angle.
Example Find the line through perpendicular to . The new slope must satisfy , so . Then
which simplifies to . The point checks, since .
Negative reciprocal
Definition The negative reciprocal of a nonzero real number is
The number has no negative reciprocal. A nonvertical line with slope is perpendicular to exactly the lines of slope . Here is why. A line with slope , where and are nonzero, moves across and up. Turning that step through a right angle gives to the left and up, which is a slope of
In plain words Flip the fraction and change its sign. Rotating the slope triangle swaps rise and run, and one of them turns negative.
Example The slope triangle with run and rise has slope . Rotated a quarter turn counterclockwise it has run and rise , a slope of . A few more pairs follow.
| Slope | Negative reciprocal | Product |
|---|---|---|
A common slip is to flip without changing the sign. The slopes and have product , not .
Horizontal lines
Definition A horizontal line is the set of all points with one fixed -coordinate , with the equation
Its slope is . Every horizontal line is parallel to every other horizontal line and perpendicular to every vertical line.
In plain words A flat line. It goes neither up nor down, so any line at a right angle to it stands straight up.
Example The line through parallel to the -axis is . The line through perpendicular to is the same line , because a line perpendicular to a vertical line must be horizontal.
Vertical lines
Definition A vertical line is the set of all points with one fixed -coordinate , with the equation
Its slope is undefined. Every vertical line is parallel to every other vertical line and perpendicular to every horizontal line. Since its slope is not a number, the product rule and the negative reciprocal do not apply to it.
In plain words A line that stands straight up. You cannot take the negative reciprocal of an undefined slope, so handle these lines by picture, not by formula.
Example Find the line through perpendicular to . The line is horizontal, with slope , and has no negative reciprocal. A perpendicular line must be vertical, so the answer is . Writing would give a line parallel to , not perpendicular to it.
Check yourself
- Line is defined by . Line is perpendicular to and passes through . Which equation defines line ? (A) (B) (C) (D)
Show the answer
The answer is (A). Solving for gives slope , so line has slope . Then
gives . Choice (B) flips the fraction but keeps the sign, and choice (C) changes the sign but does not flip. Both pass through with the wrong slope. Choice (D) has the right slope but comes from writing instead of , and it gives at .
- In the -plane, the line through and is parallel to the line . What is the value of ?
Show the answer
The answer is . Parallel lines have equal slopes, so
which gives and . The line through and is , whose intercept differs from , so the lines are distinct.
- Line is perpendicular to the line and passes through . Which equation defines line ? (A) (B) (C) (D)
Show the answer
The answer is (B). The line is vertical, so a perpendicular line is horizontal, and the horizontal line through is . Choice (A) is vertical, so it is parallel to . Choice (C) comes from reading as a slope of and taking its negative reciprocal . Choice (D) uses the -coordinate in a vertical line, which does not even pass through the point.