In analytic geometry, the direction cosines (or directional cosines) of a vector are the cosines of the angles between the vector and the three coordinate axes. Or equivalently it is the component contributions of the basis to the unit vector.
If v is a vector
where are basis, then the direction cosines are
Note that
and
- (, ) is the Cartesian coordinates of the unit vector .
More generally, direction cosine refers to the cosine of the angle between any two vectors. They are useful for forming direction cosine matrices that express one set of orthonormal basis vectors in terms of another set, or for expressing a known vector in a different basis.
Famous quotes containing the word direction:
“German poetry is going in a very different direction from French poetry.... Its language has become more sober, more factual. It distrusts beauty. It tries to be truthful.”
—Paul Celan [Paul Antschel] (19201970)