Distance and midpoint formulas connect algebraic coordinates to geometric facts. They can find lengths, recover unknown points, and prove properties of shapes. The central distinction is that distance uses differences while midpoint uses averages.
Derive distance from a right triangle
For endpoints and horizontal and vertical displacements are and Their squares add to the square of the straight-line distance:
Take the nonnegative square root when a length is requested. If you only need to compare lengths, comparing squared distances avoids unnecessary radicals.
For and the changes are 6 and 8, so and Adding 6 and 8 would measure an axis-parallel route rather than the direct segment.
Example: solve an unknown-coordinate condition
A point P on the x-axis is equally distant from and Write because the axis condition fixes its y-coordinate.
Equal squared distances give
Expanding and canceling yields so and The point is Substituting gives the same squared distance, 16.25, to each endpoint.
Squaring here introduces no sign ambiguity because both distances are nonnegative. Starting with squared-distance expressions also avoids manipulating two square roots.
Midpoints and missing endpoints
The midpoint is If one endpoint A and midpoint M are known, the other endpoint is applied coordinate by coordinate.
For and the other endpoint is Check: and The vector from A to M equals the vector from M to B.
This relationship is useful for parallelograms because their diagonals bisect one another. Opposite vertices have the same midpoint, so their coordinate sums match.
Example: complete a parallelogram
Consecutive vertices are and If D completes ABCD in that order, diagonals AC and BD share a midpoint. Thus giving
The side vectors also confirm the result: AB and DC both move 4 right and 1 up; BC and AD both move 2 right and 4 up. The order “consecutive” matters. Without knowing which vertices are opposite, three given points can lead to several different parallelograms.
Use enough evidence to classify a figure
To prove a triangle is right, compute its three squared side lengths and check whether the largest equals the sum of the other two. To prove a rectangle, show right angles and the appropriate parallel sides or equivalent diagonal conditions.
Equal diagonals alone do not prove a quadrilateral is a rectangle. Equal sides alone do not prove a square. Combine coordinate calculations with the actual geometric definition, rather than relying on how the sketch looks.
When axes have unequal visual scales, a coordinate right triangle may look distorted. Numerical distances refer to the coordinate units, not pixel lengths on the screen.
Try it yourself
One endpoint of a segment is and its midpoint is Find the other endpoint and the segment's length.
Answer: The other endpoint is The changes are and 14, so the length is
What to remember
Use squared distances for comparison and equidistance, averages for midpoint, and matching midpoint or vector conditions for parallelograms. Every geometric conclusion needs all its required conditions.