Summary
If a directed line makes angles α, β, γ with the positive directions of OX, OY, OZ, these are its direction angles. Their cosines l = cos α, m = cos β, n = cos γ are the direction cosines (d.c.). For a vector r = xî + yĵ + zk̂, l = x/|r|, m = y/|r|, n = z/|r|, so the unit vector along r is lî + mĵ + nk̂.
Any three numbers a, b, c proportional to the direction cosines are direction ratios (d.r.) of the line: l : m : n = a : b : c. Direction ratios are not unique (multiply by any non-zero number); direction cosines are unique up to sign.
Key formulas
- d.c. from d.r. (a, b, c)
- (a, b, c) / √(a² + b² + c²), with ± sign
- d.r. of the line through P₁, P₂
- (x₂ − x₁, y₂ − y₁, z₂ − z₁)
- Lines perpendicular
- a₁a₂ + b₁b₂ + c₁c₂ = 0
- Lines parallel
- a₁/a₂ = b₁/b₂ = c₁/c₂
- Angle between lines
- cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁²+b₁²+c₁²) √(a₂²+b₂²+c₂²))
- d.r. perpendicular to two lines
- cross product of their d.r.
- Direction cosines
- l = cos α, m = cos β, n = cos γ
- Identity
- l² + m² + n² = 1
- d.c. from vector xî + yĵ + zk̂
- x/|r|, y/|r|, z/|r|
- d.c. from d.r. (a, b, c)
- ± (a, b, c)/√(a²+b²+c²)
What this note covers
- Direction angles and cosines
- Direction ratios
Solved past-paper question (MHT-CET 2026)
Find the direction cosines of a line that makes equal angles with the coordinate axes.
- (A) ±1/(\sqrt2),±1/(\sqrt2),0
- (B) ±1/(\sqrt3),±1/(\sqrt3),±1/(\sqrt3)
- (C) ±\frac12,±\frac12,±\frac12
- (D) ±1,0,0
Solution
Equal angles with the axes means l = m = n.
l = m = n
Use l² + m² + n² = 1.
3l² = 1 ⟹ l = ± 1/√3
Any sign is allowed for the common value, so the direction cosines are
(± 1/√3, ± 1/√3, ± 1/√3)
Answer: (B) ±1/(\sqrt3),±1/(\sqrt3),±1/(\sqrt3)
Common mistake: Picking (±1/√2, ±1/√2, 0), which satisfies l² + m² + n² = 1 but is not equal for all three axes.
The full note has 8 solved questions, 8 practice questions, figures and a topic test. Reading it on PrepKi is free after you log in.
PDF download is included in PrepKi plans. See plans.