Kalpana Kalpana (Editor)

Direction cosine

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Direction cosine

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. Equivalently, they are the contributions of each component of the basis to a unit vector in that direction.

Contents

Three-dimensional Cartesian coordinates

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

v = v x e x + v y e y + v z e z ,

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

α = cos a = v e x v = v x v x 2 + v y 2 + v z 2 , β = cos b = v e y v = v y v x 2 + v y 2 + v z 2 , γ = cos c = v e z v = v z v x 2 + v y 2 + v z 2 .

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.

References

Direction cosine Wikipedia