Sub topic 11
The Perpendicular Bisector of a Segment
What the perpendicular bisector means
Assume you can plot points, calculate slopes, find midpoints, and write linear equations.
A segment is the part of a line between two endpoints. The perpendicular bisector of a segment is a line that:
- passes through the segment's midpoint, and
- meets the segment at a right angle.
It also has an important distance property: every point on the perpendicular bisector is the same distance from both endpoints.
For a segment with endpoints \(A\) and \(B\), the perpendicular bisector is the set of points \(P\) such that
\[ PA = PB. \]
This makes the perpendicular bisector useful for locating points that must be equally far from two fixed locations.
Finding its equation
Use this process:
- Find the midpoint of the segment.
- Find the segment's slope.
- Find the perpendicular slope.
- Write the equation of the line through the midpoint with that perpendicular slope.
For endpoints \(A(x1,y1)\) and \(B(x2,y2)\), the midpoint is
\[ M=\left(\frac{x1+x2}{2},\frac{y1+y2}{2}\right). \]
If the segment's slope is \(m\), its perpendicular slope is the negative reciprocal:
\[ m_{\perp}=-\frac{1}{m}. \]
Then use point-slope form:
\[ y-yM=m{\perp}(x-x_M). \]
Worked example
Find the perpendicular bisector of the segment joining \(A(-2,1)\) and \(B(4,5)\).
First find the midpoint:
\[ M=\left(\frac{-2+4}{2},\frac{1+5}{2}\right)=(1,3). \]
The segment's slope is
\[ m=\frac{5-1}{4-(-2)}=\frac{4}{6}=\frac{2}{3}. \]
Therefore, the perpendicular slope is
\[ m_{\perp}=-\frac{3}{2}. \]
The line through \((1,3)\) is
\[ \boxed{y-3=-\frac{3}{2}(x-1)}. \]
In standard form, this is
\[ \boxed{3x+2y-9=0}. \]
The line crosses the original segment at its midpoint and forms a right angle with it.
Special cases
The negative-reciprocal rule does not directly work when a slope is zero or undefined.
| Original segment | Perpendicular bisector |
|---|---|
| Horizontal segment | Vertical line through the midpoint |
| Vertical segment | Horizontal line through the midpoint |
| Nonhorizontal, nonvertical segment | Line with the negative-reciprocal slope |
For example, the segment from \((3,-2)\) to \((3,6)\) is vertical. Its midpoint is \((3,2)\), so its perpendicular bisector is the horizontal line
\[ \boxed{y=2}. \]
The segment from \((-1,4)\) to \((7,4)\) is horizontal. Its midpoint is \((3,4)\), so its perpendicular bisector is
\[ \boxed{x=3}. \]
Why the distance property works
Let \(M\) be the midpoint of segment \(AB\), and let \(P\) lie on the perpendicular bisector. The two right triangles \(PMA\) and \(PMB\) have:
- \(AM=BM\), because \(M\) is the midpoint;
- \(PM\) in common;
- right angles at \(M\).
The triangles are congruent by the hypotenuse-leg theorem. Therefore,
\[ PA=PB. \]
Conversely, any point equally far from \(A\) and \(B\) lies on this perpendicular bisector. This gives a way to construct the line from a distance condition, even when no equation is provided.
Computing the line with Python
This program uses exact fractions and handles vertical segments separately.
from fractions import Fraction
def perpendicular_bisector(a, b):
(x1, y1), (x2, y2) = a, b
midpoint = (
Fraction(x1 + x2, 2),
Fraction(y1 + y2, 2),
)
if x1 == x2:
return {"type": "horizontal", "equation": f"y = {midpoint[1]}"}
segment_slope = Fraction(y2 - y1, x2 - x1)
if segment_slope == 0:
return {"type": "vertical", "equation": f"x = {midpoint[0]}"}
perpendicular_slope = -1 / segment_slope
x_mid, y_mid = midpoint
intercept = y_mid - perpendicular_slope * x_mid
return {
"type": "sloped",
"slope": perpendicular_slope,
"intercept": intercept,
}
print(perpendicular_bisector((-2, 1), (4, 5)))
print(perpendicular_bisector((3, -2), (3, 6)))Exercise
Find the perpendicular bisector of the segment with endpoints A(0, 2) and B(6, -2). Give the equation in point-slope form and explain why every point on it is equally far from A and B.
Show answer
The midpoint is (3, 0). The segment slope is -2/3, so the perpendicular slope is 3/2. The equation is y = (3/2)(x - 3). Every point on this line is equally far from A and B because the line passes through the midpoint and is perpendicular to the segment.