Before we begin: Point A is at $(2, 3)$ and Point B is at $(6, 8)$ on a coordinate plane. Without using a formula, can you estimate how far apart they are? What about the point exactly halfway between them?
Come back to this after you have worked through the lesson.
Coordinate geometry bridges algebra and geometry on the Cartesian plane. The distance formula measures how far apart two points are, using Pythagoras' theorem in disguise. The midpoint formula finds the exact centre point between two locations by simply averaging their coordinates. These two formulas are essential tools for navigation, mapping, and computer graphics.
- Apply the distance formula $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$ correctly.
- Apply the midpoint formula $M = \left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right)$ correctly.
- Use these formulas in real-world contexts involving maps and navigation.
Wrong: Forgetting to square both differences in the distance formula. $d = \sqrt{(x_2 - x_1) + (y_2 - y_1)}$.
Right: Square both differences before adding: $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$.
Wrong: Adding the coordinates for the midpoint instead of averaging. $M = (x_1 + x_2, y_1 + y_2)$.
Right: Divide by 2: $M = \left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right)$.
The distance between two points $A(x_1, y_1)$ and $B(x_2, y_2)$ on a coordinate plane can be found using a direct application of Pythagoras' theorem. The horizontal distance is $|x_2 - x_1|$ and the vertical distance is $|y_2 - y_1|$. These form the two shorter sides of a right-angled triangle, with the interval $AB$ as the hypotenuse.
$d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$
The midpoint of an interval is simply the average of the x-coordinates and the average of the y-coordinates. For points $A(x_1, y_1)$ and $B(x_2, y_2)$, the midpoint $M$ is exactly halfway between the two points in both the horizontal and vertical directions.
$M = \left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right)$
If you know the midpoint and one endpoint, you can work backwards to find the other endpoint. Rearrange the midpoint formula: if $M = \left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right)$, then $x_2 = 2x_M - x_1$ and $y_2 = 2y_M - y_1$.
$x_2 = 2x_M - x_1$. $y_2 = 2y_M - y_1$.
Coordinate geometry powers GPS navigation, computer graphics, and mapping systems. Every time your phone calculates the distance to a destination or a game renders a 3D scene, it uses these same formulas extended into three dimensions. Surveyors use coordinate geometry to measure land boundaries. Pilots use it for flight path calculations.
GPS navigation. Computer graphics. Surveying.
Identify: $x_1 = 3$, $y_1 = -2$, $x_2 = 7$, $y_2 = 4$.
Substitute into distance formula: $d = \sqrt{(7 - 3)^2 + (4 - (-2))^2}$
$d = \sqrt{4^2 + 6^2} = \sqrt{16 + 36} = \sqrt{52} = 2\sqrt{13} \approx 7.21$
Method: $M = \left(\dfrac{-4 + 8}{2}, \dfrac{6 + (-2)}{2}\right)$
$M = \left(\dfrac{4}{2}, \dfrac{4}{2}\right) =$ $(2, 2)$
Check: Distance $PM = \sqrt{(2-(-4))^2 + (2-6)^2} = \sqrt{36+16} = \sqrt{52}$. Distance $MQ = \sqrt{(8-2)^2 + (-2-2)^2} = \sqrt{36+16} = \sqrt{52}$. Equal, confirmed!
Strategy: Use the midpoint formula backwards. $x_2 = 2x_M - x_1$ and $y_2 = 2y_M - y_1$.
$x_B = 2(5) - 2 =$ $8$
$y_B = 2(-1) - 3 =$ $-5$
Check: Midpoint of $(2, 3)$ and $(8, -5)$ is $\left(\dfrac{10}{2}, \dfrac{-2}{2}\right) = (5, -1)$ ✓
Brain Trainer
4 quick-fire drills. Beat the clock.
5 MCQs and 3 short-answer questions. Target: 80% accuracy.
Your answer:
Distance: $d = \sqrt{(3-(-5))^2 + (-4-2)^2} = \sqrt{8^2 + (-6)^2} = \sqrt{64 + 36} = \sqrt{100} =$ 10 units
Midpoint: $M = \left(\dfrac{-5+3}{2}, \dfrac{2+(-4)}{2}\right) = \left(\dfrac{-2}{2}, \dfrac{-2}{2}\right) =$ $(-1, -1)$
Your answer:
(a) $PQ = \sqrt{(8-2)^2 + (5-5)^2} = \sqrt{36 + 0} = \sqrt{36} = 6$ ✓
(b) $PR = \sqrt{(5-2)^2 + (9-5)^2} = \sqrt{9 + 16} = \sqrt{25} = 5$
$QR = \sqrt{(5-8)^2 + (9-5)^2} = \sqrt{9 + 16} = \sqrt{25} = 5$
(c) Isosceles triangle because $PR = QR = 5$ (two equal sides).
Your answer:
(a) $CL = \sqrt{(7-1)^2 + (10-2)^2} = \sqrt{36 + 64} = \sqrt{100} =$ 10.0 km
(b) Midpoint $= \left(\dfrac{1+7}{2}, \dfrac{2+10}{2}\right) =$ $(4, 6)$
(c) $LW = \sqrt{(11-7)^2 + (4-10)^2} = \sqrt{16 + 36} = \sqrt{52} \approx 7.2$ km
Total distance $= 10 + 7.2 =$ 17.2 km
Consolidate and reflect before moving on.
Prove that the triangle with vertices $A(1, 2)$, $B(5, 8)$ and $C(9, 2)$ is isosceles. Then find the exact length of the line of symmetry from the apex to the base. (Hint: find which two sides are equal, then find the midpoint of the base.)
Distance formula: $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$. Midpoint formula: $M = \left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right)$. Both come from basic geometric principles.
Forgetting to square both differences in the distance formula, or forgetting to divide by 2 in the midpoint formula. Label your points before substituting.
The distance formula is Pythagoras' theorem in coordinate form. The midpoint formula is averaging in two dimensions. Both extend naturally into 3D space.
Find the distance and midpoint for $(-3, 5)$ and $(4, -1)$. Time yourself, can you do both in under 60 seconds?
Printable Worksheets
Print or save as PDF, or build a custom worksheet from any module's questions.