Find the vector ( mathbf{v} )
Compute its magnitude ( |mathbf{v}| )
Divide the vector by its magnitude: ( hat{mathbf{v}} = dfrac{mathbf{v}}{|mathbf{v}|} )
For ( mathbf{v} = langle a, b, c rangle ), use ( |mathbf{v}| = sqrt{a^2 + b^2 + c^2} )
For ( mathbf{v} = langle a, b rangle ), use ( |mathbf{v}| = sqrt{a^2 + b^2} )
Write the result as the unit vector in the same direction as ( mathbf{v} )
