Distance Between Two Points — Definition, Formula & Examples
The distance between two points is the length of the straight line segment connecting them on a coordinate plane. You calculate it using the coordinates of both points and a formula derived from the Pythagorean theorem.
Given two points and in the Cartesian plane, the distance between them is defined as . This metric corresponds to the Euclidean norm of the vector from to .
Key Formula
Where:
- = Distance between the two points
- = Coordinates of the first point
- = Coordinates of the second point
How It Works
To find the distance, subtract the x-coordinates to get the horizontal change and subtract the y-coordinates to get the vertical change. Square both differences, add them together, and take the square root of the sum. This works because the horizontal and vertical changes form the two legs of a right triangle, and the distance is the hypotenuse. The order in which you subtract does not matter, since squaring eliminates any negative signs.
Worked Example
Problem: Find the distance between the points (1, 2) and (4, 6).
Find the differences: Subtract the x-coordinates and the y-coordinates.
Square each difference: Square the horizontal and vertical changes.
Add and take the square root: Sum the squares and find the square root.
Answer: The distance between (1, 2) and (4, 6) is 5 units.
Another Example
Problem: Find the distance between the points (−3, 1) and (2, −4).
Find the differences: Subtract the coordinates. The order you choose does not affect the final answer.
Square each difference: Squaring removes the negative sign.
Add and take the square root: Combine the results under the radical.
Answer: The distance is , or approximately 7.07 units.
Visualization
Why It Matters
The distance formula appears constantly in middle-school and high-school geometry, from finding side lengths of triangles to determining whether a point lies on a circle. In physics, it underlies calculations of displacement and speed. Careers in game design, navigation, and engineering all rely on computing distances between coordinates.
Common Mistakes
Mistake: Forgetting to square the differences before adding them.
Correction: Always square each difference first. Adding the raw differences and then squaring gives a wrong answer. The formula requires inside the radical, not .
Mistake: Subtracting an x-coordinate from a y-coordinate (mixing up coordinates).
Correction: Pair x with x and y with y. Compute separately from . Mixing them gives a meaningless result.
