The given lines are
r=a1+λb1 and
r=a2+μb2, where:
a1=31i^+2j^+38k^b1=2i^−5j^+6k^a2=−32i^−31k^b2=j^−k^The shortest distance between two skew lines is given by
d=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣.
First, finding the vector
a2−a1:
a2−a1=(−32−31)i^+(0−2)j^+(−31−38)k^=−i^−2j^−3k^Next, finding the cross product
b1×b2:
b1×b2=i^20j^−51k^6−1=i^(5−6)−j^(−2−0)+k^(2−0)=−i^+2j^+2k^The magnitude of the cross product is:
∣b1×b2∣=(−1)2+22+22=1+4+4=3Now, finding the dot product
(a2−a1)⋅(b1×b2):
(a2−a1)⋅(b1×b2)=(−i^−2j^−3k^)⋅(−i^+2j^+2k^)=(−1)(−1)+(−2)(2)+(−3)(2)=1−4−6=−9Finally, the shortest distance is:
d=3∣−9∣=39=3Answer:
3