SOLVER7 Study. Nothing Else.
Exercise 11.1 Q5

Find the direction cosines of the sides of the triangle whose vertices are \((3, 5, – 4), (– 1, 1, 2)\) and \((– 5, – 5, – 2).\)

CBSE Class 12 Maths · Three Dimensional Geometry

Solution

👶 Simple Explanation

Simple Explanation

Imagine you are walking from one corner of a room to another. The direction you walk can be described by how far you move left-right, front-back, and up-down. Direction cosines are like telling someone the exact tilt of your path using three special numbers that always add up in a neat way. We find these for each side of a triangle in 3D space. Dividing the raw movement numbers by the total distance keeps the cosines clean and comparable.

Answer: The direction cosines are: for side \( AB \): \( \left( \frac{-2}{\sqrt{17}}, \frac{-2}{\sqrt{17}}, \frac{3}{\sqrt{17}} \right) \); for side \( BC \): \( \left( \frac{-2}{\sqrt{17}}, \frac{-3}{\sqrt{17}}, \frac{-2}{\sqrt{17}} \right) \); for side \( CA \): \( \left( \frac{4}{\sqrt{42}}, \frac{5}{\sqrt{42}}, \frac{-1}{\sqrt{42}} \right) \).

📖 Direction Cosines of the Sides of a Triangle

Detailed Explanation

For a line segment joining two points \( P(x_1, y_1, z_1) \) and \( Q(x_2, y_2, z_2) \), the direction ratios are the differences of the coordinates: \( (x_2 - x_1, \; y_2 - y_1, \; z_2 - z_1) \). These tell us the direction of the line but are not unique (any scalar multiple works). To get the direction cosines, which are unique (up to sign) and represent the cosines of the angles the line makes with the positive x, y and z axes, we divide each direction ratio by the magnitude of the direction-ratio vector. If \( (a, b, c) \) are direction ratios, the corresponding direction cosines are \( \left( \frac{a}{r}, \frac{b}{r}, \frac{c}{r} \right) \) where \( r = \sqrt{a^2 + b^2 + c^2} \). We do this for each of the three sides of the triangle.

Formula Used

Direction ratios of segment joining \( (x_1,y_1,z_1) \) and \( (x_2,y_2,z_2) \): \( (x_2-x_1,\; y_2-y_1,\; z_2-z_1) \). Direction cosines: \( \left( \dfrac{a}{r}, \dfrac{b}{r}, \dfrac{c}{r} \right) \), where \( r = \sqrt{a^2+b^2+c^2} \).

Solution

  1. Step 1: Label the vertices: \( A(3, 5, -4) \), \( B(-1, 1, 2) \) and \( C(-5, -5, -2) \). The three sides are \( AB \), \( BC \) and \( CA \). We will find the direction cosines of each side.
  2. Step 2: Find the direction ratios of side \( AB \) using \( B - A \): \[ (-1 - 3,\; 1 - 5,\; 2 - (-4)) = (-4,\; -4,\; 6). \] The magnitude is \[ r = \sqrt{(-4)^2 + (-4)^2 + 6^2} = \sqrt{16 + 16 + 36} = \sqrt{68} = 2\sqrt{17}. \]
  3. Step 3: Divide each direction ratio of \( AB \) by \( 2\sqrt{17} \) to get the direction cosines: \[ \left( \frac{-4}{2\sqrt{17}},\; \frac{-4}{2\sqrt{17}},\; \frac{6}{2\sqrt{17}} \right) = \left( \frac{-2}{\sqrt{17}},\; \frac{-2}{\sqrt{17}},\; \frac{3}{\sqrt{17}} \right). \]
  4. Step 4: Find the direction ratios of side \( BC \) using \( C - B \): \[ (-5 - (-1),\; -5 - 1,\; -2 - 2) = (-4,\; -6,\; -4). \] The magnitude is \[ r = \sqrt{(-4)^2 + (-6)^2 + (-4)^2} = \sqrt{16 + 36 + 16} = \sqrt{68} = 2\sqrt{17}. \]
  5. Step 5: Divide each direction ratio of \( BC \) by \( 2\sqrt{17} \) to get the direction cosines: \[ \left( \frac{-4}{2\sqrt{17}},\; \frac{-6}{2\sqrt{17}},\; \frac{-4}{2\sqrt{17}} \right) = \left( \frac{-2}{\sqrt{17}},\; \frac{-3}{\sqrt{17}},\; \frac{-2}{\sqrt{17}} \right). \]
  6. Step 6: Find the direction ratios of side \( CA \) using \( A - C \): \[ (3 - (-5),\; 5 - (-5),\; -4 - (-2)) = (8,\; 10,\; -2). \] The magnitude is \[ r = \sqrt{8^2 + 10^2 + (-2)^2} = \sqrt{64 + 100 + 4} = \sqrt{168} = 2\sqrt{42}. \]
  7. Step 7: Divide each direction ratio of \( CA \) by \( 2\sqrt{42} \) to get the direction cosines: \[ \left( \frac{8}{2\sqrt{42}},\; \frac{10}{2\sqrt{42}},\; \frac{-2}{2\sqrt{42}} \right) = \left( \frac{4}{\sqrt{42}},\; \frac{5}{\sqrt{42}},\; \frac{-1}{\sqrt{42}} \right). \]

Final Answer

The direction cosines are: for side \( AB \): \( \left( \frac{-2}{\sqrt{17}}, \frac{-2}{\sqrt{17}}, \frac{3}{\sqrt{17}} \right) \); for side \( BC \): \( \left( \frac{-2}{\sqrt{17}}, \frac{-3}{\sqrt{17}}, \frac{-2}{\sqrt{17}} \right) \); for side \( CA \): \( \left( \frac{4}{\sqrt{42}}, \frac{5}{\sqrt{42}}, \frac{-1}{\sqrt{42}} \right) \).

Common Mistake

A common mistake is confusing direction ratios with direction cosines and forgetting to divide by the magnitude \( r = \sqrt{a^2 + b^2 + c^2} \). Direction cosines must always satisfy \( l^2 + m^2 + n^2 = 1 \), so skipping the normalisation step gives an incorrect answer.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the three vertices: \( A(3, 5, -4) \), \( B(-1, 1, 2) \), and \( C(-5, -5, -2) \). We need to find the direction cosines of the three sides \( AB \), \( BC \), and \( CA \) — Reason: Labelling vertices clearly helps avoid sign errors when computing coordinate differences for each side.
  2. Step 2: Compute the direction ratios of side \( AB \) by subtracting coordinates of \( A \) from those of \( B \): \[ (a, b, c) = (-1 - 3,\; 1 - 5,\; 2 - (-4)) = (-4,\; -4,\; 6). \] Now find the magnitude: \[ r_{AB} = \sqrt{(-4)^2 + (-4)^2 + 6^2} = \sqrt{16 + 16 + 36} = \sqrt{68} = 2\sqrt{17}. \] — Reason: Direction ratios give the direction of the side, and the magnitude is needed to normalise them into direction cosines.
  3. Step 3: Divide each direction ratio of \( AB \) by \( r_{AB} = 2\sqrt{17} \): \[ l = \frac{-4}{2\sqrt{17}} = \frac{-2}{\sqrt{17}}, \quad m = \frac{-4}{2\sqrt{17}} = \frac{-2}{\sqrt{17}}, \quad n = \frac{6}{2\sqrt{17}} = \frac{3}{\sqrt{17}}. \] So the direction cosines of \( AB \) are \( \left( \dfrac{-2}{\sqrt{17}},\; \dfrac{-2}{\sqrt{17}},\; \dfrac{3}{\sqrt{17}} \right) \) — Reason: Dividing by the magnitude ensures the resulting vector has unit length, making each component a valid direction cosine.
  4. Step 4: Compute the direction ratios of side \( BC \) by subtracting coordinates of \( B \) from those of \( C \): \[ (a, b, c) = (-5 - (-1),\; -5 - 1,\; -2 - 2) = (-4,\; -6,\; -4). \] Find the magnitude: \[ r_{BC} = \sqrt{(-4)^2 + (-6)^2 + (-4)^2} = \sqrt{16 + 36 + 16} = \sqrt{68} = 2\sqrt{17}. \] — Reason: Each side is treated independently; we always subtract the starting vertex from the ending vertex to get a consistent direction.
  5. Step 5: Divide each direction ratio of \( BC \) by \( r_{BC} = 2\sqrt{17} \): \[ l = \frac{-4}{2\sqrt{17}} = \frac{-2}{\sqrt{17}}, \quad m = \frac{-6}{2\sqrt{17}} = \frac{-3}{\sqrt{17}}, \quad n = \frac{-4}{2\sqrt{17}} = \frac{-2}{\sqrt{17}}. \] So the direction cosines of \( BC \) are \( \left( \dfrac{-2}{\sqrt{17}},\; \dfrac{-3}{\sqrt{17}},\; \dfrac{-2}{\sqrt{17}} \right) \) — Reason: Same normalisation procedure applied to \( BC \)'s direction ratios.
  6. Step 6: Compute the direction ratios of side \( CA \) by subtracting coordinates of \( C \) from those of \( A \): \[ (a, b, c) = (3 - (-5),\; 5 - (-5),\; -4 - (-2)) = (8,\; 10,\; -2). \] Find the magnitude: \[ r_{CA} = \sqrt{8^2 + 10^2 + (-2)^2} = \sqrt{64 + 100 + 4} = \sqrt{168} = 2\sqrt{42}. \] — Reason: For side \( CA \) we go from \( C \) to \( A \), so we subtract \( C \)'s coordinates from \( A \)'s.
  7. Step 7: Divide each direction ratio of \( CA \) by \( r_{CA} = 2\sqrt{42} \): \[ l = \frac{8}{2\sqrt{42}} = \frac{4}{\sqrt{42}}, \quad m = \frac{10}{2\sqrt{42}} = \frac{5}{\sqrt{42}}, \quad n = \frac{-2}{2\sqrt{42}} = \frac{-1}{\sqrt{42}}. \] So the direction cosines of \( CA \) are \( \left( \dfrac{4}{\sqrt{42}},\; \dfrac{5}{\sqrt{42}},\; \dfrac{-1}{\sqrt{42}} \right) \) — Reason: Dividing by the magnitude converts the direction ratios \( (8, 10, -2) \) into unit-vector components, which are the direction cosines.

Final Answer

The direction cosines are: for side \( AB \): \( \left( \frac{-2}{\sqrt{17}}, \frac{-2}{\sqrt{17}}, \frac{3}{\sqrt{17}} \right) \); for side \( BC \): \( \left( \frac{-2}{\sqrt{17}}, \frac{-3}{\sqrt{17}}, \frac{-2}{\sqrt{17}} \right) \); for side \( CA \): \( \left( \frac{4}{\sqrt{42}}, \frac{5}{\sqrt{42}}, \frac{-1}{\sqrt{42}} \right) \).

Common Mistake

One common mistake: Students subtract coordinates in the wrong order (e.g. computing \( A - B \) instead of \( B - A \) for side \( AB \)), which flips all signs in the direction ratios. While this gives the opposite direction of the same line (both are valid), mixing up the order inconsistently across steps leads to incorrect individual direction cosines, especially when a specific direction from one vertex to the next is required.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Side AB: Direction ratios: \( B - A = (-1-3,\, 1-5,\, 2+4) = (-4,\,-4,\,6) \); magnitude \( r = \sqrt{16+16+36} = \sqrt{68} = 2\sqrt{17} \); direction cosines: \( \left(\frac{-4}{2\sqrt{17}},\, \frac{-4}{2\sqrt{17}},\, \frac{6}{2\sqrt{17}}\right) = \left(\frac{-2}{\sqrt{17}},\, \frac{-2}{\sqrt{17}},\, \frac{3}{\sqrt{17}}\right) \).
  2. Side BC: Direction ratios: \( C - B = (-5+1,\, -5-1,\, -2-2) = (-4,\,-6,\,-4) \); magnitude \( r = \sqrt{16+36+16} = \sqrt{68} = 2\sqrt{17} \); direction cosines: \( \left(\frac{-4}{2\sqrt{17}},\, \frac{-6}{2\sqrt{17}},\, \frac{-4}{2\sqrt{17}}\right) = \left(\frac{-2}{\sqrt{17}},\, \frac{-3}{\sqrt{17}},\, \frac{-2}{\sqrt{17}}\right) \).
  3. Side CA: Direction ratios: \( A - C = (3+5,\, 5+5,\, -4+2) = (8,\,10,\,-2) \); magnitude \( r = \sqrt{64+100+4} = \sqrt{168} = 2\sqrt{42} \); direction cosines: \( \left(\frac{8}{2\sqrt{42}},\, \frac{10}{2\sqrt{42}},\, \frac{-2}{2\sqrt{42}}\right) = \left(\frac{4}{\sqrt{42}},\, \frac{5}{\sqrt{42}},\, \frac{-1}{\sqrt{42}}\right) \).

Answer: The direction cosines are: for side \( AB \): \( \left( \frac{-2}{\sqrt{17}}, \frac{-2}{\sqrt{17}}, \frac{3}{\sqrt{17}} \right) \); for side \( BC \): \( \left( \frac{-2}{\sqrt{17}}, \frac{-3}{\sqrt{17}}, \frac{-2}{\sqrt{17}} \right) \); for side \( CA \): \( \left( \frac{4}{\sqrt{42}}, \frac{5}{\sqrt{42}}, \frac{-1}{\sqrt{42}} \right) \).

➕ More Examples

More Examples

Example 1

Question: Find the direction cosines of the sides of the triangle whose vertices are \( A(2, 3, 1) \), \( B(4, -1, 3) \), and \( C(-2, 0, 5) \).

Solution: We find the direction cosines of each side AB, BC, and CA. Side AB (from A to B): Direction ratios: \( (4-2,\; -1-3,\; 3-1) = (2, -4, 2) \) Length: \[ AB = \sqrt{(2)^2 + (-4)^2 + (2)^2} = \sqrt{4 + 16 + 4} = \sqrt{24} = 2\sqrt{6} \] Direction cosines of AB: \[ l_{AB} = \frac{2}{2\sqrt{6}} = \frac{1}{\sqrt{6}}, \quad m_{AB} = \frac{-4}{2\sqrt{6}} = \frac{-2}{\sqrt{6}}, \quad n_{AB} = \frac{2}{2\sqrt{6}} = \frac{1}{\sqrt{6}} \] Side BC (from B to C): Direction ratios: \( (-2-4,\; 0-(-1),\; 5-3) = (-6, 1, 2) \) Length: \[ BC = \sqrt{(-6)^2 + (1)^2 + (2)^2} = \sqrt{36 + 1 + 4} = \sqrt{41} \] Direction cosines of BC: \[ l_{BC} = \frac{-6}{\sqrt{41}}, \quad m_{BC} = \frac{1}{\sqrt{41}}, \quad n_{BC} = \frac{2}{\sqrt{41}} \] Side CA (from C to A): Direction ratios: \( (2-(-2),\; 3-0,\; 1-5) = (4, 3, -4) \) Length: \[ CA = \sqrt{(4)^2 + (3)^2 + (-4)^2} = \sqrt{16 + 9 + 16} = \sqrt{41} \] Direction cosines of CA: \[ l_{CA} = \frac{4}{\sqrt{41}}, \quad m_{CA} = \frac{3}{\sqrt{41}}, \quad n_{CA} = \frac{-4}{\sqrt{41}} \]

Answer: Direction cosines of AB: \( \dfrac{1}{\sqrt{6}},\; \dfrac{-2}{\sqrt{6}},\; \dfrac{1}{\sqrt{6}} \). Direction cosines of BC: \( \dfrac{-6}{\sqrt{41}},\; \dfrac{1}{\sqrt{41}},\; \dfrac{2}{\sqrt{41}} \). Direction cosines of CA: \( \dfrac{4}{\sqrt{41}},\; \dfrac{3}{\sqrt{41}},\; \dfrac{-4}{\sqrt{41}} \).

Example 2

Question: The vertices of a triangle are \( P(1, -2, 4) \), \( Q(3, 2, -1) \), and \( R(-1, 0, 2) \). Find the direction cosines of all three sides of the triangle.

Solution: We compute direction cosines for sides PQ, QR, and RP. Side PQ (from P to Q): Direction ratios: \( (3-1,\; 2-(-2),\; -1-4) = (2, 4, -5) \) Length: \[ PQ = \sqrt{(2)^2 + (4)^2 + (-5)^2} = \sqrt{4 + 16 + 25} = \sqrt{45} = 3\sqrt{5} \] Direction cosines of PQ: \[ l_{PQ} = \frac{2}{3\sqrt{5}}, \quad m_{PQ} = \frac{4}{3\sqrt{5}}, \quad n_{PQ} = \frac{-5}{3\sqrt{5}} = \frac{-\sqrt{5}}{3} \] Side QR (from Q to R): Direction ratios: \( (-1-3,\; 0-2,\; 2-(-1)) = (-4, -2, 3) \) Length: \[ QR = \sqrt{(-4)^2 + (-2)^2 + (3)^2} = \sqrt{16 + 4 + 9} = \sqrt{29} \] Direction cosines of QR: \[ l_{QR} = \frac{-4}{\sqrt{29}}, \quad m_{QR} = \frac{-2}{\sqrt{29}}, \quad n_{QR} = \frac{3}{\sqrt{29}} \] Side RP (from R to P): Direction ratios: \( (1-(-1),\; -2-0,\; 4-2) = (2, -2, 2) \) Length: \[ RP = \sqrt{(2)^2 + (-2)^2 + (2)^2} = \sqrt{4 + 4 + 4} = \sqrt{12} = 2\sqrt{3} \] Direction cosines of RP: \[ l_{RP} = \frac{2}{2\sqrt{3}} = \frac{1}{\sqrt{3}}, \quad m_{RP} = \frac{-2}{2\sqrt{3}} = \frac{-1}{\sqrt{3}}, \quad n_{RP} = \frac{2}{2\sqrt{3}} = \frac{1}{\sqrt{3}} \]

Answer: Direction cosines of PQ: \( \dfrac{2}{3\sqrt{5}},\; \dfrac{4}{3\sqrt{5}},\; \dfrac{-\sqrt{5}}{3} \). Direction cosines of QR: \( \dfrac{-4}{\sqrt{29}},\; \dfrac{-2}{\sqrt{29}},\; \dfrac{3}{\sqrt{29}} \). Direction cosines of RP: \( \dfrac{1}{\sqrt{3}},\; \dfrac{-1}{\sqrt{3}},\; \dfrac{1}{\sqrt{3}} \).

🎯 Try a Similar Question

Try a Similar Question

Question: Find the direction cosines of the sides of the triangle whose vertices are \( A(2, 3, -1) \), \( B(-2, 1, 3) \), and \( C(4, -3, 2) \).

Solution

  1. Step 1: Find the direction vector and length of side AB: Direction vector of AB: from \( A(2,3,-1) \) to \( B(-2,1,3) \). Components: \( (-2-2,\; 1-3,\; 3-(-1)) = (-4,\; -2,\; 4) \). Length: \[ |AB| = \sqrt{(-4)^2 + (-2)^2 + 4^2} = \sqrt{16 + 4 + 16} = \sqrt{36} = 6 \]
  2. Step 2: Direction cosines of side AB: The direction cosines of AB are: \[ \left( \frac{-4}{6},\; \frac{-2}{6},\; \frac{4}{6} \right) = \left( \frac{-2}{3},\; \frac{-1}{3},\; \frac{2}{3} \right) \]
  3. Step 3: Find the direction vector and length of side BC: Direction vector of BC: from \( B(-2,1,3) \) to \( C(4,-3,2) \). Components: \( (4-(-2),\; -3-1,\; 2-3) = (6,\; -4,\; -1) \). Length: \[ |BC| = \sqrt{6^2 + (-4)^2 + (-1)^2} = \sqrt{36 + 16 + 1} = \sqrt{53} \]
  4. Step 4: Direction cosines of side BC: The direction cosines of BC are: \[ \left( \frac{6}{\sqrt{53}},\; \frac{-4}{\sqrt{53}},\; \frac{-1}{\sqrt{53}} \right) \]
  5. Step 5: Find the direction vector and length of side CA: Direction vector of CA: from \( C(4,-3,2) \) to \( A(2,3,-1) \). Components: \( (2-4,\; 3-(-3),\; -1-2) = (-2,\; 6,\; -3) \). Length: \[ |CA| = \sqrt{(-2)^2 + 6^2 + (-3)^2} = \sqrt{4 + 36 + 9} = \sqrt{49} = 7 \]
  6. Step 6: Direction cosines of side CA: The direction cosines of CA are: \[ \left( \frac{-2}{7},\; \frac{6}{7},\; \frac{-3}{7} \right) \]
  7. Step 7: Verify the property of direction cosines: For each side, the sum of squares of direction cosines must equal 1. For AB: \[ \left(\frac{-2}{3}\right)^2 + \left(\frac{-1}{3}\right)^2 + \left(\frac{2}{3}\right)^2 = \frac{4}{9} + \frac{1}{9} + \frac{4}{9} = \frac{9}{9} = 1 \] This confirms our calculation is correct.

Answer: The direction cosines of the sides of the triangle are: for side AB: \( \left( \dfrac{-2}{3},\; \dfrac{-1}{3},\; \dfrac{2}{3} \right) \); for side BC: \( \left( \dfrac{6}{\sqrt{53}},\; \dfrac{-4}{\sqrt{53}},\; \dfrac{-1}{\sqrt{53}} \right) \); for side CA: \( \left( \dfrac{-2}{7},\; \dfrac{6}{7},\; \dfrac{-3}{7} \right) \).

Everything you get with Solver7

More questions in Three Dimensional Geometry