[Math] Expressing a vector as a linear combination of other vectors

linear algebra

I need help expressing \begin{bmatrix}6\\4\\3\end{bmatrix}

as a linear combination of the vectors
$$ \begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}
\text{ , }
\begin{bmatrix} 3 \\ 1 \\ 2 \end{bmatrix}
\text{ and }
\begin{bmatrix} 3 \\ 2 \\ -1 \end{bmatrix} $$

My approach was to create the augmented matrix
$$ \left[\begin{array}{rrr|r} 1&3&3&6\\2&2&1&4\\-1&-1&2&3\end{array}\right] $$

and row reduce it to find x1, x2, and x3. Then I will write x1[matrix1] + x2[matrix2] + x3[matrix3]. Is this the correct approach?

Best Answer

Let v = $\begin{bmatrix} 6 \\ 4 \\ 3 \end{bmatrix}$, x = $\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}$, y = $\begin{bmatrix} 3 \\ 1 \\ 2 \end{bmatrix}$, and $z = \begin{bmatrix} 3 \\ 2 \\ -1 \end{bmatrix}$. So, we want to find real numbers a, b, and c such that v = ax + by + cz. This leaves you with a set of three equations in three unknowns. $$ 6 = a + 3b + 3c$$ $$4 = 2a + b + 2c$$ $$3 = -a + 2b - c $$ If you solve this system using any method you like, you'll see that {a, b, c} = {$\frac{3}{2}$, 2, $\frac{-1}{2}$}