Another subspace associated to a matrix is its range.

Let be as above. Then the codomain or range of (viewed as a linear transformation, defined below) is

In analogy to the nullspace, we have

Proof
Again, we first note that , as . As for the closure axioms,

C1 Suppose . Choose satsifying . Then implying is closed under addition.

C2 Suppose and . Then implying is closed under scalar multiplication.

In fact, we can identify the range precisely in terms of a subspace already defined.

Proof
The consistency theorem for matrix equations tells us that the matrix equation is consistent if and only if can be written as a linear combination of the columns of . But this is equivalent to saying that is in the span of the columns of ; that is, .

Since we have already established an algorithm for computing a minimal spanning set for , that same algorithm applies to produce a minimal spanning set for the range of .

If , compute a minimal spanning set for . Determine if , or if it is a proper subset. You may use MATLAB or Octave.