How does the distance formula in three dimensions follow the Pythagorean theorem?
In Euclidean geometry, the distance formula in three dimensions is a direct extension of the Pythagorean theorem, which states that the square of the hypotenuse of a right triangle equals the sum of the squares of the other two sides.12
To find the distance between two points and in three-dimensional space, one essentially applies the Pythagorean theorem twice. First, the distance between the points in the -plane is determined using the two-dimensional formula . When this horizontal distance is treated as one leg of a new right triangleâwith the vertical difference as the second legâthe hypotenuse represents the straight-line distance between the two points in 3D space.12
By squaring these components, the formula becomes:
This calculation effectively generalizes the relationship between the sides of a right triangle to three-dimensional Euclidean space.12