Question
Mathematics Question on Shortest Distance between Two Lines
If the shortest distance between the lines −2x−λ=1y−2=1z−1 and 1x−3=−2y−1=1z−2 is 1, then the sum of all possible values of λ is:
0
23
33
−23
23
Solution
The shortest distance d between two skew lines is given by the formula:
d=∣d∣∣b×d∣
Where: b is the vector joining points on each line, d is the direction vector of the line, and × represents the cross product.
For the first line:
2x−λ=1y−2=1z−1⟹d1=⟨2,1,1⟩
For the second line:
1x−31=−2y−1=1z−2⟹d2=⟨1,−2,1⟩
Now, the vector b between the two lines can be written as:
b=⟨λ−31,2−1,1−2⟩=⟨λ−31,1,−1⟩
The shortest distance formula becomes:
d=∣d1∣∣b×d2∣
Compute the cross product b×d2:
b×d2=i^ λ−31 1j^1−2k^−11
Expanding this determinant:
=i^(1⋅1−(−1)⋅(−2))−j^((λ−31)⋅1−(−1)⋅1)+k^((λ−31)⋅(−2)−1⋅1)
=i^(1−2)−j^(λ−31+1)+k^(−2(λ−31)−1)
=i^(−1)−j^(λ−31+1)+k^(−2λ+32−1)
Now, calculate the magnitude ∣b×d2∣ and use it in the formula for d=1 to solve for λ.
After solving, we get λ=±23.