The same old triangle, just moved
In circular equations, you already met a useful idea: the distance from the origin to a point can be found with Pythagoras.
For example, the point is units across and units up from the origin. Those two movements form the short sides of a right-angled triangle.
Distance from the origin
Now here is the small leap. The triangle does not need to start at the origin. If we want the distance between two points, we can still make a right-angled triangle. We just need to find the horizontal gap and the vertical gap between the points.
Take and . To get from to , we move units across and units up.
How do we know this? we take the difference between the two components and the difference between the two components.
The distance is the hypotenuse
The distance formula
That is the whole idea. The distance formula is not a new piece of magic. It is just a tidy way of doing that same calculation when the points are written generally.
Here we have the formal definition:
Distance formula
The first bracket finds the horizontal gap. The second bracket finds the vertical gap. Squaring them means the order does not matter, but keeping the pairs together does matter.
Let us use a pair with a negative coordinate, because this is where small sign mistakes tend to appear.
Example: watch the brackets
Find the distance between and .
In Methods-style work, exact answers are often preferred. If the square root does not simplify nicely, leave it exact unless the question asks for a decimal.
Common mistakes
- Mixing an x-coordinate with a y-coordinate.
- Dropping brackets around negative numbers.
- Rounding too early when an exact surd answer is cleaner.
- Forgetting to square both gaps before adding them.