Foundations — Distance formula — derivation using Pythagoras
Before we can even read the parent note Distance Formula, we need every single symbol it uses to feel obvious. Below, each idea is built from nothing, anchored to a picture, and shown to be needed. Read top to bottom — each block stands on the one above it.
1. The plane: a flat sheet of numbered space
The picture: think of the floor of a room. Pick one corner as your "start". "How far along the wall" is one number; "how far out from the wall" is a second number. Those two lines along the walls are your axes.
Why the topic needs it: the distance formula measures the gap between two locations. Before we can talk about a location, we need a fixed stage to place it on. That stage is the plane. See Cartesian Coordinate System for the full setup.

2. A coordinate: two numbers that pin a point
The picture: to reach the point , start at the origin, walk 3 steps right, then 2 steps up. You've arrived. The order matters: is not the same spot as — that's why we call it an ordered pair.
Why the topic needs it: the parent note writes points as and . Without the idea that two numbers lock a location, those letters are meaningless.
3. Subscripts: telling two points apart
- = the two coordinates of the first point .
- = the two coordinates of the second point .
The picture: imagine two houses. House 1 has an address ; House 2 has an address . The "1" and "2" are just name tags on the doors.
Why the topic needs it: every difference in the formula, like , relies on knowing which point each coordinate belongs to.
4. Difference of coordinates: horizontal and vertical gaps
The picture: stand at and look at . First measure only sideways movement (ignore up/down) — that's . Then measure only up/down movement — that's .

Why the topic needs it: these two differences become the two legs of the right triangle. They are the raw materials of the whole formula.
5. Sign and absolute value: distance is never negative
The picture: whether you walk 5 steps right or 5 steps left, you walked 5 steps. Direction (the sign) can be negative; length walked cannot.
Why the topic needs it: a horizontal gap might come out negative (if is left of ), but a length must be positive. So the leg length is written . Later, squaring will make this automatic — because a squared number is never negative.
6. Squares and square roots: the two undo-buttons
- , and .
- Crucially, too — squaring destroys the minus sign.
Why the topic needs it: Pythagoras works with squares of lengths, and the distance sits under a square root. Without both undo-buttons, the final formula is unreadable.
7. The right triangle and Pythagoras: the engine
The picture: the horizontal gap and the vertical gap between and meet at a perfect right angle (because the -axis and -axis are perpendicular). The straight line from to closes the triangle — and that closing line is the distance we want.

Why the topic needs it: this is the single fact that turns two coordinate gaps into one distance. Everything else on this page exists to make Pythagoras usable. Deep dive: Pythagoras Theorem.
8. Putting the symbols together
Now every symbol in the parent's formula has a home:
- = the distance = the hypotenuse.
- and = the two legs (differences).
- Squaring = apply Pythagoras and kill sign worries.
- = undo the squaring to get back a length.
Prerequisite map
Each arrow means "you must understand this before the next makes sense". The two feeds into Pythagoras (from differences and from squares) are exactly the two legs and their squares.
Equipment checklist
Test yourself — say the answer out loud before revealing.
What do the two numbers in tell you?
Is the same as ?
What does measure?
Why can a coordinate difference be negative but a length cannot?
What is ?
Does equal ?
State Pythagoras' theorem in words.
Which part of the right triangle becomes the distance ?
Connections
- Distance formula — derivation using Pythagoras — the parent this page prepares you for
- Cartesian Coordinate System — where points and axes are defined
- Pythagoras Theorem — the engine that combines the two legs
- Midpoint Formula — next step, also built on coordinate differences
- Section Formula — divides a segment using these same coordinates
- Equation of Circle — all points at a fixed distance from a centre
- Distance Formula in3D — adds a third coordinate difference