# Given the equations of two lines, determine whether their graphs are parallel or perpendicular

The two lines in Figure 18 are **parallel** **lines**: they will never intersect. Notice that 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 *y*-intercept of the other, they would become the same line.

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.

**perpendicular lines**do intersect. Their intersection forms a right, or 90-degree, angle. The two lines in Figure 20 are perpendicular.

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

To find the reciprocal of a number, divide 1 by the number. So the reciprocal of 8 is

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

The product of the slopes is –1.

### A General Note: Parallel and Perpendicular Lines

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

If and only if

Two lines are **perpendicular lines** if they intersect at right angles.

### Example 8: 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.

### Solutions

Parallel lines have the same slope. Because the functions

## Analysis of the Solution

A graph of the lines is shown in Figure 21.Figure 21.The graph shows that the lines