Find direction cosines from direction ratios
If a line has direction ratios a, b, c, its direction cosines are l = a / r, m = b / r, n = c / r, where r = √(a² + b² + c²). Direction cosines always satisfy l² + m² + n² = 1.
This is original written practice with invented direction ratios. Each answer is checked by adding the squares of l, m and n.
Find the length, divide each ratio by it, then add the squares
- Find r = √(a² + b² + c²).
- Divide each ratio by r.
- Check: l² + m² + n² = 1.
Direction ratios 2, 3, 6
r = √(4 + 9 + 36) = 7. The direction cosines are 2/7, 3/7 and 6/7.
Check: 4/49 + 9/49 + 36/49 = 49/49 = 1.
Direction ratios 1, 2, 2
r = √(1 + 4 + 4) = 3. The direction cosines are 1/3, 2/3 and 2/3.
Check: 1/9 + 4/9 + 4/9 = 1.
A line has l = 1/2 and m = 1/√2. Find n.
n² = 1 - 1/4 - 1/2 = 1/4, so n = 1/2 or n = -1/2. Two lines are possible.
Check: 1/4 + 1/2 + 1/4 = 1 for either sign.
Counterexample: dividing by the sum instead of the length
A student divides 2, 3, 6 by their sum, 11, to get 2/11, 3/11 and 6/11.
The check fails. The squares add up to 49/121, about 0.40, not 1. Divide by the length √(a² + b² + c²) = 7.
Try one yourself
Find the direction cosines for direction ratios 3, 4, 12 and check.
Show the worked self-check
r = √(9 + 16 + 144) = 13. The direction cosines are 3/13, 4/13 and 12/13. Check: (9 + 16 + 144) / 169 = 1.
Scope and limits
- The page covers direction cosines from direction ratios and one case of finding a missing cosine.
- It does not cover the angle between lines or the equation of a line in space.
- The numbers are invented, and the questions are practice, not an exam key.
- Every answer is checked by l² + m² + n² = 1.
Common questions
What is the difference between direction ratios and direction cosines?
Direction ratios can be any multiple of each other. Direction cosines are the one set whose squares add to 1.
Can direction ratios be zero?
One or two can be. All three cannot be zero.
What does l = cos α mean?
α is the angle the line makes with the x-axis.
Why are there two lines in the third example?
The sign of n is not fixed by l² + m² + n² = 1.
Sources and scope
Sources checked . They support the formula or law used. The numbers, worked examples and self-check above are original EZT practice.
- NCERT Class 12 Mathematics: Three Dimensional Geometry, for direction cosines and direction ratios.
- Wikipedia: Direction cosine, for the relation l² + m² + n² = 1.