By two point form,
Equation of line :
⇒ y - y1 = x2−x1y2−y1(x - x1)
Equation of AB :
⇒y−9=4−(−3)2−9[x−(−3)]⇒y−9=4+3−7[x+3]⇒y−9=7−7[x+3]⇒y−9=−1[x+3]⇒y−9=−x−3⇒y+x=−3+9⇒x+y=6.
Solving equation y = 2 + 3x and x + y = 6 simultaneously,
⇒ x + y = 6 .......(1)
⇒ y = 2 + 3x .......(2)
Substituting value of y from equation (2) in (1), we get :
⇒ x + (2 + 3x) = 6
⇒ 4x + 2 = 6
⇒ 4x = 6 - 2
⇒ 4x = 4
⇒ x = 44
⇒ x = 1.
Substituting value of x in equation (2), we get :
⇒ y = 2 + 3(1) = 2 + 3 = 5.
Let (1, 5) divide the line AB in the ratio k : 1.
By section formula,
(x, y) = (m1+m2m1x2+m2x1,m1+m2m1y2+m2y1)
Substituting values we get :
⇒(1,5)=(k+1k×4+1×−3,k+1k×2+1×9)⇒(1,5)=(k+14k−3,k+12k+9)⇒1=k+14k−3 or 5=k+12k+9⇒1(k+1)=4k−3 or 5(k+1)=2k+9⇒k+1=4k−3 or 5k+5=2k+9⇒4k−k=1+3 or 5k−2k=9−5⇒3k=4 or 3k=4⇒k=34⇒k:1=34:1=4:3.
Hence, the line y = 2 + 3x divides the line segment AB in the ratio 4 : 3.