khan - linear algebra - null & column space
Introduction to the null space of a matrix
To prove the set of the solutions of can be a subspace.
- When , it works.
- Fine two solutions of , and , they satisfy
Then:
and
So the null space is a valid subspace.
Calculating the null space of a matrix
Relation to linear independence
The column vectors of matrix are linearly independent if and only if the null space of matrix only contains 0.
Column space of a matrix
has no solution, then is not in the column space of .
If has at least one solution, then is in the column space of .
Null space and column space basis
Visualizing a column space as a plane in R3
Proof: Any subspace basis has same number of elements
If set , the basis of has entries, then we suppose a set of vectors , we can replace at least one entry in with an entry in one time, and do ti times, becomes a set of m entries in , and basis in are independent, so .
So, if (m elements) and (n elements) are both basis of a same subspace, then , also .
Dimension of a subspace = # of elements in a basis for the subspace.
Dimension of the null space or nullity
nullity: Dimension of a null pace = # of free variables.
rank: Dimension of the column space = linearly independent column vectors.
Showing relation between basis cols and pivot cols
If the pivot columns of rref of are linearly independent, then the null space of rref only contains 0.
We know that since row elementary operation didn’t change the solutions of matrix equation.
So the null space of only contains 0.
So the pivot columns of are linearly independent.
Showing that the candidate basis does span C(A)
Since
Since and are free variables in equation , and are also free variables in equation , so column 3 and column 5 in can also be represented by other columns in .
So column 1, column 2 and column 4 in can span the column space of .
Besides, we have proved that column 1, column 2 and column 4 in are independent.
So the corresponding columns of the basis columns in are the basis columns of .