Column space and nullspace
讲座摘要(lecture summary)
In this lecture we continue to study subspaces, particularly the column space and nullspace of a matrix.
Review of subspaces
A vector space is a collection of vectors which is closed under linear combinations. In other words, for any two vectors and in the space and any two real numbers and , the vector is also in the vector space. A subspace is a vector space contained inside a vector space.
A plane containing and a line containing are both subspaces of . The union of those two subspaces is generally not a subspace, because the sum of a vector in and a vector in is probably not contained in . The intersection of two subspaces and is a subspace. To prove this, use the fact that both and are closed under linear combinations to show that their intersection is closed under linear combinations.
Column space of
The column space of a matrix is the vector space made up of all linear combinations of the columns of .
Solving
Given a matrix , for what vectors does have a solution ?
Then does not have a solution for every choice of because solving is equivalent to solving four linear equations in three unknowns. If there is a solution to , then must be a linear combination of the columns of . Only three columns cannot fill the entire four dimensional vector space – some vectors cannot be expressed as linear combinations of columns of .
Big question: what ’s allow to be solved?
A useful approach is to choose and find the vector corresponding to that solution. The components of are just the coefficients in a linear combination of columns of .
The system of linear equations is solvable exactly when is a vector in the column space of .
For our example matrix , what can we say about the column space of ? Are the columns of independent? In other words, does each column contribute something new to the subspace?
The third column of is the sum of the first two columns, so does not add anything to the subspace. The column space of our matrix is a two dimensional subspace of .
Nullspace of
The nullspace of a matrix is the collection of all solutions to the equation .
The column space of the matrix in our example was a subspace of . The nullspace of is a subspace of . To see that it’s a vector space, check that any sum or multiple of solutions to is also a solution: and .
In the example:
the nullspace consists of all multiples of ; column plus column minus column equals the zero vector. This nullspace is a line in .
Other values of
The solutions to the equation:
do not form a subspace. The zero vector is not a solution to this equation. The set of solutions forms a line in that passes through the points and but not
Problems and Solutions(习题及答案)
Exercises on column space and nullspace
Problem 6.1: (3.1 #30. Introduction to Linear Algebra: Strang) Suppose and are two subspaces of a vector space .
- a) Definition: The sum contains all sums of a vector in and a vector in . Show that satisfies the requirements (addition and scalar multiplication) for a vector space.
- b) If and are lines in , what is the difference between and ? That union contains all vectors from and or both. Explain this statement: The span of is .
Solution
a) Let , be vectors in , let , be vectors in , and let be a scalar. Then
Thus is closed under addition and scalar multiplication; in other words, it satisfies the two requirements for a vector space.
b) If and are distinct lines, then is a plane, whereas is only the two lines. The span of is the set of all combinations of vectors in this union of two lines. In particular, it contains all sums of a vector in and a vector in , and these sums form .
Since contains both and , it contains . Further, is a vector space. So it contains all combinations of vectors in itself; in particular, it contains the span of . Thus the span of is .
Problem 6.2: (3.2 #18.) The plane is parallel to the plane . One particular point on this plane is . All points on the plane have the form (fill in the first components)
Solution
The equation says it all:
Problem 6.3: (3.2 #36.) How is the nullspace related to the spaces and , if = ?
Solution
contains all vectors that are in both nullspaces:
if and only if and .