Linear Algebra, Dimension
Up for GrabsUpdated 14 min read
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{ℝ}^{2}. 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, {ℝ}^{2}'s
basis {ℰ}_{2} or {ℝ}^{3}'s basis{ℰ}_{3} or {𝒫}_{2}'s basis⟨ 1 , x , {x}^{2} ⟩. But, for example in the space\{ {a}_{2} {x}^{2} + {a}_{1} x + {a}_{0} \ | \ 2 {a}_{2} − {a}_{0} = {a}_{1} \}, 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 B = ⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{n} ⟩ is a basis for a vector space, and that for the vector \overset{→}{v} the relationship \overset{→}{v} = {c}_{1} {\overset{→}{β}}_{1} + {c}_{2} {\overset{→}{β}}_{2} + ⋯ + {c}_{n} {\overset{→}{β}}_{n} has {c}_{i} ≠ 0. Then exchanging {\overset{→}{β}}_{i} for \overset{→}{v} yields another basis for the space.
Proof
Call the outcome of the exchange \overset{̂}{B} = ⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{i − 1} , \overset{→}{v} , {\overset{→}{β}}_{i + 1} , … , {\overset{→}{β}}_{n} ⟩.
We first show that \overset{̂}{B} is linearly independent. Any relationship {d}_{1} {\overset{→}{β}}_{1} + … + {d}_{i} \overset{→}{v} + … + {d}_{n} {\overset{→}{β}}_{n} = \overset{→}{0} among the members of \overset{̂}{B}, after substitution for \overset{→}{v},
{d}_{1} {\overset{→}{β}}_{1} + … + {d}_{i} ⋅ ( {c}_{1} {\overset{→}{β}}_{1} + … + {c}_{i} {\overset{→}{β}}_{i} + … + {c}_{n} {\overset{→}{β}}_{n} ) + … + {d}_{n} {\overset{→}{β}}_{n} = \overset{→}{0} \ \ ( ∗ )
gives a linear relationship among the members of B. The basis B is linearly independent, so the coefficient {d}_{i} {c}_{i} of {\overset{→}{β}}_{i} is zero. Because {c}_{i} is assumed to be nonzero, {d}_{i} = 0. Using this in equation ( ∗ ) above gives that all of the other d's are also zero. Therefore \overset{̂}{B} is linearly independent.
We finish by showing that \overset{̂}{B} has the same span as B. Half of this argument, that [ \overset{̂}{B} ] ⊆ [ B ], is easy; any member {d}_{1} {\overset{→}{β}}_{1} + … + {d}_{i} \overset{→}{v} + … + {d}_{n} {\overset{→}{β}}_{n} of [ \overset{̂}{B} ] can be written {d}_{1} {\overset{→}{β}}_{1} + … + {d}_{i} ⋅ ( {c}_{1} {\overset{→}{β}}_{1} + … + {c}_{n} {\overset{→}{β}}_{n} ) + … + {d}_{n} {\overset{→}{β}}_{n}, which is a linear combination of linear combinations of members of B, and hence is in [ B ]. For the [ B ] ⊆ [ \overset{̂}{B} ] half of the argument, recall that when \overset{→}{v} = {c}_{1} {\overset{→}{β}}_{1} + … + {c}_{n} {\overset{→}{β}}_{n} with {c}_{i} ≠ 0, then the equation can be rearranged to {\overset{→}{β}}_{i} = ( − {c}_{1} / {c}_{i} ) {\overset{→}{β}}_{1} + … + ( 1 / {c}_{i} ) \overset{→}{v} + … + ( − {c}_{n} / {c}_{i} ) {\overset{→}{β}}_{n}. Now, consider any member {d}_{1} {\overset{→}{β}}_{1} + … + {d}_{i} {\overset{→}{β}}_{i} + … + {d}_{n} {\overset{→}{β}}_{n} of [ B ], substitute for {\overset{→}{β}}_{i} its expression as a linear combination of the members of \overset{̂}{B}, and recognize (as in the first half of this argument) that the result is a linear combination of linear combinations, of members of \overset{̂}{B}, and hence is in [ \overset{̂}{B} ].
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 B = ⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{n} ⟩ of minimal size. We will show that any other basis D = ⟨ {\overset{→}{δ}}_{1} , {\overset{→}{δ}}_{2} , … ⟩ also has the same number of members, n. Because B has minimal size, D has no fewer than n vectors. We will argue that it cannot have more than n vectors.
The basis B spans the space and {\overset{→}{δ}}_{1} is in the space, so {\overset{→}{δ}}_{1} is a nontrivial linear combination of elements of B. By the Exchange Lemma, {\overset{→}{δ}}_{1} can be swapped for a vector from B, resulting in a basis {B}_{1}, where one element is \overset{→}{δ} and all of the n − 1 other elements are \overset{→}{β}'s.
The prior paragraph forms the basis step for an induction argument. The inductive step starts with a basis {B}_{k} (for {}1 ≤ k < n) containing k members of D and n − k members of B. We know that D has at least n members so there is a {\overset{→}{δ}}_{k + 1}. Represent it as a linear combination of elements of {B}_{k}. The key point: in that representation, at least one of the nonzero scalars must be associated with a {\overset{→}{β}}_{i} or else that representation would be a nontrivial linear relationship among elements of the linearly independent set D. Exchange {\overset{→}{δ}}_{k + 1} for {\overset{→}{β}}_{i} to get a new basis {B}_{k + 1} with one \overset{→}{δ} more and one \overset{→}{β} fewer than the previous basis {B}_{k}.
Repeat the inductive step until no \overset{→}{β}'s remain, so that {B}_{n} contains {\overset{→}{δ}}_{1} , … , {\overset{→}{δ}}_{n}. Now, D cannot have more than these n vectors because any {\overset{→}{δ}}_{n + 1} that remains would be in the span of {B}_{n} (since it is a basis) and hence would be a linear combination of the other \overset{→}{δ}'s, contradicting that D 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 {ℝ}^{n} has n vectors since the standard basis {ℰ}_{n} has n vectors. Thus, this definition generalizes the most familiar use of term, that {ℝ}^{n} is n-dimensional.
Example 2.6
The space {𝒫}_{n} of polynomials of degree at most n has dimension n + 1. We can show this by exhibiting any basis— ⟨ 1 , x , … , {x}^{n} ⟩ 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 D spans the space, only that D is linearly independent.
Example 2.9
Recall the subspace diagram from the prior section showing the subspaces of {ℝ}^{3}. 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 {ℝ}^{3} 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 S. If S is empty then it is already a basis (the space must be a trivial space). If S = \{ \overset{→}{0} \} then it can be shrunk to the empty basis, thereby making it linearly independent, without changing its span.
Otherwise, S contains a vector {\overset{→}{s}}_{1} with {\overset{→}{s}}_{1} ≠ \overset{→}{0} and we can form a basis {B}_{1} = ⟨ {\overset{→}{s}}_{1} ⟩. If [ {B}_{1} ] = [ S ] then we are done.
If not then there is a {\overset{→}{s}}_{2} ∈ [ S ] such that {\overset{→}{s}}_{2} ∉ [ {B}_{1} ]. Let {B}_{2} = ⟨ {\overset{→}{s}}_{1} , \overset{→}{{s}_{2}} ⟩; if [ {B}_{2} ] = [ S ] 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 n-dimensional space, a set of n vectors is linearly independent if and only if it spans the space.
Proof
First we will show that a subset with n 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 n elements, so this expansion is actually the set that we began with.
To finish, we will show that any subset with n 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 n 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, as Example 2.9 shows, it describes what vector spaces and subspaces there can be. We will see more in the next chapter.
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 (see (Blass 1984).) 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. (A discussion of the Axiom of Choice can be found in the Frequently Asked Questions list for the Usenet group sci.math. Another accessible reference is (Rucker 1982).
Exercises
Assume that all spaces are finite-dimensional unless otherwise stated.
This exercise is recommended for all readers.
Problem 1
Find a basis for, and the dimension of, {𝒫}_{2}.
Problem 2
Find a basis for, and the dimension of, the solution set of this system.
\begin{matrix}{x}_{1} & − & 4 {x}_{2} & + & 3 {x}_{3} & − & {x}_{4} & = & 0 \\ 2 {x}_{1} & − & 8 {x}_{2} & + & 6 {x}_{3} & − & 2 {x}_{4} & = & 0\end{matrix}
This exercise is recommended for all readers.
Problem 3
Find a basis for, and the dimension of, {ℳ}_{2 \ × \ 2}, the vector space of {}2 \ × \ 2 matrices.
Problem 4
Find the dimension of the vector space of matrices
( \begin{matrix}a & b \\ c & d\end{matrix} )
subject to each condition.
a , b , c , d ∈ ℝa − b + 2 c = 0andd ∈ ℝa + b + c = 0,a + b − c = 0, andd ∈ ℝ
This exercise is recommended for all readers.
Problem 5
Find the dimension of each.
- The space of cubic polynomials
p ( x )such
thatp ( 7 ) = 0 - The space of cubic polynomials
p ( x )such
that p ( 7 ) = 0 and p ( 5 ) = 0
- The space of cubic polynomials
p ( x )such
thatp ( 7 ) = 0,p ( 5 ) = 0, andp ( 3 ) = 0 - The space of cubic polynomials
p ( x )such
that p ( 7 ) = 0, p ( 5 ) = 0, p ( 3 ) = 0, and p ( 1 ) = 0
Problem 6
What is the dimension of the span of the set \{ {cos}^{2} θ , {sin}^{2} θ , cos 2 θ , sin 2 θ \}? This span is a subspace of the space of all real-valued functions of one real variable.
Problem 7
Find the dimension of {ℂ}^{47}, the vector space of 47-tuples of complex numbers.
Problem 8
What is the dimension of the vector space {ℳ}_{3 \ × \ 5} of {}3 \ × \ 5 matrices?
This exercise is recommended for all readers.
Problem 9
Show that this is a basis for {ℝ}^{4}.
⟨ ( \begin{matrix}1 \\ 0 \\ 0 \\ 0\end{matrix} ) , ( \begin{matrix}1 \\ 1 \\ 0 \\ 0\end{matrix} ) , ( \begin{matrix}1 \\ 1 \\ 1 \\ 0\end{matrix} ) , ( \begin{matrix}1 \\ 1 \\ 1 \\ 1\end{matrix} ) ⟩
(The results of this subsection can be used to simplify this job.)
Problem 10
Refer to Example 2.9.
- Sketch a similar subspace diagram for
{𝒫}_{2}. - Sketch one for
{ℳ}_{2 \ × \ 2}.
This exercise is recommended for all readers.
Problem 11
Where S is a set, the functions f : S → ℝ form a vector space under the natural operations: the sum f + g is the function given by ( f + g ) \ ( s ) = f ( s ) + g ( s ) and the scalar product is given by ( r ⋅ f ) \ ( s ) = r ⋅ f ( s ). What is the dimension of the space resulting for each domain?
S = \{ 1 \}S = \{ 1 , 2 \}S = \{ 1 , … , n \}
Problem 12
(See Problem 11.) Prove that this is an infinite-dimensional space: the set of all functions f : ℝ → ℝ under the natural operations.
Problem 13
(See Problem 11.)
What is the dimension of the vector space of functions f : S → ℝ, under the natural operations, where the domain S is the empty set?
Problem 14
Show that any set of four vectors in {ℝ}^{2} is linearly dependent.
Problem 15
Show that the set ⟨ {\overset{→}{α}}_{1} , {\overset{→}{α}}_{2} , {\overset{→}{α}}_{3} ⟩ ⊂ {ℝ}^{3} is a basis if and only if there is no plane through the origin containing
all three vectors.
Problem 16
- Prove that any subspace of a finite dimensional space has a basis.
- Prove that any subspace of a finite dimensional space is finite dimensional.
Problem 17
Where is the finiteness of B used in Theorem 2.3?
This exercise is recommended for all readers.
Problem 18
Prove that if U and W are both three-dimensional subspaces of {ℝ}^{5} then U ∩ W is non-trivial. Generalize.
Problem 19
Because a basis for a space is a subset of that space, we are naturally led to how the property "is a basis" interacts with set operations.
- Consider first how bases might be related by "subset". Assume that
U , Ware subspaces of some vector space and thatU ⊆ W. Can there exist bases{B}_{U}for U and{B}_{W}for W such that{B}_{U} ⊆ {B}_{W}? Must such bases exist?
For any basis {B}_{U} for U, must there be a basis {B}_{W} for W such that {B}_{U} ⊆ {B}_{W}?
For any basis {B}_{W} for W, must there be a basis {B}_{U} for U such that {B}_{U} ⊆ {B}_{W}?
For any bases {B}_{U} , {B}_{W} for U and W, must {B}_{U} be a subset of {B}_{W}?
- Is the intersection of bases a basis? For what space?
- Is the union of bases a basis? For what space?
- What about complement?
(Hint. Test any conjectures against some subspaces of {ℝ}^{3}.)
This exercise is recommended for all readers.
Problem 20
Consider how "dimension" interacts with "subset". Assume U and W are both subspaces of some vector space, and that U ⊆ W.
- Prove that
dim ( U ) ≤ dim ( W ). - Prove that equality of dimension holds if and only if
U = W. - Show that the prior item does not hold if they are infinite-dimensional.
? Problem 21
For any vector \overset{→}{v} in {ℝ}^{n} and any permutation σ of the numbers 1, 2, ..., n (that is, σ is a rearrangement of those numbers into a new order), define σ ( \overset{→}{v} ) to be the vector whose components are {v}_{σ ( 1 )}, {v}_{σ ( 2 )}, ..., and {v}_{σ ( n )} (where σ ( 1 ) is the first number in the rearrangement, etc.). Now fix \overset{→}{v} and let V be the span of \{ σ ( \overset{→}{v} ) \ | \ σ \text{ permutes } 1 , … , n \}. What are the possibilities for the dimension of V? (Gilbert, Krusemeyer & Larson 1993, Problem 47)
References
- Blass, A. (1984), "Existence of Bases Implies the Axiom of Choice", in Baumgartner, J. E. (ed.), Axiomatic Set Theory, Providence RI: American Mathematical Society, pp. 31–33.
- Rucker, Rudy (1982), Infinity and the Mind, Birkhauser.
- Gilbert, George T.; Krusemeyer, Mark; Larson, Loren C. (1993), The Wohascum County Problem Book, The Mathematical Association of America.
Where this page came from
This page was imported from Wikibooks. From “Linear Algebra” on Wikibooks, by its contributors, under CC BY-SA 4.0. Changed here: set as a page; navigation and edit links left out; each image under its own licence, credited in its caption.
Nobody has written it yet — it is the source material at a new address, which is why search engines are asked to skip it and why no one earns from it. It is up for grabs: take it on, and it is yours to rewrite and to earn from.