# 3.11: Distance Between Parallel Lines

**At Grade**Created by: CK-12

**Practice**Distance Between Parallel Lines

What if you were given two parallel lines? How could you find how far apart these two lines are? After completing this Concept, you'll be able to find the distance between parallel lines using the distance formula.

### Watch This

CK-12 Foundation: Chapter3DistanceBetweenParallelLinesA

James Sousa: Determining the Distance Between Two Parallel Lines

### Guidance

The shortest distance between two parallel lines is the length of the perpendicular segment between them. It doesn’t matter which perpendicular line you choose, as long as the two points are on the lines. Recall that there are infinitely many perpendicular lines between two parallel lines.

Notice that all of the pink segments are the same length. So, when picking a perpendicular segment, be sure to pick one with endpoints that are integers.

#### Example A

Find the distance between x = 3 and @$x = -5@$ .

Any line with @$x = a@$ number is a vertical line. In this case, we can just count the squares between the two lines. The two lines are @$3-(-5)@$ units apart, or 8 units.

You can use this same method with horizontal lines as well. For example, @$y = -1@$ and @$y = 3@$ are @$3-(-1)@$ units, or 4 units apart.

#### Example B

What is the shortest distance between @$y=2x+4@$ and @$y=2x-1@$ ?

Graph the two lines and determine the perpendicular slope, which is @$-\frac{1}{2}@$ . Find a point on @$y=2x+4@$ , let’s say (-1, 2). From here, use the slope of the perpendicular line to find the corresponding point on @$y=2x-1@$ . If you move down 1 from 2 and over to the right 2 from -1, you will hit @$y=2x-1@$ at (1, 1). Use these two points to determine the distance between the two lines.

@$$d & = \sqrt{(1+1)^2+(1-2)^2}\\ & = \sqrt{2^2+(-1)^2}\\ & = \sqrt{4+1}\\ & = \sqrt{5} \approx 2.24 \ units@$$

The lines are about 2.24 units apart.

Notice that you could have used any two points, as long as they are on the same perpendicular line. For example, you could have also used (-3, -2) and (-1, -3) and you still would have gotten the same answer.

@$$d & = \sqrt{(-1+3)^2+(-3+2)^2}\\ & = \sqrt{2^2+(-1)^2}\\ & = \sqrt{4+1}\\ & = \sqrt{5} \approx 2.24 \ units@$$

#### Example C

Find the distance between the two parallel lines below.

First you need to find the slope of the two lines. Because they are parallel, they are the same slope, so if you find the slope of one, you have the slope of both.

Start at the @$y-@$ intercept of the top line, 7. From there, you would go down 1 and over 3 to reach the line again. Therefore the slope is @$-\frac{1}{3}@$ and the perpendicular slope would be 3.

Next, find two points on the lines. Let’s use the @$y-@$ intercept of the bottom line, (0, -3). Then, rise 3 and go over 1 until your reach the second line. Doing this three times, you would hit the top line at (3, 6). Use these two points in the distance formula to find how far apart the lines are.

@$$d & = \sqrt{(0-3)^2+(-3-6)^2}\\ & = \sqrt{(-3)^2+(-9)^2}\\ & = \sqrt{9+81}\\ & = \sqrt{90} \approx 9.49 \ units@$$

Watch this video for help with the Examples above.

CK-12 Foundation: Chapter3DistanceBetweenParallelLinesB

### Vocabulary

The
**
distance formula
**
tells us that the distance between two points
@$(x_1, y_1)@$
and
@$(x_2, y_2)@$
can be defined as
@$d= \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}@$
.

### Guided Practice

1. Find the distance between @$x = 7@$ and @$x = -1@$ .

2. Find the distance between @$y = x+6@$ and @$y=x-2@$ .

3. Find the distance between @$y=5@$ and @$y = -6@$ .

**
Answers:
**

1. These are vertical lines, so we can just count the squares between the two lines. The two lines are @$7-(-1)@$ units apart, or 8 units.

2. Find the perpendicular slope: @$m = 1@$ , so @$m_\perp=-1@$ . Then, find the @$y-@$ intercept of the top line, @$y=x+6@$ : (0, 6). Use the slope and count down 1 and to the right 1 until you hit @$y=x-2@$ at the point (4, 2). Use these two points in the distance formula to determine how far apart the lines are.

@$$d & = \sqrt{(0-4)^2 + (6-2)^2}\\ & = \sqrt{(-4)^2 + (4)^2}\\ & = \sqrt{16+16}\\ & = \sqrt{32} = 5.66 \ units@$$

3. These are horizontal lines, so we can just count the squares between the two lines. The two lines are @$5-(-6)@$ units apart, or 11 units.

### Practice

Use each graph below to determine how far apart each the parallel lines are. Round your answers to the nearest hundredth.

Determine the shortest distance between the each pair of parallel lines. Round your answer to the nearest hundredth.

- @$x = 5, \ x = 1@$
- @$y = -2, \ y = 7@$
- @$x = -4, \ x = 11@$
- @$y = -6, \ y = 4@$
- @$x = 22, \ x = 16@$
- @$y = -14, \ y = 2@$
- @$y=x+5, \ y=x-3@$
- @$y=2x+1, \ y=2x-4@$
- @$y=-\frac{1}{3}x+2, \ y=-\frac{1}{3}x-8@$
- @$y=4x+9, \ y=4x-8@$
- @$y=\frac{1}{2}x, \ y=\frac{1}{2}x-5@$

### Image Attributions

## Description

## Learning Objectives

Here you'll learn that the shortest distance between two parallel lines is the length of a perpendicular line between them.