Equating the position vectors of the two lines for intersection:
(1+aλ)i^+(1−λ)j^−k^=(4+2μ)i^+0j^+(−1+aμ)k^
Comparing the coefficients of i^,j^,k^:
1−λ=0⇒λ=1
−1=−1+aμ⇒aμ=0
Since a=0, we get μ=0.
Substituting λ=1 and μ=0 in the i^ component equation:
1+a(1)=4+2(0)⇒a=3
The position vector of the point of intersection is obtained by substituting μ=0 in the second line:
r=4i^−k^
The coordinates of the point of intersection are (4,0,−1).
The square of the distance from the origin is 42+02+(−1)2=16+1=17.
Answer: 17