Three-Dimensional Geometry - 2: Straight Line in Space · Question 53 of 66
Find the magnitude and the equations of the line of shortest distance between the two lines x-3/-1 = y-4/2 = z+2/1 and…
Question 533 marksMedium
Find the magnitude and the equations of the line of shortest distance between the two lines −1x−3=2y−4=1z+2 and 1x−1=3y+7=2z+2.
Solution:
Key idea: Take a general point P on the first line and a general point Q on the second. The segment PQ is the line of shortest distance when PQ is perpendicular to both lines; its length is then the shortest distance.
Step 1 — Write general points on the two lines.
Putting each set of fractions equal to a parameter (t for the first line, s for the second) gives every point of each line.
P=(3−t,4+2t,−2+t)
Q=(1+s,−7+3s,−2+2s)
Step 2 — Find the direction ratios of PQ.
The direction ratios of PQ are the coordinates of Q minus those of P.
PQ=(s+t−2)i^+(3s−2t−11)j^+(2s−t)k^
Step 3 — Make PQ perpendicular to the first line.
The first line has direction ratios −1,2,1, and perpendicular directions have zero dot product.
−(s+t−2)+2(3s−2t−11)+(2s−t)=0
7s−6t−20=0
7s−6t=20…(1)
Step 4 — Make PQ perpendicular to the second line.
The second line has direction ratios 1,3,2.
(s+t−2)+3(3s−2t−11)+2(2s−t)=0
14s−7t−35=0
2s−t=5…(2)
Step 5 — Solve equations (1) and (2).
From (2) we write t in terms of s and put it into (1).
t=2s−5
7s−6(2s−5)=20
−5s+30=20
s=2
Then we put s=2 back into the expression for t.
t=2(2)−5
t=−1
Step 6 — Find the end points P and Q.
We put t=−1 in P and s=2 in Q.
P=(3+1,4−2,−2−1)
P=(4,2,−3)
Q=(1+2,−7+6,−2+4)
Q=(3,−1,2)
Step 7 — Find the shortest distance.
The shortest distance is the length of PQ.
PQ=(3−4)2+(−1−2)2+(2+3)2
PQ=1+9+25
PQ=35
Step 8 — Write the equations of the line of shortest distance.
The line passes through P(4,2,−3). For its direction we use QP.
QP=(4−3)i^+(2+1)j^+(−3−2)k^
QP=i^+3j^−5k^
So the direction ratios are 1,3,−5.
1x−4=3y−2=−5z+3
As a check, this direction is perpendicular to both lines, because both dot products vanish.
(1)(−1)+(3)(2)+(−5)(1)=0
(1)(1)+(3)(3)+(−5)(2)=0
Therefore, the shortest distance is 35 units, and the line of shortest distance is 1x−4=3y−2=−5z+3.