Perpendicular bisector

Find the perpendicular bisector of the segment ABAB with A(1,0)A(-1, 0) and B(3,2)B(3, 2)1.

From the midpoint and the slope

StepResult
Midpoint MM(1,1)(1, 1)
Slope of ABAB12\dfrac{1}{2}
Perpendicular slope2-2

Passing through M(1,1)M(1, 1), the line is y1=2(x1)y - 1 = -2(x - 1), that is y=2x+3y = -2x + 3.

From the equidistance condition

What the line really is, though, is the set of points equidistant from AA and BB, and that description can produce the equation on its own. If (x,y)(x, y) is equidistant from AA and BB, then the following holds.

(x+1)2+y2=(x3)2+(y2)2\sqrt{(x + 1)^2 + y^2} = \sqrt{(x - 3)^2 + (y - 2)^2}

Squaring both sides and expanding, the x2x^2 and y2y^2 terms cancel and only a linear equation survives.

2x+1=6x+134yy=2x+3\begin{align*} 2x + 1 &= -6x + 13 - 4y \\ y &= -2x + 3 \end{align*}

This is exactly the line found from the midpoint and the perpendicular slope. It is because the squared terms cancel that a condition about distances turns out to describe a straight line.

Checking at the midpoint

From M(1,1)M(1, 1) the distance to A(1,0)A(-1, 0) is 22+12=5\sqrt{2^2 + 1^2} = \sqrt{5}, and to B(3,2)B(3, 2) it is 22+12=5\sqrt{2^2 + 1^2} = \sqrt{5} as well. The midpoint is the one point of the bisector that lies on the segment itself.

Applications

Reading the line as a set of equidistant points opens the door to its applications.

  • The three perpendicular bisectors of a triangle meet at the circumcenter
  • The boundary between two nearest-shop territories on a map, that is a Voronoi diagram2
  • Constructing the center of a circle through three given points

The circumcenter works precisely because that point is equidistant from all three vertices.

Changing the ratio

Ask instead for the points whose distances to AA and BB stand in the ratio 2:12 : 1 rather than 1:11 : 1, and the locus is not a line at all but a circle, the circle of Apollonius3.

Ratio of distancesLocus
1:11 : 1a straight line
any other ratioa circle

The squared terms cancel, leaving a straight line, only in the equidistant case.

The large dots mark AA, BB and the midpoint MM.

  1. Bisection, Wikipedia
  2. Voronoi diagram, Wikipedia
  3. Circles of Apollonius, Wikipedia