Vector Sapces
4.4 The Dimension of a Vector Space
Theorem 9:
If a vector space has a basis , then any set in containing more than vectors must be linearly dependent.
Proof:
Let be a set in with more than vectors.
The coordinate vectors form a linearly dependent set in , because there are more vectors () than entries () in each vector.
So there exist scalars , not all zero, such that
- Since the coordinate mapping is a linear transformation,
- The zero vector on the right displays the weights needed to build the vector from the basis vectors in .
- That is, .
- Since the are not all zero, is linearly dependent.
Theorem 9 implies that if a vector space has a basis then each linearly independent set in has no more than vectors.
Theorem 10:
If a vector space has a basis of vectors, then every basis of must consist of exactly vectors.
Proof:
- Let be a basis of vectors and be any other basis (of ).
- Since is a basis and is linearly independent, has no more than vectors, by Theorem 9.
- Also, since is a basis and is linearly independent, has at least vectors. ref.
- Thus consists of exactly vectors.
Definition
- If is spanned by a finite set, then is said to be finite-dimensional, and
- the dimension of , written as dim , is the number of vectors in a basis for .
- The dimension of the zero vector space is defined to be zero.
- If is not spanned by a finite set, then is said to be infinite-dimensional.
Example 3
Find the dimension of the subspace
Solution:
is the set of all linear combinations of the vectors
Clearly is not a multiple of , but is a multiple of .
- By the Spanning Set Theorem, we may discard and still have a set that spans .
- Finally is not a linear combination of and . So is linearly independent and hence is a basis for H.
- Thus dim =3.
Theorem 11:
Let be a subspace of a finite-dimensional vector space . Any linearly independent set in can be expanded, if necessary, to a basis for . Also, is finite-dimensional and .
Proof:
- If , then certainly .
- Otherwise, let be any linearly independent set in .
- If spans , then is a basis for .
- Otherwise, there is some in that is not in Span .
- But then will be linearly independent, because no vector in the set can be a linear combination of vectors that precede it (by Theorem 4.
- So long as the new set does not span , we can continue this process of expanding to a larger linearly independent set in .
- But the number of vectors in a linearly independent expansion of can never exceed the dimension of , by Theorem 9.
- So eventually the expansion of will span and hence will be a basis for , and .
Theorem 12: Basis Theorem
Let be a -dimensional vector space, . Any linearly independent set of exactly elements in is automatically a basis for . Any set of exactly elements that spans is automatically a basis for .
Proof:
- By Theorem 11, a linearly independent set of elements can be extended to a basis for .
- But that basis must contain exactly elements, since .
- So must already be a basis for .
- Now suppose that has elements and spans .
- Since is nonzero, the Spanning Set Theorem implies that a subset of is a basis of .
- Since must contain vectors.
- Hence .
The Dimensions of Nul A and Col A
- Let be an matrix, and suppose the equation has free variables.
- A spanning set for Nul will produce exactly linearly independent vectors—say, —one for each free variable.
- So is a basis for Nul , and the number of free variables determines the size of the basis.
- Thus, the dimension of Nul is the number of free variables in the equation and the dimension of Col is the number of pivot columns in .
Example 5:
Find the dimensions of the null space and the column space of
Solution:
- Row reduce the augmented matrix to echelon form:
- There are three free variables— , and .
- Hence the dimension of Nul is 3.
- Also dim Col =2 because has two pivot columns.