Section 1.7 Basis and dimension
Next, we begin with an important result, sometimes known as the “Fundamental Theorem”:
Strategy.
We won’t give a complete proof of this theorem. The idea is straightforward, but checking all the details takes some work. Since is a spanning set, each of the vectors in our independent set can be written as a linear combination of In particular, we can write
for scalars and these scalars can’t all be zero. (Why? And why is this important?)
The next step is to argue that that is, that we can replace by without changing the span. This will involve chasing some linear combinations, and remember that we need to check both inclusions to prove set equality. (This step requires us to have assumed that the scalar is nonzero. Do you see why?)
Next, we similarly replace with Note that we can write
and at least one of the must be nonzero. (Why can’t they all be zero? What does Exercise 1.6.10 tell you about )
If we assume that is one of the nonzero scalars, we can solve for in the equation above, and replace by in our spanning set. At this point, you will have successfully argued that
Now, we repeat the process. If we eventually run out of vectors, and all is well. The question is, what goes wrong if Then we run out of vectors first. We’ll be able to write and there will be some vectors leftover. Why is this a problem? (What assumption about the will we contradict?)
If a set of vectors spans a vector space but it is not independent, we observed that it is possible to remove a vector from the set and still span using a smaller set. This suggests that spanning sets that are also linearly independent are of particular importance, and indeed, they are important enough to have a name.
Definition 1.7.2.
The importance of a basis is that vector vector can be written in terms of the basis, and this expression as a linear combination of basis vectors is unique. Another important fact is that every basis has the same number of elements.
Theorem 1.7.3. Invariance Theorem.
Strategy.
One way of proving the equality is to show that and We know that since both sets are bases, both sets are independent, and they both span Can you see a way to use Theorem 1.7.1 (twice)?
Proof.
Let and let Since both and are bases, both sets are linearly independent, and both sets span Since is independent and we must have by Theorem 1.7.1. Similarly, since and is independent, we must have and therefore,
Suppose If this set is not linearly independent, Theorem 1.4.10 tells us that we can remove a vector from the set, and still span We can repeat this procedure until we have a linearly independent set of vectors, which will then be a basis. These results let us make a definition.
Definition 1.7.4.
Let be a vector space. If can be spanned by a finite number of vectors, then we call a finite-dimensional vector space. If is finite-dimensional (and non-trivial), and is a basis of we say that has dimension and write
Exercise 1.7.5.
Example 1.7.6. Standard bases.
Most of the vector spaces we work with come equipped with a standard basis. The standard basis for a vector space is typically a basis such that the scalars needed to express a vector in terms of that basis are the same scalars used to define the vector in the first place. For example, we write an element of as (or or or …). We can also write
The set is the standard basis for In general, the vector space (written this time as column vectors) has standard basis
From this, we can conclude (unsurprisingly) that
Similarly, a polynomial is usually written as
Exercise 1.7.7.
Show that the following sets are bases of
(a)
(b)
The next two exercises are left to the reader to solve. In each case, your goal should be to turn the questions of independence and span into a system of equations, which you can then solve using the computer.
Exercise 1.7.8.
Hint.
For independence, consider the linear combination
Combine the left-hand side, and then equate entries of the matrices on either side to obtain a system of equations.
xxxxxxxxxx
Exercise 1.7.9.
Hint.
For independence, consider the linear combination
When dealing with polynomials, we need to collect like terms and equate coefficients:
so the coefficients must all equal zero.
xxxxxxxxxx
Exercise 1.7.10.
Find a basis and dimension for the following subspaces of
(a)
(b)
(c)
We’ve noted a few times now that if then
If is not in the span, we can make another useful observation:
Lemma 1.7.11. Independent Lemma.
Strategy.
We want to show that a set of vectors is linearly independent, so we should begin by setting a linear combination of these vectors equal to the zero vector. Our goal is to show that all the coefficients have to be zero.
Since the vector is “special”, its coefficient gets a different treatment, using a familiar tautology: either this coefficient is zero, or it isn’t.
what if the coefficient of is nonzero? Does that contradict one of our assumptions? If the coefficient of is zero, then it disappears from our linear combination. What assumption applies to the remaining vectors?
Proof.
Suppose is independent, and that Suppose we have
for scalars We must have otherwise, we can multiply by and rearrange to obtain
but this would mean that contradicting our assumption.
With we’re left with
and since we assumed that the set is independent, we must have Since we already showed this shows that is independent.
This is, in fact, an “if and only if” result. If then is not independent. Above, we argued that if is finite dimensional, then any spanning set for can be reduced to a basis. It probably won’t surprise you that the following is also true.
Lemma 1.7.12.
Let be a finite-dimensional vector space, and let be any subspace of Then any independent set of vectors in can be enlarged to a basis of
Strategy.
We have an independent set of vectors that doesn’t span our subspace. That means there must be some vector in that isn’t in the span, so Lemma 1.7.11 applies: we can add that vector to our set, and get a larger independent set.
Now it’s just a matter of repeating this process until we get a spanning set. But there’s one gap: how do we know the process has to stop? Why can’t we just keep adding vectors forever, getting larger and larger independent sets?
Proof.
This follows from Lemma 1.7.11. If our independent set of vectors spans then it’s a basis and we’re done. If not, we can find some vector not in the span, and add it to our set to obtain a larger set that is still independent. We can continue adding vectors in this fashion until we obtain a spanning set.
Note that this process must terminate: is finite-dimensional, so there is a finite spanning set for By the Steinitz Exchange lemma, our independent set cannot get larger than this spanning set.
Theorem 1.7.13.
Strategy.
Much of this theorem sums up some of what we’ve learned so far: As long as a vector space contains a nonzero vector the set is independent and can be enlarged to a basis, by Lemma 1.7.12. The size of any spanning set is at least as big as the dimension of by Theorem 1.7.1.
To understand why we can enlarge a given independent set using elements of an existing basis, we need to think about why there must be some vector in this basis that is not in the span of our independent set, so that we can apply Lemma 1.7.12.
Proof.
Let be a finite-dimensional, non-trivial vector space. If is a vector in then is linearly independent. By Lemma 1.7.12, we can enlarge this set to a basis of so has a basis.
Now, suppose and let be a basis for By definition, we have and by Theorem 1.7.1, since is linearly independent, we must have
Let us now consider an independent set Since is independent and spans we must have If there must be some element of that is not in the span of if every element of is in then by Theorem 1.4.10. And since is a basis, it spans so every element of is in the span of and we similarly have that so
Since we can find an element of that is not in the span of we can add that element to and the resulting set is still independent. If the new set spans we’re done. If not, we can repeat the process, adding another vector from Since the set is finite, this process must eventually end.
Exercise 1.7.14.
Exercise 1.7.15.
Exercise 1.7.16.
Give two examples of infinite-dimensional vector spaces. Support your answer.
Exercise 1.7.17.
Determine whether the following statements are true or false.
(a)
True.
- We know that the standard basis for
contains three vectors, and as a basis, it is linearly independent. According to Theorem 1.7.1, a spanning set cannot be larger than an independent set. False.
- We know that the standard basis for
contains three vectors, and as a basis, it is linearly independent. According to Theorem 1.7.1, a spanning set cannot be larger than an independent set.
A set of 2 vectors can span
(b)
True.
- There are many such examples, including
False.
- There are many such examples, including
It is possible for a set of 2 vectors to be linearly independent in
(c)
True.
- Add any vector you want to a basis for
and the resulting set will span. False.
- Add any vector you want to a basis for
and the resulting set will span.
A set of 4 vectors can span
(d)
True.
- We know that 3 vectors can span
and an independent set cannot be larger than a spanning set. False.
- We know that 3 vectors can span
and an independent set cannot be larger than a spanning set.
It is possible for a set of 4 vectors to be linearly independent in
Let’s recap our results so far:
- A basis for a vector space
is an independent set of vectors that spans - The number of vectors in any basis of
is a constant, called the dimension of - The number of vectors in any independent set is always less than or equal to the number of vectors in a spanning set.
- In a finite-dimensional vector space, any independent set can be enlarged to a basis, and any spanning set can be cut down to a basis by deleting vectors that are in the span of the remaining vectors.
Another important aspect of dimension is that it reduces many problems, such as determining equality of subspaces, to counting problems.
Theorem 1.7.18.
Proof.
- Suppose
and let be a basis for Since is a basis, it’s independent. And since and Thus, is an independent subset of and since any basis of spans we know that by Theorem 1.7.1. - Suppose
and Let be a basis for As above, is an independent subset of If then there is some with But so that would mean that is a linearly independent set containing vectors. This is impossible, since so no independent set can contain more than vectors.
An even more useful counting result is the following:
Theorem 1.7.19.
Let be an -dimensional vector space. If the set contains vectors, then is independent if and only if
Strategy.
This result is a combination of three observations:
- The dimension of
is the size of any basis - Any independent set can be enlarged to a basis, and cannot have more vectors than a basis.
- Any spanning set contains a basis, and cannot have fewer vectors than a basis.
Proof.
If is independent, then it can be extended to a basis with But and both contain vectors (since ), so we must have
If spans then must contain a basis and as above, since and contain the same number of vectors, they must be equal.
Theorem 1.7.19 saves us a lot of time, since it tells us that, when we know the dimension of we do not have to check both independence and span to confirm a basis; checking one of the two implies the other. (And usually independence is easier to check.)
We saw this in Exercise 1.7.7: given a set of vectors in we form the matrix with these vectors as columns. This matrix becomes the coefficient matrix for the system of equations we obtain when checking for independence, and for the system we obtain when checking for span. In both cases, the condition on is the same; namely, that it must be invertible.
Exercises Exercises
1.
Find a basis for the vector space where is the vector space of polynomials in with degree less than or equal to 2.
2.
3.
True.
- What if
is infinite-dimensional? False.
- What if
is infinite-dimensional?
True or false: if a set of vectors is linearly independent in a vector space but does not span then can be extended to a basis for by adding vectors.
4.
True.
- What if the set
is linearly dependent? False.
- What if the set
is linearly dependent?
5.
True.
- Since
is finite and spans the subspace is finite-dimensional. If is linearly dependent, we can remove vectors from until we obtain a set that spans and is linearly independent. False.
- Since
is finite and spans the subspace is finite-dimensional. If is linearly dependent, we can remove vectors from until we obtain a set that spans and is linearly independent.
True or false: if is a subspace of a vector space and for a finite set of vectors then contains a basis for
6.
7.
8.
You have attempted 1 of 21 activities on this page.