Question
Question: Find the shortest distance between the lines whose vector equation are \(\vec r = \left( {\hat i + 2...
Find the shortest distance between the lines whose vector equation are r=(i^+2j^+3k^)+λ(i^−3j^+2k^) and r=(4i^+5j^+6k^)+μ(2i^+3j^+k^).
Solution
Check whether lines are parallel or not.
When lines are parallel, the direction ratios of both lines are in proportion.
Parallel lines are at the same distance throughout the line.
Neither parallel nor intersecting lines are known as skew lines.
Let a point (x1,y1,z1) , lie on the line, and have direction ratios: (a,b,c)
Cartesian equation of the line:
ax−x1=by−y1=cz−z1
Vector equation of the line:
xi^+yj^+zk^=(x1i^+y1j^+z1k^)+λ(ai^+bj^+ck^)
r=xi^+yj^+zk^ , a1=x1i^+y1j^+z1k^ , b1=ai^+bj^+ck^
Therefore, the vector equation of a line:
r1=a1+λb1
calculate the shortest distance between the lines using the defined formula.
Complete step-by-step answer:
Step 1: Given equations of lines.
Line 1: r=(i^+2j^+3k^)+λ(i^−3j^+2k^) , where r=(xi^+yj^+zk^)
On comparing with the vector equation of the line: xi^+yj^+zk^=(x1i^+y1j^+z1k^)+λ(ai^+bj^+ck^)
Given a point on line 1: (x1,y1,z1)=(1,2,3)
Direction ratios of line 1: (a1,b1,c1)=(1,−3,2) …… (1)
(Subscript 1 to show the direction ratios of ‘line 1’)
Line 2: r=(4i^+5j^+6k^)+μ(2i^+3j^+k^), where r=(xi^+yj^+zk^)
On comparing with the vector equation of the line: xi^+yj^+zk^=(x1i^+y1j^+z1k^)+λ(ai^+bj^+ck^)
Given a point on line 2: (x2,y2,z2)=(4,5,6)
Direction ratios of line 2: (a2,b2,c2)=(2,3,1) …… (2)
(Subscript 2 to show the direction ratios of ‘line 2’)
Step 2: Check for parallel lines.
The ratio of direction ratios of line 1 and line 2 should be constant.
⇒a2a1=21 ⇒b2b1=−3−3=−1
∵a2a1=b2b1
This implies line 1 and line 2 are not parallel lines. Therefore, the given lines are two skew lines.
Step 3: Use the formula of the shortest distance between the lines.
Distance, d = \dfrac{{\left| {\begin{array}{*{20}{c}}
{{x_2} - {x_1}}&{{y_2} - {y_1}}&{{z_2} - {z_1}} \\\
{{a_1}}&{{b_1}}&{{c_1}} \\\
{{a_2}}&{{b_2}}&{{c_2}}
\end{array}} \right|}}{{\sqrt {{{\left( {{b_1}{c_2} - {b_2}{c_1}} \right)}^2} + {{\left( {{a_1}{c_2} - {a_2}{c_1}} \right)}^2} + {{\left( {{a_1}{b_2} - {a_2}{b_1}} \right)}^2}} }}
We have values of every variable involved in the formula for the shortest distance. Thus, substituting them from step 1.
d = \dfrac{{\left| {\begin{array}{*{20}{c}}
{4 - 1}&{5 - 2}&{6 - 3} \\\
1&{ - 3}&2 \\\
2&3&1
\end{array}} \right|}}{{\sqrt {{{\left( { - 3 - 6} \right)}^2} + {{\left( {1 - 4} \right)}^2} + {{\left( {3 + 6} \right)}^2}} }} \\\
\Rightarrow \dfrac{{\left| {\begin{array}{*{20}{c}}
3&3&3 \\\
1&{ - 3}&2 \\\
2&3&1
\end{array}} \right|}}{{\sqrt {{{\left( { - 9} \right)}^2} + {{\left( { - 3} \right)}^2} + {{\left( 9 \right)}^2}} }} \\\
Calculate the determinant of the matrix in the numerator.
⇒81+9+813(−9)−3(−3)+3(9) ⇒171−27+9+27 ⇒3199
Rationalize the denominator, by multiplying 19to both numerator and denominator.
∵d=19319 units
Final answer: The shortest distance between the given lines is 19319 units .
Note: We know the Cartesian equation of the line: ax−x1=by−y1=cz−z1
Hence, the cartesian equation of line 1:
⇒1x−1=−3y−2=2z−3
Hence, the cartesian equation of line 2:
⇒2x−4=3y−5=1z−6
We have given equations of line in vector form, hence, we could have used the vector formula of distance. But students might make mistakes while using the formula, so it is easier to convert the vector equation of a line into the cartesian equation of a line and use the Cartesian formula of distance.
Two skew lines:
r=a1+λb1 r=a2+μb2
The shortest distance between two skew lines, d=b1×b2(b1×b2)⋅(a2−a1)
For two parallel lines:
r=a1+λb r=a2+μb
The distance between two parallel lines, d=b(b)⋅(a2−a1)