JEE Main 2025 Mathematics question — Foot of perpendicular, image and distance from a line
Line L1 passes through the point (1,2,3) and is parallel to z-axis. Line L2 passes through the point (λ,5,6) and is parallel to y-axis. Let for λ=λ1,λ2, λ2<λ1, the shortest distance between the two lines be 3. Then the square of the distance of the point (λ1,λ2,7) from the line L1 is
SOLUTION
Line L1 passes through P1(1,2,3) and is parallel to the z-axis. Hence a direction vector of L1 is b=(0,0,1) and its equation is x=1,y=2,z=t.
Line L2 passes through P2(λ,5,6) and is parallel to the y-axis. Its direction vector is d=(0,1,0) and its equation is x=λ,y=5+s,z=6.
The shortest (perpendicular) distance D between two skew lines r=a+tb and r=c+sd is given by D=∣b×d∣∣(a−c)⋅(b×d)∣.
First find b×d: b×d=i00j01k10=(−1,0,0). Its magnitude is ∣b×d∣=1.