Example 1: Direction cosines of a line at , , to the axes
If a line makes angle , and with the positive direction of , and -axis respectively, find its direction cosines.
Let the direction cosines of the line be . Then
The direction cosines are .
Want the reason behind every step, the basics and the checks?
The direction cosines of a directed line are, by definition, the cosines of the angles it makes with the positive , and -axes. Here the three angles are given, so we only have to take their cosines. The rule then checks the answer.
- Given
- A line making angles , , with the positive directions of the , and -axes.
- To find
- Its direction cosines .
- Plan
- (1) Name the direction angles. (2) Take their cosines. (3) Check that . (4) See where the line points.
Basics you need
If a directed line makes angles with the positive , and -axes, then , , are its direction cosines (Section 11.2). Basics: direction cosines
, and , from the half-equilateral triangle with sides .
For every line, : the vector is a unit vector along the line, and its length is found by Pythagoras in three dimensions. Basics: distance in 3D
means units along , along and along . A point with lies in the -plane. Basics: three numbers fix a point
Solution
Name the direction angles
The angles with the positive , and -axes are
The question gives the angles with the positive directions of the axes, which are exactly the direction angles of Section 11.2. They describe the line taken in one direction. The same line taken the other way makes the supplementary angles , , , that is , , .Direction angles of a directed line (Section 11.2, recalled from Chapter 10). Basics: direction cosinesTake the cosines
This is the definition: direction cosines are the cosines of the direction angles, in the order , , . The values come from the half-equilateral triangle: cut an equilateral triangle of side 2 in half to get a right triangle with sides and angles ; then and . The cosine of a right angle is 0.Check that the squares add up to 1
Every set of direction cosines must pass this test, because is a unit vector. It is also a real check on the question: not every three angles belong to a line. For example, would give , so no line makes with all three axes. Our angles pass, so such a line exists.(Section 11.2). Basics: Pythagoras twiceSee where the line points
Draw the line through the origin, in the given direction. The unit vector along it is
so it ends at . Its -coordinate is 0, so lies in the -plane.
The unit arrow in an oblique projection (not to scale: the -axis is drawn shortened and slanting). lies in the -plane, which is drawn true to shape, so the with and the with look right; is perpendicular to . A line at to the -axis is perpendicular to it, so (through the origin) it lies in the -plane. Inside that plane the angles with and must add up to , and indeed . The dashed lines show the cosines as lengths: has length 1, its shadow on is and its shadow on is .The components of a unit vector are its direction cosines. Basics: a unit arrow's shadows on the axes
The direction cosines of the line are , , . (The same line taken in the opposite direction has .)
(Textbook answer: , , .)
To eight places, and . Then and , so .
Going back from the cosines to the angles: , and .
- Writing . It is that equals 1; .
- Swapping the values of and . The larger angle has the smaller cosine: .
- Taking sines instead of cosines. That gives , whose squares add up to , not 1; the check catches this slip. (It does not catch the swap in mistake 2, because also passes it.)
- Using the angles with the coordinate planes. Direction angles are measured from the axes, not from the planes , , .
- Given the angles with the axes, the direction cosines are just their cosines, in the order , , .
- Always check ; three angles that fail it belong to no line.
- A direction cosine 0 means the line is perpendicular to that axis.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Direction angles and , , | Steps 1, 2 | Section 11.2; Section 10.2 (Basics) |
| Reversing a line replaces each angle by its supplement and flips the signs | Step 1, Result | Section 11.2 |
| , , | Step 2 | Trigonometry (Class XI) |
| Step 3 | Section 11.2 (Basics) | |
| is a unit vector along the line | Step 4 | Section 10.5.1 (Lesson) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →