The answers about using the cross product are correct, but needlessly complicated. If
two vectors are
parallel, then one of them will be a multiple of the other. So divide each one by its magnitude to get a unit
vector. If they're
parallel, the
two unit
vectors will be the same.
read more >>