Lably
Skip to content

Direction cosine

Cosines of the angles between a vector and the coordinate axes

  • 2 min read
  • 3 chapters
  • 1 lab on Lably

Learn it on Lably

Three-dimensional Cartesian coordinates

If v is a Euclidean vector in three-dimensional Euclidean space, ⁠R3,⁠

v=vxex+vyey+vzez,

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

α=cos⁡a=v⋅ex‖v‖=vxvx2+vy2+vz2,β=cos⁡b=v⋅ey‖v‖=vyvx2+vy2+vz2,γ=cos⁡c=v⋅ez‖v‖=vzvx2+vy2+vz2.

It follows that by squaring each equation and adding the results

cos2⁡a+cos2⁡b+cos2⁡c=α2+β2+γ2=1.

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

The direction angles a, b, c are acute, right, obtuse, or straight angles, i.e., 0 ≤ a ≤ π, 0 ≤ b ≤ π and 0 ≤ c ≤ π (There are two opposite angles between two vectors, and the direction angle x between the vectors is the one satisfying 0 ≤ x ≤ π.), and they denote the angles formed between v and the unit basis vectors ex, ey, ez.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Topics in mathematics