Direction cosine

From Wikipedia, the free encyclopedia
(Redirected from Direction cosines)
Jump to navigation Jump to search

Template:Short description Script error: No such module "Unsubst".

In analytic geometry, the direction cosines (or directional cosines) of a vector are the cosines of the angles between the vector and the three positive coordinate axes. Equivalently, they are the contributions of each component of the basis to a unit vector in that direction.

Three-dimensional Cartesian coordinates

File:Direction cosine vector.svg
Vector vScript error: No such module "Check for unknown parameters". in Template:Tmath
File:Direction cosine unit vector.svg
Direction cosines and direction angles for the unit vector 𝐯|𝐯|

Script error: No such module "labelled list hatnote".

If vScript error: No such module "Check for unknown parameters". is a Euclidean vector in three-dimensional Euclidean space, Template:Tmath

𝐯=vx𝐞x+vy𝐞y+vz𝐞z,

where ex, ey, ezScript error: No such module "Check for unknown parameters". are the standard basis in Cartesian notation, then the direction cosines are

α=cosa=𝐯𝐞x𝐯=vxvx2+vy2+vz2,β=cosb=𝐯𝐞y𝐯=vyvx2+vy2+vz2,γ=cosc=𝐯𝐞z𝐯=vzvx2+vy2+vz2.

It follows that by squaring each equation and adding the results

cos2a+cos2b+cos2c=α2+β2+γ2=1.

Here α, β, γScript error: No such module "Check for unknown parameters". are the direction cosines and the Cartesian coordinates of the unit vector 𝐯|𝐯|, and a, b, cScript error: No such module "Check for unknown parameters". are the direction angles of the vector vScript error: No such module "Check for unknown parameters"..

The direction angles a, b, cScript error: No such module "Check for unknown parameters". are acute or obtuse angles, i.e., 0 ≤ a ≤ πScript error: No such module "Check for unknown parameters"., 0 ≤ bπScript error: No such module "Check for unknown parameters". and 0 ≤ cπScript error: No such module "Check for unknown parameters"., and they denote the angles formed between vScript error: No such module "Check for unknown parameters". and the unit basis vectors ex, ey, ezScript error: No such module "Check for unknown parameters"..

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. Simply put, direction cosines provide an easy method of representing the direction of a vector in a Cartesian coordinate system.

Applications

Determining angles between two vectors

If vectors uScript error: No such module "Check for unknown parameters". and vScript error: No such module "Check for unknown parameters". have direction cosines (αu, βu, γu)Script error: No such module "Check for unknown parameters". and (αv, βv, γv)Script error: No such module "Check for unknown parameters". respectively, with an angle Template:Mvar between them, their units vectors are

u^=1ux2+uy2+uz2(ux𝐞x+uy𝐞y+uz𝐞z)=αu𝐞x+βu𝐞y+γu𝐞zv^=1vx2+vy2+vz2(vx𝐞x+vy𝐞y+vz𝐞z)=αv𝐞x+βv𝐞y+γv𝐞z. Taking the dot product of these two unit vectors yield, u^v^=αuαv+βuβv+γuγv=cosθ, where Template:Mvar is the angle between the two unit vectors, and is also the angle between uScript error: No such module "Check for unknown parameters". and vScript error: No such module "Check for unknown parameters"..

Since Template:Mvar is a geometric angle, and is never negative. Therefore only the positive value of the dot product is taken, yielding us the final result,

θ=arccos(αuαv+βuβv+γuγv).

See also

References

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "Template wrapper".


Template:Asbox