The lines are x+16=y+1−5=z+12 ..........(1)
and x−32=y−5−3=z−72 ..........(2)
Here x1=−1,y1=−1,z1=−1 and a1=6,b1=−5,c1=2
x2=3,y2=5,z2=7 and a2=2,b2=−3,c2=2
Shortest distance between the lines is
d=∣∣
∣∣∣∣
∣∣x2−x1y2−y1z2−z1a1b1c1a2b2c2∣∣
∣∣∣∣
∣∣√(b1c2−b2c1)2+(c1a2−c2a1)2+(a1b2−a2b1)2
=∣∣
∣∣∣∣
∣∣3+15+17+16−522−32∣∣
∣∣∣∣
∣∣√(−10+6)2+(4−12)2+(−18+10)2
=∣∣
∣∣∣∣
∣∣4686−522−32∣∣
∣∣∣∣
∣∣√(−4)2+(−8)2+(−8)2
=∣∣∣4(−10+6)−6(12−4)+8(−18+10)√16+64+64∣∣∣
=∣∣∣4(−4)−6(8)+8(−8)√144∣∣∣
=∣∣∣−16−48−6412∣∣∣
=∣∣∣−12812∣∣∣=323units