solve the question asked above
Answers
Let AB be the line joining points A(1,2) and (5,-6).
Hence the midpoint of the line AB is:
= > (x1 + x2/2, y1 + y2/2)
= > (1 + 5/2, 2 - 6/2)
= > (3, -2).
---------------------------------------------------------------------------------------------------------------
Now,
The slope of the line is:
= > m1 = (y2 - y1)/(x2 - x1)
= > m1 = (-6 - 2)/(5 - 1)
= > m1 = (-8)/(4)
= > m1 = -2.
----------------------------------------------------------------------------------------------------------------
The slope of the perpendicular is:
= > m2 = -1/slope of the line
= > m2 = -1/-2
= > m2 = 1/2.
-----------------------------------------------------------------------------------------------------------------
Now,
The equation of the line passing through (3,-2) and slope (1/2) is:
= > (y + 2) = (1/2)(x - 3)
= > 2(y + 2) = (x - 3)
= > 2y + 4 = x - 3
= > 2y + 4 - x + 3 = 0
= > x - 2y - 7 = 0.
Hope this helps!