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:
“Man alone resists the direction of gravitation: he constantly wants to fallupwards.”
—Friedrich Nietzsche (18441900)