Two lines in 3D space are perpendicular when their direction vectors are perpendicular to each other.
When direction vectors d1 and d2 are perpendicular:
d1⋅d2=0
Given: 31−x=2λy−2=2z−3
Rewriting the first term:
31−x=3−(x−1)=−3x−1
Line 1 becomes: −3x−1=2λy−2=2z−3
Direction vector of Line 1: d1=(−3,2λ,2)
Given: 3λx−1=1y−1=56−z
Rewriting the z-term:
56−z=5−(z−6)=−5z−6
Line 2 becomes: 3λx−1=1y−1=−5z−6
Direction vector of Line 2: d2=(3λ,1,−5)
Since the lines are perpendicular:
d1⋅d2=0
(−3)(3λ)+(2λ)(1)+(2)(−5)=0
−9λ+2λ−10=0
−7λ−10=0
−7λ=10
λ=7−10
Therefore, λ=7−10