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.
(, , ) 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 orthonormalbasis vectors in terms of another set, or for expressing a known vector in a different basis.
References
Tang, K. T. (2006). Mathematical Methods for Engineers and Scientists. Vol. 2. Springer. p. 13. ISBN3-540-30268-9.