Answer
$||v||=\sqrt5$.
\begin{bmatrix}
\frac{-1}{\sqrt5} \\
\frac{2}{\sqrt5} \\
\end{bmatrix}
Work Step by Step
For the vector $v=\begin{bmatrix}
v_{1} \\
v_{2} \\
\vdots\\
v_{n}
\end{bmatrix}$
$||v||=\sqrt{v_1^2+v_2^2+...+v_n^2}$
The unit vector in the direction of $v$ is $\frac{v}{||v||}$.
Hence: $||v||=\sqrt{(-1)^2+2^2}=\sqrt{1+4}=\sqrt5$.
Thus, the unit vector in the direction of $v$ is: \begin{bmatrix}
\frac{-1}{\sqrt5} \\
\frac{2}{\sqrt5} \\
\end{bmatrix}