Solution:
Key idea: For two non-parallel lines r=a1+λb1 and r=a2+μb2, the shortest distance (S.D.) is the length of their common perpendicular, given by
S.D.=b1×b2(a2−a1)⋅(b1×b2)
Step 1 — Read the points and directions.
Each equation has the form r=a+λb, so we read off a and b.
a1=6i^+2j^+2k^,b1=i^−2j^+2k^
a2=−4i^−k^,b2=3i^−2j^−2k^
We subtract the first point from the second.
a2−a1=−10i^−2j^−3k^
Step 2 — Find the cross product and its magnitude.
The cross product is perpendicular to both lines.
b1×b2=i^13j^−2−2k^2−2
b1×b2=(4−(−4))i^−(−2−6)j^+(−2−(−6))k^
b1×b2=8i^+8j^+4k^
b1×b2=82+82+42
b1×b2=144
b1×b2=12
Step 3 — Find the shortest distance.
We take the dot product of a2−a1 with the cross product and divide its modulus by the magnitude.
(a2−a1)⋅(b1×b2)=(−10)(8)+(−2)(8)+(−3)(4)
(a2−a1)⋅(b1×b2)=−108
S.D.=12∣−108∣
S.D.=9
Therefore, the shortest distance between the lines is 9 units.