The equations of the givn lines are
→r1=(2^i−^j)+λ(2^i+^j−3^k)
→r2=(^i−^j+2^k)+μ(2^i+^j−5^k)
Shortest between the lines →r1=→a1+λ→b1 and →r2=→a2+μ→b2 is
∣∣
∣
∣∣(→b1×→b2).(→a2−→a1)∣∣→b1×→b2∣∣∣∣
∣
∣∣
where →a1=2^i−^j, →b1=2^i+^j−3^k,→a2=^i−^j+2^k,→b2=2^i+^j−5^k
(→b1×→b2)=∣∣
∣∣ijk21−321−5∣∣
∣∣
=^i(−5+3)−^j(−10+6)+^k(−5+3)
=−2^i+4^j−2^k
∣∣→b1×→b2∣∣=√4+16+4=√24=2√6
→a2−→a1=^i−^j+2^k−2^i+^j=−^i+2^k
d=∣∣
∣
∣∣(−2^i+4^j−2^k).(−^i+2^k)2√6∣∣
∣
∣∣
d=∣∣∣2−42√6∣∣∣=1√6
∴ the shortest distance between the two lines is 1√6units.