Exercises — Distance formula in 3D
Before we start, one picture to keep in your mind for every problem — the little box (cuboid) whose body-diagonal is the distance:

The three edges are the three coordinate gaps; the amber body-diagonal is the answer.
Level 1 — Recognition
(Can you spot the formula and feed numbers into it?)
Recall Solution — L1·Q1
WHAT we do: subtract matching coordinates to get the three box edges. WHY: these gaps are exactly the edges of the box whose body-diagonal is (see the figure above). Now apply the formula: Answer: units.
Recall Solution — L1·Q2
When one point is the origin, every "" etc. is just the point's own coordinate, because subtracting changes nothing. Answer: units. (Notice squared becomes — sign disappears.)
Level 2 — Application
(Now the numbers hide behind an unknown or a comparison.)
Recall Solution — L2·Q1
WHAT we do: write the squared distance so the outer root disappears, then solve for . WHY two answers: a square equal to has two roots — the point can sit on either side of along the -direction and still be the same distance away. Answer: .
Recall Solution — L2·Q2
WHAT "equidistant" means: . Squaring both sides removes the roots and keeps the equation clean. Set them equal: Expand the squares: and . The cancels (good — that always happens for equidistant problems, leaving a linear equation): Answer: .
Level 3 — Analysis
(Now distances have to agree with a geometric claim — you must interpret, not just compute.)
Recall Solution — L3·Q1
The test: three points are collinear iff the largest pairwise distance equals the sum of the other two — because a straight path has no shortcut through space, while a bent path (a triangle) is always shorter along the direct route than around two sides. Check: ✓ Since the two shorter distances sum to the longest, the points are collinear, and because , point lies between and .
Recall Solution — L3·Q2
WHAT we do: compute the three squared sides, then test Pythagoras. We use squared lengths because Pythagoras compares values — taking roots would only add avoidable work. Test: the two smallest squares are and ; their sum is . The right angle sits at the vertex common to and , namely . Also , so it is a right-angled isosceles triangle.

Level 4 — Synthesis
(Combine the distance formula with another tool — section formula, spheres, midpoints.)
Recall Solution — L4·Q1
Set-up: any point on the -axis has the form — its and are forced to . Only is unknown. Condition , squared: Setting equal and cancelling the common : Expand: . The cancels: Answer: the point is .
Recall Solution — L4·Q2
Centre = midpoint of the diameter. The midpoint is the average of matching coordinates (the section formula with ratio ): Radius = half the diameter length. First the full diameter: So the radius is . Answer: centre , radius . (Sanity check: distance from to is ✓.)
Level 5 — Mastery
(Full multi-step reasoning — set up, solve, interpret, cover every case.)
Recall Solution — L5·Q1
Condition , squared (squaring is safe: both distances are non-negative, so ): The term is identical on both sides — it cancels immediately. Expand the rest: The and cancel (always, in an equidistance locus — that is why the surface is flat, not curved): Answer: , a plane. Geometrically it is the perpendicular bisector plane of segment — every point on it is exactly as far from as from . (Check the midpoint : it satisfies ✓.)
Recall Solution — L5·Q2
(a) "Distance from a fixed point is constant" is the definition of a sphere. Squaring the distance : This is a sphere centred at with radius . (b) Compare the actual distance with the radius : Since radius, the point lies exactly on the sphere. (If it would be inside; if , outside — we tested all three cases and landed on the boundary.)
Recall Solution — L5·Q3
Compute all three side-lengths: Isosceles test: we need two equal sides. Compare the squared lengths: , , — all different, so with these coordinates the triangle is scalene, not isosceles. What to do: trust the computation over the claim. The distances are unequal, so the stated "isosceles" is false; the triangle is scalene with perimeter Lesson: a distance calculation is a proof. When numbers contradict a claim, the numbers win — always double-check the claim itself, never bend the arithmetic to fit it.
Recall
Recall Which test proves
collinearity, and which proves a right angle? Collinearity: the three lengths add — . Right angle: the three squared lengths obey Pythagoras — .
Collinear points with between:
Centre of a sphere given diameter endpoints ?
Radius of that sphere in terms of ?
The locus equidistant from two points and is a
To decide if is inside/on/outside a sphere centred radius , compare
Connections
- Distance formula in 3D — the parent formula every exercise here applies.
- Section formula in 3D — midpoints and centres (L4·Q2).
- Equation of a sphere — constant-distance locus (L5·Q2).
- Vectors and magnitude — distance as .
- Distance formula in 2D — the flat special case.
- Coordinate axes and octants in 3D — points on axes (L4·Q1).
- Direction cosines and direction ratios — same coordinate differences reused.