The Distance Formula is a variant of the Pythagorean Theorem that you used back in geometry. Here's how we get from the one to the other:
Suppose you're given the two points (–2, 1) and (1, 5), and they want you to find out how far apart they are. The points look like this:
Content Continues Below
You can draw in the lines that form a right-angled triangle, using these points as two of the corners:
It's easy to find the lengths of the horizontal and vertical sides of the right triangle: just subtract the x-values and the y-values:
Then use the Pythagorean Theorem to find the length of the third side (which is the hypotenuse of the right triangle):
c2 = a2 + b2
...so:
Affiliate
This format always holds true. Given two points, you can always plot them, draw the right triangle, and then find the length of the hypotenuse. The length of the hypotenuse is the distance between the two points. Since this format always works, it can be turned into a formula:
Distance Formula: Given the two points (x1, y1) and (x2, y2), the distance d between these points is given by the formula:
Don't let the subscripts scare you. They only indicate that there is a "first" point and a "second" point; that is, that you have two points. Whichever one you call "first" or "second" is up to you. The distance will be the same, regardless.
Content Continues Below
I just plug the coordinates into the Distance Formula:
Then the distance is , or about 7.28, rounded to two decimal places.
URL: http://www.purplemath.com/modules/distform.htm
© 2018 Purplemath. All right reserved. Web Design by