The distance between two points with the same x- or y-coordinate is the length of a horizontal or vertical line segment connecting those points. This can be found by counting grid squares or subtracting the coordinates that are not equal.
The distance between two points on a number line is the absolute value of the difference between the endpoints.
The distance between two points on a number line with coordinates x and y can be expressed as ∣y−x∣ or as ∣x−y∣. The two expressions are equivalent because of the absolute value symbols.
On the coordinate plane, the same principle is applied when the x-coordinates or the y-coordinates of two points are equal.
The distance between pairs of points can be found by subtracting the coordinates or by counting squares on the grid.
The Distance between Points with an Identical Coordinate
A(5,11) and B(5,−4)
A(−3,3) and B(5,3)
The x-values are equal. So, the distance between the points along the y-axis is ∣−4−11∣=15 units.
The y-values are equal. So, the distance between the points along the x-axis is ∣5−(−3)∣=8 units.
There are two ways to determine the distance between two points with the same coordinate: subtracting the coordinates that are not the same or counting the number of units from the first point to the second point.
Using the Pythagorean Theorem to Find Distance
The distance between two points that do not have the same x- or y-coordinate can be found by drawing a right triangle with the line segment between the points as the hypotenuse and using the Pythagorean theorem.
For two points in a plane that do not have equal x- or y-coordinates, the distance between the points can be found by using the Pythagorean theorem: If a and b are the legs of a right triangle and c is the hypotenuse, then:
a2+b2=c2
First, sketch a right triangle. The line segment joining the two points is the hypotenuse, while horizontal and vertical line segments form the legs. Then apply the Pythagorean theorem to find the length of the hypotenuse.
Step-By-Step Example
Using the Pythagorean Theorem
Determine the distance between point A(−3,13) and point B(5,−2) using the Pythagorean theorem.
Step 1
Plot point A and point B. Then draw a right triangle to locate point C(−3,−2) to draw a right triangle.
Step 2
Determine the length of the horizontal leg, or line segment a, of the triangle.
Point B(5,−2) and point C(−3,−2) have the same y-coordinates. So, calculate the distance between the x-coordinates or count the number of squares between the points.
Line segmenta=∣x2−x1∣=∣5−(−3)∣=∣5+3∣=∣8∣
Step 3
Determine the length of the vertical leg, or line segment b, of the triangle.
Point A(−3,13) and point C(−3,−2) have the same x-coordinates. So, calculate the distance between the y-coordinates or count the number of squares between the points.
Line segmentb=∣y2−y1∣=∣13−(−2)∣=∣13+2∣=∣15∣
Step 4
Use the Pythagorean theorem:
a2+b2=c2
Line segment a is 8 units. Line segment b is 15 units.
The hypotenuse of the triangle, line segment c, is the distance between the points.
Substitute the lengths of each leg in the theorem:
a2+b282+15264+22528928917=c2=c2=c2=c2=c=c
Solution
The distance between point A(−3,13) and point B(5,−2) is 17 units.
Deriving and Applying the Distance Formula
Using a right triangle, a formula can be derived for the distance between any two points in the coordinate plane.
The distance formula is used to calculate the distance between the points A(x2,y2) and B(x1,y1) in the coordinate plane. The distance formula is derived from the Pythagorean theorem. For a right triangle ΔABC with hypotenuse AB, the lengths of the horizontal and vertical legs are:
∣x2−x1∣∣y2−y1∣
To find the distance between point A and point B, draw a vertical line segment from point A and a horizontal line segment from point B to form a right triangle. The point where the line segments meet is point C. Then use the coordinates of point A and point B to determine the lengths of the legs of the right triangle. Lastly, apply the Pythagorean theorem to determine the length of the hypotenuse, or the distance between point A and point B.
Substitute the lengths of the legs into the Pythagorean theorem. Let d represent the distance between the two points, or the hypotenuse, line segment c.
d2=∣x2−x1∣2+∣y2−y1∣2
Then take the square root of both sides of the equation to get the distance formula.
d=(x2−x1)2+(y2−y1)2
Since the squared values are always positive, the absolute-value signs are no longer needed.
Step-By-Step Example
Using the Distance Formula
Calculate the distance between A(−3,3) and B(9,−2) using the distance formula.
Step 1
Substitute the coordinates of the points in the distance formula.
d=(x2−x1)2+(y2−y1)2=[(9−(−3)]2+(−2−3)2
Step 2
Simplify the equation.
d=(9+3)2+(−5)2=122+25=144+25=169=13
Solution
The distance between point A(−3,3) and point B(9,−2) is 13 units.