4.3
4.3
Sarang S. Sane
Basis for a vector space (recall)
Basis for a vector space (recall)
The dimension (or rank) of a vector space is the size (or cardinality)
of a basis of the vector space.
What is the rank/dimension of a vector space
The dimension (or rank) of a vector space is the size (or cardinality)
of a basis of the vector space.
The dimension (or rank) of a vector space is the size (or cardinality)
of a basis of the vector space.
For every vector space there exists a basis,and all bases of a vector
space have the same number of elements (or cardinality) ;
What is the rank/dimension of a vector space
The dimension (or rank) of a vector space is the size (or cardinality)
of a basis of the vector space.
For every vector space there exists a basis,and all bases of a vector
space have the same number of elements (or cardinality) ; hence,
the dimension (or rank) of a vector space (say V ) is uniquely
defined and denoted by dim(V ) (or rank(V )) respectively.
Dimension of Rn
ei = (0, 0, . . . , 0, 1, 0, . . . , 0)
Dimension of Rn
ei = (0, 0, . . . , 0, 1, 0, . . . , 0)
ei = (0, 0, . . . , 0, 1, 0, . . . , 0)
ei = (0, 0, . . . , 0, 1, 0, . . . , 0)
Hence the set {(1, 0, 0), (0, 1, 0)} forms a basis of the subspace W
spanned by {(1, 0, 0), (0, 1, 0), (3, 5, 0)}.
Example
Hence the set {(1, 0, 0), (0, 1, 0)} forms a basis of the subspace W
spanned by {(1, 0, 0), (0, 1, 0), (3, 5, 0)}.
5
−1 0
−5
0 −5
5
Example : in terms of matrices
Example : in terms of matrices
Write the vectors which span (or generate) W as rows of a matrix :
Example : in terms of matrices
Write the vectors which span (or generate) W as rows of a matrix :
1 0 0
0 1 0 .
3 5 0
Example : in terms of matrices
Write the vectors which span (or generate) W as rows of a matrix :
1 0 0
0 1 0 .
3 5 0
1 0 0 1 0 0 1 0 0
R3 −3R1 R3 −5R2
0 1 0 / 0 1 0 / 0 1 0
3 5 0 0 5 0 0 0 0
Example : in terms of matrices
Write the vectors which span (or generate) W as rows of a matrix :
1 0 0
0 1 0 .
3 5 0
1 0 0 1 0 0 1 0 0
R3 −3R1 R3 −5R2
0 1 0 / 0 1 0 / 0 1 0
3 5 0 0 5 0 0 0 0
The final matrix is the row echelon form of the original matrix and
its rows form a basis of the subspace W .
Example : in terms of matrices
Write the vectors which span (or generate) W as rows of a matrix :
1 0 0
0 1 0 .
3 5 0
1 0 0 1 0 0 1 0 0
R3 −3R1 R3 −5R2
0 1 0 / 0 1 0 / 0 1 0
3 5 0 0 5 0 0 0 0
The final matrix is the row echelon form of the original matrix and
its rows form a basis of the subspace W .
Fact : Column rank= Row rank and this number is called the
rank of A.
Example
1 0 1
Let us find the rank of the matrix A = −2 −3 1 .
3 3 0
Example
1 0 1
Let us find the rank of the matrix A = −2 −3 1 .
3 3 0
Reduce it to row echelon form:
Example
1 0 1
Let us find the rank of the matrix A = −2 −3 1 .
3 3 0
Reduce it to row echelon form:
1 0 1 1 0 1 1 0 1
R2 +2R1 R3 −3R1
−2 −3 1 / 0 −3 3 / 0 −3 3
3 3 0 3 3 0 0 3 −3
−R2 /3
1 0 1 1 0 1
R3 −3R2
0 1 −1 o 0 1 −1
0 0 0 0 3 −3
1 0 1 1 0 1 1 0 1
R2 +2R1 R3 −3R1
−2 −3 1 / 0 −3 3 / 0 −3 3
3 3 0 3 3 0 0 3 −3
−R2 /3
1 0 1 1 0 1
R3 −3R2
0 1 −1 o 0 1 −1
0 0 0 0 3 −3