How to use these solutions#
These are the worked solutions to the mixed practice set in Shortest Distance Between Lines, with Mixed Practice . Attempt every question on your own first, then work through these steps and compare them with yours.
The key formulas:
Skew lines r ⃗ = a ⃗ 1 + λ b ⃗ 1 \vec r = \vec a_1 + \lambda\vec b_1 r = a 1 + λ b 1 , r ⃗ = a ⃗ 2 + μ b ⃗ 2 \vec r = \vec a_2 + \mu\vec b_2 r = a 2 + μ b 2 : d = ∣ ( b ⃗ 1 × b ⃗ 2 ) ⋅ ( a ⃗ 2 − a ⃗ 1 ) ∣ b ⃗ 1 × b ⃗ 2 ∣ ∣ \displaystyle \;d = \left\lvert\frac{(\vec b_1 \times \vec b_2) \cdot (\vec a_2 - \vec a_1)}{\lvert\vec b_1 \times \vec b_2\rvert}\right\rvert d = ∣ b 1 × b 2 ∣ ( b 1 × b 2 ) ⋅ ( a 2 − a 1 ) .
Parallel lines with common direction b ⃗ \vec b b : d = ∣ b ⃗ × ( a ⃗ 2 − a ⃗ 1 ) ∣ ∣ b ⃗ ∣ \displaystyle \;d = \frac{\lvert\vec b \times (\vec a_2 - \vec a_1)\rvert}{\lvert\vec b\rvert} d = ∣ b ∣ ∣ b × ( a 2 − a 1 )∣ .
A vector perpendicular to both b ⃗ 1 \vec b_1 b 1 and b ⃗ 2 \vec b_2 b 2 is b ⃗ 1 × b ⃗ 2 \vec b_1 \times \vec b_2 b 1 × b 2 .
For a line in Cartesian form x − x 1 a = y − y 1 b = z − z 1 c \displaystyle \tfrac{x - x_1}{a} = \tfrac{y - y_1}{b} = \tfrac{z - z_1}{c} a x − x 1 = b y − y 1 = c z − z 1 , the point is a ⃗ = ( x 1 , y 1 , z 1 ) \vec a = (x_1, y_1, z_1) a = ( x 1 , y 1 , z 1 ) and the direction is b ⃗ = ( a , b , c ) \vec b = (a, b, c) b = ( a , b , c ) .
Question 1: Direction cosines of a common perpendicular#
The problem#
Find the direction cosines of a line perpendicular to the lines with direction ratios 1 , 2 , 3 1, 2, 3 1 , 2 , 3 and − 2 , 1 , 4 -2, 1, 4 − 2 , 1 , 4 .
Understanding the problem#
You need a direction that is at right angles to both given directions, and then its direction cosines l , m , n l, m, n l , m , n (which satisfy l 2 + m 2 + n 2 = 1 l^2 + m^2 + n^2 = 1 l 2 + m 2 + n 2 = 1 ).
The idea#
The cross product of two vectors is perpendicular to both. So take ( 1 , 2 , 3 ) × ( − 2 , 1 , 4 ) (1, 2, 3) \times (-2, 1, 4) ( 1 , 2 , 3 ) × ( − 2 , 1 , 4 ) , simplify the ratios, and divide by the length.
Step-by-step solution#
Step 1. Compute the cross product using the determinant pattern.
∣ i ^ j ^ k ^ 1 2 3 − 2 1 4 ∣ = ( 8 − 3 ) i ^ − ( 4 + 6 ) j ^ + ( 1 + 4 ) k ^ = 5 i ^ − 10 j ^ + 5 k ^ . \begin{vmatrix} \hat i & \hat j & \hat k \\ 1 & 2 & 3 \\ -2 & 1 & 4 \end{vmatrix} = (8 - 3)\hat i - (4 + 6)\hat j + (1 + 4)\hat k = 5\hat i - 10\hat j + 5\hat k. i ^ 1 − 2 j ^ 2 1 k ^ 3 4 = ( 8 − 3 ) i ^ − ( 4 + 6 ) j ^ + ( 1 + 4 ) k ^ = 5 i ^ − 10 j ^ + 5 k ^ .
Step 2. Divide by the common factor 5 5 5 to get simpler direction ratios.
1 , − 2 , 1. 1,\ -2,\ 1. 1 , − 2 , 1.
Step 3. Find the length of ( 1 , − 2 , 1 ) (1, -2, 1) ( 1 , − 2 , 1 ) .
1 2 + ( − 2 ) 2 + 1 2 = 6 . \sqrt{1^2 + (-2)^2 + 1^2} = \sqrt{6}. 1 2 + ( − 2 ) 2 + 1 2 = 6 .
Step 4. Divide each ratio by 6 \sqrt{6} 6 .
l = 1 6 , m = − 2 6 , n = 1 6 . \displaystyle l = \frac{1}{\sqrt{6}}, \quad m = -\frac{2}{\sqrt{6}}, \quad n = \frac{1}{\sqrt{6}}. l = 6 1 , m = − 6 2 , n = 6 1 .
Checking the answer#
Perpendicularity: ( 1 ) ( 1 ) + ( 2 ) ( − 2 ) + ( 3 ) ( 1 ) = 0 (1)(1) + (2)(-2) + (3)(1) = 0 ( 1 ) ( 1 ) + ( 2 ) ( − 2 ) + ( 3 ) ( 1 ) = 0 ✓ and ( − 2 ) ( 1 ) + ( 1 ) ( − 2 ) + ( 4 ) ( 1 ) = 0 (-2)(1) + (1)(-2) + (4)(1) = 0 ( − 2 ) ( 1 ) + ( 1 ) ( − 2 ) + ( 4 ) ( 1 ) = 0 ✓. Also 1 + 4 + 1 6 = 1 \displaystyle \tfrac{1 + 4 + 1}{6} = 1 6 1 + 4 + 1 = 1 ✓.
Answer#
1 6 , − 2 6 , 1 6 \displaystyle \frac{1}{\sqrt{6}},\ -\frac{2}{\sqrt{6}},\ \frac{1}{\sqrt{6}} 6 1 , − 6 2 , 6 1 (or all three with the opposite sign).
Question 2: A line perpendicular to two given lines#
The problem#
Find the equation of the line through ( 1 , 2 , − 4 ) (1, 2, -4) ( 1 , 2 , − 4 ) perpendicular to both x − 8 3 = y + 19 − 16 = z − 10 7 \displaystyle \tfrac{x - 8}{3} = \tfrac{y + 19}{-16} = \tfrac{z - 10}{7} 3 x − 8 = − 16 y + 19 = 7 z − 10 and x − 15 3 = y − 29 8 = z − 5 − 5 \displaystyle \tfrac{x - 15}{3} = \tfrac{y - 29}{8} = \tfrac{z - 5}{-5} 3 x − 15 = 8 y − 29 = − 5 z − 5 .
Understanding the problem#
You know a point on the required line. You need its direction, which must be perpendicular to the directions of both given lines.
The idea#
Read the direction ratios from the denominators: ( 3 , − 16 , 7 ) (3, -16, 7) ( 3 , − 16 , 7 ) and ( 3 , 8 , − 5 ) (3, 8, -5) ( 3 , 8 , − 5 ) . Their cross product gives the required direction.
Step-by-step solution#
Step 1. Cross product.
∣ i ^ j ^ k ^ 3 − 16 7 3 8 − 5 ∣ = ( 80 − 56 ) i ^ − ( − 15 − 21 ) j ^ + ( 24 + 48 ) k ^ = 24 i ^ + 36 j ^ + 72 k ^ . \begin{vmatrix} \hat i & \hat j & \hat k \\ 3 & -16 & 7 \\ 3 & 8 & -5 \end{vmatrix} = (80 - 56)\hat i - (-15 - 21)\hat j + (24 + 48)\hat k = 24\hat i + 36\hat j + 72\hat k. i ^ 3 3 j ^ − 16 8 k ^ 7 − 5 = ( 80 − 56 ) i ^ − ( − 15 − 21 ) j ^ + ( 24 + 48 ) k ^ = 24 i ^ + 36 j ^ + 72 k ^ .
Step 2. Divide by 12 12 12 .
direction ratios 2 , 3 , 6. \text{direction ratios } 2,\ 3,\ 6. direction ratios 2 , 3 , 6.
Step 3. Write the line through ( 1 , 2 , − 4 ) (1, 2, -4) ( 1 , 2 , − 4 ) .
x − 1 2 = y − 2 3 = z + 4 6 . \displaystyle \frac{x - 1}{2} = \frac{y - 2}{3} = \frac{z + 4}{6}. 2 x − 1 = 3 y − 2 = 6 z + 4 .
Checking the answer#
3 ( 2 ) − 16 ( 3 ) + 7 ( 6 ) = 6 − 48 + 42 = 0 3(2) - 16(3) + 7(6) = 6 - 48 + 42 = 0 3 ( 2 ) − 16 ( 3 ) + 7 ( 6 ) = 6 − 48 + 42 = 0 ✓; 3 ( 2 ) + 8 ( 3 ) − 5 ( 6 ) = 6 + 24 − 30 = 0 3(2) + 8(3) - 5(6) = 6 + 24 - 30 = 0 3 ( 2 ) + 8 ( 3 ) − 5 ( 6 ) = 6 + 24 − 30 = 0 ✓.
Answer#
x − 1 2 = y − 2 3 = z + 4 6 \displaystyle \frac{x - 1}{2} = \frac{y - 2}{3} = \frac{z + 4}{6} 2 x − 1 = 3 y − 2 = 6 z + 4
Common mistake to avoid#
The point ( 1 , 2 , − 4 ) (1, 2, -4) ( 1 , 2 , − 4 ) gives z − ( − 4 ) = z + 4 z - (-4) = z + 4 z − ( − 4 ) = z + 4 in the third fraction, not z − 4 z - 4 z − 4 .
Question 3: Angle between two lines#
The problem#
Find the angle between the lines x 2 = y 2 = z 1 \displaystyle \tfrac{x}{2} = \tfrac{y}{2} = \tfrac{z}{1} 2 x = 2 y = 1 z and x − 5 4 = y − 2 1 = z − 3 8 \displaystyle \tfrac{x - 5}{4} = \tfrac{y - 2}{1} = \tfrac{z - 3}{8} 4 x − 5 = 1 y − 2 = 8 z − 3 .
Understanding the problem#
The angle between two lines is the angle between their directions. The points on the lines do not matter.
The idea#
Use cos θ = ∣ a 1 a 2 + b 1 b 2 + c 1 c 2 ∣ a 1 2 + b 1 2 + c 1 2 a 2 2 + b 2 2 + c 2 2 \displaystyle \cos\theta = \frac{\lvert a_1a_2 + b_1b_2 + c_1c_2 \rvert}{\sqrt{a_1^2 + b_1^2 + c_1^2}\sqrt{a_2^2 + b_2^2 + c_2^2}} cos θ = a 1 2 + b 1 2 + c 1 2 a 2 2 + b 2 2 + c 2 2 ∣ a 1 a 2 + b 1 b 2 + c 1 c 2 ∣ with directions ( 2 , 2 , 1 ) (2, 2, 1) ( 2 , 2 , 1 ) and ( 4 , 1 , 8 ) (4, 1, 8) ( 4 , 1 , 8 ) .
Step-by-step solution#
Step 1. Dot product of the directions.
2 ( 4 ) + 2 ( 1 ) + 1 ( 8 ) = 8 + 2 + 8 = 18. 2(4) + 2(1) + 1(8) = 8 + 2 + 8 = 18. 2 ( 4 ) + 2 ( 1 ) + 1 ( 8 ) = 8 + 2 + 8 = 18.
Step 2. Lengths.
4 + 4 + 1 = 3 , 16 + 1 + 64 = 9. \sqrt{4 + 4 + 1} = 3, \qquad \sqrt{16 + 1 + 64} = 9. 4 + 4 + 1 = 3 , 16 + 1 + 64 = 9.
Step 3. Cosine of the angle.
cos θ = 18 3 × 9 = 2 3 . \displaystyle \cos\theta = \frac{18}{3 \times 9} = \frac{2}{3}. cos θ = 3 × 9 18 = 3 2 .
Step 4. So
θ = cos − 1 2 3 . \displaystyle \theta = \cos^{-1}\frac{2}{3}. θ = cos − 1 3 2 .
Checking the answer#
2 3 \displaystyle \tfrac{2}{3} 3 2 lies between 0 0 0 and 1 1 1 , so the angle is acute (about 48 ∘ 48^\circ 4 8 ∘ ), which is reasonable since the dot product is positive.
Answer#
θ = cos − 1 ( 2 3 ) \displaystyle \theta = \cos^{-1}\left(\frac{2}{3}\right) θ = cos − 1 ( 3 2 )
The problem#
Find the shortest distance between r ⃗ = i ^ + 2 j ^ + 3 k ^ + λ ( i ^ − 3 j ^ + 2 k ^ ) \vec r = \hat i + 2\hat j + 3\hat k + \lambda(\hat i - 3\hat j + 2\hat k) r = i ^ + 2 j ^ + 3 k ^ + λ ( i ^ − 3 j ^ + 2 k ^ ) and r ⃗ = 4 i ^ + 5 j ^ + 6 k ^ + μ ( 2 i ^ + 3 j ^ + k ^ ) \vec r = 4\hat i + 5\hat j + 6\hat k + \mu(2\hat i + 3\hat j + \hat k) r = 4 i ^ + 5 j ^ + 6 k ^ + μ ( 2 i ^ + 3 j ^ + k ^ ) .
Understanding the problem#
The directions ( 1 , − 3 , 2 ) (1, -3, 2) ( 1 , − 3 , 2 ) and ( 2 , 3 , 1 ) (2, 3, 1) ( 2 , 3 , 1 ) are not proportional, so the lines are not parallel. Use the skew-lines formula.
The idea#
Read off a ⃗ 1 = ( 1 , 2 , 3 ) \vec a_1 = (1, 2, 3) a 1 = ( 1 , 2 , 3 ) , b ⃗ 1 = ( 1 , − 3 , 2 ) \vec b_1 = (1, -3, 2) b 1 = ( 1 , − 3 , 2 ) , a ⃗ 2 = ( 4 , 5 , 6 ) \vec a_2 = (4, 5, 6) a 2 = ( 4 , 5 , 6 ) , b ⃗ 2 = ( 2 , 3 , 1 ) \vec b_2 = (2, 3, 1) b 2 = ( 2 , 3 , 1 ) . Compute b ⃗ 1 × b ⃗ 2 \vec b_1 \times \vec b_2 b 1 × b 2 , its length, and its dot product with a ⃗ 2 − a ⃗ 1 \vec a_2 - \vec a_1 a 2 − a 1 .
Step-by-step solution#
Step 1. Cross product of the directions.
b ⃗ 1 × b ⃗ 2 = ∣ i ^ j ^ k ^ 1 − 3 2 2 3 1 ∣ = ( − 3 − 6 ) i ^ − ( 1 − 4 ) j ^ + ( 3 + 6 ) k ^ = − 9 i ^ + 3 j ^ + 9 k ^ . \vec b_1 \times \vec b_2 = \begin{vmatrix} \hat i & \hat j & \hat k \\ 1 & -3 & 2 \\ 2 & 3 & 1 \end{vmatrix} = (-3 - 6)\hat i - (1 - 4)\hat j + (3 + 6)\hat k = -9\hat i + 3\hat j + 9\hat k. b 1 × b 2 = i ^ 1 2 j ^ − 3 3 k ^ 2 1 = ( − 3 − 6 ) i ^ − ( 1 − 4 ) j ^ + ( 3 + 6 ) k ^ = − 9 i ^ + 3 j ^ + 9 k ^ .
Step 2. Its length.
∣ b ⃗ 1 × b ⃗ 2 ∣ = 81 + 9 + 81 = 171 = 3 19 . \lvert\vec b_1 \times \vec b_2\rvert = \sqrt{81 + 9 + 81} = \sqrt{171} = 3\sqrt{19}. ∣ b 1 × b 2 ∣ = 81 + 9 + 81 = 171 = 3 19 .
Step 3. Vector joining the given points.
a ⃗ 2 − a ⃗ 1 = 3 i ^ + 3 j ^ + 3 k ^ . \vec a_2 - \vec a_1 = 3\hat i + 3\hat j + 3\hat k. a 2 − a 1 = 3 i ^ + 3 j ^ + 3 k ^ .
Step 4. Dot product.
( − 9 ) ( 3 ) + ( 3 ) ( 3 ) + ( 9 ) ( 3 ) = − 27 + 9 + 27 = 9. (-9)(3) + (3)(3) + (9)(3) = -27 + 9 + 27 = 9. ( − 9 ) ( 3 ) + ( 3 ) ( 3 ) + ( 9 ) ( 3 ) = − 27 + 9 + 27 = 9.
Step 5. Distance.
d = ∣ 9 ∣ 3 19 = 3 19 . \displaystyle d = \frac{\lvert 9 \rvert}{3\sqrt{19}} = \frac{3}{\sqrt{19}}. d = 3 19 ∣ 9 ∣ = 19 3 .
Checking the answer#
d ≠ 0 d \ne 0 d = 0 , so the lines are genuinely skew (they do not meet). 3 19 ≈ 0.69 \displaystyle \tfrac{3}{\sqrt{19}} \approx 0.69 19 3 ≈ 0.69 units.
Answer#
d = 3 19 \displaystyle d = \frac{3}{\sqrt{19}} d = 19 3 units
Question 5: Shortest distance between skew lines (Cartesian form)#
The problem#
Find the shortest distance between x + 1 7 = y + 1 − 6 = z + 1 1 \displaystyle \tfrac{x + 1}{7} = \tfrac{y + 1}{-6} = \tfrac{z + 1}{1} 7 x + 1 = − 6 y + 1 = 1 z + 1 and x − 3 1 = y − 5 − 2 = z − 7 1 \displaystyle \tfrac{x - 3}{1} = \tfrac{y - 5}{-2} = \tfrac{z - 7}{1} 1 x − 3 = − 2 y − 5 = 1 z − 7 .
Understanding the problem#
First convert each line to a point and a direction. Careful with signs: x + 1 = x − ( − 1 ) x + 1 = x - (-1) x + 1 = x − ( − 1 ) , so the first point is ( − 1 , − 1 , − 1 ) (-1, -1, -1) ( − 1 , − 1 , − 1 ) .
The idea#
a ⃗ 1 = ( − 1 , − 1 , − 1 ) \vec a_1 = (-1, -1, -1) a 1 = ( − 1 , − 1 , − 1 ) , b ⃗ 1 = ( 7 , − 6 , 1 ) \vec b_1 = (7, -6, 1) b 1 = ( 7 , − 6 , 1 ) ; a ⃗ 2 = ( 3 , 5 , 7 ) \vec a_2 = (3, 5, 7) a 2 = ( 3 , 5 , 7 ) , b ⃗ 2 = ( 1 , − 2 , 1 ) \vec b_2 = (1, -2, 1) b 2 = ( 1 , − 2 , 1 ) . Apply the skew-lines formula.
Step-by-step solution#
Step 1. Cross product.
b ⃗ 1 × b ⃗ 2 = ∣ i ^ j ^ k ^ 7 − 6 1 1 − 2 1 ∣ = ( − 6 + 2 ) i ^ − ( 7 − 1 ) j ^ + ( − 14 + 6 ) k ^ = − 4 i ^ − 6 j ^ − 8 k ^ . \vec b_1 \times \vec b_2 = \begin{vmatrix} \hat i & \hat j & \hat k \\ 7 & -6 & 1 \\ 1 & -2 & 1 \end{vmatrix} = (-6 + 2)\hat i - (7 - 1)\hat j + (-14 + 6)\hat k = -4\hat i - 6\hat j - 8\hat k. b 1 × b 2 = i ^ 7 1 j ^ − 6 − 2 k ^ 1 1 = ( − 6 + 2 ) i ^ − ( 7 − 1 ) j ^ + ( − 14 + 6 ) k ^ = − 4 i ^ − 6 j ^ − 8 k ^ .
Step 2. Length.
16 + 36 + 64 = 116 = 2 29 . \sqrt{16 + 36 + 64} = \sqrt{116} = 2\sqrt{29}. 16 + 36 + 64 = 116 = 2 29 .
Step 3. Joining vector.
a ⃗ 2 − a ⃗ 1 = ( 3 + 1 ) i ^ + ( 5 + 1 ) j ^ + ( 7 + 1 ) k ^ = 4 i ^ + 6 j ^ + 8 k ^ . \vec a_2 - \vec a_1 = (3 + 1)\hat i + (5 + 1)\hat j + (7 + 1)\hat k = 4\hat i + 6\hat j + 8\hat k. a 2 − a 1 = ( 3 + 1 ) i ^ + ( 5 + 1 ) j ^ + ( 7 + 1 ) k ^ = 4 i ^ + 6 j ^ + 8 k ^ .
Step 4. Dot product.
( − 4 ) ( 4 ) + ( − 6 ) ( 6 ) + ( − 8 ) ( 8 ) = − 16 − 36 − 64 = − 116. (-4)(4) + (-6)(6) + (-8)(8) = -16 - 36 - 64 = -116. ( − 4 ) ( 4 ) + ( − 6 ) ( 6 ) + ( − 8 ) ( 8 ) = − 16 − 36 − 64 = − 116.
Step 5. Distance (take the absolute value).
d = ∣ − 116 ∣ 2 29 = 116 2 29 = 58 29 = 2 29 . \displaystyle d = \frac{\lvert -116 \rvert}{2\sqrt{29}} = \frac{116}{2\sqrt{29}} = \frac{58}{\sqrt{29}} = 2\sqrt{29}. d = 2 29 ∣ − 116 ∣ = 2 29 116 = 29 58 = 2 29 .
(Since 58 = 2 × 29 58 = 2 \times 29 58 = 2 × 29 , 58 29 = 2 29 \displaystyle \tfrac{58}{\sqrt{29}} = 2\sqrt{29} 29 58 = 2 29 .)
Checking the answer#
Here a ⃗ 2 − a ⃗ 1 \vec a_2 - \vec a_1 a 2 − a 1 happens to be parallel to b ⃗ 1 × b ⃗ 2 \vec b_1 \times \vec b_2 b 1 × b 2 (it is exactly its negative), so the whole joining segment lies along the common perpendicular, and d d d equals its full length 116 = 2 29 \sqrt{116} = 2\sqrt{29} 116 = 2 29 ✓.
Answer#
d = 2 29 d = 2\sqrt{29} d = 2 29 units
Question 6: Showing two lines intersect#
The problem#
Show that the lines x − 1 2 = y − 2 3 = z − 3 4 \displaystyle \tfrac{x - 1}{2} = \tfrac{y - 2}{3} = \tfrac{z - 3}{4} 2 x − 1 = 3 y − 2 = 4 z − 3 and x − 4 5 = y − 1 2 = z \displaystyle \tfrac{x - 4}{5} = \tfrac{y - 1}{2} = z 5 x − 4 = 2 y − 1 = z intersect.
Understanding the problem#
Two non-parallel lines in space intersect exactly when the shortest distance between them is 0 0 0 . You can also find the actual meeting point.
The idea#
Write a general point on each line using parameters λ \lambda λ and μ \mu μ , set the coordinates equal, solve two equations, and check the third. (This is equivalent to d = 0 d = 0 d = 0 .)
Step-by-step solution#
Step 1. General point on the first line (each fraction = λ = \lambda = λ ).
( 2 λ + 1 , 3 λ + 2 , 4 λ + 3 ) . (2\lambda + 1,\ 3\lambda + 2,\ 4\lambda + 3). ( 2 λ + 1 , 3 λ + 2 , 4 λ + 3 ) .
Step 2. General point on the second line. Note z = z − 0 1 \displaystyle z = \tfrac{z - 0}{1} z = 1 z − 0 , so each fraction = μ = \mu = μ gives
( 5 μ + 4 , 2 μ + 1 , μ ) . (5\mu + 4,\ 2\mu + 1,\ \mu). ( 5 μ + 4 , 2 μ + 1 , μ ) .
Step 3. Equate the x x x - and y y y -coordinates.
2 λ + 1 = 5 μ + 4 ⇒ 2 λ − 5 μ = 3 , 3 λ + 2 = 2 μ + 1 ⇒ 3 λ − 2 μ = − 1. 2\lambda + 1 = 5\mu + 4 \;\Rightarrow\; 2\lambda - 5\mu = 3, \qquad 3\lambda + 2 = 2\mu + 1 \;\Rightarrow\; 3\lambda - 2\mu = -1. 2 λ + 1 = 5 μ + 4 ⇒ 2 λ − 5 μ = 3 , 3 λ + 2 = 2 μ + 1 ⇒ 3 λ − 2 μ = − 1.
Step 4. Solve. Multiply the first by 3 3 3 and the second by 2 2 2 , then subtract.
6 λ − 15 μ = 9 6 λ − 4 μ = − 2 subtract: − 11 μ = 11 ⇒ μ = − 1. \begin{aligned}
6\lambda - 15\mu &= 9\\
6\lambda - 4\mu &= -2\\
\text{subtract: } -11\mu &= 11 \;\Rightarrow\; \mu = -1.
\end{aligned} 6 λ − 15 μ 6 λ − 4 μ subtract: − 11 μ = 9 = − 2 = 11 ⇒ μ = − 1.
Then 2 λ − 5 ( − 1 ) = 3 2\lambda - 5(-1) = 3 2 λ − 5 ( − 1 ) = 3 gives 2 λ = − 2 2\lambda = -2 2 λ = − 2 , λ = − 1 \lambda = -1 λ = − 1 .
Step 5. Check the z z z -coordinates with these values.
4 λ + 3 = − 4 + 3 = − 1 , μ = − 1. 4\lambda + 3 = -4 + 3 = -1, \qquad \mu = -1. 4 λ + 3 = − 4 + 3 = − 1 , μ = − 1.
They agree, so the lines share a point.
Step 6. The common point is ( 2 ( − 1 ) + 1 , 3 ( − 1 ) + 2 , − 1 ) = ( − 1 , − 1 , − 1 ) (2(-1) + 1,\ 3(-1) + 2,\ -1) = (-1, -1, -1) ( 2 ( − 1 ) + 1 , 3 ( − 1 ) + 2 , − 1 ) = ( − 1 , − 1 , − 1 ) .
Checking the answer#
( − 1 , − 1 , − 1 ) (-1, -1, -1) ( − 1 , − 1 , − 1 ) in the first line: − 2 2 = − 3 3 = − 4 4 = − 1 \displaystyle \tfrac{-2}{2} = \tfrac{-3}{3} = \tfrac{-4}{4} = -1 2 − 2 = 3 − 3 = 4 − 4 = − 1 ✓. In the second: − 5 5 = − 2 2 = − 1 \displaystyle \tfrac{-5}{5} = \tfrac{-2}{2} = -1 5 − 5 = 2 − 2 = − 1 ✓. Equivalently, the shortest-distance formula gives 0 0 0 .
Answer#
The lines meet at ( − 1 , − 1 , − 1 ) (-1, -1, -1) ( − 1 , − 1 , − 1 ) (their shortest distance is 0 0 0 ), so they intersect.
Question 7: Distance between parallel lines#
The problem#
Find the distance between the parallel lines r ⃗ = λ ( i ^ + 2 j ^ + 2 k ^ ) \vec r = \lambda(\hat i + 2\hat j + 2\hat k) r = λ ( i ^ + 2 j ^ + 2 k ^ ) and r ⃗ = 3 i ^ + μ ( i ^ + 2 j ^ + 2 k ^ ) \vec r = 3\hat i + \mu(\hat i + 2\hat j + 2\hat k) r = 3 i ^ + μ ( i ^ + 2 j ^ + 2 k ^ ) .
Understanding the problem#
Both lines have direction b ⃗ = i ^ + 2 j ^ + 2 k ^ \vec b = \hat i + 2\hat j + 2\hat k b = i ^ + 2 j ^ + 2 k ^ , so they are parallel. The first passes through the origin, a ⃗ 1 = 0 ⃗ \vec a_1 = \vec 0 a 1 = 0 ; the second through a ⃗ 2 = 3 i ^ \vec a_2 = 3\hat i a 2 = 3 i ^ .
The idea#
For parallel lines, b ⃗ 1 × b ⃗ 2 = 0 ⃗ \vec b_1 \times \vec b_2 = \vec 0 b 1 × b 2 = 0 , so the skew formula fails. Use d = ∣ b ⃗ × ( a ⃗ 2 − a ⃗ 1 ) ∣ ∣ b ⃗ ∣ \displaystyle d = \frac{\lvert\vec b \times (\vec a_2 - \vec a_1)\rvert}{\lvert\vec b\rvert} d = ∣ b ∣ ∣ b × ( a 2 − a 1 )∣ .
Step-by-step solution#
Step 1. Joining vector.
a ⃗ 2 − a ⃗ 1 = 3 i ^ . \vec a_2 - \vec a_1 = 3\hat i. a 2 − a 1 = 3 i ^ .
Step 2. Cross product.
b ⃗ × 3 i ^ = ∣ i ^ j ^ k ^ 1 2 2 3 0 0 ∣ = ( 0 − 0 ) i ^ − ( 0 − 6 ) j ^ + ( 0 − 6 ) k ^ = 6 j ^ − 6 k ^ . \vec b \times 3\hat i = \begin{vmatrix} \hat i & \hat j & \hat k \\ 1 & 2 & 2 \\ 3 & 0 & 0 \end{vmatrix} = (0 - 0)\hat i - (0 - 6)\hat j + (0 - 6)\hat k = 6\hat j - 6\hat k. b × 3 i ^ = i ^ 1 3 j ^ 2 0 k ^ 2 0 = ( 0 − 0 ) i ^ − ( 0 − 6 ) j ^ + ( 0 − 6 ) k ^ = 6 j ^ − 6 k ^ .
Step 3. Lengths.
∣ 6 j ^ − 6 k ^ ∣ = 36 + 36 = 6 2 , ∣ b ⃗ ∣ = 1 + 4 + 4 = 3. \lvert 6\hat j - 6\hat k \rvert = \sqrt{36 + 36} = 6\sqrt{2}, \qquad \lvert\vec b\rvert = \sqrt{1 + 4 + 4} = 3. ∣ 6 j ^ − 6 k ^ ∣ = 36 + 36 = 6 2 , ∣ b ∣ = 1 + 4 + 4 = 3.
Step 4. Distance.
d = 6 2 3 = 2 2 . \displaystyle d = \frac{6\sqrt{2}}{3} = 2\sqrt{2}. d = 3 6 2 = 2 2 .
Checking the answer#
d d d must be less than the distance 3 3 3 between the two chosen points, since those points are not directly opposite each other: 2 2 ≈ 2.83 < 3 2\sqrt{2} \approx 2.83 < 3 2 2 ≈ 2.83 < 3 ✓.
Answer#
d = 2 2 d = 2\sqrt{2} d = 2 2 units
The problem#
Find the foot of the perpendicular from ( 1 , 6 , 3 ) (1, 6, 3) ( 1 , 6 , 3 ) to the line x 1 = y − 1 2 = z − 2 3 \displaystyle \tfrac{x}{1} = \tfrac{y - 1}{2} = \tfrac{z - 2}{3} 1 x = 2 y − 1 = 3 z − 2 and the length of the perpendicular.
Understanding the problem#
The foot F F F is the point on the line closest to P ( 1 , 6 , 3 ) P(1, 6, 3) P ( 1 , 6 , 3 ) . At F F F , the segment P F PF P F is perpendicular to the line's direction ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) .
The idea#
Write a general point F F F of the line in terms of λ \lambda λ . Make P F → \overrightarrow{PF} P F perpendicular to ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) (dot product 0 0 0 ), solve for λ \lambda λ , then find F F F and ∣ P F ∣ \lvert PF \rvert ∣ P F ∣ .
Step-by-step solution#
Step 1. General point on the line (each fraction = λ = \lambda = λ ).
F = ( λ , 2 λ + 1 , 3 λ + 2 ) . F = (\lambda,\ 2\lambda + 1,\ 3\lambda + 2). F = ( λ , 2 λ + 1 , 3 λ + 2 ) .
Step 2. Vector from P P P to F F F .
P F → = ( λ − 1 , 2 λ + 1 − 6 , 3 λ + 2 − 3 ) = ( λ − 1 , 2 λ − 5 , 3 λ − 1 ) . \overrightarrow{PF} = (\lambda - 1,\ 2\lambda + 1 - 6,\ 3\lambda + 2 - 3) = (\lambda - 1,\ 2\lambda - 5,\ 3\lambda - 1). P F = ( λ − 1 , 2 λ + 1 − 6 , 3 λ + 2 − 3 ) = ( λ − 1 , 2 λ − 5 , 3 λ − 1 ) .
Step 3. Perpendicular to ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) .
1 ( λ − 1 ) + 2 ( 2 λ − 5 ) + 3 ( 3 λ − 1 ) = 0 λ − 1 + 4 λ − 10 + 9 λ − 3 = 0 14 λ − 14 = 0 λ = 1. \begin{aligned}
1(\lambda - 1) + 2(2\lambda - 5) + 3(3\lambda - 1) &= 0\\
\lambda - 1 + 4\lambda - 10 + 9\lambda - 3 &= 0\\
14\lambda - 14 &= 0\\
\lambda &= 1.
\end{aligned} 1 ( λ − 1 ) + 2 ( 2 λ − 5 ) + 3 ( 3 λ − 1 ) λ − 1 + 4 λ − 10 + 9 λ − 3 14 λ − 14 λ = 0 = 0 = 0 = 1.
Step 4. The foot.
F = ( 1 , 3 , 5 ) . F = (1,\ 3,\ 5). F = ( 1 , 3 , 5 ) .
Step 5. Length of the perpendicular.
P F = ( 1 − 1 ) 2 + ( 3 − 6 ) 2 + ( 5 − 3 ) 2 = 0 + 9 + 4 = 13 . PF = \sqrt{(1 - 1)^2 + (3 - 6)^2 + (5 - 3)^2} = \sqrt{0 + 9 + 4} = \sqrt{13}. P F = ( 1 − 1 ) 2 + ( 3 − 6 ) 2 + ( 5 − 3 ) 2 = 0 + 9 + 4 = 13 .
Checking the answer#
F F F is on the line: 1 1 = 3 − 1 2 = 5 − 2 3 = 1 \displaystyle \tfrac{1}{1} = \tfrac{3 - 1}{2} = \tfrac{5 - 2}{3} = 1 1 1 = 2 3 − 1 = 3 5 − 2 = 1 ✓. P F → = ( 0 , − 3 , 2 ) \overrightarrow{PF} = (0, -3, 2) P F = ( 0 , − 3 , 2 ) and ( 0 ) ( 1 ) + ( − 3 ) ( 2 ) + ( 2 ) ( 3 ) = 0 (0)(1) + (-3)(2) + (2)(3) = 0 ( 0 ) ( 1 ) + ( − 3 ) ( 2 ) + ( 2 ) ( 3 ) = 0 ✓.
Answer#
Foot ( 1 , 3 , 5 ) (1, 3, 5) ( 1 , 3 , 5 ) ; length of the perpendicular 13 \sqrt{13} 13 units.