The initial point is and the terminal point is
The vector
Magnitude of the vector is
Now the Unit vector in the direction of v is
Hence the unit vector in the direction of v is