I have
v1= $$ \begin{pmatrix} 1 \\ 0 \\ -1\\ \end{pmatrix} $$
v2= \begin{pmatrix} 2 \\ 1 \\ 3\\ \end{pmatrix} v3=\begin{pmatrix} 4 \\ 2 \\ 6\\ \end{pmatrix}
and
w=\begin{pmatrix} 3 \\ 1 \\ 2\\ \end{pmatrix}
I need to check whether w is in the subspace spanned by (v1,v2,v3)
I know that w is in the subspace spanned by (v1,v2,v3) if x1v1+x2v2+x3v3=w has a solution .
I write:
x1+2x2+4x3=3
x2+2x3=1
-x1+3x2+6x3=2
I write down the augmented matrix, which is
A= $$ \begin{pmatrix} 1 & 2 & 4&3 \\ 0 & 1 & 2&1 \\ -1 & 3 & 6&2 \\ \end{pmatrix} $$
And row reduce it to get
$$ \begin{pmatrix} 1 & 2 & 4&3 \\ 0 & 1 & 2&1 \\ 0 & 0 & 0&0 \\ \end{pmatrix} $$
On the answer sheet is states:
since the dimension of the space of the columns of the augmented matrix coincides with the dimension of the space of the matrix coefficients, the system admits a non trivial solution and w exists in (v1,v2,v3)
I am new studying matrices and my dyscalculia certainly does not help. My question is, what is the dimension of the space of the columns of the augmented matrix? What is the dimension of the space of the matrix coefficient? How can i show that they are the same?
Moreover, can you show me an example where the space of the columns of the augmented matrix DOES NOT coincide with the dimension of the space of the matrix coefficients?
I would greatly appreciate an answer that is as clear and simple as possible ... thank you guys !
I was typing a more elaborate answer; perhaps this still helps.
You set up the matrix form of the linear system and by row reducing this matrix $$\begin{pmatrix} 1 & 2 & 4&3 \\ 0 & 1 & 2&1 \\ -1 & 3 & 6&2 \\ \end{pmatrix}$$ you found: $$\begin{pmatrix} 1 & 2 & 4&3 \\ 0 & 1 & 2&1 \\ 0 & 0 & 0&0 \\ \end{pmatrix}$$ Although not necessary, you can further simplify this to the reduced row-echelon form by creating an extra zero above the $(2,2)$-element: $$\begin{pmatrix} \color{blue}{1} & 0 & \color{orange}{0}&\color{red}{1} \\ 0 & \color{blue}{1} & \color{orange}{2}&\color{red}{1} \\ 0 & 0 & 0&0 \\ \end{pmatrix}$$ A bit of terminology and some useful observations:
Changing the vector $w$ from $(3,1,2)^T$ to $(3,1,1)^T$ would correspond to the matrix: $$\begin{pmatrix} 1 & 2 & 4&3 \\ 0 & 1 & 2&1 \\ -1 & 3 & 6& 1 \\ \end{pmatrix}$$ with reduced row-echelon form: $$\begin{pmatrix} \color{blue}{1} & 0 & 0&0 \\ 0 & \color{blue}{1} & 2&0 \\ 0 & 0 & 0&\color{red}{1} \\ \end{pmatrix}$$ Notice the extra pivot (highlighted in red), making the last column a pivot column too: