11.5: The Distance and Midpoint Formulas
You have already learned you can use the Pythagorean Theorem to understand different types of right triangles and find missing lengths. This lesson will expand its use to include finding the distance between two points on a Cartesian plane.
The Distance Formula
Look at the points on the grid below. Find the length of the segment connecting (1, 5) and (5, 2).
The question asks you to identify the length of the segment. Because the segment is not parallel to either axis, it is difficult to measure given the coordinate grid.
However, it is possible to think of this segment as the hypotenuse of a right triangle. Draw a vertical line and a horizontal line. Find the point of intersection. This point represents the third vertex in the right triangle.
You can easily count the lengths of the legs of this triangle on the grid. The vertical leg extends from (1, 2) to (1, 5), so it is
The segment connecting (1, 5) and (5, 2) is 5 units long.
Mathematicians have simplified this process and created a formula that uses these steps to find the distance between any two points in the coordinate plane. If you use the distance formula, you don’t have to draw the extra lines.
Distance Formula: Given points
Example 1: Find the distance between (–3, 5) and (4, –2).
Solution: Use the Distance Formula. Let
Example: Point
Solution: Use the Distance Formula.
Example: At 8 a.m. 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: Plot Amir’s route on a coordinate graph. We can place his starting point at the origin
Since Amir walked 4.47 miles in 2 hours, his speed is:
The Midpoint Formula
Consider the following situation: You live in Des Moines, Iowa and your grandparents live in Houston, Texas. You plan to visit them for the summer and your parents agree to meet your grandparents halfway to exchange you. How do you find this location?
By meeting something “halfway,” you are finding the midpoint of the straight line connecting the two segments. In the above situation, the midpoint would be halfway between Des Moines and Houston.
The midpoint between two coordinates represents the halfway point, or the average. It is an ordered pair
Example: Des Moines, Iowa has the coordinates (41.59, 93.62).
Houston, Texas has the coordinates (29.76, 95.36).
Find the coordinates of the midpoint between these two cities.
Solution: Decide which ordered pair will represent
Compute the midpoint using the formula
Using Google Maps, you can meet in the Ozark National Forest, halfway between the two cities.
Example 2: A segment with endpoints (9, –2) and
Solution: Use the Midpoint Formula.
Following the same
Practice Set
Sample explanations for some of the practice exercises below are available by viewing the following videos. Note that there is not always a match between the number of the practice exercise in the videos and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both.
CK12 Basic Algebra: Distance Formula (9:39)
CK12 Basic Algebra: Midpoint Formula (6:41)
CK12 Basic Algebra: Visual Pythagorean Theorem Proof (8:50)
CK12 Basic Algebra: Pythagorean Theorem 3 (3:00)
In 1–10, find the distance between the two points.

(x1,y1) and(x2,y2)  (7, 7) and (–7, 7)
 (–3, 6) and (3, –6)
 (–3, –1) and (–5, –8)
 (3, –4) and (6, 0)
 (–1, 0) and (4, 2)
 (–3, 2) and (6, 2)
 (0.5, –2.5) and (4, –4)
 (12, –10) and (0, –6)
 (2.3, 4.5) and (–3.4, –5.2)
 Find all points having an
x coordinate of –4 and whose distance from point (4, 2) is 10.  Find all points having a
y coordinate of 3 and whose distance from point (–2, 5) is 8.
In 13–22, find the midpoint of the line segment joining the two points.

(x1,y1) and(x2,y2)  (7, 7) and (–7, 7)
 (–3, 6) and (3, –6)
 (–3, –1) and (–5, –8)
 (3, –4) and (6, 1)
 (2, –3) and (2, 4)
 (4, –5) and (8, 2)
 (1.8, –3.4) and (–0.4, 1.4)
 (5, –1) and (–4, 0)
 (10, 2) and (2, –4)
 An endpoint of a line segment is (4, 5) and the midpoint of the line segment is (3, –2). Find the other endpoint.
 An endpoint of a line segment is (–10, –2) and the midpoint of the line segment is (0, 4). Find the other endpoint.
 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.
 Shawn lives six blocks west and ten blocks north of the center of town. Kenya lives fourteen blocks east and two blocks north of the center of town.
 How far apart are these two girls “as the crow flies”?
 Where is the halfway point between their houses?
Mixed Review
 Solve
(x−4)2=121 .  What is the GCF of
21ab4 and15a7b2 ?  Evaluate
10C7 and explain its meaning.  Factor
6x2+17x+5 .  Find the area of a rectangle with a length of
(16+2m) and a width of(12+2m) .  Factor
x2−81 .