The perpendicular bisector goes through the midpoint.
What is the midpoint of the 2 points?
We simply add up the x points and divide by 2. Then we add up the y points and divide by 2.
So,
Midpoint is:
[tex](\frac{3-9}{2},\frac{-1+5}{2})=(-3,2)[/tex]Also, the perpendicular bisector's slope is the negative reciprocal of the line's slope.
The slope of the line is change in y points divided by change in x points.
Slope =
[tex]\frac{5--1}{-9-3}=\frac{5+1}{-12}=\frac{6}{-12}=-\frac{1}{2}[/tex]The slope (m) of the perpendicular line (negative reciprocal) is basically:
[tex]2[/tex]Equation of line is:
[tex]y-y_1=m(x-x_1)[/tex]m is the slope (what we got "2")
x1 and y1 are the respective point where it passes through (which is the midpoint, which is (-3,2)
So, equation of perpendicular bisector is:
[tex]\begin{gathered} y-y_1=m(x-x_1) \\ y-2=2(x+3) \\ y=2x+6+2 \\ y=2x+8 \end{gathered}[/tex]