Distance and Midpoints
We carry the measuring tools of the number line into the coordinate plane. Two questions about any pair of points — where is the middle, and how far apart are they — are answered by the Midpoint Formula and the Distance Formula, the latter just the Pythagorean Theorem in disguise.
§1 From the Number Line to the Plane
In Topic 1.2 we measured segments along a single number line. Now every point carries two coordinates $(x, y)$, and two natural questions arise the moment you have two points:
- Where is the middle? → the Midpoint Formula.
- How far apart are they? → the Distance Formula.
The Distance Formula is not a new idea — it is the Pythagorean Theorem $a^2 + b^2 = c^2$ applied to the horizontal and vertical legs between two points. If you can build a right triangle, you can find the distance.
§2 Midpoint on a Number Line
On a number line, the midpoint of a segment is the point exactly halfway between the endpoints — equidistant from both. Its coordinate is simply the average of the two endpoint coordinates.
If $A$ has coordinate $a$ and $B$ has coordinate $b$, the midpoint $M$ has coordinate $M = \dfrac{a + b}{2}$.
For instance, if $A$ is at $2$ and $B$ is at $8$, then $M = \dfrac{2+8}{2} = 5$, which sits $3$ units from each end.
§3 Midpoint in the Coordinate Plane
In the plane we average each coordinate separately — the $x$'s together and the $y$'s together. This is just the number-line rule applied to each axis at once.
The midpoint of the segment from $(x_1, y_1)$ to $(x_2, y_2)$ is $M = \left(\dfrac{x_1 + x_2}{2},\ \dfrac{y_1 + y_2}{2}\right)$.
Why it works: the midpoint's $x$-coordinate is halfway between $x_1$ and $x_2$, and its $y$-coordinate is halfway between $y_1$ and $y_2$. For example, $A(-2, 1)$ and $B(4, 7)$ give $M = \left(\dfrac{-2+4}{2}, \dfrac{1+7}{2}\right) = (1, 4)$.
§4 Segment Bisectors
A segment bisector is any figure — a point, line, ray, or plane — that passes through the midpoint of a segment, splitting it into two congruent parts.
- A point bisector is just the midpoint itself.
- A line bisector, and especially a perpendicular bisector, crosses the segment at its midpoint — the perpendicular bisector does so at a right angle.
If $M$ is the midpoint of $\overline{AB}$, then $\overline{AM} \cong \overline{MB}$, which means $AM = MB = \tfrac{1}{2}AB$. The midpoint cuts the length exactly in half.
§5 Deriving the Distance Formula
To find the distance between $P(x_1, y_1)$ and $Q(x_2, y_2)$, drop a horizontal and a vertical leg to form a right triangle whose hypotenuse is the segment $\overline{PQ}$.
- Horizontal leg: $|x_2 - x_1|$ — the difference in $x$-coordinates.
- Vertical leg: $|y_2 - y_1|$ — the difference in $y$-coordinates.
- Hypotenuse: $d = PQ$ — the distance we want.
By the Pythagorean Theorem, $d^2 = (x_2 - x_1)^2 + (y_2 - y_1)^2$, so $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$.
§6 Using the Distance Formula
The Distance Formula, $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$, has a few reliable habits attached to it.
- It does not matter which point you call $(x_1, y_1)$ — squaring erases any sign difference.
- Always square first, add, then take the square root — never split the root across the sum.
- Leave non-perfect answers in simplified radical form (e.g. $\sqrt{50} = 5\sqrt{2}$) unless a decimal is requested.
$\sqrt{a^2 + b^2}$ is not $a + b$. The square root does not distribute over addition, so $\sqrt{16 + 9} = \sqrt{25} = 5$, never $4 + 3 = 7$. For horizontal or vertical segments one squared term is zero and the formula collapses to the simpler $|x_2 - x_1|$ or $|y_2 - y_1|$ — a handy sanity check.
§7 Don't Confuse These
| Idea | Correct meaning | Common trap |
|---|---|---|
| Midpoint | Average the coordinates: add and divide by 2. | Subtracting the coordinates instead of averaging them. |
| Distance | Subtract, square, add, then root. | Averaging the coordinates by mistake. |
| $\sqrt{a^2+b^2}$ | Combine under the root, then take the root once. | Writing it as $a + b$ — the root doesn't distribute. |
| Order of points | Irrelevant for distance (squaring) and midpoint (averaging). | Believing the answer changes if you swap the points. |
| Bisector | Passes through the midpoint, giving $AM = MB$. | Assuming any line near the middle bisects the segment. |
| $AM = MB$ | Each equals $\tfrac12 AB$ when $M$ is the midpoint. | Forgetting each half is only half the whole length. |
§8 Worked Examples
For each, decide whether you need to average (midpoint) or subtract-square-root (distance) before you start computing.
Midpoint, plane
Find the midpoint of $A(-3, 4)$ and $B(5, -2)$.
Answer: $M = \left(\dfrac{-3+5}{2}, \dfrac{4+(-2)}{2}\right) = (1, 1)$.
Distance, plane
Find $AB$ for $A(-3, 4)$, $B(5, -2)$.
Answer: $\sqrt{(5+3)^2 + (-2-4)^2} = \sqrt{64+36} = \sqrt{100} = 10$.
Midpoint on a line
$A$ at $-4$, $C$ at $8$. Find the midpoint coordinate.
Answer: $M = \dfrac{-4+8}{2} = 2$.
Radical answer
Distance from $(0,0)$ to $(5,5)$.
Answer: $\sqrt{25+25} = \sqrt{50} = 5\sqrt{2}$.
Find an endpoint
$M(3, 5)$ is the midpoint of $\overline{AB}$ with $A(1, 2)$. Find $B$.
Answer: $B = (2\cdot3 - 1,\ 2\cdot5 - 2) = (5, 8)$.
Verify a midpoint
Show $M(1,1)$ is the midpoint of $A(-3,4)$, $B(5,-2)$.
Answer: $AM = \sqrt{16+9}=5$, $MB = \sqrt{16+9}=5$; equal, so $M$ is the midpoint.
§9 Self-Check
Decide first: average or subtract-square-root? Then compute and leave radicals simplified.
- Find the midpoint of $P(2, -1)$ and $Q(8, 5)$.
- Find the distance between $P(2, -1)$ and $Q(8, 5)$ (simplify any radical).
- On a number line, find the midpoint of points at $-7$ and $3$.
- $M(4, -2)$ is the midpoint of $\overline{CD}$ and $C(1, 3)$. Find the coordinates of $D$.
- Explain why $\sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}$ cannot be simplified to $(x_2-x_1)+(y_2-y_1)$.
- What does it mean for a line to be the perpendicular bisector of a segment?
Show Answers
- $M = \left(\dfrac{2+8}{2}, \dfrac{-1+5}{2}\right) = (5, 2)$.
- $d = \sqrt{(8-2)^2 + (5+1)^2} = \sqrt{36+36} = \sqrt{72} = 6\sqrt{2}$.
- $M = \dfrac{-7+3}{2} = -2$.
- $D = (2\cdot4 - 1,\ 2\cdot(-2) - 3) = (7, -7)$.
- The square root does not distribute over addition; the terms must be squared and summed first, then a single root taken. $\sqrt{16+9}=5$, not $4+3=7$.
- It passes through the segment's midpoint and meets the segment at a right angle, so it splits the segment into two congruent halves at $90°$.