Course: Linear Algebra

Test question: Write a vector $\displaystyle \left\(5,2,4\right\)$ as a linear combination of the vectors $\displaystyle \left\(3,-1,6\right\)$, $\displaystyle \left\(2,4,3\right\)$, and $\displaystyle \left\(5,-1,2\right\)$.

My answer was $\displaystyle \left\(5,2,4\right\)= \frac{1}{10}\left\(3,-1,6\right\)+ \frac{38}{55}\left\(2,4,3\right\)+ \frac{73}{110}\left\(5,-1,2\right\)$.

Review question: Write $\displaystyle \left\(5,2,4\right\)$ as a linear combination of columns from $\displaystyle \begin{bmatrix}3 & 2 & 5 \\ -1 & 4 & -1 \\ 6 & 3 & 2 \end{bmatrix}$.

I get the same answer as I got before, just with column vectors. Should this be?