Difference between revisions of "The Dimension of a Vector Space"
(2 intermediate revisions by one other user not shown) | |||
Line 94: | Line 94: | ||
<blockquote style="background: white; border: 1px solid black; padding: 1em;"> | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
− | Example 2.9 | + | Example 2.9: |
Recall the subspace diagram from the prior section showing the subspaces of <math> \mathbb{R}^3 </math>. Each subspace shown is described with a minimal spanning set, for which we now have the term "basis". The whole space has a basis with three members, the plane subspaces have bases with two members, the line subspaces have bases with one member, and the trivial subspace has a basis with zero members. When we saw that diagram we could not show that these are the only subspaces that this space has. We can show it now. The prior corollary proves that the only subspaces of <math> \mathbb{R}^3 </math> are either three-, two-, one-, or zero-dimensional. Therefore, the diagram indicates all of the subspaces. There are no subspaces somehow, say, between lines and planes. | Recall the subspace diagram from the prior section showing the subspaces of <math> \mathbb{R}^3 </math>. Each subspace shown is described with a minimal spanning set, for which we now have the term "basis". The whole space has a basis with three members, the plane subspaces have bases with two members, the line subspaces have bases with one member, and the trivial subspace has a basis with zero members. When we saw that diagram we could not show that these are the only subspaces that this space has. We can show it now. The prior corollary proves that the only subspaces of <math> \mathbb{R}^3 </math> are either three-, two-, one-, or zero-dimensional. Therefore, the diagram indicates all of the subspaces. There are no subspaces somehow, say, between lines and planes. | ||
</blockquote> | </blockquote> | ||
Line 135: | Line 135: | ||
<blockquote style="background: white; border: 1px solid black; padding: 1em;"> | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
Remark 2.13: | Remark 2.13: | ||
− | The case of infinite-dimensional vector spaces is somewhat controversial. The statement "any infinite-dimensional vector space has a basis" is known to be equivalent to a statement called the Axiom of Choice | + | The case of infinite-dimensional vector spaces is somewhat controversial. The statement "any infinite-dimensional vector space has a basis" is known to be equivalent to a statement called the Axiom of Choice. Mathematicians differ philosophically on whether to accept or reject this statement as an axiom on which to base mathematics (although, the great majority seem to accept it). Consequently the question about infinite-dimensional vector spaces is still somewhat up in the air. |
</blockquote> | </blockquote> | ||
+ | |||
+ | == Licensing == | ||
+ | Content obtained and/or adapted from: | ||
+ | * [https://en.wikibooks.org/wiki/Linear_Algebra/Dimension Dimension, Wikibooks: Linear Algebra] under a CC BY-SA license |
Latest revision as of 10:39, 4 November 2021
In the prior subsection we defined the basis of a vector space, and we saw that a space can have many different bases. For example, following the definition of a basis, we saw three different bases for . So we cannot talk about "the" basis for a vector space. True, some vector spaces have bases that strike us as more natural than others, for instance, 's basis or 's basis or 's basis . But, for example in the space , no particular basis leaps out at us as the most natural one. We cannot, in general, associate with a space any single basis that best describes that space.
We can, however, find something about the bases that is uniquely associated with the space. This subsection shows that any two bases for a space have the same number of elements. So, with each space we can associate a number, the number of vectors in any of its bases.
This brings us back to when we considered the two things that could be meant by the term "minimal spanning set". At that point we defined "minimal" as linearly independent, but we noted that another reasonable interpretation of the term is that a spanning set is "minimal" when it has the fewest number of elements of any set with the same span. At the end of this subsection, after we have shown that all bases have the same number of elements, then we will have shown that the two senses of "minimal" are equivalent.
Before we start, we first limit our attention to spaces where at least one basis has only finitely many members.
Definition 2.1:
- A vector space is finite-dimensional if it has a basis with only finitely many vectors.
(One reason for sticking to finite-dimensional spaces is so that the representation of a vector with respect to a basis is a finitely-tall vector, and so can be easily written.) From now on we study only finite-dimensional vector spaces. We shall take the term "vector space" to mean "finite-dimensional vector space". Other spaces are interesting and important, but they lie outside of our scope.
To prove the main theorem we shall use a technical result.
Lemma 2.2 (Exchange Lemma):
- Assume that is a basis for a vector space, and that for the vector the relationship has . Then exchanging for yields another basis for the space.
Proof: Call the outcome of the exchange .
We first show that is linearly independent. Any relationship among the members of , after substitution for ,
gives a linear relationship among the members of . The basis is linearly independent, so the coefficient of is zero. Because is assumed to be nonzero, . Using this in equation above gives that all of the other 's are also zero. Therefore is linearly independent.
We finish by showing that has the same span as . Half of this argument, that , is easy; any member of can be written , which is a linear combination of linear combinations of members of , and hence is in . For the half of the argument, recall that when with , then the equation can be rearranged to . Now, consider any member of , substitute for its expression as a linear combination of the members of , and recognize (as in the first half of this argument) that the result is a linear combination of linear combinations, of members of , and hence is in .
Theorem 2.3:
- In any finite-dimensional vector space, all of the bases have the same number of elements.
Proof: Fix a vector space with at least one finite basis. Choose, from among all of this space's bases, one of minimal size. We will show that any other basis also has the same number of members, . Because has minimal size, has no fewer than vectors. We will argue that it cannot have more than vectors.
The basis spans the space and is in the space, so is a nontrivial linear combination of elements of . By the Exchange Lemma, can be swapped for a vector from , resulting in a basis , where one element is and all of the other elements are 's.
The prior paragraph forms the basis step for an induction argument. The inductive step starts with a basis (for ) containing members of and members of . We know that has at least members so there is a . Represent it as a linear combination of elements of . The key point: in that representation, at least one of the nonzero scalars must be associated with a or else that representation would be a nontrivial linear relationship among elements of the linearly independent set . Exchange for to get a new basis with one more and one fewer than the previous basis .
Repeat the inductive step until no 's remain, so that contains . Now, cannot have more than these vectors because any that remains would be in the span of (since it is a basis) and hence would be a linear combination of the other 's, contradicting that is linearly independent.
Definition 2.4:
- The dimension of a vector space is the number of vectors in any of its bases.
Example 2.5: Any basis for has vectors since the standard basis has vectors. Thus, this definition generalizes the most familiar use of term, that is -dimensional.
Example 2.6: The space of polynomials of degree at most has dimension . We can show this by exhibiting any basis— comes to mind— and counting its members.
Example 2.7: A trivial space is zero-dimensional since its basis is empty.
Again, although we sometimes say "finite-dimensional" as a reminder, in the rest of this book all vector spaces are assumed to be finite-dimensional. An instance of this is that in the next result the word "space" should be taken to mean "finite-dimensional vector space".
Corollary 2.8:
- No linearly independent set can have a size greater than the dimension of the enclosing space.
Proof: Inspection of the above proof shows that it never uses that spans the space, only that is linearly independent.
Example 2.9: Recall the subspace diagram from the prior section showing the subspaces of . Each subspace shown is described with a minimal spanning set, for which we now have the term "basis". The whole space has a basis with three members, the plane subspaces have bases with two members, the line subspaces have bases with one member, and the trivial subspace has a basis with zero members. When we saw that diagram we could not show that these are the only subspaces that this space has. We can show it now. The prior corollary proves that the only subspaces of are either three-, two-, one-, or zero-dimensional. Therefore, the diagram indicates all of the subspaces. There are no subspaces somehow, say, between lines and planes.
Corollary 2.10:
- Any linearly independent set can be expanded to make a basis.
Proof: If a linearly independent set is not already a basis then it must not span the space. Adding to it a vector that is not in the span preserves linear independence. Keep adding, until the resulting set does span the space, which the prior corollary shows will happen after only a finite number of steps.
Corollary 2.11:
- Any spanning set can be shrunk to a basis.
Proof: Call the spanning set . If is empty then it is already a basis (the space must be a trivial space). If then it can be shrunk to the empty basis, thereby making it linearly independent, without changing its span.
Otherwise, contains a vector with and we can form a basis . If then we are done.
If not then there is a such that . Let ; if then we are done.
We can repeat this process until the spans are equal, which must happen in at most finitely many steps.
Corollary 2.12:
- In an -dimensional space, a set of vectors is linearly independent if and only if it spans the space.
Proof: First we will show that a subset with vectors is linearly independent if and only if it is a basis. "If" is trivially true— bases are linearly independent. "Only if" holds because a linearly independent set can be expanded to a basis, but a basis has elements, so this expansion is actually the set that we began with.
To finish, we will show that any subset with vectors spans the space if and only if it is a basis. Again, "if" is trivial. "Only if" holds because any spanning set can be shrunk to a basis, but a basis has elements and so this shrunken set is just the one we started with.
The main result of this subsection, that all of the bases in a finite-dimensional vector space have the same number of elements, is the single most important result in this book because it describes what vector spaces and subspaces there can be.
Remark 2.13: The case of infinite-dimensional vector spaces is somewhat controversial. The statement "any infinite-dimensional vector space has a basis" is known to be equivalent to a statement called the Axiom of Choice. Mathematicians differ philosophically on whether to accept or reject this statement as an axiom on which to base mathematics (although, the great majority seem to accept it). Consequently the question about infinite-dimensional vector spaces is still somewhat up in the air.
Licensing
Content obtained and/or adapted from:
- Dimension, Wikibooks: Linear Algebra under a CC BY-SA license