Given lines are
After observation, we get \(l_1 \big|\big| l_2\)
Therefore, it is sufficient to find the perpendicular distance of a point of line \(l_1\) to line \(l_2.\)
The coordinate of a point of \(l_1\) is P(1, 2, -4)
Also the cartesian form of line \(l_2\) is
Let Q\((\alpha, \beta, \gamma)\) be foot of perpendicular drawn from P to line \(l_2\)
\(\because\) Q(a, b, g) lie on line \(l_2\)
Again, \(\because\) \(\vec{PQ}\) is perpendicular to line \(l_2\).
\(\Rightarrow\) \(\vec{PQ}.\vec{b}=0,\) where \(\vec{b}\) is parallel vector of \(l_2\)
Therefore required perpendicular distance is