Three angles, three cosines
The cosines of the angles a vector makes with the axes always square up to 1.
Which way does it point?
The vector r = OP to P(2, 3, 6) has length 7. But which way does it point?
One way to say it: give the angle it makes with each axis. Call them α (with the x-axis), β (with the y-axis) and γ (with the z-axis).
What do you think cos² α + cos² β + cos² γ comes to?
What this lesson covers
The idea
If r makes angles α, β, γ with the x, y and z axes, then l = cos α, m = cos β, n = cos γ are its direction cosines, with l² + m² + n² = 1; numbers proportional to them are direction ratios, whose squares need not add to 1.
Which way does it point?
The vector r = OP to P(2, 3, 6) has length 7. But which way does it point?
One way to say it: give the angle it makes with each axis. Call them α (with the x-axis), β (with the y-axis) and γ (with the z-axis).
What do you think cos² α + cos² β + cos² γ comes to?
- Always 1
- It depends on P
- Always 0
One right triangle per axis
Press α, β and γ. Each one shades a right triangle: OAP has its right angle at A on the x-axis, so cos α = OA/OP = x/r. Then change x, y or z and watch the last line.
Direction cosines
If r makes angles α, β, γ with the positive x, y and z axes, then l = cos α, m = cos β, n = cos γ are its direction cosines, and l² + m² + n² = 1
From the triangles, l = x/r, m = y/r, n = z/r. Add their squares: l² + m² + n² = (x² + y² + z²) ÷ r². But x² + y² + z² = r², so the sum is 1, for every P.
The coordinates of P are lr, mr, nr. Numbers proportional to the direction cosines, like these, are direction ratios a, b, c. For P(2, 3, 6) they are 2, 3, 6, and 2² + 3² + 6² = 49, so a² + b² + c² ≠ 1 in general.
Notes
l = cos α, m = cos β, n = cos γ are the direction cosines of r, and l² + m² + n² = 1. Numbers proportional to them are direction ratios; their squares need not add to 1.
Check yourself
For r = OP with P(2, 3, 6), what is the direction cosine l = cos α? (r = 7)
Answer: 2/7
l = x/r = 2/7 ≈ 0.286.
Which set can be the direction cosines of a vector?
A vector has direction ratios 1, 2, 2, so r = √(1 + 4 + 4) = 3 for P(1, 2, 2). What is n = cos γ?
Answer: 2/3
n = 2/3 ≈ 0.667. Check: (1/3)² + (2/3)² + (2/3)² = 1.
Meera says 4, 6, 12 are also direction ratios of OP, where P is (2, 3, 6). Is she right?
- 1/2, 1/2, 1/2. 1/4 + 1/4 + 1/4 = 3/4. Direction cosines must square up to 1.
- 1/3, 2/3, 2/3 — correct. Yes. 1/9 + 4/9 + 4/9 = 9/9 = 1.
- 1, 2, 2. 1 + 4 + 4 = 9, not 1. These are direction ratios, not cosines.
- Yes, they are proportional to 2, 3, 6 — correct. Right. Direction ratios are any numbers proportional to the direction cosines; 4, 6, 12 is 2 × (2, 3, 6).
- No, their squares do not add to 1. Only direction cosines must square up to 1. Direction ratios just have to be proportional to them.