Show whether, for all x,y∈R, xy0 forms a subspace of R3.
Property 1:
Let u=x1y10 and v=x2y20 for any x1,x2,y1,y2∈R. We observe that u and v are in the subspace.
u+v=x1x20+x2y20=x1+x2y1+y20
x1+x2y1+y20 is clearly in the subspace, so property 1 is satisfied.
Property 2:
Let u=xy0 and c∈R.
cu=cxy0=cxcy0
cxcy0 is also in the subspace, so property 2 is satisfied as well.
Therefore, xy0 forms a subspace of R3.
Example 2
Show whether 10−1t+21−3 forms a subspace of R3 for t∈R.
Property 1:
Let u=10−1⋅1+21−3=31−4 and v=10−1⋅2+21−3=41−5.
u+v=31−4+41−5=72−9
Example 3
Property 1:
Therefore, property 1 is satisfied.
Property 2:
Therefore, property 2 is satisfied as well, so the null space of a matrix forms a subspace.
Fundamental Subspaces
What and why
For each matrix, there are four fundamental subspaces: the column space, the null space, the row space, and the left null space. In this section, we will explore the properties of each of these subspaces and see how they relate to one another.
Column space
Null space
Row space
Left null space
Dimensions
You should also note the two following equations:
Using orthogonal complements, we can show why these two equations are guaranteed to be true.
Orthogonal complements
they are orthogonal to each other and because
they are orthogonal to each other and because
Let us try to find the corresponding t value for 72−9.
10−1⋅t+21−3=72−910−1⋅t=51−6
There is no t∈R that fulfills the equation. Therefore, u+v is not in the subspace, so 10−1t+21−3 does not form a subspace.
Graphically, 10−1t+21−3 is a line in R3 that does not pass through the origin. However, according to the scaling property, 0 should always be part of a subspace since we can multiply any u in this subspace with c=0 to get the zero vector. Therefore, 10−1t+21−3 is not a valid subspace.
If W is a subset of vectors but 0∈W, then W is not a valid subspace.
Show that the null space of an m×n matrix A forms a subspace of Rn.
Let u,v∈Null(A). Then Au=0 and Av=0.
Let us check whether u+v is in the null space of A.
A(u+v)=Au+Av=0+0=0
Let us check whether cu is in the null space of A for any c∈R.
A(cv)=cAv=c0=0
The column space, or rank, of an m×n matrix A refers to the range of A, or the span of its column vectors.
Col(A)={Av∈Rm∣v∈Rn}=span{a1,a2,…,an}
We can visualize the column space as the set of all vectors that are the "output" of the linear transformation given by A.
We note that the column space of A is a subspace of Rm. The dimension of the column space of A is the number of pivots, or the number of linearly independent column vectors, in A.
The null space of an m×n matrix A refers to all vectors that map to the zero vector 0 when the linear transformation given by A is applied on these vectors.
Null(A)={v∈Rn∣Av=0}
We note that the null space of A is a subspace of Rn. The dimension of the null space of A is the number of free variables in the row echelon form of A.
The row space of an m×n matrix A refers to range of AT, or the span of its row vectors.
Row(A)={ATv∈Rn∣v∈Rm}=span{r1T,r2T,…,rmT}
We note that the row space of A is a subspace of Rn. The dimension of the row space of A is the number of pivots in A since the number of pivots in A equals the number of pivots in AT after row reduction.
The left null space of an m×n matrix A refers to all vectors that map to the zero vector 0 when the linear transformation given by AT is applied on these vectors.
Null(AT)={v∈Rm∣ATv=0}
We note that the left null space of A is a subspace of Rm. The dimension of the null space of A is the number of free variables in the row echelon form of AT.
This subspace is called the left null space (while the "usual" null space is sometimes called the right null space) because ATv=0⟹vTA=0T. In the latter equation, we are multiplying the vector vT on the left of the matrix A.
Let r denote the number of pivots in an m×n matrix A. Then we quickly observe the following:
Note that dim(Col(A))+dim(Null(A))=n. This is called the Rank Theorem.
Terms in Rm: dim(Col(A))+dim(Null(AT))=m
Terms in Rn: dim(Null(A))+dim(Col(AT))=n
Let us examine the null space of an m×n matrix A.
We know that for every vector v∈Null(A),
Av=0
Using the row vectors of A, we get
Av=r1Tr2T⋮rmTv=0
Writing out each component, we get r1Tv=r2Tv=⋯=rnTv=0. We observe that these are just inner products, so ⟨r1,v⟩=⟨r2,v⟩=⋯=⟨rm,v⟩=0. This means that v is orthogonal to all of the row vectors of A.
Given that v∈Null(A), we note that the null space of A is orthogonal to the row space of A.
Since these two subspaces are orthogonal to each other, from the equation dim(Null(A))+dim(Col(AT))=n, we see that Null(A)+Col(AT)=Rn.
Therefore, we call Null(A) and Col(AT)orthogonal complements because
they span Rn.
Similarly, let us examine the left null space of A.
We know that for every vector v∈Null(AT),
ATv=0⟹vTA=0T
Using the column vectors of A, we get
vTA=vT[a1a2⋯an]=0T
Writing out each equation, we get, just like above, ⟨v,a1⟩=⟨v,a2⟩=⋯=⟨v,an⟩=0.
Therefore, v is orthogonal to each column vector of A. Using similar reasoning as above, we conclude that the column space of A and the left null space of A are orthogonal complements because