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:
“As the unity of the modern world becomes increasingly a technological rather than a social affair, the techniques of the arts provide the most valuable means of insight into the real direction of our own collective purposes.”
—Marshall McLuhan (19111980)