coordinate geometry
Distance and Midpoint Formulas
You should know: coordinate plane
Overview
The distance formula computes the straight-line distance between two points in the coordinate plane, and the midpoint formula finds the point exactly halfway between them. Both are direct consequences of the Pythagorean theorem applied to the horizontal and vertical legs of a right triangle formed by the two points and their coordinate differences. Together they underlie nearly every other formula in analytic geometry — circle equations, conic sections, and vector magnitudes all reduce to the distance formula in disguise.
Intuition
Draw the horizontal segment from P₁ to the point (x₂, y₁) and the vertical segment up to P₂: these two legs, of lengths |x₂−x₁| and |y₂−y₁|, together with the segment P₁P₂ itself, form a right triangle. The Pythagorean theorem then says the straight-line distance is the hypotenuse, √((Δx)²+(Δy)²) — the distance formula is nothing more than the Pythagorean theorem written in coordinates. The midpoint formula is just as direct: averaging the x-coordinates finds the horizontal middle, and averaging the y-coordinates finds the vertical middle.
Formal Definition
For two points P₁ = (x₁, y₁) and P₂ = (x₂, y₂) in the coordinate plane:
Worked Examples
Apply the distance formula.
Apply the midpoint formula.
Answer: Distance = 5, Midpoint = (2.5, 4)
Practice Problems
Find the distance between (−3, 2) and (1, −1).
Find the midpoint of the segment joining (−4, 7) and (6, −3).
Two cell towers are located at (0, 0) and (30, 40) (km). A relay station is to be built at the midpoint. Find the relay's coordinates and the distance between the towers.
Quiz
Summary
- Distance formula d = √((x₂−x₁)² + (y₂−y₁)²) comes directly from the Pythagorean theorem.
- Midpoint formula M = ((x₁+x₂)/2, (y₁+y₂)/2) averages the coordinates of the two endpoints.
- These two formulas are the building blocks for circle equations, conic sections, and vector magnitude in the coordinate plane.
Mathematics