Question
Question: The ratio in which the line \[x + y = 4\] divides the line joining the points \[\left( { - 1,1} \rig...
The ratio in which the line x+y=4 divides the line joining the points (−1,1) and (5,7) is
A.1:2
B.2:1
C.3:2
D.3:1
Solution
The equation of a straight line passing through two points (x1,y1) and (x2,y2) is y2−y1y−y1=x2−x1x−x1.
If the point (x,y) divides the line segment joining the points (x1,y1) and (x2,y2) in ratio 1:k, then x=1+k1.x2+k.x1 and y=1+k1.y2+k.y1.
Complete step-by-step answer:
Here, the given points are (−1,1) and (5,7). Therefore, the equation of the straight line joining the points (−1,1) and (5,7) is
The equation of the given line is
x+y−4=0...............(2)
Now, adding Eq. (1) and Eq. (2) we get,
Therefore, from Eq. (2) we get, y=(4−x)=(4−1)=3
So, the point of intersection of that two lines is (1,3).
Now, let the point (1,3) divide the line segment joining (−1,1) and (5,7) in ratio 1:k.
Therefore, by the section formula, if (x,y) divides the line segment joining the points (x1,y1) and (x2,y2) in ratio 1:k, then
Hence, the line joining the points (−1,1) and (5,7) is divided by the line x+y=4 in the ratio of 1:2.
Note: You have to know the formula properly which are
The equation of a straight line passing through two points (x1,y1) and (x2,y2) is y2−y1y−y1=x2−x1x−x1. We can also express this equation in a different way as x−x1y−y1=x2−x1y2−y1.
The co-ordinate of a point which divides the straight line joining the two points (x1,y1) and (x2,y2) in ratio 1:k is (1+k1.x2+k.x1,1+k1.y2+k.y1).