Any vector of a magnitude of
Every vector
Oftentimes the unit vector is written as
The unit vector that points to a vector could be found by using:
||\vec{v}|| = \sqrt{v_1^2+v_2^2+v_3^2 +\dots+v_n^2}$$
Example: If we are to find the unit vector
\vec{u} = \frac{1}{||\vec{v}||}\cdot \vec{v} = \frac{1}{\sqrt{21}}\cdot \begin{bmatrix} 1 \ 4 \ -2 \end{bmatrix} = \begin{bmatrix} \frac{1}{\sqrt{21}} \ \frac{4}{\sqrt{21}} \ -\frac{2}{\sqrt{21}} \end{bmatrix}