Pratidin
2026 · Mathematics Optional Paper I · 15 marksMainsQuestion 2c

Find the points on the lines (x − 3)/1 = (y − 5)/(−2) = (z − 7)/1 and (x + 1)/7 = (y + 1)/(−6) = (z + 1)/1 which are nearest to each other. Hence find the shortest distance between the lines and its equation.

15 marks · directive: Find

Answer

The core of a good answer

The nearest points are (3, 5, 7) on the first line and (−1, −1, −1) on the second; the shortest distance is √116 = 2√29, along the line (x − 3)/2 = (y − 5)/3 = (z − 7)/4.

An outline written by upsc.help, not an official UPSC answer; every fact checked by a separate review. How we work

What the question asks

Take general points on both lines, form the joining vector and make it perpendicular to both direction vectors. The two parameters fix the nearest points; their distance is the shortest distance and the line through them is the line of shortest distance.

Answer outline

Introduction

Line L₁ passes through (3, 5, 7) with direction d₁ = (1, −2, 1); line L₂ passes through (−1, −1, −1) with direction d₂ = (7, −6, 1).

Step 1: General points

Step 2: Perpendicularity conditions

Step 3: Nearest points and distance

Step 4: Equation of the line of shortest distance

Step 5: Check by the formula

Conclusion

Nearest points (3, 5, 7) and (−1, −1, −1); shortest distance 2√29; line of shortest distance (x − 3)/2 = (y − 5)/3 = (z − 7)/4. The given points of the lines happen to be the feet of the common perpendicular, which is why s = t = 0. Recomputed with sympy.

Examples and data to cite

Facts

Facts to remember

Sources used for the explanation

Write a timed answer in the app