Step by step
The question
Question: find the perpendicular bisector of A(2, 3) and B(6, 1).
The perpendicular bisector cuts A B in half, at a right angle.
So it goes through the middle of A B.
1 Find the midpoint
The midpoint is the average of the x's and the average of the y's: (4, 2).
2 Slope of AB
The top is the change in y: second y minus first y.
The bottom is the change in x: second x minus first x.
That is −2/4, so −1/2.
3 Perpendicular slope
Perpendicular slopes: flip the fraction and change the sign.
−1/2 becomes 2.
Check: −1/2 times 2 is negative 1, as for every perpendicular pair.
Careful!
The slope of A B itself would give a line along A B, not across it.
We need the perpendicular slope.
4 Write the equation
The line is y = m x + b with m = 2.
It goes through M: put x = 4 and y = 2 in.
2 times 4 is 8.
To get b alone, take away 8 on both sides: b = −6.
So the perpendicular bisector is y = 2x − 6.
5 Draw it
Let's draw it on the grid.
A and B, and the segment between them.
M in the middle.
The bisector goes through M, across A B.
It meets A B at a right angle.
6 Check
Let's check with another point on the line, (5, 4).
Its distance squared to A and to B is the same: 10.
Every point on the bisector is as far from A as from B.
So it is right!
Let's look back.
First: find the midpoint.
Then: slope of AB.
Then: perpendicular slope.
Then: write the equation.
Then: draw it.
Last: check.