2. Determine whether the vectors $\mathbf{v}_1$, $\mathbf{v}_2$, $\mathbf{v}_3$ are linearly independent or linearly dependent by finding
all the scalars $c_1, c_2, c_3 \in \mathbb{R}$ which yield the linear combination $c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + c_3\mathbf{v}_3 = \mathbf{0}$. May use
Matlab for any of the computations. Cite Matlab appropriately and include any Matlab code and
output.
(a) $\mathbf{v}_1 = \begin{bmatrix} 3 \\ -1 \\ -1 \\ 2 \end{bmatrix}$, $\mathbf{v}_2 = \begin{bmatrix} 1 \\ 0 \\ 2 \\ 1 \end{bmatrix}$, $\mathbf{v}_3 = \begin{bmatrix} 3 \\ -1 \\ 0 \\ 1 \end{bmatrix}$ in $\mathbb{R}^4$
(b) $\mathbf{v}_1(x) = 1 + 5x$, $\mathbf{v}_2(x) = 5x + x^2$, $\mathbf{v}_3(x) = 3 - 3x^2$ in $\mathcal{P}_2$