Find the shortest distance between the lines
and
Confirming your payment
Exercise 11.2 · Question 13 of 15
Find the shortest distance between the lines
and
We know that the shortest distance between two lines
[ \frac{x + 1}{7} = \frac{y + 1}{-6} = \frac{z + 1}{1} \quad \text{and} \quad \frac{x - 3}{1} = \frac{y - 5}{-2} = \frac{z - 7}{1} ]
is given as:
[ d = \frac{\left| \begin{vmatrix} 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{vmatrix} \right|}{\sqrt{ \left( b_1 c_2 - b_2 c_1 \right)^2 + \left( c_1 a_2 - c_2 a_1 \right)^2 + \left( a_1 b_2 - a_2 b_1 \right)^2 }} \tag{1} ]
The standard form of a pair of Cartesian lines is:
[ \frac{x - x_1}{a_1} = \frac{y - y_1}{b_1} = \frac{z - z_1}{c_1} \quad \text{and} \quad \frac{x - x_2}{a_2} = \frac{y - y_2}{b_2} = \frac{z - z_2}{c_2} ]
And the given equations are:
[ \frac{x + 1}{7} = \frac{y + 1}{-6} = \frac{z + 1}{1} \quad \text{and} \quad \frac{x - 3}{1} = \frac{y - 5}{-2} = \frac{z - 7}{1} ]
Now let us compare the given equations with the standard form, we get:
[ x_1 = -1, , y_1 = -1, , z_1 = -1; \quad x_2 = 3, , y_2 = 5, , z_2 = 7 ]
[ a_1 = 7, , b_1 = -6, , c_1 = 1; \quad a_2 = 1, , b_2 = -2, , c_2 = 1 ]
Now, consider
[ \begin{vmatrix} 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{vmatrix} = \begin{vmatrix} 3 - (-1) & 5 - (-1) & 7 - (-1) \ 7 & -6 & 1 \ 1 & -2 & 1 \end{vmatrix} ]
[ = \begin{vmatrix} 4 & 6 & 8 \ 7 & -6 & 1 \ 1 & -2 & 1 \end{vmatrix} ]
[ = 4 \begin{vmatrix} -6 & 1 \ -2 & 1 \end{vmatrix} - 6 \begin{vmatrix} 7 & 1 \ 1 & 1 \end{vmatrix} + 8 \begin{vmatrix} 7 & -6 \ 1 & -2 \end{vmatrix} ]
[ = 4((-6)(1) - (1)(-2)) - 6((7)(1) - (1)(1)) + 8((7)(-2) - (-6)(1)) ]
[ = 4(-6 + 2) - 6(7 - 1) + 8(-14 + 6) ]
[ = 4(-4) - 6(6) + 8(-8) ]
[ = -16 - 36 - 64 ]
[ = -116 ]
Now we shall consider
[ \sqrt{(b_1c_2 - b_2c_1)^2 + (c_1a_2 - c_2a_1)^2 + (a_1b_2 - a_2b_1)^2} ]
[ = \sqrt{(-6 \times 1 - (-2) \times 1)^2 + ((1 \times 1) - (1 \times 7))^2 + ((7 \times (-2)) - (1 \times (-6)))^2} ]
[ = \sqrt{(-6 + 2)^2 + (1 - 7)^2 + (-14 + 6)^2} ]
[ = \sqrt{(-4)^2 + (-6)^2 + (-8)^2} ]
[ = \sqrt{16 + 36 + 64} = \sqrt{116} ]
By substituting all the values in equation (1), we get the shortest distance between the two lines:
[ d = \frac{| -116 |}{\sqrt{116}} = \frac{116}{\sqrt{116}} = \sqrt{116} = 2\sqrt{29} ]
Thus, the shortest distance is ( 2\sqrt{29} ).