Three angles, three cosines
l = cos α, m = cos β, n = cos γ, and l² + m² + n² = 1.
Which way does a line point?
A directed line through O makes angles α, β and γ with the x-, y- and z-axes. Their cosines describe its direction.
If you reverse the direction of the line, its direction cosines …
What this lesson covers
The idea
A directed line making angles α, β, γ with the axes has direction cosines l = cos α, m = cos β, n = cos γ, with l² + m² + n² = 1; reversing the line changes all their signs, so a line has two sets.
Which way does a line point?
A directed line through O makes angles α, β and γ with the x-, y- and z-axes. Their cosines describe its direction.
If you reverse the direction of the line, its direction cosines …
- all change sign
- stay the same
- swap places
Point the line
Set the direction with the steppers and turn the view. The readout gives the angles α, β, γ and their cosines l, m, n.
Direction cosines
A directed line making angles α, β, γ with the x-, y- and z-axes has direction cosines l = cos α, m = cos β, n = cos γ, and l² + m² + n² = 1. Reversing the line replaces the angles by π − α, π − β, π − γ, so every sign changes: a line has two sets of direction cosines, one for each direction.
A line that does not pass through O has the direction cosines of the parallel line through O.
Example 1: angles 90°, 60° and 30° give l = 0, m = 1/2, n = √3/2.
Example 4: the x-axis has direction cosines 1, 0, 0; the y- and z-axes have 0, 1, 0 and 0, 0, 1.
Notes
l = cos α, m = cos β, n = cos γ, and l² + m² + n² = 1. Reversing the line changes every sign: a line has two sets of direction cosines.
Check yourself
Exercise 11.1, Q1: a line makes angles 90°, 135° and 45° with the x-, y- and z-axes. Its direction cosines are …
A line has cos α = 1/3 and cos β = 2/3. Find cos²γ.
Answer: 4/9
cos²γ = 1 − 1/9 − 4/9 = 4/9, so cos γ = ±2/3.
Exercise 11.1, Q2: a line makes equal angles with the three axes. Its direction cosines are …
- 0, 1/√2, 1/√2. cos 135° = −1/√2: the sign matters.
- 0, −1/√2, 1/√2 — correct. Yes! cos 90° = 0, cos 135° = −1/√2, cos 45° = 1/√2.
- 1, −1/√2, 1/√2. cos 90° = 0, not 1.
- 1/3 each. Then l² + m² + n² = 1/3, not 1.
- 1/√2, 1/√2, 0. That line makes equal angles with the x- and y-axes only (γ = 90°).
- ±1/√3 each — correct. Yes! 3l² = 1, so l = m = n = ±1/√3 (all the same sign).