Skip to main content
permalink

Section 3.8 Horizontal, Vertical, Parallel, and Perpendicular Lines

permalink
permalink
Figure 3.8.1. Alternative Video Lessons

permalinkThe 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.

permalinkthe graph of a horizontal line passing through the point (0,3)
Figure 3.8.2. Horizontal Line
permalinkthe graph of a vertical line passing through the point (3,0)
Figure 3.8.3. Vertical Line
permalinkthe graph of two parallel slanted lines
Figure 3.8.4. Two Parallel Lines
permalinkthe graph of a slanted line and the line that crosses it at a 90 degree angle
Figure 3.8.5. Two Perpendicular Lines
permalink

Subsection 3.8.1 Horizontal Lines and Vertical Lines

permalinkWe learned in Section 3.7 that all lines can be written in standard form (3.7.1). When either A or B equal 0, we end up with a horizontal or vertical line, as we will soon see. Let's take the standard form line equation, Ax+Bx=C, and one at a time let A=0 and B=0 and simplify each equation.

Ax+By=CAx+By=C0x+By=CAx+0y=CBy=CAx=Cy=CBx=CAy=kx=h

permalinkAt the end we just renamed the constant numbers CB and CA to k and h because of tradition. What is important, is that you view h and k (as well as A, B, and C) as constants: numbers that have some specific value and don't change in the context of one problem.

permalinkThink about one of these equations: y=k. It says that the y-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 x-axis, but then you always move up (or down) to make the y-value equal k. What does such a line look like?

permalink
Example 3.8.6.

Let's plot the line with equation y=3. (Note that this is the same as 0x+1y=3.) To plot some points, it doesn't matter what x-values we use. All that matters is that y is always 3.

permalinka horizontal line at y=3
Figure 3.8.7. y=3

A line like this is horizontal, parallel to the horizontal axis. All lines with an equation in the form

y=k

(or, in standard form, 0x+By=C) are horizontal.

permalink
Example 3.8.8.

Let's plot the line with equation x=5. Points on the line always have x=5, so if we wanted to make a table for plotting points, we are required to make all of the x-values be 5. From there, we have complete freedom to let y take any value. Here we take some random y-values.

x y
5 βˆ’6
5 βˆ’2
5 1
5 5

These points are plotted in Figure 3.8.9.

permalinka vertical line at x=5
Figure 3.8.9. x=5

Note that the equation for this line is the same as x+0y=5. An alternative for making a table is to choose our y-values first and substitute them into the equation.

y x+0y=5⟹x=5 Ordered Pair
βˆ’6 x+0(βˆ’6)=5⟹x=5 (5,βˆ’6)
βˆ’2 x+0(βˆ’2)=5⟹x=5 (5,βˆ’2)
1 x+0(1)=5⟹x=5 (5,1)
5 x+0(5)=5⟹x=5 (5,5)

In each case no matter what value y is, we find that the equation tells us that x=5.

A line like this is vertical, parallel to the vertical axis. All lines with an equation in the form

x=h

(or, in standard form, Ax+0y=C) are vertical.

permalink
Example 3.8.10. Zero Slope.

In Checkpoint 3.4.17, we learned that a horizontal line's slope is 0, because the distance doesn't change as time moves on. So the numerator in the slope formula (3.4.3) is 0. Now, if we know a line's slope and its y-intercept, we can use slope-intercept form (3.5.1) to write its equation:

y=mx+by=0x+by=b

This provides us with an alternative way to think about equations of horizontal lines. They have a certain y-intercept b, and they have slope 0.

We use horizontal lines to model scenarios where there is no change in y-values, like when Kato stopped for 12 hours (he deserved a rest)!

permalink
Checkpoint 3.8.11. Plotting Points.
permalink
Example 3.8.12. Slope of a Vertical Line.

What is the slope of a vertical line? Figure 3.8.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 1 unit.

permalink
Figure 3.8.13.

If we continued making the line steeper and steeper until it was vertical, the slope triangle would still have a β€œrun” of 1, but the β€œrise” would become larger and larger with no upper limit. The slope would be m=very large1. 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.

permalink
Remark 3.8.15.

Be careful not to mix up β€œno slope” (which means β€œits slope is undefined”) with β€œhas slope 0.” If a line has slope 0, it does have a slope.

If you are familiar with NBA basketball, some players wear number 0. That's not the same thing as β€œnot having a number”. This is similar to the situation with having slope 0 versus not having slope.

permalink
Checkpoint 3.8.16. Plotting Points.
permalink
Example 3.8.17.

Let x represent the price of a new 60-inch television at Target on Black Friday (which was $650), and let y be the number of hours you will watch something on this TV over its lifetime. What is the relationship between x and y?

Well, there is no getting around the fact that x=650. As for y, without any extra information about your viewing habits, it could theoretically be as low as 0 or it could be anything larger than that. If we graph this scenario, we have to graph the equation x=650 which we now know to give a vertical line, and we get Figure 3.8.18.

permalinkthe vertical line x=650, starting at the point (650,0) with an arrow pointing upward
Figure 3.8.18. New TV: hours watched versus purchase price; negative y-values omitted since they make no sense in context
permalink
Horizontal Lines Vertical Lines

A line is horizontal if and only if its equation can be written

y=k

for some constant k.

A line is vertical if and only if its equation can be written

x=h

for some constant h.

In standard form (3.7.1), any line with equation

0x+By=C

is horizontal.

In standard form (3.7.1), any line with equation

Ax+0y=C

is vertical.

If the line with equation y=k is horizontal, it has a y-intercept at (0,k) and has slope 0.

If the line with equation x=h is vertical, it has an x-intercept at (h,0) and its slope is undefined. Some say it has no slope, and some say the slope is infinitely large.

In the slope-intercept form (3.5.1), any line with equation

y=0x+b

is horizontal.

It's impossible to write the equation of a vertical line in slope-intercept form (3.5.1), because vertical lines do not have a defined slope.

Figure 3.8.19. Summary of Horizontal and Vertical Line Equations
permalink

Subsection 3.8.2 Parallel Lines

permalink
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 3.8.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 y=23x+2, and Tree 2's equation is y=23x+5. Tree 1 was 2 feet tall when it was planted, and Tree 2 was 5 feet tall when it was planted. Both trees have been growing at the same rate, 23 feet per year, or 2 feet every 3 years.

permalinkThis is a Cartesian grid with two parallel lines. Tree 1 has a slope triangle from (0,2) to (3,4) for a slope of 2/3. Tree 2 has a slope triangle from (0,5) to (3.7) for a slope of 2/3.
Figure 3.8.21. Two Trees' Growth Chart

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.

permalink
Checkpoint 3.8.23.
permalink
Checkpoint 3.8.24.
permalink

Subsection 3.8.3 Perpendicular Lines

permalinkThe slopes of two perpendicular lines have a special relationship too.

permalinkFigure 3.8.25 walks you through an explanation of this relationship.

permalink
permalinkthe graph of two perpendicular lines, where one has a slope of m
(a) Two generic perpendicular lines, where one has slope m.
permalinkthe previous graph with a slope triangle added; the rise is m and the run is 1
(b) Since the one slope is m, we can draw a slope triangle with β€œrun” 1 and β€œrise” m.
permalinkthe previous graph with the perpendicular line and its slope triangle added; the perpendicular line has a rise of -1 and a run of m which gives a slope of -1/m
(c) A congruent slope triangle can be drawn for the perpendicular line. It's legs have the same lengths, but in different positions, and one is negative.
Figure 3.8.25. The relationship between slopes of perpendicular lines

permalinkThe second line in Figure 3.8.25 has slope

Ξ”yΞ”x=βˆ’1m=βˆ’1m.

permalinkNot convinced? Here are three pairs of perpendicular lines where we can see if the pattern holds.

permalinkthe graph of lines y=2x-2 and y=-1/2x+2 showing that they are perpendicular lines.
Figure 3.8.27. Graphing y=2xβˆ’2 and y=βˆ’12x+2. Note the relationship between their slopes: 2=βˆ’1βˆ’12
permalinkthe graph of lines y=-3x+4 and y=1/3x-3 showing that they are perpendicular.
Figure 3.8.28. Graphing y=βˆ’3x+4 and y=13xβˆ’3. Note the relationship between their slopes: βˆ’3=βˆ’113
permalinkthe graph of lines y=x and y=-x showing that they are perpendicular
Figure 3.8.29. Graphing y=x and y=βˆ’x. Note the relationship between their slopes: 1=βˆ’1βˆ’1
permalink
Example 3.8.30.

Line A passes through (βˆ’2,10) and (3,βˆ’10). Line B passes through (βˆ’4,βˆ’4) and (8,βˆ’1). Determine whether these two lines are parallel, perpendicular or neither.

Explanation

We will use the slope formula to find both lines' slopes:

\begin{align*} \text{Line }A\text{'s slope}\amp=\frac{y_2-y_1}{x_2-x_1}\amp\text{Line }B\text{'s slope}\amp=\frac{y_2-y_1}{x_2-x_1}\\ \amp=\frac{-10-10}{3-(-2)}\amp\amp=\frac{-1-(-4)}{8-(-4)}\\ \amp=\frac{-20}{5}\amp\amp=\frac{3}{12}\\ \amp=-4\amp\amp=\frac{1}{4} \end{align*}

Their slopes are not the same, so those two lines are not parallel.

The product of their slopes is \((-4)\cdot\frac{1}{4}=-1\text{,}\) which means the two lines are perpendicular.

permalink
Checkpoint 3.8.31.
permalink

Reading Questions 3.8.4 Reading Questions

permalink
1.

Explain the difference between a line that has no slope and a line that has slope 0.

permalink
2.

If you make a table of x- and y-values for either a horizontal line or a vertical line, what is going to happen in one of the two columns?

permalink
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?

permalink

Exercises 3.8.5 Exercises

Review and Warmup
permalink
1.

Evaluate the following expressions. If the answer is undefined, you may answer with DNE (meaning β€œdoes not exist”).

  1. 70=

  2. 07=

permalink
2.

Evaluate the following expressions. If the answer is undefined, you may answer with DNE (meaning β€œdoes not exist”).

  1. 08=

  2. 80=

permalink
3.

A line passes through the points (5,8) and (βˆ’3,8). Find this line’s slope.

permalink
4.

A line passes through the points (3,10) and (βˆ’1,10). Find this line’s slope.

permalink
5.

A line passes through the points (βˆ’8,βˆ’5) and (βˆ’8,3). Find this line’s slope.

permalink
6.

A line passes through the points (βˆ’6,βˆ’1) and (βˆ’6,5). Find this line’s slope.

permalink
7.

Consider the equation:

y=1

Which of the following ordered pairs are solutions to the given equation? There may be more than one correct answer.

  • (4,1)

  • (βˆ’4,1)

  • (0,7)

  • (1,4)

permalink
8.

Consider the equation:

y=1

Which of the following ordered pairs are solutions to the given equation? There may be more than one correct answer.

  • (βˆ’6,1)

  • (5,1)

  • (0,9)

  • (1,2)

permalink
9.

Consider the equation:

x+1=0

Which of the following ordered pairs are solutions to the given equation? There may be more than one correct answer.

  • (βˆ’1,0)

  • (βˆ’1,3)

  • (0,βˆ’6)

  • (1,βˆ’1)

permalink
10.

Consider the equation:

x+1=0

Which of the following ordered pairs are solutions to the given equation? There may be more than one correct answer.

  • (1,βˆ’1)

  • (βˆ’1,0)

  • (0,βˆ’8)

  • (βˆ’1,4)

Tables for Horizontal and Vertical Lines
permalink
11.

Fill out this table for the equation y=8. The first row is an example.

x y Points
βˆ’3 8 (βˆ’3,8)
βˆ’2
βˆ’1
0
1
2
permalink
12.

Fill out this table for the equation y=9. The first row is an example.

x y Points
βˆ’3 9 (βˆ’3,9)
βˆ’2
βˆ’1
0
1
2
permalink
13.

Fill out this table for the equation x=βˆ’1. The first row is an example.

x y Points
βˆ’1 βˆ’3 (βˆ’1,βˆ’3)
βˆ’2
βˆ’1
0
1
2
permalink
14.

Fill out this table for the equation x=βˆ’9. The first row is an example.

x y Points
βˆ’9 βˆ’3 (βˆ’9,βˆ’3)
βˆ’2
βˆ’1
0
1
2
Line Equations
permalink
19.

A line passes through the points (βˆ’2,3) and (βˆ’3,3). Find an equation for this line.

An equation for this line is .

permalink
20.

A line passes through the points (5,6) and (2,6). Find an equation for this line.

An equation for this line is .

permalink
21.

A line passes through the points (8,1) and (8,βˆ’5). Find an equation for this line.

An equation for this line is .

permalink
22.

A line passes through the points (10,βˆ’3) and (10,0). Find an equation for this line.

An equation for this line is .

Intercepts
permalink
23.

Find the y-intercept and x-intercept of the line given by the equation. If a particular intercept does not exist, enter none into all the answer blanks for that row.

x=βˆ’8
x-value y-value Location
y-intercept
x-intercept
permalink
24.

Find the y-intercept and x-intercept of the line given by the equation. If a particular intercept does not exist, enter none into all the answer blanks for that row.

x=βˆ’6
x-value y-value Location
y-intercept
x-intercept
permalink
25.

Find the y-intercept and x-intercept of the line given by the equation. If a particular intercept does not exist, enter none into all the answer blanks for that row.

y=βˆ’4
x-value y-value Location
y-intercept
x-intercept
permalink
26.

Find the y-intercept and x-intercept of the line given by the equation. If a particular intercept does not exist, enter none into all the answer blanks for that row.

y=βˆ’1
x-value y-value Location
y-intercept
x-intercept
Graphs of Horizontal and Vertical Lines
permalink
27.

Graph the line y=1.

permalink
28.

Graph the line y+5=0.

permalink
29.

Graph the line x=2.

permalink
30.

Graph the line xβˆ’3=0.

Parallel or Perpendicular?
permalink
31.

Line m passes points (1,3) and (βˆ’3,βˆ’9).

Line n passes points (5,20) and (4,17).

These two lines are

  • parallel

  • perpendicular

  • neither parallel nor perpendicular

.

permalink
32.

Line m passes points (βˆ’21,28) and (βˆ’7,16).

Line n passes points (βˆ’35,33) and (7,βˆ’3).

These two linea are

  • parallel

  • perpendicular

  • neither parallel nor perpendicular

.

permalink
33.

Line m passes points (βˆ’5,8) and (5,6).

Line n passes points (βˆ’4,βˆ’16) and (2,14).

These two lines are

  • parallel

  • perpendicular

  • neither parallel nor perpendicular

.

permalink
34.

Line m passes points (βˆ’5,15) and (5,βˆ’1).

Line n passes points (βˆ’16,0) and (βˆ’24,βˆ’5).

These two lines are

  • parallel

  • perpendicular

  • neither parallel nor perpendicular

.

permalink
35.

Line m passes points (βˆ’3,βˆ’5) and (βˆ’4,βˆ’4).

Line n passes points (βˆ’2,βˆ’9) and (1,3).

These two lines are

  • parallel

  • perpendicular

  • neither parallel nor perpendicular

.

permalink
36.

Line m passes points (6,βˆ’8) and (4,βˆ’8).

Line n passes points (3,7) and (10,7).

These two lines are

  • parallel

  • perpendicular

  • neither parallel nor perpendicular

.

permalink
37.

Line m passes points (βˆ’6,βˆ’2) and (βˆ’6,βˆ’9).

Line n passes points (1,3) and (1,βˆ’1).

These two lines are

  • parallel

  • perpendicular

  • neither parallel nor perpendicular

.

permalink
38.

Line m passes points (βˆ’4,βˆ’9) and (βˆ’4,0).

Line n passes points (3,10) and (3,1).

These two lines are

  • parallel

  • perpendicular

  • neither parallel nor perpendicular

.

Parallel and Perpendicular Line Equations
permalink
39.

A line passes through the point (9,5), and it’s parallel to the line y=βˆ’2. Find an equation for this line.

permalink
40.

A line passes through the point (βˆ’3,βˆ’2), and it’s parallel to the line y=1. Find an equation for this line.

permalink
41.

A line passes through the point (βˆ’10,5), and it’s parallel to the line x=3. Find an equation for this line.

permalink
42.

A line passes through the point (4,βˆ’7), and it’s parallel to the line x=5. Find an equation for this line.

permalink
43.

Line k has the equation y=4xβˆ’2.

Line β„“ is parallel to line k, but passes through the point (4,18).

Find an equation for line β„“ in both point-slope form and slope-intercept form.

An equation for β„“ in point-slope form is: .

An equation for β„“ in slope-intercept form is: .

permalink
44.

Line k has the equation y=5x+5.

Line β„“ is parallel to line k, but passes through the point (1,βˆ’5).

Find an equation for line β„“ in both point-slope form and slope-intercept form.

An equation for β„“ in point-slope form is: .

An equation for β„“ in slope-intercept form is: .

permalink
45.

Line k has the equation y=βˆ’17xβˆ’3.

Line β„“ is parallel to line k, but passes through the point (βˆ’2,βˆ’57).

Find an equation for line β„“ in both point-slope form and slope-intercept form.

An equation for β„“ in point-slope form is: .

An equation for β„“ in slope-intercept form is: .

permalink
46.

Line k has the equation y=βˆ’29x+10.

Line β„“ is parallel to line k, but passes through the point (3,βˆ’113).

Find an equation for line β„“ in both point-slope form and slope-intercept form.

An equation for β„“ in point-slope form is: .

An equation for β„“ in slope-intercept form is: .

permalink
47.

Line k has the equation y=βˆ’x+9.

Line β„“ is perpendicular to line k, and passes through the point (βˆ’1,βˆ’4).

Find an equation for line β„“.

permalink
48.

Line k has the equation y=4x+2.

Line β„“ is perpendicular to line k and passes through the point (2,92).

Find an equation for line β„“ in both point-slope form and slope-intercept form.

An equation for β„“ in point-slope form is: .

An equation for β„“ in slope-intercept form is: .

permalink
49.

Line k’s equation is y=βˆ’65xβˆ’3.

Line β„“ is perpendicular to line k and passes through the point (2,143).

Find an equation for line β„“ in both point-slope form and slope-intercept form.

An equation for β„“ in point-slope form is: .

An equation for β„“ in slope-intercept form is: .

permalink
50.

Line k has the equation xβˆ’9y=βˆ’45.

Line β„“ is perpendicular to line k and passes through the point (1,βˆ’8).

Find an equation for line β„“ in both point-slope form and slope-intercept form.

An equation for β„“ in point-slope form is: .

An equation for β„“ in slope-intercept form is: .

Challenge
permalink
51.

Prove that a triangle with vertices at the points (1,1), (βˆ’4,4), and (βˆ’3,0) is a right triangle.