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 this point.
Let the required line makes an angle \theta with the positive direction of x-axis. Then equation of line is
x−(−1)cos θ=y−2sinθ=r
⇒ x+1)cos θ=y−2sinθ=r
It is given that r=3
∴ x+1cos θ=y−2sinθ=3
∴ x+1=3cos θ
⇒ x=3cos θ−1
and y−2=3sin θ
⇒ y=3sin θ+2
Since this point lies on the line x+y=4
∴ 3cos θ−1+3sin θ+2=4
∴ 3cos θ+sin θ=1
⇒ cos θ+sin θ=1
Squaring both sides, we have
cos2 θ+sin2 θ+2sin θ cos θ=1
⇒ 1+sin2 θ=1 ⇒ sin2 θ=0
⇒ 2 θ=0 ⇒ θ=0
which shows that required line is parallel to x-axis or parallel to y-axis.