## Parallel and Perpendicualr Lines

Now, you will build on your knowledge of writing equations of linear functions, drawing their graphs, and performing transformations by exploring parallel and perpendicular lines. You will learn how to identify whether lines are parallel or perpendicular given their equations and graphs. You will also learn how to define the equation of a line parallel or perpendicular to another line given an equation and a point.

### Determining Whether Lines are Parallel or Perpendicular

The two lines in Figure 28 are parallel lines: they will never intersect. They have exactly the same steepness, which means their slopes are identical. The only difference between the two lines is the y-intercept. If we shifted one line vertically toward the other, they would become coincident. Figure 28 Parallel lines

We can determine from their equations whether two lines are parallel by comparing their slopes. If the slopes are the same and the y-intercepts are different, the lines are parallel. If the slopes are different, the lines are not parallel.

$\left.\left.\begin{array}{l} f(x)=-2 x+6 \\ f(x)=-2 x-4 \end{array}\right\} \quad \text { parallel } \qquad \begin{array}{l} f(x)=3 x+2 \\ f(x)=2 x+2 \end{array}\right\} \text { not parallel }$

Unlike parallel lines, perpendicular lines do intersect. Their intersection forms a right, or 90-degree, angle. The two lines in Figure 29 are perpendicular. Figure 29 Perpendicular lines

Perpendicular lines do not have the same slope. The slopes of perpendicular lines are different from one another in a specific way. The slope of one line is the negative reciprocal of the slope of the other line. The product of a number and its reciprocal is 1. So, if $m_{1}$ and $m_{2}$ are negative reciprocals of one another, they can be multiplied together to yield $-1$.

$m_{1} m_{2}=-1$

To find the reciprocal of a number, divide 1 by the number. So the reciprocal of 8 is $\dfrac{1}{8}$, and the reciprocal of $\dfrac{1}{8}$ is 8. To find the negative reciprocal, first find the reciprocal and then change the sign.

As with parallel lines, we can determine whether two lines are perpendicular by comparing their slopes, assuming that the lines are neither horizontal nor vertical. The slope of each line below is the negative reciprocal of the other so the lines are perpendicular.

$f(x)=\dfrac{1}{4} x+2 \quad$ negative reciprocal of $\dfrac{1}{4}$ is $-4$ $f(x)=-4 x+3 \quad$ negative reciprocal of $-4$ is $\dfrac{1}{4}$

The product of the slopes is $-1$.

$-4\left(\dfrac{1}{4}\right)=-1$

#### PARALLEL AND PERPENDICULAR LINES

Two lines are parallel lines if they do not intersect. The slopes of the lines are the same.

$f(x)=m_{1} x+b_{1}$ and $g(x)=m_{2} x+b_{2} \quad \text{are parallel if and only if} \, m_{1}=m_{2}$

If and only if $b_{1}=b_{2}$ and $m_{1}=m_{2}$, we say the lines coincide. Coincident lines are the same line. Two lines are perpendicular lines if they intersect to form a right angle.

$f(x)=m_{1} x+b_{1}$ and $g(x)=m_{2} x+b_{2} \quad \text{are perpendicular if and only if}$

$m_{1} m_{2}=-1, \text { so } \quad m_{2}=-\dfrac{1}{m_{1}}$

#### EXAMPLE 18

##### Identifying Parallel and Perpendicular Lines

Given the functions below, identify the functions whose graphs are a pair of parallel lines and a pair of perpendicular lines.

$\begin{array}{ll} f(x)=2 x+3 & \qquad h(x)=-2 x+2 \\ g(x)=\dfrac{1}{2} x-4 & \qquad j(x)=2 x-6 \end{array}$

##### Solution

Parallel lines have the same slope. Because the functions $f(x)=2 x+3$ and $j(x)=2 x-6$ each have a slope of 2, they represent parallel lines. Perpendicular lines have negative reciprocal slopes.

Because $-2$ and $\dfrac{1}{2}$ are negative reciprocals, the functions $g(x)=\dfrac{1}{2} x-4$ and $h(x)=-2 x+2$ represent perpendicular lines.

##### Analysis

A graph of the lines is shown in Figure 30. Figure 30

The graph shows that the lines $f(x)=2 x+3$ and $j(x)=2 x-6$ are parallel, and the lines $g(x)=\dfrac{1}{2} x-4$ and $h(x)=-2 x+2$ are perpendicular.

Source: Rice University, https://openstax.org/books/college-algebra/pages/4-1-linear-functions This work is licensed under a Creative Commons Attribution 4.0 License.