Find the direction in which a straight line must be drawn through the point (−1,2) so that its point of intersection with the line x+y=4 may be at a distance of 3 units from the point.
Open in App
Solution
Let y=mx+c be the line through point (−1,2).
Accordingly, 2=m(−1)+c.
⇒2=−m+c
⇒c=m+2
∴y=mx+m+2 __(1)
The given line is
x+y=4 ___(2)
On solving equation (1) and (2), we obtain
x=2−mm+1 and y=5m+2m+1
∴(2−mm+1,5m+2m+1) is the point of intersection of line (1) and (2).
Since this point is at a distance of 3 units from points (−1,2), accordingly to distance formula.
√(2−mm+1+1)2+(5m+2m+1−2)2=3
⇒(2−m+m+1m+1)2+(5m+2−2m−2m+1)2=32
⇒9(m+1)2+9m2(m+1)2=9
⇒1+m2(m+1)2=1
⇒1+m2=m2+1+2m
⇒2m=0
⇒m=0
Thus, the slope of the required line must be zero i.e., the line must be parallel to the x-axis.