## Section 6.6 Parallel Lines, Perpendicular Lines, Horizontal and Vertical Lines

Ā¶##### Parallel Lines and Perpendicular Lines.

Two non-vertical lines are parallel if and only if they have the same slope. This fact is fairly intuitive in that two lines that don't both ascend or both descend at equal rates will inevitably intersect (as will two lines, one of which ascends and the other of which descends).

A less intuitive, but equally true, fact is that two lines, neither of which is vertical, are perpendicular if and only if they have opposite reciprocal slopes. For example, if a line has a slope of \(-\frac{9}{11}\text{,}\) than any line perpendicular to that line has a slope of \(\frac{11}{9}\)

###### Example 6.6.1.

Determine the slope-intercept equation of the line that passes through the point \((9,-2)\) and is parallel to the line with equation \(x-3y=14\text{.}\)

We begin by determining the slope of the line \(x-3y=14\text{.}\) We can do that by writing the equation in slope-intercept form, which essentially entails isolating \(y\text{.}\)

From the equation \(y=\frac{1}{3}x-\frac{14}{3}\) we can identify that the slope of the line \(x-3y=14 \) is \(\frac{1}{3}\text{.}\) Since the line whose equation we seek is parallel to \(x-3y=14\text{,}\) and parallel lines have equal slope, the slope of the line we seek is also \(\frac{1}{3}\text{.}\)

The line we are tasked to identify has a slope of \(\frac{1}{3}\) and passes through the point \((9,-2)\text{.}\) Using this information in the point-slope form of the linear equation and simplifying the result, the slope-intercept equation for the line is determined as follows.

###### Example 6.6.2.

Let's determine the slope-intercept equation of the line that passes through the point \((-8,16)\) that is perpendicular to the line that passes through the points shown in TableĀ 6.6.3.

\(x\) | \(y\) |

\(-4\) | \(7\) |

\(10\) | \(-5\) |

We begin by determining the slope of the line that passes through the points shown in TableĀ 6.6.3. Letting \((x_1,y_1)\) be the ordered pair \((-4,7)\) and \((x_2,y_2)\) be the ordered \((10,-5)\text{,}\) we calculate the slope as follows.

Since the line we seek is perpendicular to a line with a slope of \(-\frac{6}{7}\text{,}\) and perpendicular lines have opposite reciprocal slopes, the line we seek has a slope of \(\frac{7}{6}\text{.}\)

Using the slope of \(\frac{7}{6}\) and the ordered pair \((-8,16)\text{,}\) we determine the slope intercept equation of the line we seek as follows.

##### Horizontal Lines.

The equation of a horizontal line can be determined in the same manner as any other non-vertical line, although once that's done a generalization can greatly simplify the process.

Let's consider the horizontal line shown in FigureĀ 6.6.4. Let \((x_1,y_1)\) be the ordered pair \((-4,-3)\) and \((x_2,y_2)\) be the ordered pair \((2,-3)\text{.}\) We calculate the slope below.

By observation, the \(y\)-intercept of the line is \((0,-3)\text{.}\) That coupled with the slope of \(0\) gives us the following.

Now that we have the equation \(y=-3\text{,}\) an appropriate response might be "d'oh!" By observation, the defining property of the points on the line is that the \(y\)-coordinates are all \(-3\)

In general, all horizontal lines have a slope of \(0\text{.}\) In addition, a horizontal line has an equation of form \(y=k\) where \(k\) is the \(y\)-coordinate common to every point on the line.

##### Vertical Lines.

Consider the vertical line shown in FigureĀ 6.6.5. When we try to calculate the slope of the line, things go amok. For example:

There's a phrase we attach to the last expression āuh oh! Division by \(0\) is never a good thing. Division by zero is always the result when one applies the slope formula to a vertical line, and for that reason we say that a vertical line has no slope, or that the slope is undefined.

We can see in FigureĀ 6.6.5 that every point on the line has an \(x\)-coordinate of \(2\text{,}\) so the equation of the line must be \(x=2\text{.}\) In general, vertical lines have equations of form \(x=h\text{,}\) where \(h\) is the \(x\)-coordinate of every point on the line

So, unlike determining equations of non-vertical, non-horizontal lines, determining the equation of a horizontal or vertical line is simply a matter of writing down the equation.

For example, if asked to determine the equations for horizontal and vertical lines that pass through the point \((-3,7)\text{,}\) an appropriate response would be as follows.

The horizontal line has equation \(y=7\) and the vertical line has equation \(x=-3\text{.}\)

If, in the moment, you can't remember which equation form is horizontal and which form is vertical, just sketch the line and ask yourself "which coordinate is always the same, \(x\) or \(y\text{?}\)"

### Exercises Exercises

###### 1.

State the equations of the vertical and horizontal lines that pass through the point \((-7,25)\text{.}\)

The equation of the vertical line is \(y=25\) and the equation of the horizontal line is \(x=-7\)

###### 2.

What are the slopes of lines that are parallel to the line with equation \(-6x+8y=12\text{?}\) What are the slopes of lines perpendicular to those lines?

We begin by manipulating the equation \(-6x+8y=12\) in slope-intercept form.

We can tell from the last equation that the slope of the line \(-6x+8y=12\) is \(\frac{3}{4}\text{.}\) So lines parallel to \(-6x+8y=12\) all have slopes of \(\frac{3}{4}\) and lines perpendicular to those lines have slopes of \(-\frac{4}{3}\text{.}\)

###### 3.

Determine the equations of the lines that pass through the point \((3,5)\) and are, respectively, parallel to and perpendicular to the line graphed in FigureĀ 6.6.6. State each equation in slope-intercept form.

The line graphed in FigureĀ 6.6.6 has a slope of \(-\frac{1}{2}\) so lines parallel to that line have slopes of \(-\frac{1}{2}\) and lines perpendicular to it have slopes of \(2\text{.}\)

Using the slope of \(-\frac{1}{2}\) and the ordered pair \((3,5)\) in the equation \(y-y_1=m(x-x_1)\) we derive the equation of the described parallel line as follows.

Using the slope of \(2\) and the ordered pair \((3,5)\) in the equation \(y-y_1=m(x-x_1)\) we derive the equation of the described perpendicular line as follows.

The two new lines are shown in FigureĀ 6.6.7 along with the given line. They are indeed parallel to or perpendicular to the given line.

###### 4.

Determine the equation of the line that passes through the point \((9,-2)\) and is perpendicular to the line with equation \(y=14\text{.}\)

The line \(y=14\) is horizontal, so any line perpendicular to it is vertical. Hence, the line that passes through the point \((9,-2)\) and is perpendicular to the line \(y=14\) has the equation \(x=9\text{.}\)

###### 5.

Determine the equation of the line that passes through the point \((-3,14)\) and is perpendicular to the line with equation \(12x-4y=18\text{.}\) State equation in slope-intercept form.

We begin by writing the equation \(12x-4y=18\) in slope-intercept form.

We can tell from the last equation that the slope of the line \(12x-4y=18\) is \(3\text{.}\) So any line perpendicular to \(12x-4y=18\) has a slope of \(-\frac{1}{3}\text{.}\) Using the new slope along with the ordered pair \((-3,14)\) in the point-slope equation we derive the equation of the requested line thus: