JEE Main 2020 Mathematics question — Foot of perpendicular, image and distance from a line
The shortest distance between the lines 3x−3=−1y−8=1z−3 and −3x+3=2y+7=4z−6 is
SOLUTION
We have two skew lines written in symmetric (or continuous) form
3x−3=−1y−8=1z−3and−3x+3=2y+7=4z−6.
For every such line we first read off one point through which it passes and the
direction vector along it.
For the first line the point is clearly obtained by taking the numerators equal
to zero, so we get
P1(3,8,3).
Its direction numbers are the denominators, therefore the direction vector is
a=⟨3,−1,1⟩.
For the second line the point is obtained in exactly the same way, giving
P2(−3,−7,6),
and the direction vector comes from the denominators, giving
b=⟨−3,2,4⟩.
To obtain the shortest distance between two skew lines we employ the
well-known formula
D=∥a×b∥(b−a0)⋅(a×b),
where a and b are the direction vectors of the two lines and
a0 is the vector joining any chosen point on the first line to any
chosen point on the second line. Here we shall take the
joining vector from P1 to P2:
r=P2−P1=⟨−3−3,−7−8,6−3⟩=⟨−6,−15,3⟩.
Now we need the cross product of the two direction vectors. Using the
determinant definition of the cross product,