Question
Mathematics Question on Shortest Distance between Two Lines
The shortest distance (in units) between the lines 11−x=22y−10=1z+1 and −1x−3=1y−5=1z−0 is:
A
143
B
311
C
314
D
311
Answer
143
Explanation
Solution
To find the shortest distance between two skew lines, we use the formula:
d=∣d1×d2∣∣d1⋅(a2−a1)∣.
where a1 and a2 are points on the lines, and d1 and d2 are direction vectors.
For the first line:
d1=(1,2,1),a1=(1,5,−1).
For the second line:
d2=(−1,1,1),a2=(3,5,0).
Calculate a2−a1:
a2−a1=(3−1,5−5,0+1)=(2,0,1).
Find the cross product d1×d2:
d1×d2=i^ 1 −1j^21k^11=(2−1)i^−(1−(−1))j^+(1−(−2))k^=(1,−2,3).
Calculate the magnitude:
∣d1×d2∣=12+(−2)2+32=1+4+9=14.
Now, find the dot product d1⋅(a2−a1):
d1⋅(a2−a1)=1⋅2+2⋅0+1⋅1=2+0+1=3.
The shortest distance is:
d=143.