For any P(x₁, y₁) and Q(x₂, y₂), draw PR and QS down to the x-axis and PT across to QS. In right triangle PTQ:
- PT = RS = x₂ − x₁
- QT = QS − TS = y₂ − y₁
By Pythagoras:
📌
PQ = √[(x₂ − x₁)² + (y₂ − y₁)²]
This is the distance formula. A distance can't be negative, so we take only the positive square root.
Remarks:
- The distance of P(x, y) from the origin is OP = √(x² + y²).
- The order doesn't matter: (x₁ − x₂)² = (x₂ − x₁)², so you can subtract either way round.
✏️
Example: (2, 3) and (4, 1): √(2² + (−2)²) = √8 = 2√2. And (a, b) to (−a, −b): √(4a² + 4b²) = 2√(a² + b²).
Tap the diagram to enlarge it
📌 Remember these
- Square the gaps
- Add, then square root
- Origin: √(x² + y²)