It \textbf v is a vector with the initial point and the terminal point , then its components are given by
and we denote this vector by . So the components of the vector with the given initial and terminal point and are
The length of the vector is given by
so the length of our vector is
We can obtain the unit vector in the direction of \textbf v by dividing the vector \textbf v with its norm (length).
The sketch of the vector \textbf v is given in the figure below.