Determine the ratio in which the graph of the equation 3x+y=9 divides the line segment joining the points A(2,7) and B(1,3).
Let P(x,y) be the point which lies on the line representing 3x+y=9 and dividing AB in the ratio k:1
We know that, ia point P(x,y) divides a line segment passing through the points A(x1,y1) and B(x2,y2) in the ratio m:n then,
P(x,y)=(mx2+nx1m+n,my2+ny1m+n)
⇒P(x,y)=k×1+1×2k+1,k×3+1×7k+1
Lets compare the corresponding coordinates,
⇒x=k×1+1×2k+1 = k+2k+1
y=k×3+1×7k+1 = 3k+7k+1
Thus point P is (k+2k+1,3k+7k+1)
As P lies on 3x+y=9,
So, 3(k+2k+1)+(3k+7k+1)=9
⇒3k+6+3k+7=9k+9
⇒3k=4
⇒k=43
Thus, the required ratio is 4:3.