The ratio in which the line x+y=4 divides the line joining the points (−1,1) and (5,7) is
The given points are (−1,1) and (5,7).
Hence equation of the line joining the above points is
y−17−1=x−(−1)5−(−1)
y−16=x+16
y−1=x+1
x−y+2=0−−−−−−−−−(1)
Equation of the given line is
x+y−4=0−−−−−−−−−(2)
The point of intersection of the lines (1) and (2) is
x−y=−2
x+y=4
2x=2
x=1,y=3
Let the point (1,3) divide the line segment joining (−1,1) and (5,7) in the ratio 1:k
By applying the section formula,
1=k(−1)+1(5)k+1
⇒k+1=−k+5
⇒2k=4
k=2
Hence the line joining the points(−1,1)and (5,7)is divided by line
x+y=4 in the ratio 1:2