# Equation of Right Bisector of a Line

Let $A\left( {{x_1},{y_1}} \right)$ and $B\left( {{x_2},{y_2}} \right)$ be the ends of a segment, then the slope ${m_1}$ of the line joining $A$ and $B$ is

The midpoint of the segment $AB$ can be finding as

The slope $m$ of any perpendicular to the segment $AB$ is

Equation of perpendicular bisector of the segment$AB$, being the equation of line through $C$ and perpendicular to $AB$ using slope-point form is

Example: Find the equation of perpendicular bisector of $A\left( {1,2} \right)$ and $B\left( {5, - 1} \right)$.
Equation of perpendicular bisector of $AB$ is

Putting all these values in the equation we have