Processing math: 100%
Skip to main content

Section 21.4 Examples

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Γ—5 matrix

A=[βˆ’8911751βˆ’1βˆ’1βˆ’36βˆ’2225βˆ’91βˆ’1βˆ’11βˆ’6].

Row reduce, as usual:

[βˆ’8911751βˆ’1βˆ’1βˆ’36βˆ’2225βˆ’91βˆ’1βˆ’11βˆ’6]rowβ†’reduce[1020βˆ’1013020001βˆ’300000].
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

Bcol={[βˆ’81βˆ’21],[9βˆ’12βˆ’1],[7βˆ’351]},

and the dimension of the column space of A is 3.

We can also see from the reduced matrix the exact dependence relationships between the columns of A. 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, the third and fifth columns can be decomposed in the exact same way as linear combinations of the vectors in Bcol. If we label the columns of A as c1,c2,c3,c4,c5, then we have

c3=2c1+3c2,c5=(βˆ’1)c1+2c2+(βˆ’3)c4.
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:

Brow={[1020βˆ’1],[01302],[0001βˆ’3]}.

The dimension of the row space of A is again 3.

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 x3=s and x5=t. Solving for the remaining variables leads to a general solution in parametric form

x1=βˆ’2s+t,x2=βˆ’3sβˆ’2t,x3=s,x4=3t,x5=t.

In vector form, we have

x=[x1x2x3x4x5]=[βˆ’2s+tβˆ’3sβˆ’2ts3tt]=[βˆ’2sβˆ’3ss00]+[t2t03tt]=s[βˆ’2βˆ’3100]+t[12031].

So a basis for the null space of A is

Bnull={[βˆ’2βˆ’3100],[12031]},

and the dimension of the null space is 2.

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 Rn, and one using vectors in another space, where we use the associated coordinate vectors in Rn to assist us.

Example 21.4.1. Using row space to enlarge a linearly independent set in R4.

Suppose we would like to take the linearly independent set

{(1,3,2,0),(2,6,1,1)}

of vectors in R4 and enlarge it into a basis for all of R4. Since dimR4=4, 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{v1,v2}, where v1,v2 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 v1 and v2 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:

[13202611]rowβ†’reduce[13023001βˆ’13].

We can see from the pattern of leading ones in the reduced matrix that to span all of R4, 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:

[1320261101000001]row→reduce[1000010000100001].

The rows of the reduced matrix are the four standard basis vectors for R4, hence the row space of the reduced matrix is all of R4. We know that row operations do not change row space, so the rows of the initial matrix must also span all of R4. 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 M2(R).

Suppose we would like to take the linearly independent set

{[1320],[2611]}

of vectors in M2(R) and enlarge it into a basis for all of M2(R). Since dimM2(R)=4, 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 S for M2(R):

(v1)S=(1,3,2,0),(v2)S=(2,6,1,1),

where v1,v2 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 v3 and v4 that have coordinate vectors

(v3)S=(0,1,0,0),(v4)S=(0,0,0,1).

Thus, we can enlarge the initial set of vectors to the basis

{[1320],[2611],[0100],[0001]}

for M2(R).