Direction Cosines
The direction cosines are the cosines of the angles a vector makes with the coordinate axes; they are the components of its unit vector, so their squares add up to . They are used to describe orientations in 3D geometry.
LaTeX
\cos\alpha=\frac{a_1}{\|\mathbf a\|},\ \cos\beta=\frac{a_2}{\|\mathbf a\|},\ \cos\gamma=\frac{a_3}{\|\mathbf a\|},\qquad \cos^2\alpha+\cos^2\beta+\cos^2\gamma=1Variables
- angles with the x-, y- and z-axes
- nonzero vector (a₁, a₂, a₃)
Example
Find the direction cosines of .
- .
- .
Answer: ; squares sum to .