Suppose you are interested in finding the unit vector between two points, and , which are described in cartesian coordinates as and , respectively.
You would begin by finding the vector between these two points. The direction of this vector may be important so look for key words such as . Once we have established the direction we’re going in, to in this case, we subtract the beginning point from the end point. . This will give us the vector we are looking for. The next step would be to convert this vector into a unit vector, by dividing it by it’s magnitude.
These are the two formulas we are looking at:
Here I use as my vector from to and denotes the unit vector from to .
Implementing these formulas:
Hmm.. The End