The question
(a) Find the vector and the Cartesian equations of a line passing through the point ( 1 , 2 , − 4 ) (1, 2, -4) ( 1 , 2 , − 4 ) and parallel to the line joining the points A ( 3 , 3 , − 5 ) A(3, 3, -5) A ( 3 , 3 , − 5 ) and B ( 1 , 0 , − 11 ) B(1, 0, -11) B ( 1 , 0 , − 11 ) . Hence, find the distance between the two lines.
OR
(b) Find the equations of the line passing through the points A ( 1 , 2 , 3 ) A(1, 2, 3) A ( 1 , 2 , 3 ) and B ( 3 , 5 , 9 ) B(3, 5, 9) B ( 3 , 5 , 9 ) . Hence, find the coordinates of the points on this line which are at a distance of 14 units from point B.
Exam answer Show all explanations
(a) Direction ratios of AB: 1 − 3 , 0 − 3 , − 11 + 5 1 - 3,\ 0 - 3,\ -11 + 5 1 − 3 , 0 − 3 , − 11 + 5 , i.e. − 2 , − 3 , − 6 -2, -3, -6 − 2 , − 3 , − 6 . So AB is parallel to b ⃗ = 2 i ^ + 3 j ^ + 6 k ^ \vec b = 2\hat i + 3\hat j + 6\hat k b = 2 i ^ + 3 j ^ + 6 k ^ .
Why?
The direction ratios of the line through two points are the differences of their coordinates, here B minus A.
1 − 3 = − 2 0 − 3 = − 3 − 11 − ( − 5 ) = − 11 + 5 = − 6 \begin{aligned} 1 - 3 &= -2 \\ 0 - 3 &= -3 \\ -11 - (-5) &= -11 + 5 = -6 \end{aligned} 1 − 3 0 − 3 − 11 − ( − 5 ) = − 2 = − 3 = − 11 + 5 = − 6
− 2 , − 3 , − 6 -2, -3, -6 − 2 , − 3 , − 6 and 2 , 3 , 6 2, 3, 6 2 , 3 , 6 are proportional (multiply by − 1 -1 − 1 ) , so they give the same direction. The positive set is simpler.
The required line is parallel to AB, so it has the same direction b ⃗ \vec b b .
Vector equation of the required line through ( 1 , 2 , − 4 ) (1, 2, -4) ( 1 , 2 , − 4 ) is
r ⃗ = i ^ + 2 j ^ − 4 k ^ + λ ( 2 i ^ + 3 j ^ + 6 k ^ ) \begin{aligned} \vec r &= \hat i + 2\hat j - 4\hat k \\ &\quad + \lambda(2\hat i + 3\hat j + 6\hat k) \end{aligned} r = i ^ + 2 j ^ − 4 k ^ + λ ( 2 i ^ + 3 j ^ + 6 k ^ )
Why?
A line through the point with position vector a ⃗ \vec a a , parallel to b ⃗ \vec b b , is
r ⃗ = a ⃗ + λ b ⃗ \vec r = \vec a + \lambda\vec b r = a + λ b
Here a ⃗ = i ^ + 2 j ^ − 4 k ^ \vec a = \hat i + 2\hat j - 4\hat k a = i ^ + 2 j ^ − 4 k ^ .
and its Cartesian equation is
x − 1 2 = y − 2 3 = z + 4 6 \frac{x - 1}{2} = \frac{y - 2}{3} = \frac{z + 4}{6} 2 x − 1 = 3 y − 2 = 6 z + 4
Why?
The Cartesian form through ( x 1 , y 1 , z 1 ) (x_1, y_1, z_1) ( x 1 , y 1 , z 1 ) with direction ratios a , b , c a, b, c a , b , c is
x − x 1 a = y − y 1 b = z − z 1 c \frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c} a x − x 1 = b y − y 1 = c z − z 1
With z 1 = − 4 z_1 = -4 z 1 = − 4 , z − z 1 z - z_1 z − z 1 becomes z + 4 z + 4 z + 4 .
Equation of the line through A ( 3 , 3 , − 5 ) A(3, 3, -5) A ( 3 , 3 , − 5 ) and B ( 1 , 0 , − 11 ) B(1, 0, -11) B ( 1 , 0 , − 11 ) is
r ⃗ = 3 i ^ + 3 j ^ − 5 k ^ + μ ( 2 i ^ + 3 j ^ + 6 k ^ ) \begin{aligned} \vec r &= 3\hat i + 3\hat j - 5\hat k \\ &\quad + \mu(2\hat i + 3\hat j + 6\hat k) \end{aligned} r = 3 i ^ + 3 j ^ − 5 k ^ + μ ( 2 i ^ + 3 j ^ + 6 k ^ )
Why?
Line AB passes through A ( 3 , 3 , − 5 ) A(3, 3, -5) A ( 3 , 3 , − 5 ) and has the same direction b ⃗ \vec b b . A different letter, μ \mu μ , is used for its parameter.
Distance between the parallel lines is given by
d = ∣ ( a ⃗ 2 − a ⃗ 1 ) × b ⃗ ∣ ∣ b ⃗ ∣ d = \frac{\left|(\vec a_2 - \vec a_1)\times\vec b\right|}{|\vec b|} d = ∣ b ∣ ( a 2 − a 1 ) × b
Why?
This is the standard distance between the parallel lines r ⃗ = a ⃗ 1 + λ b ⃗ \vec r = \vec a_1 + \lambda\vec b r = a 1 + λ b and r ⃗ = a ⃗ 2 + μ b ⃗ \vec r = \vec a_2 + \mu\vec b r = a 2 + μ b .
The size of the cross product is the area of a parallelogram with base ∣ b ⃗ ∣ |\vec b| ∣ b ∣ . Dividing by the base leaves the height, which is the distance between the lines.
Here b ⃗ = 2 i ^ + 3 j ^ + 6 k ^ \vec b = 2\hat i + 3\hat j + 6\hat k b = 2 i ^ + 3 j ^ + 6 k ^ , a ⃗ 1 = i ^ + 2 j ^ − 4 k ^ \vec a_1 = \hat i + 2\hat j - 4\hat k a 1 = i ^ + 2 j ^ − 4 k ^ , a ⃗ 2 = 3 i ^ + 3 j ^ − 5 k ^ \vec a_2 = 3\hat i + 3\hat j - 5\hat k a 2 = 3 i ^ + 3 j ^ − 5 k ^ .
a ⃗ 2 − a ⃗ 1 = 2 i ^ + j ^ − k ^ \vec a_2 - \vec a_1 = 2\hat i + \hat j - \hat k a 2 − a 1 = 2 i ^ + j ^ − k ^
Why?
Subtract component by component: 3 − 1 = 2 3 - 1 = 2 3 − 1 = 2 , 3 − 2 = 1 3 - 2 = 1 3 − 2 = 1 and − 5 − ( − 4 ) = − 1 -5 - (-4) = -1 − 5 − ( − 4 ) = − 1 .
( a ⃗ 2 − a ⃗ 1 ) × b ⃗ = ∣ i ^ j ^ k ^ 2 1 − 1 2 3 6 ∣ = ( 6 + 3 ) i ^ − ( 12 + 2 ) j ^ + ( 6 − 2 ) k ^ = 9 i ^ − 14 j ^ + 4 k ^ \begin{aligned} &(\vec a_2 - \vec a_1)\times\vec b \\ &= \begin{vmatrix} \hat i & \hat j & \hat k \\ 2 & 1 & -1 \\ 2 & 3 & 6 \end{vmatrix} \\ &= (6 + 3)\hat i - (12 + 2)\hat j \\ &\quad + (6 - 2)\hat k \\ &= 9\hat i - 14\hat j + 4\hat k \end{aligned} ( a 2 − a 1 ) × b = i ^ 2 2 j ^ 1 3 k ^ − 1 6 = ( 6 + 3 ) i ^ − ( 12 + 2 ) j ^ + ( 6 − 2 ) k ^ = 9 i ^ − 14 j ^ + 4 k ^
Why?
Expand the determinant along the first row:
i ^ : 1 ( 6 ) − ( − 1 ) ( 3 ) = 9 j ^ : − [ 2 ( 6 ) − ( − 1 ) ( 2 ) ] = − 14 k ^ : 2 ( 3 ) − 1 ( 2 ) = 4 \begin{aligned} \hat i&: 1(6) - (-1)(3) = 9 \\ \hat j&: -[2(6) - (-1)(2)] = -14 \\ \hat k&: 2(3) - 1(2) = 4 \end{aligned} i ^ j ^ k ^ : 1 ( 6 ) − ( − 1 ) ( 3 ) = 9 : − [ 2 ( 6 ) − ( − 1 ) ( 2 )] = − 14 : 2 ( 3 ) − 1 ( 2 ) = 4
One at a time, covering the row of i ^ , j ^ , k ^ \hat i, \hat j, \hat k i ^ , j ^ , k ^ and one column:
i ^ : ∣ 1 − 1 3 6 ∣ = ( 1 ) ( 6 ) − ( − 1 ) ( 3 ) = 6 + 3 = 9 j ^ : − ∣ 2 − 1 2 6 ∣ = − ( ( 2 ) ( 6 ) − ( − 1 ) ( 2 ) ) = − ( 12 + 2 ) = − 14 k ^ : ∣ 2 1 2 3 ∣ = ( 2 ) ( 3 ) − ( 1 ) ( 2 ) = 6 − 2 = 4 \begin{aligned} \hat i&: \begin{vmatrix} 1 & -1 \\ 3 & 6 \end{vmatrix} \\ &= (1)(6) - (-1)(3) \\ &= 6 + 3 = 9 \\[4pt] \hat j&: -\begin{vmatrix} 2 & -1 \\ 2 & 6 \end{vmatrix} \\ &= -\big((2)(6) - (-1)(2)\big) \\ &= -(12 + 2) = -14 \\[4pt] \hat k&: \begin{vmatrix} 2 & 1 \\ 2 & 3 \end{vmatrix} \\ &= (2)(3) - (1)(2) \\ &= 6 - 2 = 4 \end{aligned} i ^ j ^ k ^ : 1 3 − 1 6 = ( 1 ) ( 6 ) − ( − 1 ) ( 3 ) = 6 + 3 = 9 : − 2 2 − 1 6 = − ( ( 2 ) ( 6 ) − ( − 1 ) ( 2 ) ) = − ( 12 + 2 ) = − 14 : 2 2 1 3 = ( 2 ) ( 3 ) − ( 1 ) ( 2 ) = 6 − 2 = 4
Watch out: the j ^ \hat j j ^ term takes a minus sign.
d = 81 + 196 + 16 4 + 9 + 36 \begin{aligned} d &= \frac{\sqrt{81 + 196 + 16}}{\sqrt{4 + 9 + 36}} \end{aligned} d = 4 + 9 + 36 81 + 196 + 16
Why?
The magnitudes are the roots of the sums of squares:
9 2 + ( − 14 ) 2 + 4 2 = 81 + 196 + 16 = 293 \begin{aligned} &9^2 + (-14)^2 + 4^2 \\ &= 81 + 196 + 16 = 293 \end{aligned} 9 2 + ( − 14 ) 2 + 4 2 = 81 + 196 + 16 = 293
81 + 196 = 277 277 + 16 = 293 \begin{aligned} 81 + 196 &= 277 \\ 277 + 16 &= 293 \end{aligned} 81 + 196 277 + 16 = 277 = 293
2 2 + 3 2 + 6 2 = 49 = 7 2 2^2 + 3^2 + 6^2 = 49 = 7^2 2 2 + 3 2 + 6 2 = 49 = 7 2
4 + 9 + 36 = 49 49 = 7 \begin{aligned} 4 + 9 + 36 &= 49 \\ \sqrt{49} &= 7 \end{aligned} 4 + 9 + 36 49 = 49 = 7
So d = 293 49 = 293 7 d = \frac{\sqrt{293}}{\sqrt{49}} = \frac{\sqrt{293}}{7} d = 49 293 = 7 293 .
293 is not a perfect square, so 293 \sqrt{293} 293 stays as it is.
∴ d = 293 7 \therefore\ d = \frac{\sqrt{293}}{7} ∴ d = 7 293 units.
(b) Direction ratios of AB: 3 − 1 , 5 − 2 , 9 − 3 3 - 1,\ 5 - 2,\ 9 - 3 3 − 1 , 5 − 2 , 9 − 3 , i.e. 2 , 3 , 6 2, 3, 6 2 , 3 , 6 . Equation of line AB is
x − 1 2 = y − 2 3 = z − 3 6 \frac{x - 1}{2} = \frac{y - 2}{3} = \frac{z - 3}{6} 2 x − 1 = 3 y − 2 = 6 z − 3
Why?
The direction ratios are B minus A. The line passes through A ( 1 , 2 , 3 ) A(1, 2, 3) A ( 1 , 2 , 3 ) , so use the Cartesian form with ( x 1 , y 1 , z 1 ) = ( 1 , 2 , 3 ) (x_1, y_1, z_1) = (1, 2, 3) ( x 1 , y 1 , z 1 ) = ( 1 , 2 , 3 ) .
3 − 1 = 2 5 − 2 = 3 9 − 3 = 6 \begin{aligned} 3 - 1 &= 2 \\ 5 - 2 &= 3 \\ 9 - 3 &= 6 \end{aligned} 3 − 1 5 − 2 9 − 3 = 2 = 3 = 6
or r ⃗ = i ^ + 2 j ^ + 3 k ^ \vec r = \hat i + 2\hat j + 3\hat k r = i ^ + 2 j ^ + 3 k ^ + λ ( 2 i ^ + 3 j ^ + 6 k ^ ) + \lambda(2\hat i + 3\hat j + 6\hat k) + λ ( 2 i ^ + 3 j ^ + 6 k ^ ) .
Let the coordinates of a required point on AB be ( 2 λ + 1 , 3 λ + 2 , 6 λ + 3 ) (2\lambda + 1, 3\lambda + 2, 6\lambda + 3) ( 2 λ + 1 , 3 λ + 2 , 6 λ + 3 ) for some λ \lambda λ . According to the question,
Why?
Set each fraction equal to λ \lambda λ . For example, x − 1 2 = λ \frac{x - 1}{2} = \lambda 2 x − 1 = λ gives x = 2 λ + 1 x = 2\lambda + 1 x = 2 λ + 1 . Every point of the line has this form for some value of λ \lambda λ .
The point must be 14 units from B ( 3 , 5 , 9 ) B(3, 5, 9) B ( 3 , 5 , 9 ) . Use the distance formula, with both sides squared to avoid the root.
( 2 λ − 2 ) 2 + ( 3 λ − 3 ) 2 + ( 6 λ − 6 ) 2 = 14 2 ⇒ 49 ( λ − 1 ) 2 = 196 ⇒ λ 2 − 2 λ − 3 = 0 ⇒ ( λ − 3 ) ( λ + 1 ) = 0 \begin{aligned} &(2\lambda - 2)^2 + (3\lambda - 3)^2 \\ &\quad + (6\lambda - 6)^2 = 14^2 \\ \Rightarrow\ &49(\lambda - 1)^2 = 196 \\ \Rightarrow\ &\lambda^2 - 2\lambda - 3 = 0 \\ \Rightarrow\ &(\lambda - 3)(\lambda + 1) = 0 \end{aligned} ⇒ ⇒ ⇒ ( 2 λ − 2 ) 2 + ( 3 λ − 3 ) 2 + ( 6 λ − 6 ) 2 = 1 4 2 49 ( λ − 1 ) 2 = 196 λ 2 − 2 λ − 3 = 0 ( λ − 3 ) ( λ + 1 ) = 0
Why?
The differences from B are 2 λ + 1 − 3 = 2 λ − 2 2\lambda + 1 - 3 = 2\lambda - 2 2 λ + 1 − 3 = 2 λ − 2 , then 3 λ − 3 3\lambda - 3 3 λ − 3 and 6 λ − 6 6\lambda - 6 6 λ − 6 . Each is a multiple of λ − 1 \lambda - 1 λ − 1 :
2 λ + 1 − 3 = 2 λ − 2 = 2 ( λ − 1 ) 3 λ + 2 − 5 = 3 λ − 3 = 3 ( λ − 1 ) 6 λ + 3 − 9 = 6 λ − 6 = 6 ( λ − 1 ) \begin{aligned} 2\lambda + 1 - 3 &= 2\lambda - 2 = 2(\lambda - 1) \\ 3\lambda + 2 - 5 &= 3\lambda - 3 = 3(\lambda - 1) \\ 6\lambda + 3 - 9 &= 6\lambda - 6 = 6(\lambda - 1) \end{aligned} 2 λ + 1 − 3 3 λ + 2 − 5 6 λ + 3 − 9 = 2 λ − 2 = 2 ( λ − 1 ) = 3 λ − 3 = 3 ( λ − 1 ) = 6 λ − 6 = 6 ( λ − 1 )
Square each one: ( 2 ( λ − 1 ) ) 2 = 4 ( λ − 1 ) 2 \big(2(\lambda - 1)\big)^2 = 4(\lambda - 1)^2 ( 2 ( λ − 1 ) ) 2 = 4 ( λ − 1 ) 2 , and so on.
4 ( λ − 1 ) 2 + 9 ( λ − 1 ) 2 + 36 ( λ − 1 ) 2 = 49 ( λ − 1 ) 2 \begin{aligned} &4(\lambda - 1)^2 + 9(\lambda - 1)^2 \\ &\quad + 36(\lambda - 1)^2 = 49(\lambda - 1)^2 \end{aligned} 4 ( λ − 1 ) 2 + 9 ( λ − 1 ) 2 + 36 ( λ − 1 ) 2 = 49 ( λ − 1 ) 2
(4 + 9 + 36 = 49 4 + 9 + 36 = 49 4 + 9 + 36 = 49 , and 14 2 = 196 14^2 = 196 1 4 2 = 196 . )
Divide by 49: ( λ − 1 ) 2 = 4 (\lambda - 1)^2 = 4 ( λ − 1 ) 2 = 4 , so λ 2 − 2 λ + 1 = 4 \lambda^2 - 2\lambda + 1 = 4 λ 2 − 2 λ + 1 = 4 .
49 ( λ − 1 ) 2 = 196 ( λ − 1 ) 2 = 196 49 = 4 λ 2 − 2 λ + 1 = 4 λ 2 − 2 λ + 1 − 4 = 0 λ 2 − 2 λ − 3 = 0 \begin{aligned} 49(\lambda - 1)^2 &= 196 \\ (\lambda - 1)^2 &= \frac{196}{49} = 4 \\ \lambda^2 - 2\lambda + 1 &= 4 \\ \lambda^2 - 2\lambda + 1 - 4 &= 0 \\ \lambda^2 - 2\lambda - 3 &= 0 \end{aligned} 49 ( λ − 1 ) 2 ( λ − 1 ) 2 λ 2 − 2 λ + 1 λ 2 − 2 λ + 1 − 4 λ 2 − 2 λ − 3 = 196 = 49 196 = 4 = 4 = 0 = 0
To factorise, find two numbers with product − 3 -3 − 3 and sum − 2 -2 − 2 . They are − 3 -3 − 3 and 1 1 1 .
Solving, λ = 3 \lambda = 3 λ = 3 and λ = − 1 \lambda = -1 λ = − 1 .
Why?
From ( λ − 3 ) ( λ + 1 ) = 0 (\lambda - 3)(\lambda + 1) = 0 ( λ − 3 ) ( λ + 1 ) = 0 : λ − 3 = 0 \lambda - 3 = 0 λ − 3 = 0 gives λ = 3 \lambda = 3 λ = 3 , and λ + 1 = 0 \lambda + 1 = 0 λ + 1 = 0 gives λ = − 1 \lambda = -1 λ = − 1 .
Put each value in ( 2 λ + 1 , 3 λ + 2 , 6 λ + 3 ) (2\lambda + 1, 3\lambda + 2, 6\lambda + 3) ( 2 λ + 1 , 3 λ + 2 , 6 λ + 3 ) . For λ = 3 \lambda = 3 λ = 3 this is ( 7 , 11 , 21 ) (7, 11, 21) ( 7 , 11 , 21 ) , and for λ = − 1 \lambda = -1 λ = − 1 it is ( − 1 , − 1 , − 3 ) (-1, -1, -3) ( − 1 , − 1 , − 3 ) .
λ = 3 : 2 ( 3 ) + 1 = 7 3 ( 3 ) + 2 = 11 6 ( 3 ) + 3 = 21 λ = − 1 : 2 ( − 1 ) + 1 = − 1 3 ( − 1 ) + 2 = − 1 6 ( − 1 ) + 3 = − 3 \begin{aligned} &\lambda = 3\text{:} \\ &2(3) + 1 = 7 \\ &3(3) + 2 = 11 \\ &6(3) + 3 = 21 \\[4pt] &\lambda = -1\text{:} \\ &2(-1) + 1 = -1 \\ &3(-1) + 2 = -1 \\ &6(-1) + 3 = -3 \end{aligned} λ = 3 : 2 ( 3 ) + 1 = 7 3 ( 3 ) + 2 = 11 6 ( 3 ) + 3 = 21 λ = − 1 : 2 ( − 1 ) + 1 = − 1 3 ( − 1 ) + 2 = − 1 6 ( − 1 ) + 3 = − 3
Check: from B to ( 7 , 11 , 21 ) (7, 11, 21) ( 7 , 11 , 21 ) the differences are 4, 6 and 12, and
16 + 36 + 144 = 196 = 14 \sqrt{16 + 36 + 144} = \sqrt{196} = 14 16 + 36 + 144 = 196 = 14
From B to ( − 1 , − 1 , − 3 ) (-1, -1, -3) ( − 1 , − 1 , − 3 ) the differences are − 4 -4 − 4 , − 6 -6 − 6 and − 12 -12 − 12 , whose squares are the same 16, 36 and 144, so this distance is 14 too.
There are two points because there is one on each side of B.
∴ \therefore ∴ Required points are ( 7 , 11 , 21 ) (7, 11, 21) ( 7 , 11 , 21 ) and ( − 1 , − 1 , − 3 ) (-1, -1, -3) ( − 1 , − 1 , − 3 ) .