To find the shortest distance between the two given lines in 3D space, we use the vector form of the lines:
r1=a1+λb1
r2=a2+μb2
From the given equations of the lines:
a1=31i^+2j^+38k^,b1=2i^−5j^+6k^
a2=−32i^−31k^,b2=j^−k^
The formula for the shortest distance d between two skew lines is given by:
d=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣
Step 1: Calculate a2−a1
a2−a1=(−32i^−31k^)−(31i^+2j^+38k^)
a2−a1=(−32−31)i^−2j^+(−31−38)k^
a2−a1=−i^−2j^−3k^
Step 2: Calculate b1×b2
b1×b2=i^20j^−51k^6−1
b1×b2=i^[(−5)(−1)−(6)(1)]−j^[(2)(−1)−(6)(0)]+k^[(2)(1)−(−5)(0)]
b1×b2=i^(5−6)−j^(−2−0)+k^(2−0)
b1×b2=−i^+2j^+2k^
Step 3: Calculate the magnitude ∣b1×b2∣
∣b1×b2∣=(−1)2+22+22=1+4+4=9=3
Step 4: Calculate 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=−9
Step 5: Calculate the shortest distance d
d=3∣−9∣=39=3
Hence, the shortest distance between the given lines is 3.
Correct Option: B