The co-ordinates of the point Q(x,y) which divides the line segment joining A(−2,1) and B(1,4) in the ratio 2:1 are
Using the section formula, if a point (x,y) divides the line joining the points (x1,y1) and (x2,y2) internally in the ratio m:n, then (x,y)=(mx2+nx1m+n,my2+ny1m+n)
Substituting (x1,y1)=(−2,1) and (x2,y2)=(1,4) and m=2,n=1 in the section formula, we get the
point as
Q=(2(1)+1(−2)2+1,2(4)+1(1)2+1) =(2+(−2)3,8+13) =(0,3)