Example 3: Find the distance between the points and .
Sometimes you may wonder if switching the points in calculating the distance can affect the final outcome.
Well, if you think about, the formula is squaring the difference of the corresponding x and y values. That means, it doesn't matter if the change in x or change in y is negative because when we eventually square it (raise to the 2nd power), the result always comes out to be positive.
Let's "prove" that the answer is always the same by solving this problem two ways!
The first solution shows the usual way because we assign which point is the first and second based on the order in which they are given to us in the problem. In the second solution, we switch the points.
As you can see, both answers came out the same which is d = 10. Below is the visual solution to the problem.