Equation of a line passing through a point with position vector →a and parallel to vector →b is
→r=→a+λ→b
Here
→a=2i−j−4k
→b=i+j−2k
Hence
→r=(2i−j−4k)+λ(i+j−2k)[Invectorform]
InCartesianform
Equation of a line passing through (x1,y1,z1) and parallel to a line having direction rarios a,b,c is
x−x1a=y−y1b=z−z1c
Here
x1=2
y1=−1
z1=−4
directionratios:a=1,b=1,c=−2
Hencetheequationis
x−(2)1=y−(−1)1=z−(−4)−2
⇒x−21=y+11=z+4−2