Section 13 The Null Space and Column Space of a Matrix
Focus Questions
By the end of this section, you should be able to give precise and thorough answers to the questions listed below. You may want to keep these questions in mind to focus your thoughts as you complete the section.
What is the null space of a matrix?
What is the column space of a matrix?
What important structure do the null space and column space of a matrix have?
What is the kernel of a matrix transformation?
How is the kernel of a matrix transformation
defined by related to the null space ofWhat is the range of a matrix transformation?
How is the range of a matrix transformation
defined by related to the column space ofHow do we find a basis for
How do we find a basis for
Subsection Application: The Lights Out Game
Lights Out (LO) is a commercial game released by Tiger Toys in 1995 (later bought out by Hasbro). The game consists of ageogebra.org/m/wcmctahp
. There is a method to solve any solvable Lights Out game that can be uncovered through linear algebra that we will uncover later in this section. Column spaces and null spaces play important roles in this method.Subsection Introduction
Recall that a subspace ofwhenever
and are in it is also true that is in (that is, is closed under addition),whenever
is in and is a scalar it is also true that is in (that is, is closed under scalar multiplication), is in
Preview Activity 13.1.
(a)
Let
(i)
Find the general solution to the homogeneous equation
(ii)
Find two specific solutions
(iii)
Is
(iv)
Is
(v)
What does the above seem to indicate about the set of solutions to the homogeneous system
(b)
Let
Definition 13.1.
The null space of an
Note that since
(c)
So far we considered specific examples of null spaces. But what are the properties of a null space in general? Let
(i)
The null space of an
(ii)
Now suppose
(iii)
Now suppose
(iv)
Explain why
Subsection The Null Space of a Matrix and the Kernel of a Matrix Transformation
In this section we explore the null space and see how the null space of a matrix is related to the matrix transformation defined by the matrix. LetDefinition 13.2.
Let
Activity 13.2.
If
(a)
Let
Find all of the vectors in
(b)
Let
Find all of the vectors in
(c)
To find the vectors in the null space of a matrix
(i)
Under what conditions on
(ii)
Under what conditions is
(iii)
Is is possible for
Theorem 13.3.
A matrix transformation
Subsection The Column Space of a Matrix and the Range of a Matrix Transformation
Given anDefinition 13.4.
The column space of an
Activity 13.3.
As a span of a set of vectors, we know that
(a)
Let
(b)
If
(c)
Recall that a matrix transformation
Theorem 13.5.
A matrix transformation
Subsection The Row Space of a Matrix
As you might expect, if there is a column space for a matrix then there is also a row space for a matrix. The row space is defined just as the column space as the span of the rows of a matrix.Definition 13.6.
The row space of an
Subsection Bases for and
When confronted with a subspace of Activity 13.4.
In this activity we see how to find a basis for
Assume that the reduced row echelon form of
(a)
First we examine
(i)
Find a basis for
(ii)
Does
(b)
Now we look at
(i)
Write the general solution to the homogeneous system
(ii)
Find a spanning set for
(iii)
Find a basis for
Basis for .
Here we argue that the method described following Activity 13.4 to find a spanning set for the null space always yields a basis for the null space. First note that Basis for .
Here we explain why the pivot columns of IMPORTANT POINT.
It is the pivot columns ofTheorem 13.7. The Invertible Matrix Theorem.
Let
The matrix
is an invertible matrix.The matrix equation
has only the trivial solution.The matrix
has pivot columns.Every row of
contains a pivot.The columns of
spanThe matrix
is row equivalent to the identity matrixThe columns of
are linearly independent.The columns of
form a basis forThe matrix transformation
from to defined by is one-to-one.The matrix equation
has exactly one solution for each vector inThe matrix transformation
from to defined by is onto.There is an
matrix so thatThere is an
matrix so thatThe scalar 0 is not an eigenvalue of
The matrix
is invertible.
Subsection Examples
What follows are worked examples that use the concepts from this section.Example 13.8.
(a)
Let
(i)
Find a basis for
Technology shows that the reduced row echelon form of
The first two columns of
Solution.
We use
Let
(ii)
Describe
Solution.
(b)
Let
(i)
Find a basis for
Solution.
We use
Technology shows that the reduced row echelon form of
To find a basis for
Thus, a basis for
(ii)
Describe
Solution.
We use
Since
Example 13.9.
Let
(a)
What are the domain and codomain of
Solution.
Recall that
(b)
Find all vectors
Solution.
The set of vectors
Since both columns of
(c)
Is
Solution.
The previous part shows that
(d)
Is
Solution.
Recall that the range of
Subsection Summary
-
The null space of an
matrix is the set of vectors in so that In set notation The column space of a matrix
is the span of the columns of-
A subset
of is a subspace of if is in whenever and are in (when this property is satisfied we say that is closed under addition), is in whenever is a scalar and is in (when this property is satisfied we say that is closed under multiplication by scalars), is in
The null space of an
matrix is a subspace of while the column space of is a subspace ofThe span of any set of vectors in
is a subspace of-
The kernel of a matrix transformation
is the set The kernel of a matrix transformation
defined by is the same set as-
The range of a matrix transformation
is the set The range of a matrix transformation
defined by is the same set asA basis for the null space of a matrix
can be found by writing the general solution to the homogeneous equation as a linear combination of vectors whose weights are the variables corresponding to the non-pivot columns of The number of vectors in a basis for is the number of non-pivot columns ofThe pivot columns of a matrix
form a basis for the column space of
Exercises Exercises
1.
Find a basis for the null space and column space of the matrix
Of which spaces are the null and column spaces of
2.
If the column space of
3.
If the null space of
4.
Find a matrix with at least four non-zero and distinct columns for which the column space has basis
5.
Find a matrix with at least two rows whose null space has basis
6.
Find a matrix whose column space has basis
7.
If possible, find a
8.
Label each of the following statements as True or False. Provide justification for your response.
(a) True/False.
For a
(b) True/False.
For a
(c) True/False.
If Nul
(d) True/False.
If the transformation
(e) True/False.
For a
(f) True/False.
For a
(g) True/False.
The null space of the matrix
(h) True/False.
A basis for the null space of the matrix
(i) True/False.
There does not exist a matrix whose null space equals its column space.
(j) True/False.
The column space of every
Subsection Project: Solving the Lights Out Game
The Lights Out game starts with a (not pressing an off square leaves it off), (pressing an off square turns it on or not pressing a lit square leaves it lit), (pressing a lit square turns it off).
We can view each configuration as a
matrix. In this situation, we label the entries in the grid as shown in Figure 13.10. Each entry in the grid will be assigned a 0 or 1 according to whether the light in that entry is off or on.For our purposes a better way to visualize a Lights Out configuration is as a
vector. The components in this vector correspond to the entries in the grid with the correspondence given by the numbering demonstrated in Figure 13.10 (for the sake of space, this array is shown in a row instead of a column). Again, each component is assigned a 0 or 1 according to whether the light for that entry is off or on. In this view, each configuration is a vector with 25 components in
Project Activity 13.5.
Let
(a)
Find vector representations for
(b)
Let
Project Activity 13.6.
(a)
What happens if we press the
(b)
Explain why applying move
(c)
Explain how the answers to the previous two questions show that to play the game we only need to determine which buttons to press (and only once each) without worrying about the order in which the buttons are pressed.
Project Activity 13.7.
Explain why (13.1) has the equivalent matrix equation
where
Explicitly identify the vector
Project Activity 13.8.
For this activity you may use the fact that the reduced row echelon form of the matrix
(a)
Find a basis for the column space of
(b)
Explain why not every Lights Out puzzle can be solved. That is, explain why there are some initial configurations of lights on and off for which it is not possible to turn out all the lights (without turning off the game). Relate this to the column space of
Theorem 13.11.
Let
Project Activity 13.9.
(a)
Find a basis for the null space of
(b)
Use Theorem 13.11 to show that if
and
Be very specific in your explanation.
Project Activity 13.10.
Now that we know which Lights Out games can be solved, let
geogebra.org/m/wcmctahp
, or create your own game to solve.