Find the distance between the points
(-3, 1) and (7, 4).
Let's start by graphing the two points
on the Cartesian plane.
We want to find out how long the line segment (green line) connecting
the two points is.
Since we are going to use the Pythagorean Theorem to answer this
questions, we must have a right triangle. We will make a right
triangle by running a vertical line through the point (7, 4) and a
horizontal line through the point (-3, 1). Note that we
could have switched the point through which we drew the vertical and
horizontal lined and still would end up with a right triangle.
You can see that we have formed a right triangle. The legs are
the yellow and purple line segments. We now need to determine how
long the yellow and purple line segments are.
The yellow line segment goes straight up from 1 to 4 (following along
the
y-axis). The length
then is the difference between 1 and 4 or |4 - 1| (read the absolute
value of 4 minus 1). Since length must be non-negative, we must
use the absolute value signs. This also allows us to subtract the
numbers in either order.
The purple line segment goes horizontally from -3 to 7 (following along
the
x-axis).
The length then is the difference between -3 and 7 or |-3 - 7| (read
the
absolute value of -3 minus 7). Since length must be non-negative,
we
must use the absolute value signs. This also allows us to
subtract the
numbers in either order.
Now we know that the legs of the right triangle have length 3 and
10. We put this into the Pythagorean Theorem to find out how long
the hypotenuse is.
We are not done yet. Since all distances must be positive, we
only take the positive value for
c.
Thus the distance between the points
(-3, 1) and (7, 4) is
How does this relate to the distance formula? Let's put it all
together in a more generic way. We will try to find the distance
between the point

and

.
We will go through the process just like before.
Plot the points:
Draw the vertical and horizontal lines:
Find the point of intersection:
The third point in the triangle is

because
it is in the same horizontal position (given by the
x-coordinate) as

and
the same vertical position (given by the
y-coordinate) as

.
Now we determine the lengths of the legs of the right triangle.
The length of the vertical leg is the absolute value of the difference
between the
y-coordinates
(

)
The length of the horizontal leg is the absolute value of the
difference
between the
x-coordinates
(

)
Now we put these distances into the Pythagorean Theorem to find the
length of the green line segment.
We can get rid of the absolute value since when we square either the
positive or negative number, we end up at the same place. We also
only take the positive square root since we are finding a distance and
distances cannot be negative.
Thus we have derived the Distance Formula between two points

and

: