← 2018 Paper 1
UPSC 2018 Maths Optional Paper 1 Q2d — Step-by-Step Solution
12 marks · Section A
Shortest distance between two skew lines · Analytic Geometry · asked 4× in 13 yrs · Read the full method →
Question
Find the shortest distance between the lines
a1x+b1y+c1z+d1a2x+b2y+c2z+d2=0=0
and the z-axis.
Technique
Skew-line distance ∣u×v∣∣(A−O)⋅(u×v)∣ with u=n1×n2 and v=k^; the cross product collapses to (q,−p,0).
Solution
Step 1 — Direction of the given line L
L is the intersection of the two planes, so its direction is the cross product of their normals n1=(a1,b1,c1), n2=(a2,b2,c2):
u=n1×n2=(p,q,r),where p=b1c2−b2c1, q=c1a2−c2a1, r=a1b2−a2b1.
The z-axis passes through O=(0,0,0) with direction v=(0,0,1). For two lines through A (on L) and O with directions u,v, the shortest distance is
SD=∣u×v∣(A−O)⋅(u×v).
Now
u×v=(p,q,r)×(0,0,1)=(q,−p,0),∣u×v∣=p2+q2.
Take the point of L in the plane z=0: solve a1x+b1y+d1=0, a2x+b2y+d2=0, giving (Cramer)
A=(Ax,Ay,0),Ax=a1b2−a2b1b1d2−b2d1, Ay=a1b2−a2b1d1a2−d2a1.
(The denominator is r=a1b2−a2b1.) Then (A−O)⋅(q,−p,0)=qAx−pAy, so
Answer
SD=p2+q2qAx−pAy,p=b1c2−b2c1, q=c1a2−c2a1.