- 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.
In the last section, we saw how to use the Pythagorean Theorem to find lengths. In this section, you’ll learn how to use the Pythagorean Theorem to find the distance between two coordinate points.
Find the distance between points A=(1,4) and B=(5,2).
Plot the two points on the coordinate plane.
In order to get from point A=(1,4) to point B=(5,2), we need to move 4 units to the right and 2 units down. These lines make the legs of a right triangle.
To find the distance between A and B we find the value of the hypotenuse, d, using the Pythagorean Theorem.
Find the distance between points C=(2,−1) and D=(−3,−4).
We plot the two points on the graph above.
In order to get from point C to point D, we need to move 3 units down and 5 units to the left.
We find the distance from C to D by finding the length of d with the Pythagorean Theorem.
The Distance Formula
The procedure we just used can be generalized by using the Pythagorean Theorem to derive a formula for the distance between any two points on the coordinate plane.
Let’s find the distance between two general points A=(x1,y1) and B=(x2,y2).
Start by plotting the points on the coordinate plane:
In order to move from point A to point B in the coordinate plane, we move x2−x1 units to the right and y2−y1 units up.
We can find the length d by using the Pythagorean Theorem:
Therefore, d=(x1−x2)2+(y1−y2)2−−−−−−−−−−−−−−−−−−√. This is called the Distance Formula. More formally:
Given any two points (x1,y1) and (x2,y2), the distance between them is d=(x1−x2)2+(y1−y2)2−−−−−−−−−−−−−−−−−−√.
We can use this formula to find the distance between any two points on the coordinate plane. Notice that the distance is the same whether you are going from point A to point B or from point B to point A, so it does not matter which order you plug the points into the distance formula.
Let’s now apply the distance formula to the following examples.
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)
Plug the values of the two points into the distance formula. Be sure to simplify if possible.
We can also use the Pythagorean Theorem
Find all points on the line y=2 that are exactly 8 units away from the point (-3, 7).
Let’s make a sketch of the given situation.
Draw line segments from the point (-3, 7) to the line y=2.
Let k be the missing value of x we are seeking.
Let's use the distance formula:Square both sides of the equation:Therefore:Use the quadratic formula:Therefore:8640kk=(−3−k)2+(7−2)2−−−−−−−−−−−−−−−−√=(−3−k)2+25=9+6k+k2−39 or 0=k2+6k−30=−6±36+120−−−−−−−√2=−6±156−−−√2=3.24 or k=−9.24
The points are (-9.24, 2) and (3.24, 2).
Find the Midpoint of a Line Segment
Find the coordinates of the point that is in the middle of the line segment connecting the points A=(−7,−2) and B=(3,−8).
Let’s start by graphing the two points:
We see that to get from point A to point B we move 6 units down and 10 units to the right.
In order to get to the point that is halfway between the two points, it makes sense that we should move half the vertical distance and half the horizontal distance—that is, 3 units down and 5 units to the right from point A.
The midpoint is M=(−7+5,−2−3)=(−2,−5).
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 A=(x1,y1) and B=(x2,y2) and mark them on the coordinate plane:
We see that to get from A to B, we move x2−x1 units to the right and y2−y1 units up.
In order to get to the half-way point, we need to move x2−x12 units to the right and y2−y12 up from point A. Thus the midpoint M is at (x1+x2−x12,y1+y2−y12).
This simplifies to M=(x1+x22,y1+y22). This is the Midpoint Formula:
The midpoint of the line segment connecting the points (x1,y1) and (x2,y2) is (x1+x22,y1+y22).
It should hopefully make sense that the midpoint of a line is found by taking the average values of the x and y−values of the endpoints.
For a graphic demonstration of the midpoint formula, watch this video:
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)
Let’s apply the Midpoint Formula: (x1+x22,y1+y22)
a) the midpoint of (-10, 2) and (3, 5) is (−10+32,2+52)=(−72,72)=(−3.5,3.5)−−−−−−−−−−−−−−−−−−
b) the midpoint of (3, 6) and (7, 6) is (3+72,6+62)=(102,122)=(5,6)−−−−−−−−
c) the midpoint of (4, -5) and (-4, 5) is (4−42,−5+52)=(02,02)=(0,0)−−−−−−−−
A line segment whose midpoint is (2, -6) has an endpoint of (9, -2). What is the other endpoint?
In this problem we know the midpoint and we are looking for the missing endpoint.
The midpoint is (2, -6).
One endpoint is (x1,x2)=(9,−2).
Let’s call the missing point (x,y).
We know that the x−coordinate of the midpoint is 2, so: 2=9+x22⇒4=9+x2⇒x2=−5
We know that the y−coordinate of the midpoint is -6, so:
The missing endpoint is (-5, -10).
Here’s another way to look at this problem: To get from the endpoint (9, -2) to the midpoint (2, -6), we had to go 7 units left and 4 units down. To get from the midpoint to the other endpoint, then, we would need to go 7 more units left and 4 more units down, which takes us to (-5, -10).
Solve Real-World Problems Using Distance and Midpoint Formulas
The distance and midpoint formula are useful in geometry situations where we want to find the distance between two points or the point halfway between two points.
Plot the points A=(4,−2),B=(5,5), and C=(−1,3) and connect them to make a triangle. Show that the triangle is isosceles.
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.
Notice that AB=AC, therefore triangle ABC is isosceles.
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 is two miles east and four miles north of his starting point. How far did Amir walk and what was his walking speed?
Let’s start by plotting 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 B=(2,4).
The distance can be found with the distance formula:
Since Amir walked 4.47 miles in 2 hours, his speed is s=4.47 miles2 hours=2.24 mi/h−−−−−−−−−−−−−−−−.
Find the distance between the two points.
- (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)
- (-5, -3) and (-2, 11)
- (2.3, 4.5) and (-3.4, -5.2)
- Find all points having an x−coordinate of -4 whose distance from the point (4, 2) is 10.
- Find all points having a y−coordinate of 3 whose distance from the point (-2, 5) is 8.
- Find three points that are each 13 units away from the point (3, 2) but do not have an x−coordinate of 3 or a y−coordinate of 2.
Find the midpoint of the line segment joining the two points.
- (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)
- (3, -3) and (2, 5)
- 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.
- Find a point that is the same distance from (4, 5) as it is from (-2, -1), but is not the midpoint of the line segment connecting them.
- Plot the points A=(1,0),B=(6,4),C=(9,−2) and D=(−6,−4),E=(−1,0),F=(2,−6). Prove that triangles ABC and DEF are congruent.
- Plot the points A=(4,−3),B=(3,4),C=(−2,−1),D=(−1,−8). Show that ABCD is a rhombus (all sides are equal)
- Plot points A=(−5,3),B=(6,0),C=(5,5). Find the length of each side. Show that ABC is a right triangle. Find its area.
- Find the area of the circle with center (-5, 4) and the point on the circle (3, 2).
- 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 from her starting point. Find the total distance that Michelle covered from her starting point.