## Learning Objectives

- Find the distance between two points.
- Find the shortest distance between vertical and horizontal lines and
- Find the shortest distance between parallel lines with slope of 1 or -1.

## Review Queue

- What is the slope of the line between (-1, 3) and (2, -9)?
- Find the equation of the line that is
*perpendicular*to through the point (-4, -5). - Find the equation of the line that is
*parallel*to through the point (3, 8).

**Know What?** The shortest distance between two points is a straight line. To the right are distances between cities in the Los Angeles area. What is the longest distance between Los Angeles and Orange? Which distance is the shortest?

## The Distance Formula

The distance between two points and can be defined as . This formula will be derived in Chapter 9.

**Example 1:** Find the distance between (4, -2) and (-10, 3).

**Solution:** Plug in (4, -2) for and (-10, 3) for and simplify.

**Example 2:** Find the distance between (-2, -3) and (3, 9).

**Solution:** Use the distance formula, plug in the points, and simplify.

*Distances are always positive!*

## Shortest Distance between Vertical and Horizontal Lines

** All vertical lines are in the form , where a is the intercept.** To find the distance between two vertical lines, count the squares between the two lines.

**Example 3:** Find the distance between and .

**Solution:** The two lines are 3 – (-5) units apart, or 8 units apart.

*You can use this method for horizontal lines as well. All horizontal lines are in the form , where is the intercept.*

**Example 4:** Find the distance between and .

**Solution:** The two lines are 5 – (-8) units apart, or 13 units.

**Shortest Distance between Parallel Lines with or -1**

The shortest distance between two parallel lines is the perpendicular line between them. There are infinitely many perpendicular lines between two parallel lines.

Notice that all of the pink segments are the same length.

**Example 5:** Find the distance between and .

**Solution:**

1. Find the perpendicular slope.

, so

2. Find the intercept of the top line, . (0, 6)

3. Use the slope and count down 1 and to the right 1 until you hit .

**Always rise/run the same amount for or -1.**

4. Use these two points in the distance formula to determine how far apart the lines are.

**Example 6:** Find the distance between and .

**Solution:**

1. Find the perpendicular slope.

, so

2. Find the intercept of the top line, . (0, -1)

3. Use the slope and count down 1 and to the *left* 1 until you hit .

4. Use these two points in the distance formula to determine how far apart the lines are.

**Know What? Revisited** The shortest distance between Los Angeles and Orange is 26.3 miles along Highway 5. The longest distance is found by adding the distances along the110 and 405, or 41.8 miles.

## Review Questions

- Questions 1-10 are similar to Examples 1 and 2.
- Questions 11- are similar to Examples 3 and 4.
- Questions are similar to Examples 5 and 6.

Find the distance between each pair of points. Round your answer to the nearest hundredth.

- (4, 15) and (-2, -1)
- (-6, 1) and (9, -11)
- (0, 12) and (-3, 8)
- (-8, 19) and (3, 5)
- (3, -25) and (-10, -7)
- (-1, 2) and (8, -9)
- (5, -2) and (1, 3)
- (-30, 6) and (-23, 0)
- (2, -2) and (2, 5)
- (-9, -4) and (1, -1)

Use each graph below to determine how far apart each pair of parallel lines is.

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

- What is the slope of the line ?
- What is the slope of the line perpendicular to the line from #21?
- What is the intercept of the line from #21?
- What is the equation of the line that is
*perpendicular*to through its intercept? - Graph and the line you found in #24. Then, graph . Where does the perpendicular line cross ?
- Using the answers from #23 and #25 and the distance formula, find the distance between and .

Find the distance between the parallel lines below.