The direction vector can be found by subtracting the coordinates of the two given points. Let's denote the first point as $P(0, \frac{1}{2}, 1)$ and the second point as $Q(2,1,-3)$. The direction vector $\vec{v}$ is then given by $\vec{v} = Q - P$.
Show more…