SOLVER7 Study. Nothing Else.
Chapter 11 Examples Q3

Find the direction cosines of the line passing through the two points \((– 2, 4, – 5)\) and \((1, 2, 3).\)

CBSE Class 12 Maths · Three Dimensional Geometry

Solution

👶 Simple Explanation

Simple Explanation

Imagine two cities on a 3D map. A road connects them, and you want to know which direction that road is pointing. You measure how far apart the cities are along each axis — left-right, forward-back, and up-down. Those three numbers describe the road's direction. To make them neat and standard, you shrink them so their combined size becomes exactly 1. The final three tidy numbers are called direction cosines, and they tell you precisely how the road tilts in space.

Answer: The direction cosines of the line are \[ \left( \frac{3}{\sqrt{77}},\ \frac{-2}{\sqrt{77}},\ \frac{8}{\sqrt{77}} \right). \]

📖 Direction Cosines of a Line Through Two Points

Detailed Explanation

In three dimensional geometry, a line has a direction that can be described using direction ratios and direction cosines. When a line passes through two points \( P(x_1, y_1, z_1) \) and \( Q(x_2, y_2, z_2) \), the direction ratios of the line are simply the differences of the corresponding coordinates, that is \( (x_2 - x_1),\ (y_2 - y_1),\ (z_2 - z_1) \). The direction cosines are the cosines of the angles that the line makes with the positive x, y and z axes. To get them, we divide each direction ratio by the magnitude (length) of the direction ratio vector, so that the sum of their squares equals 1.

Formula Used

If \( P(x_1, y_1, z_1) \) and \( Q(x_2, y_2, z_2) \) are two points, the direction ratios are \( a = x_2 - x_1,\ b = y_2 - y_1,\ c = z_2 - z_1 \), and the direction cosines are \[ 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}}. \]

Solution

  1. Step 1: Identify the two points. Let \( P(-2, 4, -5) \) and \( Q(1, 2, 3) \). We want the direction cosines of the line joining them.
  2. Step 2: Find the direction ratios by subtracting the coordinates of \( P \) from those of \( Q \). \[ a = 1 - (-2) = 3 \] \[ b = 2 - 4 = -2 \] \[ c = 3 - (-5) = 8 \] So the direction ratios are \( (3, -2, 8) \).
  3. Step 3: Compute the magnitude of the direction ratio vector, since direction cosines must satisfy \( l^2 + m^2 + n^2 = 1 \). \[ \sqrt{a^2 + b^2 + c^2} = \sqrt{3^2 + (-2)^2 + 8^2} \] \[ = \sqrt{9 + 4 + 64} = \sqrt{77} \]
  4. Step 4: Divide each direction ratio by \( \sqrt{77} \) to obtain the direction cosines. \[ l = \frac{3}{\sqrt{77}},\quad m = \frac{-2}{\sqrt{77}},\quad n = \frac{8}{\sqrt{77}} \]

Final Answer

The direction cosines of the line are \[ \left( \frac{3}{\sqrt{77}},\ \frac{-2}{\sqrt{77}},\ \frac{8}{\sqrt{77}} \right). \]

Common Mistake

A common mistake is stopping at the direction ratios \( (3, -2, 8) \) and calling them direction cosines. Direction ratios must be divided by their magnitude \( \sqrt{77} \) to become direction cosines. Another error is subtracting in the wrong order or forgetting the negative signs when the coordinates are negative.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Label the two given points: \( P(-2,\, 4,\, -5) \) and \( Q(1,\, 2,\, 3) \). — Reason: Clearly identifying which point is P and which is Q prevents sign errors when subtracting coordinates.
  2. Step 2: Compute the direction ratio along the x-axis: \[ a = 1 - (-2) = 3. \] — Reason: Direction ratios are obtained by subtracting the coordinates of the starting point P from those of the ending point Q.
  3. Step 3: Compute the direction ratio along the y-axis: \[ b = 2 - 4 = -2. \] Compute the direction ratio along the z-axis: \[ c = 3 - (-5) = 8. \] So the direction ratios of the line are \( (3,\, -2,\, 8) \). — Reason: All three coordinate differences must be found to fully describe the line's direction in 3D space.
  4. Step 4: Find the magnitude of the direction ratio vector: \[ \sqrt{a^2 + b^2 + c^2} = \sqrt{3^2 + (-2)^2 + 8^2} = \sqrt{9 + 4 + 64} = \sqrt{77}. \] — Reason: Dividing by this magnitude normalises the direction ratios so that the resulting direction cosines satisfy \( l^2 + m^2 + n^2 = 1 \).
  5. Step 5: Divide each direction ratio by \( \sqrt{77} \) to obtain the direction cosines: \[ l = \frac{3}{\sqrt{77}}, \quad m = \frac{-2}{\sqrt{77}}, \quad n = \frac{8}{\sqrt{77}}. \] — Reason: This is the standard definition of direction cosines — they are the unit-vector components along the line's direction.
  6. Step 6: Verify: check that \( l^2 + m^2 + n^2 = 1 \). \[ \frac{9}{77} + \frac{4}{77} + \frac{64}{77} = \frac{77}{77} = 1. \] — Reason: This confirms the calculation is correct, because direction cosines must always satisfy this identity.

Final Answer

The direction cosines of the line are \[ \left( \frac{3}{\sqrt{77}},\ \frac{-2}{\sqrt{77}},\ \frac{8}{\sqrt{77}} \right). \]

Common Mistake

One common mistake: forgetting to subtract the coordinates of P from Q consistently — for example, computing \( 4 - 2 \) instead of \( 2 - 4 \) for the y-component — which flips the sign of one or more direction ratios.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Points: \( P(-2, 4, -5) \), \( Q(1, 2, 3) \). Direction ratios: \( a = 1-(-2) = 3,\quad b = 2-4 = -2,\quad c = 3-(-5) = 8 \)
  2. Step 2: Magnitude: \[ \sqrt{3^2 + (-2)^2 + 8^2} = \sqrt{9 + 4 + 64} = \sqrt{77} \]
  3. Step 3: Direction cosines: \[ l = \frac{3}{\sqrt{77}},\quad m = \frac{-2}{\sqrt{77}},\quad n = \frac{8}{\sqrt{77}} \]

Answer: The direction cosines of the line are \[ \left( \frac{3}{\sqrt{77}},\ \frac{-2}{\sqrt{77}},\ \frac{8}{\sqrt{77}} \right). \]

➕ More Examples

More Examples

Example 1

Question: Find the direction cosines of the line passing through the points \( A(3, -1, 2) \) and \( B(1, 4, -3) \).

Solution: Step 1: Find the direction ratios of the line AB. Let \( A(3, -1, 2) \) and \( B(1, 4, -3) \). The direction ratios are: \[ a = x_2 - x_1 = 1 - 3 = -2 \] \[ b = y_2 - y_1 = 4 - (-1) = 5 \] \[ c = z_2 - z_1 = -3 - 2 = -5 \] So the direction ratios are \( (-2,\, 5,\, -5) \). Step 2: Find the magnitude of the direction vector. \[ \sqrt{a^2 + b^2 + c^2} = \sqrt{(-2)^2 + 5^2 + (-5)^2} \] \[ = \sqrt{4 + 25 + 25} = \sqrt{54} = 3\sqrt{6} \] Step 3: Compute the direction cosines. \[ l = \frac{-2}{3\sqrt{6}}, \quad m = \frac{5}{3\sqrt{6}}, \quad n = \frac{-5}{3\sqrt{6}} \] These can also be written as: \[ l = \frac{-2}{3\sqrt{6}}, \quad m = \frac{5}{3\sqrt{6}}, \quad n = \frac{-5}{3\sqrt{6}} \] Verification: \( l^2 + m^2 + n^2 = \frac{4 + 25 + 25}{54} = \frac{54}{54} = 1 \). Confirmed.

Answer: The direction cosines of line AB are \( \dfrac{-2}{3\sqrt{6}},\; \dfrac{5}{3\sqrt{6}},\; \dfrac{-5}{3\sqrt{6}} \).

Example 2

Question: Find the direction cosines of the line joining the points \( P(0, 2, -4) \) and \( Q(3, -1, 2) \). Also verify that the sum of the squares of the direction cosines equals 1.

Solution: Step 1: Find the direction ratios of line PQ. Let \( P(0, 2, -4) \) and \( Q(3, -1, 2) \). \[ a = 3 - 0 = 3 \] \[ b = -1 - 2 = -3 \] \[ c = 2 - (-4) = 6 \] So the direction ratios are \( (3,\, -3,\, 6) \). Step 2: Find the magnitude. \[ \sqrt{a^2 + b^2 + c^2} = \sqrt{3^2 + (-3)^2 + 6^2} \] \[ = \sqrt{9 + 9 + 36} = \sqrt{54} = 3\sqrt{6} \] Step 3: Compute the direction cosines. \[ l = \frac{3}{3\sqrt{6}} = \frac{1}{\sqrt{6}} \] \[ m = \frac{-3}{3\sqrt{6}} = \frac{-1}{\sqrt{6}} \] \[ n = \frac{6}{3\sqrt{6}} = \frac{2}{\ sqrt{6}} \] We can simplify: \( l = \dfrac{1}{\sqrt{6}} \), \( m = \dfrac{-1}{\sqrt{6}} \), \( n = \dfrac{2}{\sqrt{6}} \). Step 4: Verify \( l^2 + m^2 + n^2 = 1 \). \[ l^2 + m^2 + n^2 = \frac{1}{6} + \frac{1}{6} + \frac{4}{6} = \frac{6}{6} = 1 \] Hence verified.

Answer: The direction cosines of line PQ are \( \dfrac{1}{\sqrt{6}},\; \dfrac{-1}{\sqrt{6}},\; \dfrac{2}{\sqrt{6}} \).

🎯 Try a Similar Question

Try a Similar Question

Question: Find the direction cosines of the line passing through the two points \( A(3, -1, 2) \) and \( B(-1, 4, 5) \).

Solution

  1. Step 1: Identify the coordinates of the two points: The two given points are \( A(3, -1, 2) \) and \( B(-1, 4, 5) \).
  2. Step 2: Find the direction ratios: The direction ratios of the line AB are obtained by subtracting the coordinates of A from those of B. Direction ratios: \[ (x_2 - x_1,\ y_2 - y_1,\ z_2 - z_1) = (-1 - 3,\ 4 - (-1),\ 5 - 2) = (-4,\ 5,\ 3) \]
  3. Step 3: Compute the magnitude of the direction vector: The magnitude \( d \) is given by \[ d = \sqrt{(-4)^2 + (5)^2 + (3)^2} = \sqrt{16 + 25 + 9} = \sqrt{50} = 5\sqrt{2} \]
  4. Step 4: Calculate the direction cosines: Divide each direction ratio by the magnitude \( d = 5\sqrt{2} \) to get the direction cosines: \[ l = \frac{-4}{5\sqrt{2}}, \quad m = \frac{5}{5\sqrt{2}} = \frac{1}{\sqrt{2}}, \quad n = \frac{3}{5\sqrt{2}} \] These can also be written as \[ l = \frac{-4}{5\sqrt{2}}, \quad m = \frac{1}{\sqrt{2}}, \quad n = \frac{3}{5\sqrt{2}} \]
  5. Step 5: Verify using the identity: We verify that \( l^2 + m^2 + n^2 = 1 \): \[ \frac{16}{50} + \frac{25}{50} + \frac{9}{50} = \frac{50}{50} = 1 \] This confirms our answer is correct.

Answer: The direction cosines of the line passing through \( A(3, -1, 2) \) and \( B(-1, 4, 5) \) are \[ \left( \frac{-4}{5\sqrt{2}},\ \frac{1}{\sqrt{2}},\ \frac{3}{5\sqrt{2}} \right). \]

Everything you get with Solver7

More questions in Three Dimensional Geometry