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

### Writing the Equation of a Line Parallel or Perpendicular to a Given Line

If we know the equation of a line, we can use what we know about slope to write the equation of a line that is either parallel or perpendicular to the given line.

#### Writing Equations of Parallel Lines

Suppose for example, we are given the equation shown.

We know that the slope of the line formed by the function is . We also know that the -intercept is . Any other line with a slope of will be parallel to . So the lines formed by all of the following functions will be parallel to .

Suppose then we want to write the equation of a line that is parallel to and passes through the point . This type of problem is often described as a point-slope problem because we have a point and a slope. In our example, we know that the slope is . We need to determine which value of will give the correct line. We can begin with the point-slope form of an equation for a line, and then rewrite it in the slope-intercept form.

So is parallel to and passes through the point .

#### HOW TO

Given the equation of a function and a point through which its graph passes, write the equation of a line parallel to the given line that passes through the given point.

- Find the slope of the function.
- Substitute the given values into either the general point-slope equation or the slope-intercept equation for a line.
- Simplify.

#### EXAMPLE 19

##### Finding a Line Parallel to a Given Line

Find a line parallel to the graph of that passes through the point .

##### Solution

The slope of the given line is . If we choose the slope-intercept form, we can substitute , and into the slope-intercept form to find the -intercept.

The line parallel to that passes through is .

##### Analysis

We can confirm that the two lines are parallel by graphing them. Figure 31 shows that the two lines will never intersect.

**Figure 31**

#### Writing Equations of Perpendicular Lines

We can use a very similar process to write the equation for a line perpendicular to a given line. Instead of using the same slope, however, we use the negative reciprocal of the given slope. Suppose we are given the function shown.

The slope of the line is , and its negative reciprocal is . Any function with a slope of will be perpendicular to . So the lines formed by all of the following functions will be perpendicular to .

As before, we can narrow down our choices for a particular perpendicular line if we know that it passes through a given point. Suppose then we want to write the equation of a line that is perpendicular to and passes through the point . We already know that the slope is . Now we can use the point to find the -intercept by substituting the given values into the slope-intercept form of a line and solving for .

The equation for the function with a slope of and a -intercept of 2 is

So is perpendicular to and passes through the point . Be aware that perpendicular lines may not look obviously perpendicular on a graphing calculator unless we use the square zoom feature.

#### Q&A

A horizontal line has a slope of zero and a vertical line has an undefined slope. These two lines are perpendicular, but the product of their slopes is not . Doesn't this fact contradict the definition of perpendicular lines?

No. For two perpendicular linear functions, the product of their slopes is . However, a vertical line is not a function so the definition is not contradicted.

#### HOW TO

##### Given the equation of a function and a point through which its graph passes, write the equation of a line perpendicular to the given line.

- Find the slope of the function.
- Determine the negative reciprocal of the slope.
- Substitute the new slope and the values for and from the coordinate pair provided into
- Solve for .
- Write the equation of the line.

#### EXAMPLE 20

##### Finding the Equation of a Perpendicular Line

Find the equation of a line perpendicular to that passes through the point .

##### Solution

The original line has slope , so the slope of the perpendicular line will be its negative reciprocal, or . Using this slope and the given point, we can find the equation of the line.

The line perpendicular to that passes through is .

##### Analysis

A graph of the two lines is shown in Figure 32.

**Figure 32**

Note that that if we graph perpendicular lines on a graphing calculator using standard zoom, the lines may not appear to be perpendicular. Adjusting the window will make it possible to zoom in further to see the intersection more closely.

#### TRY IT #9

Given the function , write an equation for the line passing through that is

#### HOW TO

##### Given two points on a line and a third point, write the equation of the perpendicular line that passes through the point.

- Determine the slope of the line passing through the points.
- Find the negative reciprocal of the slope.
- Use the slope-intercept form or point-slope form to write the equation by substituting the known values.
- Simplify.

#### EXAMPLE 21

Finding the Equation of a Line Perpendicular to a Given Line Passing through a Point

##### Solution

From the two points of the given line, we can calculate the slope of that line.

Find the negative reciprocal of the slope.

We can then solve for the -intercept of the line passing through the point .

The equation for the line that is perpendicular to the line passing through the two given points and also passes through point is

#### TRY IT #10

A line passes through the points, and . Find the equation of a perpendicular line that passes through the point, .