Problem:
Consider the vectors $u = (1,2,3)$ and $v = (2,3,1)$ in $R^3$. Write $w = (1,3,8)$ as a linear combination of $u$ and $v$.
Answer:
$$ c_1( 1,2,3) + c_2( 2,3,1 ) = (1,3,8) $$ Now to find $c_1$ and $c_2$ we setup a matrix. $$ \begin{bmatrix} 1 & 2 & 1 \\ 2 & 3 & 3 \\ 3 & 1 & 8 \end{bmatrix} \sim \begin{bmatrix} 1 & 2 & 1 \\ 0 & -1 & 1 \\ 0 & -5 & 5 \end{bmatrix} $$ This gives us $c_2 = -1$. \begin{align*} c_1 + 2c_2 &= 1 \\ c_1 + 2(-1) &= 1 \\ c_1 &= 3 \\ \end{align*} Hence the solution is $w = 3u - v$. This answer matches the back of the book; however it seems to me that there should be more than one solution. Is this solution unique?
If $\{ v_1, v_2 \}$ is linearly independent then the linear combinations are unique. This is also true in the case $\{v_1, \ldots, v_n \}.$
For see this suppose we have $w=c_1 v_1 + c_2 v_2 = d_1v_1 + d_2v_2$. Then
$$ (c_1 - d_1) v_1 + (c_2-d_2)v_2=0. $$
As $\{v_1, v_2\}$ is linearly independent we know that $c_1-d_1=0$ and $c_2 - d_2=0$, i.e. $c_1=d_1$ and $c_2=d_2$.