Direction cosines
We can find the angle between two nonzero vectors using the dot product:
Often, we want to determine the angle that a certain vector makes with the coordinate axes. To do this, we just put and in the place of one at a time and solve for the angle. Since this operation is so common, it is worthwhile to work out specific equations.
Let’s start with the x-axis. If we have a vector in component form, then
When we dot with one of the standard basis vectors, we are effectively choosing one of its components. Simplifying the equation for the other two axes is just as easy. To avoid confusion, we use three different Greek letters to represent the three angles:
Axis | Basis | Cosine | Value |
---|---|---|---|
x | |||
y | |||
z |