Fundamental Subspaces
The fundamental subspaces are four vector spaces defined by a given matrix (and its transpose): the column space and nullspace (or kernel) of , the column space of also called the row space of and the nullspace of also called the left nullspace of
The fundamental subspaces are useful for a number of linear algebra applications, including analyzing the rank of a matrix. The subspaces are also closely related by the fundamental theorem of linear algebra.
Contents
Column Space
The column space of a matrix is the vector space formed by the columns of , essentially meaning all linear combinations of the columns of . Equivalently, the column space consists of all matrices for some vector .
For this reason, the column space is also known as the image of denoted as it is the result when is viewed as a linear transformation of the vector space is the number of rows of In particular, the image of is necessarily a subspace of , hence the term "fundamental subspace."
For example, consider the matrix
Then the column vectors are
which form a vector space that has a basis of . As there are 2 vectors in this basis, the dimension of the column space is 2; hence, the rank of is 2.
Nullspace
The nullspace or kernel of a matrix denoted is the set of all vectors for which
If and are in the nullspace, then is also in the nullspace as
so the nullspace is in fact a vector space. When is viewed as a linear transformation, the nullspace is the subspace of that is sent to 0 under the map , hence the term "fundamental subspace."
For example, consider the matrix
The nullspace consists of all vectors such that . This defines a system of linear equations that can be solved to give the family of solutions
which defines a vector space with basis . As there are two vectors in this basis, the dimension of the nullspace is 2.
Row Space and Left Nullspace
The row space and left nullspace are defined as the column space and nullspace of , the transpose of , respectively. In this way, they are subspaces of .
Fundamental Theorem of Linear Algebra
The fundamental theorem of linear algebra relates all four of the fundamental subspaces in a number of different ways. There are main parts to the theorem:
Part 1:
The first part of the fundamental theorem of linear algebra relates the dimensions of the four fundamental subspaces:
The column and row spaces of an matrix both have dimension , the rank of the matrix. The nullspace has dimension , and the left nullspace has dimension .
This is illustrated by the example in previous sections: the dimension of the column space of
is 2, and the dimension of the nullspace of is .
This first part of the fundamental theorem of linear algebra is sometimes referred to by name as the rank-nullity theorem.
Part 2:
The second part of the fundamental theorem of linear algebra relates the fundamental subspaces more directly:
The nullspace and row space are orthogonal. The left nullspace and the column space are also orthogonal.
In other words, if is in the nullspace of and is in the row space of , the dot product is 0. This is true because any vector in the nullspace is orthogonal to each row vector by definition, so it is also orthogonal to any linear combination of them.
Part 3:
The final part of the fundamental theorem of linear algebra constructs an orthonormal basis, and demonstrates a singular value decomposition: any matrix can be written in the form , where
- is an unitary matrix;
- is an matrix with nonnegative values on the diagonal;
- is an unitary matrix.
This part of the fundamental theorem allows one to immediately find a basis of the subspace in question.
This can be summarized in the following table:
Subspace | Subspace of | Symbol | Dimension | Basis |
column space | = rank | First columns of | ||
nullspace (kernel) | Last columns of | |||
row space | First columns of | |||
left nullspace (kernel) | Last columns of |
Or it can also be summarized in the following image, where the arrows represent the results of multiplication:
The relationship between the four fundamental subspaces. Source: https://commons.wikimedia.org/wiki/File:Thefoursubspaces.svg