Given points, P(−1,4) and Q(5,−2)
Slope of PQ=(−2−4)(5+1)=−66=−1
Equation of the line PQ is given by,
y−y1=m(x−x1)
y−4=−1(x+1)
y−4=−x−1
x+y=3
For point A (on x-axis), y=0.
So, putting y=0 in the equation of PQ, we have
x=3
Hence, the co-ordinates of point A are (3,0).
For point B (on y-axis), x=0.
So, putting x=0 in the equation of PQ, we have
y=3
Hence, the co-ordinates of point B are (0,3).
M is the mid-point of AB.
Thus, the co-ordinates of point M are
(3+02,0+32)=(32,32)