The standard form of a line in 3D is:
ax−x1=by−y1=cz−z1
where (a,b,c) are the direction ratios of the line.
Line 1: 31−x=2λ7y−14=2z−3
3−(x−1)=2λ7(y−2)=2z−3
−3x−1=72λy−2=2z−3
Direction ratios of Line 1: a1=−3,b1=72λ,c1=2
Line 2: 3λ7−7x=1y−5=56−z
3λ−7(x−1)=1y−5=5−(z−6)
7−3λx−1=1y−5=−5z−6
Direction ratios of Line 2: a2=7−3λ,b2=1,c2=−5
Two lines are perpendicular when:
a1a2+b1b2+c1c2=0
(−3)(7−3λ)+(72λ)(1)+(2)(−5)=0
79λ+72λ−10=0
711λ=10
λ=1170