Unit Vector
A unit vector has length and points in the same direction as . Normalising vectors is used to describe pure directions, in projections and normals, and in computer graphics lighting calculations.
LaTeX
\hat{\mathbf a}=\frac{\mathbf a}{\|\mathbf a\|}Variables
- unit vector in the direction of a
- nonzero vector
- length of a
Example
Find the unit vector in the direction of .
- .
- .
Answer: .