Distance formula: d(A, B) = √[(x₂ − x₁)² + (y₂ − y₁)²]. The distance of P(x, y) from the origin is √(x² + y²).
Using the distance formula
- Name the points (x₁, y₁) and (x₂, y₂); either order works.
- Find the differences x₂ − x₁ and y₂ − y₁, keeping signs inside brackets.
- Square and add Squares are never negative.
- Take the square root Simplify the surd if needed.
| Slip | Correct way |
|---|---|
| Subtracting a negative: 4 − (−2) = 2 | 4 − (−2) = 6 |
| Squaring −5 as −25 | (−5)² = 25 |
| Adding under the root before squaring | Square each difference first, then add |
| Writing √(36 + 64) = 6 + 8 | √100 = 10 |
Key takeaways: for points on a line parallel to an axis, subtract the co-ordinates that change. In general, d = √[(x₂ − x₁)² + (y₂ − y₁)²], which is the Pythagoras theorem applied to the horizontal and vertical gaps. Watch the signs of negative co-ordinates.