I am confused about a sample solution to a problem (please read until the end, since I am not looking for a solution to the problem itself)
We were asked if the vector
$\begin{bmatrix} -3 \\ 4\\ 7 \end{bmatrix}$
can be written as a linear combination of
$\begin{bmatrix}1 \\ 2\\ 1 \end{bmatrix}$,$\begin{bmatrix}-2 \\ 1 \\ 3 \end{bmatrix}$, $\begin{bmatrix}4 \\ 3\\ -1 \end{bmatrix}$
Clearly this can be solved by a matrix $(A|b)$ The solution that was given to us solved it this way:
$\begin{bmatrix} 1 & -2 & 4 \\ 2 & 1 & 3 \\ 1 & 3 & -1 \end{bmatrix} * \begin{bmatrix} a \\ b \\ c \end{bmatrix} = \begin{bmatrix} -3 \\ 4\\ 7 \end{bmatrix}$
But I would say that this is the wrong way to convert these vectors to a matrix. I would have written it down like this:
My trial: $\begin{bmatrix} 1 & 2 & 1 \\ -2 & 1 & 3 \\ 4 & 3 & -1 \end{bmatrix} * \begin{bmatrix} a \\ b \\ c \end{bmatrix} = \begin{bmatrix} -3 \\ 4\\ 7 \end{bmatrix}$
So I am not looking for a solution for the problem itself - I just want to have cleared out why the sample solution uses a wrong ( so I suggest) built matrix. Is there a reason I haven't been awared of yet? Or is it just a mistake.
! I do not want to know if the starting vector can be written as a linear combination of the other ones. I am able to solve this on my own. I want to know which way to solve it is the correct one. Handed out a sample solution which I suggest is wrong is confusing me.