A line contains line if dot product of normal vector of plane and direction cosine of line is
0 and point on line satisfies the plane.
We have:
→r.(^i+2^j−^k)=3 ....(i)
Normal vector =→n=(^i+2^j−^k)
Equation of line is
→r=^i+^j+λ(2^i+^j+4^k)
Direction ratio =→m=2^i+^j+4^k
→m.→n=(2^i+^j+4^k).(^i+2^j−^k)=2+2−4=0
⇒→m.→n=0
As line passes through (^i+^j), hence it must satisfy equation of plane in (i)
L.H.S.=→r(^i+2^j−^k)=(^i+^j)(^i+2^j−^k)=1+2+0=3=R.H.S.
Hence point satisfies the plane
As both conditions are satisfied, hence plane contains the line.