Solution:
The shortest distance between r=a1+λb1 and r=a2+μb2 is
d=∣b1×b2∣∣(b1×b2)⋅(a2−a1)∣(1)
Here
a1=i^+2j^+k^,b1=i^−j^+k^
a2=2i^−j^−k^,b2=2i^+j^+2k^
a2−a1=i^−3j^−2k^
b1×b2=i^12j^−11k^12=i^(−2−1)−j^(2−2)+k^(1+2)=−3i^+3k^
∣b1×b2∣=9+9=32
(b1×b2)⋅(a2−a1)=(−3)(1)+(0)(−3)+(3)(−2)=−9
d=32∣−9∣=23=232
Thus, the shortest distance is 232 units.