Section04 Independence, Basis and Dimension
Basis vectors: Independent vectors that "span the space".
Every vector in the space is a unique combination of the basis vectors.
Heart of this Section
- Independent vectors
- Spanning space
- Basis for a space
- Dimension of a space
Linear Independence
Defination
- The Columns of are linearly independent when the only solution to is . No other combination of of the columns gives the zero vector.
- The sequence of vectors is linear independent if the only combinaton that give the zero vector is ( only happens when all 's are zero.)
- There is not a vector which is the linear combiantion of others.
Attentions
Desctiption
- Independent vectors but not Independent Matrices.
Dependent and Independent Situations
Dependent
- is dependent with any vectors.
- Three vectors in can't be independent!
- Understand from free variable: If is a 2 by 3 matrix, then there are at least one free variable, therefore, the nullspace of is not only consist of the zero vector. These three vectors are dependent.
- Any set of vectors in must be linearly dependent if . (There must be free variables of the solution for )
Independent
- When is a Full column rank matrix (), There are pivots and no free variables. Only is in the nullspace. ()
Vectors that Span a Subspace
Defination
Span
- A set of vectors spans a space if their linear combination fill the space.
Row Space
- The row space of a matrix is the subspace of spanned by the rows. (Represented by , the column space of )
Column Space and Row Space
- The row are in spanning the row space. (It's a subspace of )
- The column are in spanning the column space. (It's a subspace of )
A Basis for a Vector Space
Defination
Basis
A basis for a vector space is a sequence of vectors with two properties
- The basis vectors are linearly independent.
- They span the space.
There is one and only one way to write as a combination of the basis vectors. (Each is unique.)
- proof
Standard Basis
- The columns of the by identity matrix give the Standard Basis for .
Common Basis
- The vectors are a basis for exactly when they are the columns of an by invertible matrix.
- The Pivot columns of are basis for its column space. The pivot rows of are a basis for its row space. So are the pivot rows of its echelon form .
- The nonzero rows of could be the basis for the row space of .
- But the column space of is not as the same as 's
Example
- Given five vectors in , how do you find a basis for the space they span?
- Make these five vectors as the rows of , elimate to find the nonzero rows of .
- Make these five vectors as the columns of , elimate to find the pivot columns of (not !).
Dimension of a Vector Space
All bases for a vector space contain the same number of vectors.
- If and are both bases for the same vector space, then .
- proof
- If and are both bases for the same vector space, then .
The number of vectors is the dimension of vector space.
- Defination of Dimension
- The dimension of a space is the number of vectors in evey basis.
- Defination of Dimension
Bases for Matrix Spaces and Function Spaces
Dimension of Matrices
| The type of Matrix | Dimension |
|---|---|
| by matrix | |
| Upper triangular matrices | |
| Diagonal matrices | |
| Symmetric matrices |
Function Spaces
| Functions | Function Spcaces |
|---|---|
| Any linear function | |
| Any combination of | |
| Any combination of |
Properties from Exercises
- Supppose is a basis for and the by matrix is invertible. is also a basis for .
- proof from Matrix Perspective
- proof from Vector Perspective
Properties from Exercies
- The row space and nullspace stay fixed after elimination. But the column space might be changed during the elimination.
- example: Space is the subspace of vectors with ; Space is the subspace of vectors with and . q1: find a basis for and . q2: find the instersection .
- q1
- q2
- Suppose is 5 by 4 with rank 4, has no solution when is invertible ( is not the linearly combination of the 's columns), but when this augment matrix is singular ( is the linearly combination of 's columns), there is solutions to .
- The meaning of : the vectors of which , is the linearly combination of vectors of which .
- The dimension of is equal to the dimension of . It consist of three parts: the vectors which is contained in only, the vectors which is contained in only, the vectors which is contained in the and at the same time (contained in ).
- If , each columns of is in the nullspace of .