This section is where matrix language and vector-space language meet directly. Once a matrix is fixed, two natural subspaces appear:
- the subspace generated by its columns;
- the subspace generated by its rows.
These are not cosmetic definitions. They answer real questions.
- Which right-hand sides
bcan occur in a system ? - How much independent linear information is actually stored in the rows?
- How many genuinely independent directions remain after all redundancy is removed?
The answers are called the column space, the row space, and the rank of the matrix.
Column space: what outputs can the matrix produce?
Let be an matrix, and write its columns as
Definition
Column space
The column space of , written C(A), is the span of the columns of :
It is a subspace of .
The most useful way to read this definition is through matrix multiplication. If , then
So every vector of the form Ax is a linear combination of the columns.
Conversely, every linear combination of the columns can be written as Ax for
some vector x.
Theorem
Column space as an output set
For an matrix ,
Therefore a vector belongs to C(A) exactly when the system
is consistent.
This is why column space matters in practice. It tells us precisely which right-hand sides are reachable.
Row space: what linear information do the rows carry?
If the rows of are , each regarded as row vectors in , then we define a second subspace.
Definition
Row space
The row space of , written R(A), is the span of the rows of :
It is a subspace of .
The ambient spaces are different in general:
C(A)lives in , because the columns each havementries;R(A)lives in , because the rows each havenentries.
Even when is square, the two spaces should not be confused. They are built from different vectors and answer different questions.
There is also a clean relation with transpose:
That identity lets you translate statements about row space into statements about column space of the transpose.
Row reduction: what changes and what does not?
Reduced row-echelon form is the main computational tool in this topic. But you have to use it carefully.
Theorem
What row operations preserve
If is row-equivalent to , then
In general, however,
need not hold.
Why is this distinction so important?
- Row operations replace each new row by a linear combination of old rows, so the row space stays the same.
- Row operations act on whole rows, not on columns independently, so the actual column space usually changes.
This is the source of a standard rule that students often memorize before they understand it:
To find a basis for C(A), use the pivot columns of the original matrix
.
To find a basis for R(A), use the nonzero rows of the RREF of .
The pivot positions are read from the RREF, but the column-space basis vectors must be taken from the original matrix.
Rank counts the independent directions
The dimension of the column space is called the column rank. The dimension of the row space is called the row rank. One of the central theorems of linear algebra says that these numbers are equal.
Definition
Rank
The rank of a matrix is the common dimension of its column space and row space:
When you row-reduce a matrix to RREF, the number of pivot columns is exactly the rank. So rank measures how many independent directions survive after all redundancy has been removed.
Worked example: read everything from one row reduction
Worked example
Column space, row space, and rank from a single matrix
Consider
Row-reducing gives
There are two pivot columns, namely columns 1 and 2.
Write the columns of as
Then a basis for the column space is
Indeed, the non-pivot columns are combinations of the pivot columns:
For the row space, we use the nonzero rows of :
So
Finally, if
then because
Equivalently, the system is consistent.
Why the basis rule works
Suppose is the RREF of .
- The pivot columns of show which column positions are independent.
- Row operations preserve linear relations among the columns.
- Therefore the corresponding columns of the original matrix are also
independent and still span
C(A).
For the row space, life is easier: row operations preserve the row space
itself, so the nonzero rows of already form a basis of R(A).
Common mistake
Common mistake
Do not use pivot columns of the RREF as a basis for the column space
Row reduction usually changes the column space. So while the pivot positions
are read from the RREF, the actual basis vectors for C(A) must be taken from
the corresponding columns of the original matrix.
Another common mistake is to say that column space and row space are equal because they have the same dimension. Equal dimension does not mean equal subspace; it only means they contain the same number of independent directions.
Quick checks
Quick check
If is a matrix, in which ambient space does C(A) live, and in which ambient space does R(A) live?
Count entries in a column and in a row separately.
Solution
Answer
Quick check
If the RREF of a matrix has three pivot columns, what is the rank?
Recall how rank is read from RREF.
Solution
Answer
Exercises
Quick check
Let . Find the rank and a basis for the column space.
Row-reduce first, identify the pivot columns, and then go back to the original matrix.
Solution
Guided solution
Read this first
This note depends especially on 2.3 Gaussian elimination and RREF, 3.2 Transpose and special matrices, and 6.5 Basis and dimension.