JEE Main 2013 Mathematics question — Foot of perpendicular, image and distance from a line
If two lines L1 and L2 in space, are defined by L1={x=λy+(λ−1),z=(λ−1)y+λ} and L2={x=μy+(1−μ),z=(1−μ)y+μ} then L1 is perpendicular to L2, for all nonnegative reals λ and μ, such that :
SOLUTION
Using y as the parameter for both lines, the direction ratios of L1 are obtained from the coefficients of y in each coordinate equation. For L1: x=λy+(λ−1), y=y, z=(λ−1)y+λ, so the direction ratios are (λ,1,λ−1). Similarly for L2: x=μy+(1−μ), y=y, z=(1−μ)y+μ, giving direction ratios (μ,1,1−μ).
For perpendicularity the dot product of the direction vectors must vanish: λ⋅μ+1⋅1+(λ−1)(1−μ)=0. Expanding the third term: λ−λμ−1+μ. Adding all three parts gives λμ+1+λ−λμ−1+μ=λ+μ=0.
Since λ and μ are nonnegative reals, λ≥0 and μ≥0, so their sum equals zero only when both are zero, i.e. λ=μ=0. This is equivalent to the condition λ=μ (both equal to zero).