:: Answers to column space practise problems

      1. The RREF of this matrix is the identity, so the two columns \[ \mathbf{c}_1 = \begin{bmatrix} 1 \\ 4 \end{bmatrix} \text{,} \mathbf{c}_2 = \left[ \begin{array}{r} 3 \\ -6 \end{array} \right] \] are a basis for the column space.
      2. There are no other columns — all the columns ended being part of the basis.
      3. The vector equation \( k_1 \mathbf{c}_1 + k_2 \mathbf{c}_2 = \mathbf{b} \) leads to a linear system with \(A\) as the coefficient matrix and \(\mathbf{b}\) as the "equals" column. So augment \(A\) with \(\mathbf{b}\) and row reduce: \[ \left[ \begin{array}{rr|r} 1 & 3 & -2 \\ 4 & -6 & 10 \end{array} \right] \qquad\to\qquad \left[ \begin{array}{rr|r} 1 & 0 & 1 \\ 0 & 1 & -1 \end{array} \right] \text{.} \] So \( \mathbf{b} = \mathbf{c}_1 - \mathbf{c}_2 \).
      4. Since \(\mathbf{b}\) is a linear combination of the columns of \(A\), it is in the column space of \(A\), and so the system \(A \mathbf{x} = \mathbf{b}\) is consistent.
      1. The RREF of this matrix is \[ \begin{bmatrix} 1 & 0 & 1 \\ 0 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix} \text{.} \] Since only the first two columns have leading ones, only the first two columns \[\begin{align*} \mathbf{c}_1 &= \begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix} \text{,} & \mathbf{c}_2 = \begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix} \end{align*}\] are required for a basis for the column space.
      2. In the RREF above, the third column is equal to the sum of the first two columns. So the same relationship will hold for the columns of \(A\): \( \mathbf{c}_3 = \mathbf{c}_1 + \mathbf{c}_2 \).
      3. The vector equation \( k_1 \mathbf{c}_1 + k_2 \mathbf{c}_2 = \mathbf{b} \) leads to linear system with augmented matrix \[ \left[ \begin{array}{rr|r} 1 & 1 & -1 \\ 1 & 0 & 0 \\ 2 & 1 & 2 \end{array} \right] \text{.} \] Notice that this is just the first two columns of \(A\) augmented with \(\mathbf{b}\). Row reduce: \[ \left[ \begin{array}{rr|r} 1 & 1 & -1 \\ 1 & 0 & 0 \\ 2 & 1 & 2 \end{array} \right] \qquad \to \qquad \left[ \begin{array}{rr|r} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right] \text{.} \] From the last row we can see that there is no solution. Or, alternatively, we can interpret the leading one in the last column as indicating that \(\mathbf{b}\) is independent from the two basis vectors for the column space of \(A\). So it is not possible to express \(\mathbf{b}\) as a linear combination of the basis vectors from (i).
      4. Since \(\mathbf{b}\) is not in the column space of \(A\), the system \( A \mathbf{x} = \mathbf{b} \) is inconsistent.
      1. The RREF of this matrix is the identity, so all three columns are independent, and all three are required to form a basis for the column space.
      2. There are no other columns — we used all three columns for the basis in part i.
      3. The vector equation \( k_1 \mathbf{c}_1 + k_2 \mathbf{c}_2 + k_3 \mathbf{c}_3 = \mathbf{b} \) leads to a linear system with \(A\) as the coefficient matrix and \(\mathbf{b}\) as the "equals" column. So augment \(A\) with \(\mathbf{b}\) and row reduce: \[ \left[ \begin{array}{rrr|r} 1 & -1 & 1 & 5 \\ 9 & 3 & 1 & 1 \\ 1 & 1 & 1 & -1 \end{array} \right] \qquad\to\qquad \left[ \begin{array}{rrr|r} 1 & 0 & 0 & 1 \\ 0 & 1 & 0 & -3 \\ 0 & 0 & 1 & 1 \end{array} \right] \text{.} \] So \(\mathbf{b} = \mathbf{c}_1 - 3\mathbf{c}_2 + \mathbf{c}_3\).
      4. Since \(\mathbf{b}\) is in the column space of \(A\), the system \( A \mathbf{x} = \mathbf{b} \) is consistent.
      1. We don't need to row reduce this one — we can see that the third column is the negative of the second, so it is dependent and should be discarded. That leaves us with the first two columns, which are independent because neither is a scalar multiple of the other. So the first two columns of \(A\) form a basis for the column space.
      2. We already determined that \( \mathbf{c}_3 = 0 \mathbf{c}_1 - \mathbf{c}_2 \).
      3. Again, we don't need to row reduce this one — we can easily see that \(\mathbf{b}\) is equal to the sum of the first and third columns of \(A\). Since we determined in part i that the third column was the negative of the second, we then have \(\mathbf{b} = \mathbf{c}_1 - \mathbf{c}_2\).
      4. Since \(\mathbf{b}\) is in the column space of \(A\), the system \( A \mathbf{x} = \mathbf{b} \) is consistent.
      1. The RREF for this matrix is the identity, so all four columns are required to form a basis for the column space of \(A\).
      2. There are no other columns — all columns were required in our basis in part i.
      3. The vector equation \[ k_1 \mathbf{c}_1 + k_2 \mathbf{c}_2 + k_3 \mathbf{c}_3 + k_4 \mathbf{c}_4 = \mathbf{b} \] leads to a linear system with \(A\) as the coefficient matrix and \(\mathbf{b}\) as the "equals" column. So augment \(A\) with \(\mathbf{b}\) and row reduce: \[ \left[ \begin{array}{rrrr|r} 1 & 2 & 0 & 1 & 4 \\ 0 & 1 & 2 & 1 & 3 \\ 1 & 2 & 1 & 3 & 5 \\ 0 & 1 & 2 & 2 & 7 \end{array} \right] \qquad\to\qquad \left[ \begin{array}{rrrr|r} 1 & 0 & 0 & 0 & -26 \\ 0 & 1 & 0 & 0 & 13 \\ 0 & 0 & 1 & 0 & -7 \\ 0 & 0 & 0 & 1 & 4 \end{array} \right] \text{.} \] So \[ \mathbf{b} = -26 \mathbf{c}_1 + 13 \mathbf{c}_2 - 7 \mathbf{c}_3 + 4 \mathbf{c}_4 \text{.} \]
      4. Since \(\mathbf{b}\) is in the column space of \(A\), the system \( A \mathbf{x} = \mathbf{b} \) is consistent.
  1. We can use column space to answer each of these.
    1. Place the four vectors in order as columns in a \(4\times 4\) matrix and reduce. The RREF has leading ones in columns 1 and 2, so a basis for this subspace is \(\{\mathbf{v}_1,\mathbf{v}_2\}\).
    2. Place the four vectors in order as columns in a \(4\times 4\) matrix and reduce. The RREF has leading ones in columns 1 and 3, so a basis for this subspace is \(\{\mathbf{v}_1,\mathbf{v}_3\}\).
    3. Place the five vectors in order as columns in a \(4\times 5\) matrix and reduce. The RREF has leading ones in columns 1, 2, and 4, so a basis for this subspace is \(\{\mathbf{v}_1,\mathbf{v}_2,\mathbf{v}_4\}\).