The shortest distance between two skew lines is given by the formula:
d=∣b1×b2∣(b1×b2)⋅(a2−a1)
where a1 and a2 are points on the lines, and b1 and b2 are the direction vectors.
For the first line: −2x−λ=1y−2=1z−1, a point is a1=⟨λ,2,1⟩ and direction vector b1=⟨−2,1,1⟩.
For the second line: 1x−3=−2y−1=1z−2, a point is a2=⟨3,1,2⟩ and direction vector b2=⟨1,−2,1⟩.
The vector between the points is a2−a1=⟨3−λ,−1,1⟩.
Compute the cross product b1×b2:
b1×b2=i^−21j^1−2k^11=i^(1⋅1−1⋅(−2))−j^(−2⋅1−1⋅1)+k^(−2⋅(−2)−1⋅1)
=i^(1+2)−j^(−2−1)+k^(4−1)=i^(3)−j^(−3)+k^(3)=⟨3,3,3⟩
The magnitude is ∣b1×b2∣=32+32+32=27=33.
The scalar triple product is:
(b1×b2)⋅(a2−a1)=⟨3,3,3⟩⋅⟨3−λ,−1,1⟩=3(3−λ)+3(−1)+3(1)=33−3λ−3+3=33−3λ
The distance is:
d=3333−3λ=33−λ=1−3λ
Given that d=1:
1−3λ=1
This absolute value equation gives two cases:
Case 1: 1−3λ=1
−3λ=0⟹λ=0
Case 2: 1−3λ=−1
−3λ=−2⟹3λ=2⟹λ=23
The possible values of λ are 0 and 23. The sum is 0+23=23.
Verification:
For λ=0, the numerator is 33−3(0)=33, so d=3333=1.
For λ=23, the numerator is 33−3(23)=33−63=−33, so d=33−33=1.
Thus, the sum of all possible values of λ is 23.