Suppose that and . Find a vector of magnitude that is parallel to .
To begin, let’s find a vector in the same direction as . Using the rules of addition and scalar multiplication, we find:

How should we proceed?

Multiply this result by ; that is, . Find the magnitude of and scale it appropriately if necessary.

We compute:

(type the components in the order of )

A unit vector in the direction of is thus , so:

and .