2.3.2 · D3Coordinate Geometry

Worked examples — Distance formula — derivation using Pythagoras

3,621 words16 min readBack to topic

Before we start, let's earn each symbol so nothing appears "out of the blue." We name our two points and their four numbers first, then write the formula.

Figure — Distance formula — derivation using Pythagoras
Figure 1 — the four quadrants, with each scenario cell (A–I) placed at the point-region it belongs to. Alt-text: a cream-coloured coordinate grid; top-right shows cell A, top-left shows cell C2, bottom-left shows cell C, bottom-right shows cell C4, cell B stretches diagonally across, and cells D, E, F, G, H, I are labelled along the axes and centre.

The scenario matrix

Every distance problem you'll ever meet falls into one of these cells. Each example is tagged with the cell it covers, and Figure 1 shows where each cell sits on the plane — find a cell on that map before reading its example.

Cell What makes it special Example
A. Both points in Quadrant I all coordinates positive — the "easy" case Ex 1
B. Points in different quadrants signs mix, subtracting negatives Ex 2
C. Both in Quadrant III () double negatives everywhere Ex 3
C2. Both in Quadrant II () same-sign 's, mixed traps Ex 3b
C4. Both in Quadrant IV () same-sign 's, negative 's Ex 3c
D. Purely horizontal / vertical one gap is zero, triangle collapses Ex 4
E. Degenerate: same point distance is exactly Ex 5
F. Irrational answer can't simplify to a whole number Ex 6
G. Word problem (real world) translate words → coordinates → distance Ex 7
H. Exam twist: unknown coordinate distance is given, solve backwards Ex 8
I. Exam twist: prove a shape use distance to test equal sides Ex 9

The worked examples


Wrap-up: the filled matrix as a picture

Instead of re-reading the table, look at the recap figure below: every cell (A–I plus the two extra same-quadrant cases) is shown with its answer pinned to its map location, so you can see at a glance which region of the plane each trap lives in.

Figure — Distance formula — derivation using Pythagoras
Figure 6 — the completed scenario matrix as a visual recap: each example's short answer placed on the quadrant map. Alt-text: a coordinate grid with labelled tags showing d=5 (Q I), d=10 (across quadrants), d=√34 (Q III), d=√41 (Q II), d=10 (Q IV), d=7 (horizontal/vertical lines), d=0 (same point), and the reverse-problem x=5 or −3.

Recall Self-test: which example killed which trap?

Same-quadrant positive (Q I) ::: Example 1 — plain 3-4-5 Mixed quadrants, subtracting a negative ::: Example 2 — 8-6-10 Both in Q III () ::: Example 3 — Both in Q II () ::: Example 3b — Both in Q IV () ::: Example 3c — One gap zero (horizontal/vertical line) ::: Example 4 — Same point, distance ::: Example 5 Irrational answer ::: Example 6 — Word problem with units ::: Example 7 — km Given distance, solve for a coordinate (two answers) ::: Example 8 — or Prove a right angle using three distances ::: Example 9

Connections