The two lines are written in vector form as
r=a1+λb1,a1=(31,2,38),b1=(2,−5,6)
r=a2+μb2,a2=(−32,0,−31),b2=(0,1,−1)
The shortest distance D between two skew lines
r=a1+λb1andr=a2+μb2
is given by
D=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣
Step 1: Find a2−a1
a2−a1=(−32−31,0−2,−31−38)=(−1,−2,−3)
Step 2: Compute b1×b2
b1×b2=i^20j^−51k^6−1=−i^+2j^+2k^=(−1,2,2)
Step 3: Magnitude of the cross product
∣b1×b2∣=(−1)2+22+22=1+4+4=3
Step 4: Scalar triple product in numerator
(a2−a1)⋅(b1×b2)=(−1,−2,−3)⋅(−1,2,2)=1−4−6=−9
Its absolute value is ∣−9∣=9.
Step 5: Shortest distance
D=39=3
Hence, the shortest distance between the given lines is 3.
Option B which is: 3