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=2i^−5j^+k^,b1=3i^+2j^+6k^
a2=7i^−6k^,b2=i^+2j^+2k^
We subtract the first point from the second.
a2−a1=5i^+5j^−7k^
Step 2 — Find the cross product and its magnitude.
The cross product is perpendicular to both lines.
b1×b2=i^31j^22k^62
b1×b2=(4−12)i^−(6−6)j^+(6−2)k^
b1×b2=−8i^+4k^
b1×b2=(−8)2+02+42
b1×b2=80
b1×b2=45
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)=(5)(−8)+(5)(0)+(−7)(4)
(a2−a1)⋅(b1×b2)=−68
S.D.=45∣−68∣
S.D.=517
S.D.=5175
Therefore, the shortest distance between the lines is 5175 units.