Direction cosines

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.

Three dimensional Cartesian coordinates


Further information: Cartesian coordinates

If v is a Euclidean vector in three dimensional Euclidean space, ℝ3,

{\mathbf v}= v_\text{x} \mathbf{e}_\text{x} + v_\text{y} \mathbf{e}_\text{y} + v_\text{z} \mathbf{e}_\text{z}

where ex, ey, ez are the standard basis in Cartesian notation, then the direction cosines are

\begin{align}

\alpha & = \cos a = \frac{\sqrt{v_\text{x}^2 + v_\text{y}^2 + v_\text{z}^2}} ,\\ \beta & = \cos b = \frac{\sqrt{v_\text{x}^2 + v_\text{y}^2 + v_\text{z}^2}} ,\\ \gamma &= \cos c = \frac{\sqrt{v_\text{x}^2 + v_\text{y}^2 + v_\text{z}^2}}. \end{align}

It follows that by squaring each equation and adding the results:

\cos ^2 a + \cos ^2 b + \cos ^2 c = 1\,.

Here, α, β and γ are the direction cosines and the Cartesian coordinates of the unit vector v/|v|, and a, b and c are the direction angles of the vector v.

The direction angles a, b and c are acute or obtuse angles, i.e., 0 ≤ a ≤ π, 0 ≤ bπ and 0 ≤ cπ and they denote the angles formed between v and the unit basis vectors, ex, ey and ez.

General meaning

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.

See also

References

  • MathWorld.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.