We have two lines in 3D space, and we need to find the value of λ that makes them perpendicular.
Given Line 1:
5λ+2x−5=52−y=−11−z
We need to rewrite this in standard form, where the numerator must be (variable minus constant), not the other way around.
52−y=5−(y−2)=−5y−2
−11−z=−1−(z−1)=1z−1
So Line 1 becomes:
5λ+2x−5=−5y−2=1z−1
Direction ratios of Line 1: (5λ+2, −5, 1)
Given Line 2:
x=2λy+21=3z−1
Here, x appears alone, which is the same as writing 1x−0, so:
1x−0=2λy−(−21)=3z−1
Direction ratios of Line 2: (1, 2λ, 3)
Two lines are perpendicular when the dot product of their direction ratios equals zero, i.e. a1a2+b1b2+c1c2=0
(5λ+2)(1)+(−5)(2λ)+(1)(3)=0
5λ+2−10λ+3=0
−5λ+5=0
λ=1
Therefore, λ=1