The line segment joining the points (3,5) and (−4,2) is divided by y-axis in the ratio:
Using the section formula, if a point (x,y) divides the line joining the points (x1,y1) and (x2,y2) in the ratio m:n, then (x,y)=(mx2+nx1m+n,my2+ny1m+n)
Substituting (x1,y1)=(3,5) and (x2,y2)=(−4,2) in the section formula, we get the point
(m(−4)+n(3)m+n,m(2)+n(5)m+n)
Since the point of intersection lies on the y-axis, x-coordinate =0
−4m+3nm+n=0