Suppose you and your friend were on a scavenger hunt. Starting out from the same place, you walked 5 blocks east and 3 blocks north. Your friend walked 7 blocks west and 2 blocks south. If each block were a tenth of a mile long, could you calculate how far apart you and your friend were? How would you do it? In this Concept, you'll learn how to use the distance formula to determine how far two points are from each other so that you can solve this type of problem.
To understand the distance formula, we will first look at an example:
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 |5−2|=|3|=3 units long. The horizontal leg extends from (1, 2) to (5, 2), so it is |5−1|=|4|=4 units long. Use the Pythagorean Theorem with these values for the lengths of each leg to find the length of the hypotenuse.
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 (x1,y1) and (x2,y2), the length of the segment connecting those two points is d=(y2−y1)2+(x2−x1)2−−−−−−−−−−−−−−−−−−√.
Find the distance between (–3, 5) and (4, –2).
Use the distance formula. Let (x1,y1)=(−3,5) and (x2,y2)=(4,−2).
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 miles east and four miles north of his starting point. How far did Amir walk and what was his walking speed?
Plot Amir’s route on a coordinate graph. We can place his starting point at the origin, A=(0,0). Then, his ending point will be at the point B=(2,4). The distance can be found with the distance formula.
Since Amir walked 4.47 miles in 2 hours, his speed is:
Speed=4.47 miles2 hours=2.24 mi/h
Point A=(6,−4) and point B=(2,k). What is the value of k such that the distance between the two points is 5?
Use the distance formula.
Square both sides of the equation.52Simplify.25Eliminate the parentheses.0Simplify.0Find k using the quadratic formula.k=[(4−k)2+(6−2)2−−−−−−−−−−−−−−−√]2=(−4−k)2+16=k2+8k+16−9=k2+8k+7=−8±64−28−−−−−−√2=−8±36−−√2=−8±62
k=−7 or k=−1. There are two possibilities for the value of k. Let’s graph the points to get a visual representation of our results.
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. CK-12 Basic Algebra: Distance Formula (9:39)
CK-12 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.
- Michelle decides to ride her bike one day. First she rides her bike due south for 12 miles, and 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 of her starting point. Find the total distance that Michelle covered from her starting point.
- Solve (x−4)2=121.
- What is the GCF of 21ab4 and 15a7b2?
- 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.