The four fundamental subspaces
讲座摘要(lecture summary)
In this lecture we discuss the four fundamental spaces associated with a matrix and the relations between them.
Four subspaces
Any by matrix determines four subspaces (possibly containing only the zero vector):
Column space,
consists of all combinations of the columns of and is a vector space in .
Nullspace,
This consists of all solutions of the equation and lies in .
Row space,
The combinations of the row vectors of form a subspace of . We equate this with , the column space of the transpose of .
Left nullspace,
We call the nullspace of the left nullspace of . This is a subspace of .
Basis and Dimension
Column space
The pivot columns form a basis for
Nullspace
The special solutions to correspond to free variables and form a basis for . An by matrix has free variables:
Row space
We could perform row reduction on , but instead we make use of the row reduced echelon form of .
Although the column spaces of and are different, the row space of is the same as the row space of . The rows of are combinations of the rows of , and because reduction is reversible the rows of are combinations of the rows of .
The first rows of are the "echelon" basis for the row space of :
Left nullspace
The matrix has columns. We just saw that is the rank of , so the number of free columns of must be :
The left nullspace is the collection of vectors for which . Equivalently, ; here and 0 are row vectors. We say "left nullspace" because is on the left of in this equation.
To find a basis for the left nullspace we reduce an augmented version of :
From this we get the matrix for which . (If is a square, invertible matrix then .) In our example,
The bottom rows of describe linear dependencies of rows of , because the bottom rows of are zero. Here (one zero row in ).
The bottom rows of satisfy the equation and form a basis for the left nullspace of .
New vector space
The collection of all matrices forms a vector space; call it . We can add matrices and multiply them by scalars and there’s a zero matrix (additive identity). If we ignore the fact that we can multiply matrices by each other, they behave just like vectors.
Some subspaces of include:
- all upper triangular matrices
- all symmetric matrices
- , all diagonal matrices
is the intersection of the first two spaces. Its dimension is ; one basis for is:
Problems and Solutions(习题及答案)
Problem 10.1: (3.6 #11. Introduction to Linear Algebra: Strang) is an m by matrix of rank . Suppose there are right sides b for which has no solution.
- a) What are all the inequalities ( or ) that must be true between and
- b) How do you know that has solutions other than
Solution
a) The rank of a matrix is always less than or equal to the number of rows and columns, so and . The second statement tells us that the column space is not all of , so .
b) These solutions make up the left nullspace, which has dimension (that is, there are nonzero vectors in it).
Problem 10.2: (3.6 #24.) is solvable when is in which of the four subspaces? The solution is unique when the ____________ contains only the zero vector.
Solution
Solution: It is solvable when is in the row space, which consists of all vectors . The solution y is unique when the left nullspace contains only the zero vector.