Given coordinates of the endpoints of a line segment (5,-9) and (1,3).
In order to find the equation of perpendicular line, we need to find the slope between given coordinates.
Slope between (5,-9) and (1,3) is :
![\mathrm{Slope\:between\:two\:points}:\quad \mathrm{Slope}=\frac{y_2-y_1}{x_2-x_1}](https://tex.z-dn.net/?f=%5Cmathrm%7BSlope%5C%3Abetween%5C%3Atwo%5C%3Apoints%7D%3A%5Cquad%20%5Cmathrm%7BSlope%7D%3D%5Cfrac%7By_2-y_1%7D%7Bx_2-x_1%7D)
![m=\frac{3-\left(-9\right)}{1-5}](https://tex.z-dn.net/?f=m%3D%5Cfrac%7B3-%5Cleft%28-9%5Cright%29%7D%7B1-5%7D)
![m=-3](https://tex.z-dn.net/?f=m%3D-3)
Slope of the perpendicular line is reciprocal and opposite in sign.
Therefore, slope of the perpendicular line = 1/3.
Now, we need to find the midpoint of the given coordinates.
![\mathrm{Midpoint\:of\:}\left(x_1,\:y_1\right),\:\left(x_2,\:y_2\right):\quad \left(\frac{x_2+x_1}{2},\:\:\frac{y_2+y_1}{2}\right)](https://tex.z-dn.net/?f=%5Cmathrm%7BMidpoint%5C%3Aof%5C%3A%7D%5Cleft%28x_1%2C%5C%3Ay_1%5Cright%29%2C%5C%3A%5Cleft%28x_2%2C%5C%3Ay_2%5Cright%29%3A%5Cquad%20%5Cleft%28%5Cfrac%7Bx_2%2Bx_1%7D%7B2%7D%2C%5C%3A%5C%3A%5Cfrac%7By_2%2By_1%7D%7B2%7D%5Cright%29)
![=\left(\frac{1+5}{2},\:\frac{3-9}{2}\right)](https://tex.z-dn.net/?f=%3D%5Cleft%28%5Cfrac%7B1%2B5%7D%7B2%7D%2C%5C%3A%5Cfrac%7B3-9%7D%7B2%7D%5Cright%29)
![=\left(3,\:-3\right)](https://tex.z-dn.net/?f=%3D%5Cleft%283%2C%5C%3A-3%5Cright%29)
Let us apply point-slope form of the linear equation:
y-y1 = m(x-x1)
y - (-3) = 1/3 (x - 3)
y +3 = 1/3 x - 1
Subtracting 3 from both sides, we get
y +3-3 = 1/3 x - 1 -3
<h3>
y = 1/3 x - 4 .</h3>