The distance between two points and is the length of the vector . This formula finds the distance between the two points (the length of the vector) for you:
Formula
Example 1
Find the distance between and .
Example 2
Decide such that , when and
Here, you can insert the numbers right into the formula and solve for :
Solving the equation :
Because this is a radical equation, you need to test your answer:
The left-hand side is
and the right-hand side is 4. As the left-hand and right-hand side are equal, makes the length equal to 4.