Section 21.4 Examples
In this section.
Subsection 21.4.1 The three spaces
We will do an example column space, row space, and null space, all in one example.
Consider the \(4\times 5\) matrix
Row reduce, as usual:
Column space of \(A\).
From the positions of the leading ones in the reduced matrix, we see that the first, second, and fourth columns of \(A\) are linearly independent, so a basis for the column space of \(A\) is
and the dimension of the column space of \(A\) is \(3\text{.}\)
We can also see from the reduced matrix the exact dependence relationships between the columns of \(A\text{.}\) In the reduced matrix, the leading-one columns are the first three standard basis vectors, and we can easily see how the third and fifth columns can be decomposed as linear combinations of these standard basis vectors. In \(A\text{,}\) the third and fifth columns can be decomposed in the exact same way as linear combinations of the vectors in \(\basisfont{B}_{\mathrm{col}}\text{.}\) If we label the columns of \(A\) as \(\uvec{c}_1,\uvec{c}_2,\uvec{c}_3,\uvec{c}_4,\uvec{c}_5\text{,}\) then we have
Row space of \(A\).
The leading ones guarantee that the nonzero rows in the reduced matrix are linearly independent. Since row reducing does not change the row space, we get our basis for the row space of \(A\) from the reduced matrix:
The dimension of the row space of \(A\) is again \(3\text{.}\)
Null space of \(A\).
Finally, for the null space of \(A\) we solve the homogeneous system as usual. The third and fifth columns represent free variables, so we set parameters \(x_3 = s\) and \(x_5 = t\text{.}\) Solving for the remaining variables leads to a general solution in parametric form
In vector form, we have
So a basis for the null space of \(A\) is
and the dimension of the null space is \(2\text{.}\)
Subsection 21.4.2 Enlarging a linearly independent set
Row space is also a convenient tool for enlarging a linearly independent set into a basis. Here are two examples of carrying out this task, one using vectors in \(\R^n\text{,}\) and one using vectors in another space, where we use the associated coordinate vectors in \(\R^n\) to assist us.
Example 21.4.1. Using row space to enlarge a linearly independent set in \(\R^4\).
Suppose we would like to take the linearly independent set
of vectors in \(\R^4\) and enlarge it into a basis for all of \(\R^4\text{.}\) Since \(\dim \R^4 = 4\text{,}\) we need two more vectors.
Using Proposition 18.5.6, we can start by determining a vector that is not in the subspace \(U = \Span\{\uvec{v}_1,\uvec{v}_2\}\text{,}\) where \(\uvec{v}_1,\uvec{v}_2\) are the two given vectors. However, guess-and-check is not a very efficient method for doing this. Instead, let's set up a matrix with \(\uvec{v}_1\) and \(\uvec{v}_2\) as rows, so that \(U\) is precisely the row space of that matrix. We can then use row reduction to determine a simpler basis for \(U\text{:}\)
We can see from the pattern of leading ones in the reduced matrix that to span all of \(\R^4\text{,}\) we need to introduce some “independence” in the second and fourth coordinates. So let's try enlarging our initial set of vectors by the second and fourth standard basis vectors:
The rows of the reduced matrix are the four standard basis vectors for \(\R^4\text{,}\) hence the row space of the reduced matrix is all of \(\R^4\text{.}\) We know that row operations do not change row space, so the rows of the initial matrix must also span all of \(\R^4\text{.}\) Since we have a spanning set for a dimension-\(4\) space consisting of four vectors, those four vectors must for a basis for the space.
Example 21.4.2. Using row space to enlarge a linearly independent set in \(\matrixring_2(\R)\).
Suppose we would like to take the linearly independent set
of vectors in \(\matrixring_2(\R)\) and enlarge it into a basis for all of \(\matrixring_2(\R)\text{.}\) Since \(\dim \matrixring_2(\R) = 4\text{,}\) we need two more vectors. Now, we cannot row reduce the given matrices — that would be meaningless, as these matrices are not made of row vectors or column vectors, they are themselves vectors. However, we can get back to the land of row vectors by using coordinate vectors relative to the standard basis \(\basisfont{S}\) for \(\matrixring_2(\R)\text{:}\)
where \(\uvec{v}_1,\uvec{v}_2\) are the two given vectors. These coordinate vectors are precisely the vectors from Example 21.4.1 above, so using those results we expect that we should be able to enlarge our basis using vectors \(\uvec{v}_3\) and \(\uvec{v}_4\) that have coordinate vectors
Thus, we can enlarge the initial set of vectors to the basis
for \(\matrixring_2(\R)\text{.}\)