The shortest distance (d) between two skew lines r=a1+λb1 and r=a2+μb2 is given by the formula:
d=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣
From the first line 1x−4=2y−3=−3z−2:
a1=4i^+3j^+2k^
b1=1i^+2j^−3k^
From the second line 2x+2=4y−6=−5z−5:
a2=−2i^+6j^+5k^
b2=2i^+4j^−5k^
a2−a1=(−2−4)i^+(6−3)j^+(5−2)k^=−6i^+3j^+3k^
b1×b2=deti^12j^24k^−3−5
b1×b2=2i^−1j^+0k^
∣b1×b2∣=22+(−1)2+02=4+1=5
(a2−a1)⋅(b1×b2)=(−6)(2)+(3)(−1)+(3)(0)
(a2−a1)⋅(b1×b2)=−12−3+0=−15
d=5∣−15∣=515=35