If the point lies on the line segment joining the points A(3, – 5) and B(– 7, 9) then find the ratio in which P divides AB. Also, find the value of y.

Given: The points P(1/2, y) lies on the line AB.

Then,


1/2 = (m1x2 + m2x1)/ m1 + m2


1/2 = (m1(– 7) + m23)/ m1 + m2


1/2 = (– 7m1 + 3m2)/ m1 + m2


(m1 + m2) = – 14 m1 + 6 m2


15m1 = 5m2


m1: m2 = 3:5


y = (m1y2 + m2y1)/ m1 + m2


y = (3 × 9 + 5x (– 5))/3 + 5


y = (27 – 25)/8


y = 2/8


y = 1/4


28