<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# 11.5: Distance and Midpoint Formulas

Difficulty Level: At Grade Created by: CK-12

## Learning Objectives

• Find the distance between two points in the coordinate plane.
• Find the missing coordinate of a point given the distance from another known point.
• Find the midpoint of a line segment.
• Solve real-world problems using distance and midpoint formulas.

## Introduction

In the last section, we saw how to use the Pythagorean Theorem in order to find lengths. In this section, you will learn how to use the Pythagorean Theorem to find the distance between two coordinate points.

Example 1

Find distance between points \begin{align*}A=(1, 4)\end{align*} and \begin{align*}B=(5, 2)\end{align*}.

Solution

Plot the two points on the coordinate plane. In order to get from point \begin{align*}A=(1, 4)\end{align*} to point \begin{align*}B=(5, 2)\end{align*}, we need to move 4 units to the right and 2 units down.

To find the distance between \begin{align*}A\end{align*} and \begin{align*}B\end{align*} we find the value of \begin{align*}d\end{align*} using the Pythagorean Theorem.

\begin{align*}d^2 &=2^2 + 4^2=20 \\ d &=\sqrt{20}=2\sqrt{5}=4.47\end{align*}

Example 2: Find the distance between points \begin{align*}C=(2, 1)\end{align*} and \begin{align*}D=(-3, -4)\end{align*}.

Solution: We plot the two points on the graph above.

In order to get from point \begin{align*}C\end{align*} to point \begin{align*}D\end{align*}, we need to move 3 units down and 5 units to the left.

We find the distance from \begin{align*}C\end{align*} to \begin{align*}D\end{align*} by finding the length of \begin{align*}d\end{align*} with the Pythagorean Theorem.

\begin{align*}d^2 &=3^2 + 5^2=34 \\ d &=\sqrt{34}=5.83\end{align*}

The Distance Formula

This procedure can be generalized by using the Pythagorean Theorem to derive a formula for the distance between two points on the coordinate plane.

Let’s find the distance between two general points \begin{align*}A=(x_1,y_1)\end{align*} and \begin{align*}B =(x_2,y_2)\end{align*}.

Start by plotting the points on the coordinate plane.

In order to move from point \begin{align*}A\end{align*} to point \begin{align*}B\end{align*} in the coordinate plane, we move \begin{align*}x_2 - x_1\end{align*} units to the right and \begin{align*}y_2 - y_1\end{align*} units up. We can find the length \begin{align*}d\end{align*} by using the Pythagorean Theorem.

\begin{align*} d^2=(x_2-x_1)^2+(y_2-y_1)^2.\end{align*}

This equation leads us to the Distance Formula.

Given two points \begin{align*}(x_1,y_1)\end{align*} and \begin{align*}(x_2,y_2)\end{align*} the distance between them is:

\begin{align*}d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.\end{align*}

We can use this formula to find the distance between two points on the coordinate plane. Notice that the distance is the same if you are going from point \begin{align*}A\end{align*} to point \begin{align*}B\end{align*} as if you are going from point \begin{align*}B\end{align*} to point \begin{align*}A\end{align*}. Thus, it does not matter which order you plug the points into the distance formula.

## Find the Distance Between Two Points in the Coordinate Plane

Let’s now apply the distance formula to the following examples.

Example 2

Find the distance between the following points.

a) (-3, 5) and (4, -2)

b) (12, 16) and (19, 21)

c) (11.5, 2.3) and (-4.2, -3.9)

Solution

Plug the values of the two points into the distance formula. Be sure to simplify if possible.

a) \begin{align*}d=\sqrt{(-3-4)^2+(5-(-2))^2}=\sqrt{(-7)^2+(7)^2} =\sqrt{49+49}=\sqrt{98}=7\sqrt{2}\end{align*}

b) \begin{align*}d=\sqrt{(12-19)^2+(16-21)^2}=\sqrt{(-7)^2+(-5)^2}=\sqrt{49+25}=\sqrt{74}\end{align*}

c) \begin{align*}d=\sqrt{(11.5+4.2)^2+(2.3+3.9)^2}=\sqrt {(15.7)^2+(6.2)^2}=\sqrt{284.93}=16.88\end{align*}

Example 3

Show that point \begin{align*}P=(2, 6)\end{align*} is equidistant for \begin{align*}A=(-4, 3)\end{align*} and \begin{align*}B=(5, 0).\end{align*}

Solution

To show that the point \begin{align*}P\end{align*} is equidistant from points \begin{align*}A\end{align*} and \begin{align*}B\end{align*}, we need to show that the distance from \begin{align*}P\end{align*} to \begin{align*}A\end{align*} is equal to the distance from \begin{align*}P\end{align*} to \begin{align*}B\end{align*}.

Before we apply the distance formula, let’s graph the three points on the coordinate plane to get a visual representation of the problem.

From the graph we see that to get from point \begin{align*}P\end{align*} to point \begin{align*}A\end{align*}, we move 6 units to the left and 3 units down. To move from point \begin{align*}P\end{align*} to point \begin{align*}B\end{align*}, we move 6 units down and 3 units to the left. From this information, we should expect \begin{align*}P\end{align*} to be equidistant from \begin{align*}A\end{align*} and \begin{align*}B\end{align*}.

Now, let’s apply the distance formula for find the lengths \begin{align*}PA\end{align*} and \begin{align*}PB\end{align*}.

\begin{align*} PA &=\sqrt{(2+4)^2+(6-3)^2}=\sqrt{(6)^2+(3)^2}=\sqrt{39+9}=\sqrt{45}\\ PA &=\sqrt{(2-5)^2+(6-0)^2}=\sqrt{(-3)^2+(6)^2}=\sqrt{9+36}=\sqrt{45}\end{align*}

\begin{align*}PA=PB,\end{align*} so \begin{align*}P\end{align*} is equidistant from points \begin{align*}A\end{align*} and \begin{align*}B\end{align*}.

## Find the Missing Coordinate of a Point Given Distance From Another Known Point

Example 4

Point \begin{align*}A=(6, -4)\end{align*} and point \begin{align*}B=(2, k)\end{align*}. What is the value of \begin{align*}k\end{align*} such that the distance between the two points is 5?

Solution

Let’s use the distance formula.

\begin{align*} d=\sqrt{(x_1-x_2)^2+(y_1-y_2)^2}\Rightarrow 5 =\sqrt{(6-2)^2+(-4-k)^2}\end{align*}

\begin{align*}\text{Square both sides of the equation.}&&5^2 & =\left [{\sqrt{(6-2)^2+(-4-k)^2}}\right ]^2 \\ \text{Simplify.}&&25 & =16+(-4-k)^2 \\ \text{Eliminate the parentheses.}&&0 & =-9+k^2+8k+16 \\ \text{Simplify.}&&0 &=k^2+8k+7 \\ \text{Find}\ k\ \text{using the quadratic formula.}&&k &= \frac{-8\pm \sqrt{64-28}}{2}=\frac{-8\pm \sqrt{36}}{2}=\frac{-8\pm 6}{2}\end{align*}

Answer \begin{align*}k=-7\end{align*} or \begin{align*}k=-1.\end{align*}

Therefore, there are two possibilities for the value of \begin{align*}k\end{align*}. Let’s graph the points to get a visual representation of our results.

From the figure, we can see that both answers make sense because they are both equidistant from point \begin{align*}A\end{align*}.

Example 5

Find all points on line \begin{align*}y=2\end{align*} that are a distance of 8 units away from point (-3, 7).

Solution

Let’s make a sketch of the given situation. Draw line segments from point (-3, 7) to the line \begin{align*}y=2\end{align*}. Let \begin{align*}k\end{align*} be the missing value of \begin{align*}x\end{align*} we are seeking. Let’s use the distance formula.

\begin{align*} 8=\sqrt{(-3-k)^2+(7-2)^2}\end{align*}

Now let's solve using the distance formula.

\begin{align*}\text{Square both sides of the equation }&&64 &=(-3-k)^2+25 \\ \text{Therefore.}&&0 &=9+6k+k^2-39 \\ \text{Or}&&0 &=k^2+6k-30 \\ \text{Use the quadratic formula.}&&k &=\frac{-6\pm \sqrt{36+120}}{2}=\frac{-6\pm \sqrt{156}}{2}\\ \text{Therefore. }&&k &\approx 3.24\ \text{or} \ k \approx -9.24\end{align*}

Answer The points are (-9.24, 2) and (3.24, 2)

## Find the Midpoint of a Line Segment

Example 6

Find the coordinates of the point that is in the middle of the line segment connecting points \begin{align*}A=(-7, -2)\end{align*} and \begin{align*}B=(3, -8)\end{align*}.

Solution

Let’s start by graphing the two points.

We see that to get from point \begin{align*}A\end{align*} to point \begin{align*}B\end{align*} we move 6 units down and 10 units to the right.

In order to get to the point that is half-way between the two points, it makes sense that we should move half the vertical and half the horizontal distance, that is 3 units down and 5 units to the right from point \begin{align*}A\end{align*}.

The midpoint is \begin{align*}M=(-7 + 5, -2 - 3)=(-2, -5)\end{align*}

The Midpoint Formula:

We now want to generalize this method in order to find a formula for the midpoint of a line segment.

Let’s take two general points \begin{align*}A=(x_1, y_1)\end{align*} and \begin{align*}B=(x_2, y_2)\end{align*} and mark them on the coordinate plane.

We see that to get from \begin{align*}A\end{align*} to \begin{align*}B\end{align*}, we move \begin{align*}x_2 - x_1\end{align*} units to the right and \begin{align*}y_2 - y_1\end{align*} up.

In order to get to the half-way point, we need to move

\begin{align*} \frac{x_2-x_1}{2}\end{align*} units to the right and \begin{align*} \frac{y_2-y_1}{2}\end{align*} up from point \begin{align*}A\end{align*}.

Thus the midpoint, \begin{align*}M=\left ( x_1+\frac{x_2-x_1}{2},y_1+\frac{y_2-y_1}{2}\right ).\end{align*}

This simplifies to: \begin{align*}M=\left ( \frac{x_2+x_1}{2},\frac{y_2+y_1}{2}\right ).\end{align*} This is the Midpoint Formula.

It should hopefully make sense that the midpoint of a line is found by taking the average values of the \begin{align*}x\end{align*} and \begin{align*}y-\end{align*}values of the endpoints.

Midpoint Formula

The midpoint of the segment connecting points \begin{align*}(x_1, y_1)\end{align*} and \begin{align*}(x_2,y_2)\end{align*} has coordinates

\begin{align*}M=\left ( \frac{x_2+x_1}{2},\frac{y_2+y_1}{2}\right ).\end{align*}

Example 7

Find the midpoint between the following points.

a) (-10, 2) and (3, 5)

b) (3, 6) and (7, 6)

c) (4, -5) and (-4, 5)

Solution

Let’s apply the Midpoint Formula.

\begin{align*}M=\left ( \frac{x_2+x_1}{2},\frac{y_2+y_1}{2}\right )\end{align*}

a) The midpoint of (-10, 2) and (3, 5) is \begin{align*} \left ( \frac{-10+3}{2},\frac{2+5}{2}\right )=\left ( \frac{-7}{2},\frac{7}{2}\right )=\left (-3.5,3.5 \right )\end{align*}.

b) The midpoint of (3, 6) and (7, 6) is \begin{align*} \left ( \frac{3+7}{2},\frac{6+6}{2}\right )=\left ( \frac{10}{2},\frac{12}{2}\right )=\left (5,6 \right )\end{align*}.

c) The midpoint of (4, -5) and (-4, 5) is \begin{align*} \left ( \frac{4-4}{2},\frac{-5+5}{2}\right )=\left ( \frac{0}{2},\frac{0}{2}\right )=\left (0,0\right )\end{align*}.

Example 8

A line segment whose midpoint is (2, -6) has an endpoint of (9, -2). What is the other endpoint?

Solution

In this problem we know the midpoint and we are looking for the missing endpoint.

The midpoint is (2, -6).

One endpoint is \begin{align*}(x_1, y_1)=(9, -2)\end{align*}

Let’s call the missing point \begin{align*}(x, y).\end{align*}

We know that the \begin{align*}x-\end{align*}coordinate of the midpoint is 2, so

\begin{align*} 2=\frac{9+x_2}{2}\Rightarrow 4=9+x_2 \Rightarrow x_2=-5\end{align*}

We know that the \begin{align*}y-\end{align*}coordinate of the midpoint is -6, so

\begin{align*} -6=\frac{-2+y_2}{2}\Rightarrow -12=-2+y_2 \Rightarrow y_2=-10\end{align*}

Answer The missing endpoint is (-5, -10).

## Solve Real-World Problems Using Distance and Midpoint Formulas

The distance and midpoint formula are applicable in geometry situations where we desire to find the distance between two points of the point halfway between two points.

Example 9

Plot the points \begin{align*}A=( 4, -2), B=(5, 5)\end{align*}, and \begin{align*}C=(-1, 3)\end{align*} and connect them to make a triangle. Show \begin{align*}\triangle ABC\end{align*} is isosceles.

Solution

Let’s start by plotting the three points on the coordinate plane and making a triangle.

We use the distance formula three times to find the lengths of the three sides of the triangle.

\begin{align*} AB &=\sqrt{(4-5)^2+(-2-5)^2}=\sqrt{(-1)^2+(-7)^2}=\sqrt{1+49}=\sqrt{50}=5\sqrt{2}\\ BC & =\sqrt{(5+1)^2+(5-3)^2}=\sqrt{(6)^2+(2)^2}=\sqrt{36+4}=\sqrt{40}=2\sqrt{10}\\ AC &=\sqrt{(4+1)^2+(-2-3)^2}=\sqrt{(5)^2+(-5)^2}=\sqrt{25+25}=\sqrt{50}=5\sqrt{2}\end{align*}

Notice that \begin{align*}AB=AC\end{align*}, therefore \begin{align*}\triangle ABC\end{align*} is isosceles.

Example 10

At 8 AM one day, Amir decides to walk in a straight line on the beach. After two hours of making no turns and traveling at a steady rate, Amir was two mile east and four miles north of his starting point. How far did Amir walk and what was his walking speed?

Solution

Let’s start by plotting Amir’s route on a coordinate graph. We can place his starting point at the origin \begin{align*}A=(0, 0)\end{align*}. Then, his ending point will be at point \begin{align*}B=(2, 4)\end{align*}. The distance can be found with the distance formula.

\begin{align*} d & =\sqrt{(2-0)^2+(4-0)^2}=\sqrt{(2)^2+(4)^2}=\sqrt{4+16}=\sqrt{20}\\ d & =4.47\ miles.\end{align*}

Since Amir walked 4.47 miles in 2 hours, his speed is

\begin{align*} \text{Speed}=\frac{4.47 \ miles}{2 \ hours}=2.24 \ mi/h\end{align*}

## Review Questions

Find the distance between the two points.

1. (3, -4) and (6, 0)
2. (-1, 0) and (4, 2)
3. (-3, 2) and (6, 2)
4. (0.5, -2.5) and (4, -4)
5. (12, -10) and (0, -6)
6. (2.3, 4.5) and (-3.4, -5.2)
7. Find all points having an \begin{align*}x\end{align*} coordinate of -4 and whose distance from point (4, 2) is 10.
8. Find all points having a \begin{align*}y\end{align*} coordinate of 3 and whose distance from point (-2, 5) is 8.

Find the midpoint of the line segment joining the two points.

1. (3, -4) and (6, 1)
2. (2, -3) and (2, 4)
3. (4, -5) and (8, 2)
4. (1.8, -3.4) and (-0.4, 1.4)
5. (5, -1) and (-4, 0)
6. (10, 2) and (2, -4)
7. An endpoint of a line segment is (4, 5) and the midpoint of the line segment is (3, -2). Find the other endpoint.
8. An endpoint of a line segment is (-10, -2) and the midpoint of the line segment is (0, 4). Find the other endpoint.
9. Plot the points \begin{align*}A=(1, 0), B=(6, 4), C=(9, -2)\end{align*} and \begin{align*}D=(-6, -4), E=(-1, 0), F=(2, -6)\end{align*}. Prove that triangles \begin{align*}ABC\end{align*} and \begin{align*}DEF\end{align*} are congruent.
10. Plot the points \begin{align*}A=(4, -3), B=(3, 4), C=(-2, -1), D=(-1, -8)\end{align*}. Show that \begin{align*}ABCD\end{align*} is a rhombus (all sides are equal).
11. Plot points \begin{align*}A=(-5, 3), B=(6, 0), C=(5, 5)\end{align*}. Find the length of each side. Show that it is a right triangle. Find the area.
12. Find the area of the circle with center (-5, 4) and the point on the circle (3, 2).
13. Michelle decides to ride her bike one day. First she rides her bike due south for 12 miles, then the direction of the bike trail changes and she rides in the new direction for a while longer. When she stops, Michelle is 2 miles south and 10 miles west from her starting point. Find the total distance that Michelle covered from her starting point.

1. 5
2. \begin{align*}\sqrt{29}\end{align*}
3. 9
4. 3.81
5. \begin{align*} 4\sqrt{10}\end{align*}
6. 11.25
7. (-4, -4) and (-4, 8)
8. (-9.75, 3) and (5.75, 3)
9. (4.5, -1.5)
10. (2, 0.5)
11. (6, -1.5)
12. (.7, -1)
13. (0.5, -0.5)
14. (6, -1)
15. (2, -9)
16. (10, 10)
17. \begin{align*}AB=DE=6.4, AC=DF=8.25, BC=EF=6.71\end{align*}
18. \begin{align*}AB=BC=CD=DA=7.07\end{align*}
19. \begin{align*}AB= \sqrt{130}, AC= \sqrt{104}, BC= \sqrt{26}\end{align*} and \begin{align*} \left ({\sqrt{26}}\right )^2+\left ({\sqrt{104}}\right )^2=\left ({\sqrt{130}}\right )^2\end{align*}. Right triangle.
20. \begin{align*}\text{Radius}=2\sqrt{17}, \text{Area}=68 \pi\end{align*}
21. 26.14 miles

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

Show Hide Details
Description
Tags:
Subjects: