Table of Contents |
Suppose you want to calculate the distance between two locations on a number line, as shown below.
The distance between these two points is but that is assuming that b is larger than
In general, just so we don’t have to worry about which number is larger, the distance between two numbers and b is
. The absolute value is used to ensure that the result is not negative.
The following image shows two points, P and Q, and the distance between them in the xy-plane, d. Let's find a formula for the distance between these two points.
In the image above:
Applying the Pythagorean theorem to our image, we have .
To write an expression for the distance, d, take the square root of both sides to get the following formula:
EXAMPLE
Calculate the exact distance between the points
![]() |
Distance Formula |
![]() |
Substitute known quantities: ![]() |
![]() |
Evaluate subtraction inside parentheses. |
![]() |
Square values. |
![]() |
Add values under the square root. |
![]() |
Rewrite the square root with any perfect square factors. |
![]() |
Apply the product property of square roots. |
![]() |
Simplify the radical. |
Source: THIS TUTORIAL HAS BEEN ADAPTED FROM CHAPTER 0 OF "CONTEMPORARY CALCULUS" BY DALE HOFFMAN. ACCESS FOR FREE AT WWW.CONTEMPORARYCALCULUS.COM. LICENSE: CREATIVE COMMONS ATTRIBUTION 3.0 UNITED STATES.