Find the equation of the perpendicular bisector of A(1, 3) and B(7, −1).
- Midpoint = ((1 + 7)/2, (3 + (−1))/2) = (4, 1).
- Gradient of AB = (−1 − 3)/(7 − 1) = −4/6 = −2/3, so the perpendicular gradient is 3/2.
- y − 1 = (3/2)(x − 4), so y = 1.5x − 6 + 1 = 1.5x − 5.
- Check with (6, 4): distance2 to A = 25 + 1 = 26 and to B = 1 + 25 = 26, so it is equidistant.
Answer: y = 1.5x − 5 (or 3x − 2y = 10)