Distance Formula Word Problems: Explained with Examples
In this article
The distance formula word problems ask you to find the straight-line distance between two points on a coordinate plane, and the answer is always the square root of the sum of the squared differences in the x-coordinates and y-coordinates: d = √((x₂ − x₁)² + (y₂ − y₁)²). This article explains how the formula works, walks through common word-problem types, and shows you how to avoid the mistakes that cost the most points.
What the Distance Formula Actually Measures
The distance formula is just the Pythagorean theorem dressed up for coordinates. If you plot two points, the horizontal gap between them is one leg of a right triangle and the vertical gap is the other leg. The straight-line distance is the hypotenuse. That is why the formula squares the differences, adds them, and takes the square root — it is finding the length of the hypotenuse.
This matters for word problems because many of them describe a real situation — a drone flying between two waypoints, a delivery route on a grid map, a boat crossing a lake — and the “distance” they want is the straight-line distance, not the driving distance along streets. If the problem says “as the crow flies” or “directly between,” it is a distance-formula problem. If it says “along the roads” or “following the path,” it is probably a different problem (Manhattan distance or a path-length sum).
The Formula in Symbols and Words
For two points (x₁, y₁) and (x₂, y₂), the distance d is:
d = √((x₂ − x₁)² + (y₂ − y₁)²)
Each variable is a coordinate value in the same unit — feet, meters, miles, or just “units” on a grid. The order of subtraction does not matter because the differences are squared, so (x₂ − x₁)² is the same as (x₁ − x₂)². What does matter is that you subtract x from x and y from y; mixing them up is the single most common error.
Worked Example: Two Points on a Map
Suppose a word problem says a park entrance is at (3, 4) and a fountain is at (9, 12) on a grid where each unit is 10 meters. Find the straight-line distance between them.
- Identify the points: (x₁, y₁) = (3, 4) and (x₂, y₂) = (9, 12).
- Find the differences: x₂ − x₁ = 9 − 3 = 6; y₂ − y₁ = 12 − 4 = 8.
- Square them: 6² = 36; 8² = 64.
- Add: 36 + 64 = 100.
- Take the square root: √100 = 10 grid units.
- Convert to meters: 10 × 10 = 100 meters.
The answer is 100 meters. Notice that the numbers 6, 8, and 10 form a 3-4-5 right triangle scaled by 2 — many textbook problems are built from Pythagorean triples so the square root comes out clean. If your answer is not a whole number, leave it in simplest radical form (for example, √50 = 5√2) unless the problem asks for a decimal.
Common Word-Problem Types
Distance-formula problems show up in a handful of recognizable patterns. Learning to spot them saves time on tests.
- Two points given directly: The simplest type. Plot or read the coordinates and plug them in.
- Points described in words: “A point 4 units right and 3 units up from the origin” means (4, 3). Translate the description into coordinates first.
- Midpoint or endpoint problems: You may be given the midpoint and one endpoint and asked for the distance to the other endpoint. Find the missing endpoint first, then apply the formula.
- Real-world context: Maps, sports fields, screen coordinates, or GPS-style grids. Watch the units — a grid unit might equal 5 feet or 1 kilometer.
- Proof or classification problems: “Show that the triangle with vertices A, B, and C is isosceles.” Compute all three side lengths with the distance formula and compare.
- Distance from a point to a line: A different formula, but often confused with this one. The distance formula here is only for two points.
Step-by-Step Strategy for Any Distance Problem
A repeatable process prevents most errors. Use this order every time:
- Read the problem twice and underline what is given and what is asked.
- Assign labels: decide which point is (x₁, y₁) and which is (x₂, y₂). It does not matter which is which, but stay consistent.
- Write the formula before substituting numbers. This makes partial credit easier and catches setup mistakes.
- Substitute carefully, keeping negative signs inside parentheses.
- Simplify the squares, add, then take the square root.
- Check units and reasonableness: the distance should be at least as large as the larger of the two coordinate differences, and no larger than their sum.
- Round only at the end, and state the unit.
Mistakes That Cost Points
Most wrong answers come from a short list of avoidable slips.
- Subtracting in the wrong order without squaring: (x₂ − x₁) is not the same as (x₁ − x₂), but their squares are. If you forget to square, the sign matters and the answer breaks.
- Mixing x and y: Subtracting an x from a y produces a meaningless number. Keep the pairs straight.
- Dropping negative signs: If a point is at (−3, 2) and another at (4, 2), the horizontal difference is 4 − (−3) = 7, not 1. Parentheses prevent this error.
- Forgetting the square root: The sum of squares is d², not d. Many students stop one step early.
- Ignoring units: A grid unit of 10 meters changes the final answer by a factor of 10. Always convert at the end.
- Rounding too early: Rounding √2 to 1.4 and then multiplying can shift the final answer. Keep exact values until the last step.
Distance Formula vs. Related Formulas
Students often confuse the distance formula with the midpoint and slope formulas because all three use the same two points. The midpoint formula averages the coordinates: ((x₁ + x₂)/2, (y₁ + y₂)/2). The slope formula divides the y-difference by the x-difference: (y₂ − y₁)/(x₂ − x₁). Only the distance formula uses squares and a square root. If a problem asks “how far,” use distance; “halfway,” use midpoint; “steepness” or “rate of change,” use slope.
There is also a 3D version: d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²). The logic is identical — one more squared difference under the radical. Word problems involving drones, 3D modeling, or spatial coordinates sometimes use this extension.
Frequently Asked Questions
Does it matter which point I call (x₁, y₁)? No. Because the differences are squared, swapping the points gives the same result. Pick one and stay consistent.
Can the distance ever be negative? No. Distance is a length, so the square root is always zero or positive. A negative answer means you made an arithmetic mistake.
What if the answer is not a perfect square? Leave it as a simplified radical, such as 2√13, or give a decimal rounded to the requested place. Both are acceptable unless the problem specifies a form.
How is the distance formula related to the Pythagorean theorem? It is the Pythagorean theorem applied to the horizontal and vertical differences between two points. The two differences are the legs; the distance is the hypotenuse.
Can I use the distance formula for points in three dimensions? Yes, by adding a third squared difference for the z-coordinates under the square root.
Why do word problems sometimes give a scale like “1 unit = 5 feet”? To test whether you convert the final grid distance into real-world units. Compute in grid units first, then multiply by the scale factor.