The given lines are
2x−1=3y−2=λz−3
and
1x−2=4y−4=5z−5
A point on the first line is
A1=(1,2,3)
and its direction vector is
b1=2i^+3j^+λk^
A point on the second line is
A2=(2,4,5)
and its direction vector is
b2=i^+4j^+5k^
The shortest distance between two skew lines is
S.D.=∣b1×b2∣∣(A2A1)⋅(b1×b2)∣
Given,
S.D.=31
Now,
A2A1=(2−1)i^+(4−2)j^+(5−3)k^
=i^+2j^+2k^
Next,
b1×b2=i^21j^34k^λ5
=i^(15−4λ)−j^(10−λ)+k^(8−3)
=(15−4λ)i^+(λ−10)j^+5k^
Therefore,
∣b1×b2∣=(15−4λ)2+(λ−10)2+25
Also,
(A2A1)⋅(b1×b2)
=(1,2,2)⋅(15−4λ,λ−10,5)
=15−4λ+2λ−20+10
=5−2λ
Hence,
(15−4λ)2+(λ−10)2+25∣5−2λ∣=31
Squaring both sides,
3(5−2λ)2=(15−4λ)2+(λ−10)2+25
Expanding,
3(25−20λ+4λ2)=225−120λ+16λ2+λ2−20λ+100+25
75−60λ+12λ2=17λ2−140λ+350
5λ2−80λ+275=0
λ2−16λ+55=0
(λ−5)(λ−11)=0
Thus,
λ=5, 11
Therefore, the sum of all possible values of λ is
5+11=16
Hence, 16.