Distance Between Points Using the Pythagorean Theorem
Find horizontal and vertical differences between two points. Calculate the straight-line distance using square roots.
5 min · Geometry · Foundations
Learning goals
- Find horizontal and vertical differences between two points.
- Calculate the straight-line distance using square roots.
Understand the concept
Two points in a coordinate plane can be connected by a horizontal and a vertical segment to form a right triangle when both coordinate differences are nonzero. The legs have lengths |x₂ − x₁| and |y₂ − y₁|.
The distance is √((x₂ − x₁)² + (y₂ − y₁)²). The formula also works when one difference is zero. Use consistent units on both axes.
Worked example 1
Between (1, 2) and (5, 5), the differences are 4 and 3, so the distance is √25 = 5.
Worked example 2
Between (−3, 1) and (2, −1), the differences are 5 and −2; the distance is √29.
Check your understanding
UNVRST English edition · Educational support · Editorial policy