The big idea: To find the straight-line distance between two points, draw an invisible right triangle and use Pythagoras.
The formula wraps this up in one step.
Here (x₁, y₁) and (x₂, y₂) are the two points.
The order does not matter because the differences are squared, so they are always positive.
Worked example — distance in 2D
Find the distance between A(1, 2) and B(5, 5).
Step by step
- Write the general distance formula. The distance d between two points is the square root of the squared horizontal gap plus the squared vertical gap.
- Substitute the question's coordinates A(1, 2) as (x₁, y₁) and B(5, 5) as (x₂, y₂).
- Work out each bracket, then add and take the square root.
Final answer
The distance AB = 5 units.
The exact points from the question: A(1, 2) and B(5, 5) with the right triangle between them — Δx = 4, Δy = 3, so the hypotenuse AB = √(4² + 3²) = 5.
Interactive diagram
Explore the labelled diagram, charts and maps for this topic in full study mode.
Free preview
This is the free notes preview
You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it free for 7 days:
- FlashcardsLock in vocabulary and key terms with spaced repetition.
- Practice questionsAnswer exam-style questions and get instant AI marking.
- Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
- Personalised study planA daily plan built around your exam date and weak areas.
The midpoint: The midpoint of a line segment is exactly halfway between the two endpoints.
You simply average the x-coordinates and average the y-coordinates.
Worked example — midpoint
Find the midpoint of P(2, 8) and Q(6, 2).
Step by step
- Write the general midpoint formula. The midpoint is the average of the two x-coordinates paired with the average of the two y-coordinates.
- Substitute the question's coordinates P(2, 8) and Q(6, 2).
- Evaluate each average.
Final answer
Midpoint M = (4, 5).
IB exam tip: Midpoint questions often appear in Voronoi and perpendicular bisector context.
Always label your midpoint clearly in your working.