Section 3.8 Horizontal, Vertical, Parallel, and Perpendicular Lines
The equations of horizontal and vertical lines distinguish them from other line equations enough to merit a special investigation. In addition, pairs of lines that are parallel or perpendicular to each other have interesting features and properties. This section examines the geometric features of these types of lines.
Subsection 3.8.1 Horizontal Lines and Vertical Lines
We learned in Section 7 that all lines can be written in standard form. When either or equal we end up with a horizontal or vertical line, as we will soon see. Let’s take the standard form line equation, and one at a time let and and simplify each equation.
At the end we just renamed the constant numbers and to and because of tradition. What is important, is that you view and (as well as and ) as constants: numbers that have some specific value and don’t change in the context of one problem.
Think about one of these equations: It says that the -value is the same no matter where you are on the line. If you wanted to plot points on this line, you are free to move far to the left or far to the right on the -axis, but then you always move up (or down) to make the -value equal What does such a line look like?
Example 3.8.6.
Let’s plot the line with equation (Note that this is the same as ) To plot some points, it doesn’t matter what -values we use. All that matters is that is always
Example 3.8.8.
Let’s plot the line with equation Points on the line always have so if we wanted to make a table for plotting points, we are required to make all of the -values be From there, we have complete freedom to let take any value. Here we take some random -values.
Note that the equation for this line is the same as An alternative for making a table is to choose our -values first and substitute them into the equation.
Ordered Pair | ||
Example 3.8.10. Zero Slope.
In Checkpoint 3.4.17, we learned that a horizontal line’s slope is because the distance doesn’t change as time moves on. So the numerator in the slope formula is Now, if we know a line’s slope and its -intercept, we can use slope-intercept form to write its equation:
This provides us with an alternative way to think about equations of horizontal lines. They have a certain -intercept and they have slope
We use horizontal lines to model scenarios where there is no change in -values, like when Kato stopped for hours (he deserved a rest)!
Checkpoint 3.8.11. Plotting Points.
Suppose you need to plot the equation Since the equation is in “ ” form, you decide to make a table of points. Fill out some points for this table.
Explanation.
We can use whatever values for that we like, as long as they are all different. The equation tells us the -value has to be each time.
Now that we have a table, we could use its values to assist with plotting the line.

Example 3.8.12. Slope of a Vertical Line.
What is the slope of a vertical line? Figure 13 shows three lines passing through the origin, each steeper than the last. In each graph, you can see a slope triangle that uses a “run” of unit.
If we continued making the line steeper and steeper until it was vertical, the slope triangle would still have a “run” of but the “rise” would become larger and larger with no upper limit. The slope would be Actually if the line is vertical, the “rise” segment we’ve drawn, will never intercept the line. So the slope of a vertical line can be thought of as “infinitely large.” We usually say that the slope of a vertical line is undefined. Some people say that a vertical line has no slope.
Fact 3.8.14.
The slope of a vertical line is undefined.
Remark 3.8.15.
Be careful not to mix up “no slope” (which means “its slope is undefined”) with “has slope ” If a line has slope it does have a slope.
If you are familiar with NBA basketball, some players wear number That’s not the same thing as “not having a number”. This is similar to the situation with having slope versus not having slope.
Checkpoint 3.8.16. Plotting Points.
Suppose you need to plot the equation You decide to try making a table of points. Fill out some points for this table.
Explanation.
Since the equation says is always the number we have to use this for the value in all the points. This is different from how we would plot a “ ” equation, where we would use several different -values. We can use whatever values for that we like, as long as they are all different.
The reason we made a table was to help with plotting the line.

Example 3.8.17.
Let represent the price of a new -inch television at Target on Black Friday (which was ), and let be the number of hours you will watch something on this TV over its lifetime. What is the relationship between and
Well, there is no getting around the fact that As for without any extra information about your viewing habits, it could theoretically be as low as or it could be anything larger than that. If we graph this scenario, we have to graph the equation which we now know to give a vertical line, and we get Figure 18.
Horizontal Lines | Vertical Lines |
If the line with equation |
|
It’s impossible to write the equation of a vertical line in slope-intercept form, because vertical lines do not have a defined slope. |
Subsection 3.8.2 Parallel Lines
Example 3.8.20.
Two trees were planted in the same year, and their growth over time is modeled by the two lines in Figure 21. Use linear equations to model each tree’s growth, and interpret their meanings in this context.
We can see Tree 1’s equation is and Tree 2’s equation is Tree 1 was feet tall when it was planted, and Tree 2 was feet tall when it was planted. Both trees have been growing at the same rate, feet per year, or feet every years.
An important observation right now is that those two lines are parallel. Why? For lines with positive slopes, the bigger a line’s slope, the steeper the line is slanted. As a result, if two lines have the same slope, they are slanted at the same angle, thus they are parallel.
Fact 3.8.22.
Any two vertical lines are parallel to each other. For two non-vertical lines, they are parallel if and only if they have the same slope.
Checkpoint 3.8.23.
Explanation.
Parallel lines have the same slope, and the slope of is So has slope And we have been given that ’s -intercept is at So we can use slope-intercept form to write its equation as
Checkpoint 3.8.24.
Explanation.
Parallel lines have the same slope, and the slope of is So has slope And we know a point that passes through, so we can use point-slope form to write its equation as
Subsection 3.8.3 Perpendicular Lines
The slopes of two perpendicular lines have a special relationship too.
Fact 3.8.26.
A vertical line and a horizontal line are perpendicular. For two lines that are neither vertical nor horizontal, they are perpendicular if and only if the slope of one is the negative reciprocal of the slope of the other. That is, if one has slope the other has slope
Another way to say this is that the product of the slopes of two perpendicular lines is (assuming both of the lines have a slope in the first place). That is, if there are two perpendicular lines and we let and represent their slopes, then
Not convinced? Here are three pairs of perpendicular lines where we can see if the pattern holds.
Example 3.8.30.
Line passes through and Line passes through and Determine whether these two lines are parallel, perpendicular or neither.
Explanation.
We will use the slope formula to find both lines’ slopes:
Their slopes are not the same, so those two lines are not parallel.
The product of their slopes is which means the two lines are perpendicular.
Checkpoint 3.8.31.
Line and Line are perpendicular. Line ’s equation is Line passes through the point Find an equation for Line
Explanation.
First, we will find Line ’s slope by rewriting its equation from standard form to slope-intercept form:
So Line ’s slope is Since Line is perpendicular to Line its slope is It’s also given that Line passes through so we can write Line ’s point-slope form equation:
Reading Questions 3.8.4 Reading Questions
1.
Explain the difference between a line that has no slope and a line that has slope
2.
If you make a table of - and -values for either a horizontal line or a vertical line, what is going to happen in one of the two columns?
3.
If you know two points on one line, and you know two points on a second line, what could you do to determine whether or not the two lines are perpendicular?
Exercises 3.8.5 Exercises
Review and Warmup
Exercise Group.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Skills Practice
Tables for Horizontal and Vertical Lines.
11.
Fill out this table for the equation The first row is an example.
Points | ||
Values of |
12.
Fill out this table for the equation The first row is an example.
Points | ||
Values of |
13.
Fill out this table for the equation The first row is an example.
Points | ||
Values of |
14.
Fill out this table for the equation The first row is an example.
Points | ||
Values of |
Line Equations.
Exercise Group.
19.
20.
21.
22.
Intercepts.
23.
24.
25.
26.
Graphs of Horizontal and Vertical Lines.
Parallel or Perpendicular?.
31.
32.
33.
34.
35.
36.
37.
38.
Parallel and Perpendicular Line Equations.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
Challenge
51.
You have attempted of activities on this page.