Recall
Recall
Example 3 from yesterday
In the previous lecture, we found a basis for the null space of a matrix. We now want to find a basis for the image of a matrix.
The quest for a basis for the image of (column space)
Strategy 1
Make rows into columns and vice versa, i.e, take the transpose. Not elaborated upon in class.
Transpose
Defined transpose.
Properties of transpose:
- distributes over sums
- . Observe that inverses work similarly.
is equivalent to . Can solve the latter type of equations using column operations. Doing a column operations is the same as multiplying on the right by an elementary matrix.
Strategy 2
Exploit properties of RREF.
Case 1: is in RREF.
The pivot columns are linearly independent, and the other columns are in their span.
In this case, A basis of
General case:
Row operations change the column space of . For example, . The spans of the two vectors are clearly different.
Insight: Find linear relations among column vectors of , so that we can drop “unnecessary” columns to get a basis.
This is the same as finding non-trivial solutions to , which is equivalent to finding non trivial solutions to .
Any set of columns of RREF(A) is linearly dependent/independent the corresponding set of columns of is linearly dependent/independent.
Thus, a basis of
A better explanation
We want to find a basis for the column space of . We consider the pivot columns of RREF(). You can easily show that these are linearly independent, and span . Thus, they are a basis for . Now, it must be that , for some invertible matrix . Thus, and are isomorphic, with being an isomorphism. If is an isomorphism, is also an isomorphism. We know that an isomorphism maps a basis to a basis. Thus, the image of the pivot columns of under (which are basically the corresponding columns in ) form a basis of .
Relation between rank and nullity
Definition 1.
Nullity of = Dimension of null space of = number of free variables.
Column rank of = Dimension of = number of pivot variables.
Equivalence of row rank and column rank
The row rank and column rank of are equal. Hence, we usually refer to them with just “rank”.
To show this is the case, we will attempt to find the row rank by performing similar analysis to what we did in strategy 2.
Case 1: A is in RREF
Non-zero rows form a basis as they are linearly independent.
General case
For an arbitrary matrix , obtains its RREF . Then Rows of are linear combinations of rows of and vice versa.
Thus, a basis for .
Thus,
Thus, column rank = row rank.
Rank-nullity theorem
The preceding discussion coupled with our discussion in L9 regarding the basis for the null space of leads us to a powerful result.
Theorem 2.
Rank of + Nullity of = # columns of .
Put another way,
Epilogue
Discussed abstract vector spaces
- Discussed how all matrices form a vector space. In particular, observed that .
- If is any set, then is a vector space under point wise addition and scalar multiplication. Exercise: if is finite, then what is the dimension of ?
- My solution: If we fix an order for the elements of , then every element of can be represented as a member of , where is the cardinality of . For example, if , consider , where , , and . Then, can be represented as . Thus, if is finite, .