Find the ratio in which the point P(1, 2) divides the line joining the points A(-2, 1) and B(7, 4).
By section formula, we have, if (x,y) divides the line segments joining (x1,y1) and (x2,y2) internally in the ratio m:n then,
x = mx2+nx1m+n and y = my2+ny1m+n
Here,
(x1,y1)=(−2,1),
(x2,y2)=(7,4),
(x,y)=(1,2)
⇒1=7m−2nm+n⇒7m−2n=m+n⇒6m=3n⇒mn=36=12
∴ The ratio in which 'P' divides AB is 1 : 2