Question: At time $t = 0$, a particle is located at the point (I, 2, 3). It travels in a straight line to the point (4, 1,4), has speed 2 at (I, 2, 3) and constant acceleration $3i - j + k$. Find an equation for the position vector $r(t)$ of the particle at time $t$.
The solution says to find the velocity vector by integrating the acceleration vector. When I do this, I get
$\vec{v}=3t\vec{i}-t\vec{j}+t\vec{k}+C$
The solution also says the the vector of the particle path is $<3,-1,1>$ since it's just $<4-1,1-2,4-3>$. I understand this part as well.
I'm confused about this part:
The solution says that since the speed is 2, this means $|\vec{v}|=2$ and
$\frac{\vec{v}}{|\vec{v}|}=\frac{<3,-1,1>}{\sqrt{3^2+(-1)^2+1^2}}$
The velocity is a product of direction and speed so
$\vec{v}=|\vec{v}|*\frac{\vec{v}}{|\vec{v}|}=2*\frac{<3,-1,1>}{\sqrt{3^2+(-1)^2+1^2}}$
I don't understand why I'm using
$|\vec{v}|=2$ and $|\vec{v}|=\sqrt{3^2+(-1)^2+1^2}$