How to use these solutions#
These are detailed worked solutions to the Practice questions of the lesson Lines in Space and the Angle Between Them . Try each question yourself first, then go through the solution step by step. Keep two facts in front of you throughout: direction ratios can be scaled freely, but direction cosines must satisfy l 2 + m 2 + n 2 = 1 l^2 + m^2 + n^2 = 1 l 2 + m 2 + n 2 = 1 ; and a Cartesian line must be in standard form before you read a point or a direction from it.
Question 1: Direction cosines from direction ratios#
The problem#
Find the direction cosines of the line whose direction ratios are 6 , − 2 , 3 6, -2, 3 6 , − 2 , 3 .
Understanding the problem#
Direction ratios a , b , c a, b, c a , b , c only tell us the direction up to a scale. Direction cosines l , m , n l, m, n l , m , n are the particular multiple for which l 2 + m 2 + n 2 = 1 l^2 + m^2 + n^2 = 1 l 2 + m 2 + n 2 = 1 .
The idea#
Divide each ratio by a 2 + b 2 + c 2 \sqrt{a^2 + b^2 + c^2} a 2 + b 2 + c 2 :
l = a a 2 + b 2 + c 2 , m = b a 2 + b 2 + c 2 , n = c a 2 + b 2 + c 2 . \displaystyle l = \frac{a}{\sqrt{a^2 + b^2 + c^2}},\quad m = \frac{b}{\sqrt{a^2 + b^2 + c^2}},\quad n = \frac{c}{\sqrt{a^2 + b^2 + c^2}}. l = a 2 + b 2 + c 2 a , m = a 2 + b 2 + c 2 b , n = a 2 + b 2 + c 2 c .
Step-by-step solution#
Step 1. Compute the length.
6 2 + ( − 2 ) 2 + 3 2 = 36 + 4 + 9 = 49 = 7. \sqrt{6^2 + (-2)^2 + 3^2} = \sqrt{36 + 4 + 9} = \sqrt{49} = 7. 6 2 + ( − 2 ) 2 + 3 2 = 36 + 4 + 9 = 49 = 7.
Step 2. Divide each ratio by 7 7 7 .
l = 6 7 , m = − 2 7 , n = 3 7 . \displaystyle l = \frac67,\quad m = -\frac27,\quad n = \frac37. l = 7 6 , m = − 7 2 , n = 7 3 .
Checking the answer#
36 49 + 4 49 + 9 49 = 49 49 = 1 \displaystyle \tfrac{36}{49} + \tfrac{4}{49} + \tfrac{9}{49} = \tfrac{49}{49} = 1 49 36 + 49 4 + 49 9 = 49 49 = 1 ✓.
Answer#
6 7 , − 2 7 , 3 7 \displaystyle \frac67, -\frac27, \frac37 7 6 , − 7 2 , 7 3 (or all signs reversed, − 6 7 , 2 7 , − 3 7 \displaystyle -\tfrac67, \tfrac27, -\tfrac37 − 7 6 , 7 2 , − 7 3 , for the opposite sense of the line).
Question 2: Direction cosines of a line through two points#
The problem#
Find the direction cosines of the line through ( − 1 , 2 , 5 ) (-1, 2, 5) ( − 1 , 2 , 5 ) and ( 3 , 0 , 1 ) (3, 0, 1) ( 3 , 0 , 1 ) .
Understanding the problem#
We are given two points, not ratios. First get direction ratios from the points, then convert them to cosines.
The idea#
The line through P ( x 1 , y 1 , z 1 ) P(x_1, y_1, z_1) P ( x 1 , y 1 , z 1 ) and Q ( x 2 , y 2 , z 2 ) Q(x_2, y_2, z_2) Q ( x 2 , y 2 , z 2 ) has direction ratios x 2 − x 1 x_2 - x_1 x 2 − x 1 , y 2 − y 1 y_2 - y_1 y 2 − y 1 , z 2 − z 1 z_2 - z_1 z 2 − z 1 .
Step-by-step solution#
Step 1. Direction ratios from P ( − 1 , 2 , 5 ) P(-1, 2, 5) P ( − 1 , 2 , 5 ) to Q ( 3 , 0 , 1 ) Q(3, 0, 1) Q ( 3 , 0 , 1 ) :
3 − ( − 1 ) = 4 , 0 − 2 = − 2 , 1 − 5 = − 4. 3 - (-1) = 4,\qquad 0 - 2 = -2,\qquad 1 - 5 = -4. 3 − ( − 1 ) = 4 , 0 − 2 = − 2 , 1 − 5 = − 4.
Step 2. Length: 16 + 4 + 16 = 36 = 6 \sqrt{16 + 4 + 16} = \sqrt{36} = 6 16 + 4 + 16 = 36 = 6 .
Step 3. Divide by 6 6 6 .
l = 4 6 = 2 3 , m = − 2 6 = − 1 3 , n = − 4 6 = − 2 3 . \displaystyle l = \frac46 = \frac23,\quad m = -\frac26 = -\frac13,\quad n = -\frac46 = -\frac23. l = 6 4 = 3 2 , m = − 6 2 = − 3 1 , n = − 6 4 = − 3 2 .
Checking the answer#
4 9 + 1 9 + 4 9 = 1 \displaystyle \tfrac49 + \tfrac19 + \tfrac49 = 1 9 4 + 9 1 + 9 4 = 1 ✓. The distance P Q PQ P Q is 6 6 6 , which is exactly the length we divided by.
Answer#
2 3 , − 1 3 , − 2 3 \displaystyle \frac23, -\frac13, -\frac23 3 2 , − 3 1 , − 3 2 (or the negatives of all three).
Question 3: Proving three points collinear#
The problem#
Show that the points ( 1 , − 1 , 2 ) (1, -1, 2) ( 1 , − 1 , 2 ) , ( 3 , 3 , 0 ) (3, 3, 0) ( 3 , 3 , 0 ) and ( − 2 , − 7 , 5 ) (-2, -7, 5) ( − 2 , − 7 , 5 ) are collinear.
Understanding the problem#
Collinear means the three points lie on one straight line. We must prove it.
The idea#
As in Example 2: find the direction ratios of A B AB A B and B C BC B C . If they are proportional, the two segments are parallel; since they share B B B , they lie on the same line.
Step-by-step solution#
Step 1. Name the points A ( 1 , − 1 , 2 ) A(1, -1, 2) A ( 1 , − 1 , 2 ) , B ( 3 , 3 , 0 ) B(3, 3, 0) B ( 3 , 3 , 0 ) , C ( − 2 , − 7 , 5 ) C(-2, -7, 5) C ( − 2 , − 7 , 5 ) .
Step 2. Direction ratios of A B AB A B :
3 − 1 , 3 − ( − 1 ) , 0 − 2 = 2 , 4 , − 2. 3 - 1,\ 3 - (-1),\ 0 - 2 = 2,\ 4,\ -2. 3 − 1 , 3 − ( − 1 ) , 0 − 2 = 2 , 4 , − 2.
Step 3. Direction ratios of B C BC B C :
− 2 − 3 , − 7 − 3 , 5 − 0 = − 5 , − 10 , 5. -2 - 3,\ -7 - 3,\ 5 - 0 = -5,\ -10,\ 5. − 2 − 3 , − 7 − 3 , 5 − 0 = − 5 , − 10 , 5.
Step 4. Compare the ratios term by term.
− 5 2 = − 10 4 = 5 − 2 = − 5 2 . \displaystyle \frac{-5}{2} = \frac{-10}{4} = \frac{5}{-2} = -\frac52. 2 − 5 = 4 − 10 = − 2 5 = − 2 5 .
All three ratios are equal, so the ratios are proportional and A B ∥ B C AB \parallel BC A B ∥ B C .
Step 5. A B AB A B and B C BC B C are parallel and share the point B B B , so A A A , B B B , C C C lie on one line. ■ \blacksquare ■
Checking the answer#
The line through A A A with ratios 1 , 2 , − 1 1, 2, -1 1 , 2 , − 1 is ( 1 + t , − 1 + 2 t , 2 − t ) (1 + t, -1 + 2t, 2 - t) ( 1 + t , − 1 + 2 t , 2 − t ) . t = 2 t = 2 t = 2 gives B ( 3 , 3 , 0 ) B(3, 3, 0) B ( 3 , 3 , 0 ) and t = − 3 t = -3 t = − 3 gives C ( − 2 , − 7 , 5 ) C(-2, -7, 5) C ( − 2 , − 7 , 5 ) ✓.
Answer#
The direction ratios of A B AB A B (2 , 4 , − 2 2, 4, -2 2 , 4 , − 2 ) and B C BC B C (− 5 , − 10 , 5 -5, -10, 5 − 5 , − 10 , 5 ) are proportional, so the points are collinear.
Question 4: A line equally inclined to the axes#
The problem#
A line makes equal angles with all three coordinate axes. Find its direction cosines.
Understanding the problem#
If the angles α , β , γ \alpha, \beta, \gamma α , β , γ with the axes are equal, their cosines are equal too: l = m = n l = m = n l = m = n .
The idea#
Use l 2 + m 2 + n 2 = 1 l^2 + m^2 + n^2 = 1 l 2 + m 2 + n 2 = 1 with l = m = n l = m = n l = m = n .
Step-by-step solution#
Step 1. Put l = m = n l = m = n l = m = n .
l 2 + l 2 + l 2 = 1 ⟹ 3 l 2 = 1 ⟹ l 2 = 1 3 . \displaystyle l^2 + l^2 + l^2 = 1 \;\Longrightarrow\; 3l^2 = 1 \;\Longrightarrow\; l^2 = \frac13. l 2 + l 2 + l 2 = 1 ⟹ 3 l 2 = 1 ⟹ l 2 = 3 1 .
Step 2. Take the square root.
l = ± 1 3 . \displaystyle l = \pm\frac{1}{\sqrt3}. l = ± 3 1 .
Step 3. Since all three are equal, they share one sign.
( l , m , n ) = ( 1 3 , 1 3 , 1 3 ) or ( − 1 3 , − 1 3 , − 1 3 ) . \displaystyle (l, m, n) = \left(\frac{1}{\sqrt3}, \frac{1}{\sqrt3}, \frac{1}{\sqrt3}\right)\ \text{or}\ \left(-\frac{1}{\sqrt3}, -\frac{1}{\sqrt3}, -\frac{1}{\sqrt3}\right). ( l , m , n ) = ( 3 1 , 3 1 , 3 1 ) or ( − 3 1 , − 3 1 , − 3 1 ) .
Checking the answer#
3 × 1 3 = 1 \displaystyle 3 \times \tfrac13 = 1 3 × 3 1 = 1 ✓. The line with ratios 1 , 1 , 1 1, 1, 1 1 , 1 , 1 (such as the line through the origin and ( 1 , 1 , 1 ) (1, 1, 1) ( 1 , 1 , 1 ) ) is the obvious example.
Answer#
l = m = n = ± 1 3 \displaystyle l = m = n = \pm\frac{1}{\sqrt3} l = m = n = ± 3 1 (all with the same sign).
Common mistake to avoid#
Mixing signs such as 1 3 , − 1 3 , 1 3 \displaystyle \tfrac{1}{\sqrt3}, -\tfrac{1}{\sqrt3}, \tfrac{1}{\sqrt3} 3 1 , − 3 1 , 3 1 . Then the cosines differ in sign, so the angles with the positive axes are not all equal (one is acute, another obtuse).
Question 5: Vector and Cartesian equations of a line#
The problem#
Find the vector and Cartesian equations of the line through ( 2 , 0 , − 3 ) (2, 0, -3) ( 2 , 0 , − 3 ) parallel to i ^ − 4 j ^ + 5 k ^ \hat i - 4\hat j + 5\hat k i ^ − 4 j ^ + 5 k ^ .
Understanding the problem#
A point and a direction are given — exactly what a line equation needs.
The idea#
Vector form: r ⃗ = a ⃗ + λ b ⃗ \vec r = \vec a + \lambda\vec b r = a + λ b . Cartesian form: x − x 1 a = y − y 1 b = z − z 1 c \displaystyle \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 a , b , c a, b, c a , b , c the components of b ⃗ \vec b b .
Step-by-step solution#
Step 1. Position vector of the point: a ⃗ = 2 i ^ + 0 j ^ − 3 k ^ = 2 i ^ − 3 k ^ \vec a = 2\hat i + 0\hat j - 3\hat k = 2\hat i - 3\hat k a = 2 i ^ + 0 j ^ − 3 k ^ = 2 i ^ − 3 k ^ . Direction: b ⃗ = i ^ − 4 j ^ + 5 k ^ \vec b = \hat i - 4\hat j + 5\hat k b = i ^ − 4 j ^ + 5 k ^ .
Step 2. Vector equation.
r ⃗ = 2 i ^ − 3 k ^ + λ ( i ^ − 4 j ^ + 5 k ^ ) . \vec r = 2\hat i - 3\hat k + \lambda(\hat i - 4\hat j + 5\hat k). r = 2 i ^ − 3 k ^ + λ ( i ^ − 4 j ^ + 5 k ^ ) .
Step 3. Cartesian equation, with ( x 1 , y 1 , z 1 ) = ( 2 , 0 , − 3 ) (x_1, y_1, z_1) = (2, 0, -3) ( x 1 , y 1 , z 1 ) = ( 2 , 0 , − 3 ) and ratios 1 , − 4 , 5 1, -4, 5 1 , − 4 , 5 .
x − 2 1 = y − 0 − 4 = z + 3 5 . \displaystyle \frac{x - 2}{1} = \frac{y - 0}{-4} = \frac{z + 3}{5}. 1 x − 2 = − 4 y − 0 = 5 z + 3 .
Checking the answer#
λ = 0 \lambda = 0 λ = 0 gives the point ( 2 , 0 , − 3 ) (2, 0, -3) ( 2 , 0 , − 3 ) ✓. In the Cartesian form, x = 2 , y = 0 , z = − 3 x = 2, y = 0, z = -3 x = 2 , y = 0 , z = − 3 makes every fraction 0 0 0 ✓.
Answer#
r ⃗ = 2 i ^ − 3 k ^ + λ ( i ^ − 4 j ^ + 5 k ^ ) \vec r = 2\hat i - 3\hat k + \lambda(\hat i - 4\hat j + 5\hat k) r = 2 i ^ − 3 k ^ + λ ( i ^ − 4 j ^ + 5 k ^ ) ; x − 2 1 = y − 4 = z + 3 5 \displaystyle \frac{x - 2}{1} = \frac{y}{-4} = \frac{z + 3}{5} 1 x − 2 = − 4 y = 5 z + 3 .
Question 6: Cartesian equation through two points#
The problem#
Find the Cartesian equation of the line through ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) and ( 4 , 0 , − 1 ) (4, 0, -1) ( 4 , 0 , − 1 ) .
Understanding the problem#
We need a point (either one will do) and direction ratios (from the two points).
The idea#
Direction ratios x 2 − x 1 , y 2 − y 1 , z 2 − z 1 x_2 - x_1, y_2 - y_1, z_2 - z_1 x 2 − x 1 , y 2 − y 1 , z 2 − z 1 ; then the standard Cartesian form through the first point.
Step-by-step solution#
Step 1. Direction ratios: 4 − 1 = 3 4 - 1 = 3 4 − 1 = 3 , 0 − 2 = − 2 0 - 2 = -2 0 − 2 = − 2 , − 1 − 3 = − 4 -1 - 3 = -4 − 1 − 3 = − 4 .
Step 2. Through ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) :
x − 1 3 = y − 2 − 2 = z − 3 − 4 . \displaystyle \frac{x - 1}{3} = \frac{y - 2}{-2} = \frac{z - 3}{-4}. 3 x − 1 = − 2 y − 2 = − 4 z − 3 .
Checking the answer#
The second point ( 4 , 0 , − 1 ) (4, 0, -1) ( 4 , 0 , − 1 ) gives 3 3 = − 2 − 2 = − 4 − 4 = 1 \displaystyle \tfrac{3}{3} = \tfrac{-2}{-2} = \tfrac{-4}{-4} = 1 3 3 = − 2 − 2 = − 4 − 4 = 1 — all equal, so it lies on the line ✓.
Answer#
x − 1 3 = y − 2 − 2 = z − 3 − 4 \displaystyle \frac{x - 1}{3} = \frac{y - 2}{-2} = \frac{z - 3}{-4} 3 x − 1 = − 2 y − 2 = − 4 z − 3 .
The problem#
Write x + 3 2 = 4 − y 5 = 3 z + 1 3 \displaystyle \frac{x + 3}{2} = \frac{4 - y}{5} = \frac{3z + 1}{3} 2 x + 3 = 5 4 − y = 3 3 z + 1 in standard form, and give a point on the line and its direction ratios.
Understanding the problem#
Standard form needs each numerator to be exactly x − x 1 x - x_1 x − x 1 , y − y 1 y - y_1 y − y 1 , z − z 1 z - z_1 z − z 1 — the variable with coefficient + 1 +1 + 1 . Here the y y y -term is 4 − y 4 - y 4 − y (coefficient − 1 -1 − 1 ) and the z z z -term is 3 z + 1 3z + 1 3 z + 1 (coefficient 3 3 3 ), so two fractions need fixing, just as in Example 4.
The idea#
Rewrite each numerator so the variable has coefficient 1 1 1 , adjusting the denominator to keep each fraction unchanged.
Step-by-step solution#
Step 1. The x x x -fraction is already standard: x − ( − 3 ) 2 \displaystyle \frac{x - (-3)}{2} 2 x − ( − 3 ) .
Step 2. The y y y -fraction: 4 − y = − ( y − 4 ) 4 - y = -(y - 4) 4 − y = − ( y − 4 ) , so
4 − y 5 = − ( y − 4 ) 5 = y − 4 − 5 . \displaystyle \frac{4 - y}{5} = \frac{-(y - 4)}{5} = \frac{y - 4}{-5}. 5 4 − y = 5 − ( y − 4 ) = − 5 y − 4 .
Step 3. The z z z -fraction: 3 z + 1 = 3 ( z + 1 3 ) \displaystyle 3z + 1 = 3\left(z + \tfrac13\right) 3 z + 1 = 3 ( z + 3 1 ) , so
3 z + 1 3 = 3 ( z + 1 3 ) 3 = z + 1 3 1 . \displaystyle \frac{3z + 1}{3} = \frac{3\left(z + \frac13\right)}{3} = \frac{z + \frac13}{1}. 3 3 z + 1 = 3 3 ( z + 3 1 ) = 1 z + 3 1 .
Step 4. Standard form:
x + 3 2 = y − 4 − 5 = z + 1 3 1 . \displaystyle \frac{x + 3}{2} = \frac{y - 4}{-5} = \frac{z + \frac13}{1}. 2 x + 3 = − 5 y − 4 = 1 z + 3 1 .
Step 5. Read off: point ( − 3 , 4 , − 1 3 ) \displaystyle \left(-3, 4, -\tfrac13\right) ( − 3 , 4 , − 3 1 ) ; direction ratios 2 , − 5 , 1 2, -5, 1 2 , − 5 , 1 .
Checking the answer#
Put ( − 3 , 4 , − 1 3 ) \displaystyle \left(-3, 4, -\tfrac13\right) ( − 3 , 4 , − 3 1 ) into the original: 0 2 = 0 5 = − 1 + 1 3 = 0 \displaystyle \tfrac{0}{2} = \tfrac{0}{5} = \tfrac{-1 + 1}{3} = 0 2 0 = 5 0 = 3 − 1 + 1 = 0 ✓.
Answer#
x + 3 2 = y − 4 − 5 = z + 1 3 1 \displaystyle \frac{x + 3}{2} = \frac{y - 4}{-5} = \frac{z + \frac13}{1} 2 x + 3 = − 5 y − 4 = 1 z + 3 1 ; point ( − 3 , 4 , − 1 3 ) \displaystyle \left(-3, 4, -\tfrac13\right) ( − 3 , 4 , − 3 1 ) , direction ratios 2 , − 5 , 1 2, -5, 1 2 , − 5 , 1 .
Common mistake to avoid#
Reading the direction as 2 , 5 , 3 2, 5, 3 2 , 5 , 3 straight from the given form. Only the standard form shows the true point and direction.
The problem#
Find the angle between the lines r ⃗ = i ^ + λ ( 2 i ^ + j ^ + 2 k ^ ) \vec r = \hat i + \lambda(2\hat i + \hat j + 2\hat k) r = i ^ + λ ( 2 i ^ + j ^ + 2 k ^ ) and r ⃗ = 3 j ^ + μ ( i ^ + 2 j ^ − 2 k ^ ) \vec r = 3\hat j + \mu(\hat i + 2\hat j - 2\hat k) r = 3 j ^ + μ ( i ^ + 2 j ^ − 2 k ^ ) .
Understanding the problem#
The angle between two lines depends only on their directions — the vectors multiplied by λ \lambda λ and μ \mu μ . The points i ^ \hat i i ^ and 3 j ^ 3\hat j 3 j ^ are irrelevant here.
The idea#
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 ∣ .
Step-by-step solution#
Step 1. Directions: b ⃗ 1 = 2 i ^ + j ^ + 2 k ^ \vec b_1 = 2\hat i + \hat j + 2\hat k b 1 = 2 i ^ + j ^ + 2 k ^ (ratios 2 , 1 , 2 2, 1, 2 2 , 1 , 2 ), b ⃗ 2 = i ^ + 2 j ^ − 2 k ^ \vec b_2 = \hat i + 2\hat j - 2\hat k b 2 = i ^ + 2 j ^ − 2 k ^ (ratios 1 , 2 , − 2 1, 2, -2 1 , 2 , − 2 ).
Step 2. Dot product: 2 ( 1 ) + 1 ( 2 ) + 2 ( − 2 ) = 2 + 2 − 4 = 0 2(1) + 1(2) + 2(-2) = 2 + 2 - 4 = 0 2 ( 1 ) + 1 ( 2 ) + 2 ( − 2 ) = 2 + 2 − 4 = 0 .
Step 3. Lengths: 4 + 1 + 4 = 3 \sqrt{4 + 1 + 4} = 3 4 + 1 + 4 = 3 and 1 + 4 + 4 = 3 \sqrt{1 + 4 + 4} = 3 1 + 4 + 4 = 3 .
Step 4.
cos θ = ∣ 0 ∣ 3 × 3 = 0 ⟹ θ = 90 ∘ . \displaystyle \cos\theta = \frac{\lvert 0 \rvert}{3 \times 3} = 0 \;\Longrightarrow\; \theta = 90^\circ. cos θ = 3 × 3 ∣ 0 ∣ = 0 ⟹ θ = 9 0 ∘ .
Checking the answer#
A zero dot product is exactly the perpendicularity condition a 1 a 2 + b 1 b 2 + c 1 c 2 = 0 a_1a_2 + b_1b_2 + c_1c_2 = 0 a 1 a 2 + b 1 b 2 + c 1 c 2 = 0 ✓.
Answer#
θ = 90 ∘ \theta = 90^\circ θ = 9 0 ∘ — the lines are perpendicular.
Question 9: Finding p for perpendicular lines#
The problem#
Find p p p so that the lines x − 1 3 = y − 2 2 p = z − 3 2 \displaystyle \frac{x - 1}{3} = \frac{y - 2}{2p} = \frac{z - 3}{2} 3 x − 1 = 2 p y − 2 = 2 z − 3 and x − 1 3 p = y − 1 1 = z − 6 − 5 \displaystyle \frac{x - 1}{3p} = \frac{y - 1}{1} = \frac{z - 6}{-5} 3 p x − 1 = 1 y − 1 = − 5 z − 6 are perpendicular.
Understanding the problem#
Both lines are already in standard form, so their direction ratios can be read from the denominators. They contain the unknown p p p .
The idea#
Perpendicular lines satisfy a 1 a 2 + b 1 b 2 + c 1 c 2 = 0 a_1a_2 + b_1b_2 + c_1c_2 = 0 a 1 a 2 + b 1 b 2 + c 1 c 2 = 0 . This gives a linear equation in p p p .
Step-by-step solution#
Step 1. Direction ratios: first line 3 , 2 p , 2 3, 2p, 2 3 , 2 p , 2 ; second line 3 p , 1 , − 5 3p, 1, -5 3 p , 1 , − 5 .
Step 2. Perpendicularity condition.
3 ( 3 p ) + ( 2 p ) ( 1 ) + 2 ( − 5 ) = 0. 3(3p) + (2p)(1) + 2(-5) = 0. 3 ( 3 p ) + ( 2 p ) ( 1 ) + 2 ( − 5 ) = 0.
Step 3. Simplify and solve.
9 p + 2 p − 10 = 0 ⟹ 11 p = 10 ⟹ p = 10 11 . \displaystyle 9p + 2p - 10 = 0 \;\Longrightarrow\; 11p = 10 \;\Longrightarrow\; p = \frac{10}{11}. 9 p + 2 p − 10 = 0 ⟹ 11 p = 10 ⟹ p = 11 10 .
Checking the answer#
With p = 10 11 \displaystyle p = \tfrac{10}{11} p = 11 10 : ratios 3 , 20 11 , 2 \displaystyle 3, \tfrac{20}{11}, 2 3 , 11 20 , 2 and 30 11 , 1 , − 5 \displaystyle \tfrac{30}{11}, 1, -5 11 30 , 1 , − 5 . Dot product 90 11 + 20 11 − 10 = 110 11 − 10 = 0 \displaystyle \tfrac{90}{11} + \tfrac{20}{11} - 10 = \tfrac{110}{11} - 10 = 0 11 90 + 11 20 − 10 = 11 110 − 10 = 0 ✓.
Answer#
p = 10 11 \displaystyle p = \frac{10}{11} p = 11 10 .
Question 10: Two parallel lines#
The problem#
Show that the line through ( 2 , 3 , 4 ) (2, 3, 4) ( 2 , 3 , 4 ) and ( 4 , 7 , 8 ) (4, 7, 8) ( 4 , 7 , 8 ) is parallel to the line through ( 0 , 1 , 2 ) (0, 1, 2) ( 0 , 1 , 2 ) and ( 1 , 3 , 4 ) (1, 3, 4) ( 1 , 3 , 4 ) .
Understanding the problem#
Each line is given by two points. We must prove the two lines have the same direction.
The idea#
Lines are parallel when their direction ratios are proportional.
Step-by-step solution#
Step 1. Direction ratios of the first line: 4 − 2 , 7 − 3 , 8 − 4 = 2 , 4 , 4 4 - 2,\ 7 - 3,\ 8 - 4 = 2,\ 4,\ 4 4 − 2 , 7 − 3 , 8 − 4 = 2 , 4 , 4 .
Step 2. Direction ratios of the second line: 1 − 0 , 3 − 1 , 4 − 2 = 1 , 2 , 2 1 - 0,\ 3 - 1,\ 4 - 2 = 1,\ 2,\ 2 1 − 0 , 3 − 1 , 4 − 2 = 1 , 2 , 2 .
Step 3. Compare.
2 1 = 4 2 = 4 2 = 2. \displaystyle \frac{2}{1} = \frac{4}{2} = \frac{4}{2} = 2. 1 2 = 2 4 = 2 4 = 2.
The ratios are proportional (the first set is twice the second), so the lines are parallel. ■ \blacksquare ■
Checking the answer#
Make sure the lines are genuinely two lines, not one: the vector from ( 2 , 3 , 4 ) (2, 3, 4) ( 2 , 3 , 4 ) to ( 0 , 1 , 2 ) (0, 1, 2) ( 0 , 1 , 2 ) is − 2 , − 2 , − 2 -2, -2, -2 − 2 , − 2 , − 2 , which is not proportional to 1 , 2 , 2 1, 2, 2 1 , 2 , 2 . So ( 0 , 1 , 2 ) (0, 1, 2) ( 0 , 1 , 2 ) is not on the first line — the lines are parallel and distinct.
Answer#
The direction ratios 2 , 4 , 4 2, 4, 4 2 , 4 , 4 and 1 , 2 , 2 1, 2, 2 1 , 2 , 2 are proportional, so the lines are parallel.