Chapter 4. Technicalities on vector spaces
There are two parts of the preceding chapter that I technically should elaborate on.
- One is how to define addition and scaling correctly, which I deferred in Section 3.1. This is done in Section 4.1.
- The other is about linear combinations of infinite sets (Section 4.2). As a benefit, this unlocks infinite-dimensional vector spaces (Section 4.3).
For typical undergraduates this material may be too confusing; skipping this chapter is OK if so.
§4.1 The official definition of vector space
One of the important philosophies I tried to drive home with this chapter is that anything is a vector space as long as it satisfies the axioms we listed in Section 3.1. But I told you that was a white lie, because I never explained how to add or scale. It just happened that for all the examples we’ve encountered, the addition or scaling was something you were already familiar with. That will remain true for the rest of these notes, but I may as well tell you the full truth if you want to know it.
Remember what I told you about wishlists in Section 2.2? The punch line is that if you look at how a vector space is defined in an abstract algebra textbook, they go one step further than us: they also use a wishlist-based definition of addition and scaling. Here’s the full definition:
Definition 4.1 (Vector space axioms, actual official definition). A vector space is a set equipped with an addition and a scaling by real numbers.
Addition must accept two vectors in and output a vector in . The addition is required to satisfy the following axioms:
- .
- .
- There is a zero vector satisfying for every .
- Every has an additive inverse with .
Scaling must accept a real number plus a vector in and output a vector in . The multiplication is required to satisfy the following axioms:
- .
- and .
- .
What this means is that if someone is telling you about a specific vector space , and you want a full description, it’s technically their job to tell you how to add and scale.
This level of abstraction will be overkill for us. In this book, we won’t have a need for any non-obvious addition operations: we will only use the “obvious” ones.
§4.1.1 Example:
Then when we move to define the specific vector space , the addition and scaling operations are defined as the obvious ones:
Strictly speaking, to then officially certify is a vector space, I would then have to manually verify seven axioms (i)-(vii) above are true. This is almost tautological; they follow from the corresponding axioms about real numbers. For example, because addition of real numbers is commutative, it follows directly (by looking at each component) that adding two vectors in is commutative too. And so on.
My sense is asking a student to verify these seven axioms for every vector space they encounter would be more distracting than helpful for less experienced undergraduates. (Indeed, the proofs are not too hard, but rather too easy: the statements are so obvious it becomes confusing what there is to prove.) That’s why this book restricts attention to “obvious” addition and scaling operations, where the truth of the axioms is taken for granted.
§4.2 Linear combinations of infinite sets
Let’s go back briefly to the definition of a linear combination. There is an annoying technical point for infinite sets that we mention here, though it won’t come up that often.
In general, we don’t ever allow sums with infinitely many terms in these notes. (As mathematicians, we’re generally scared of infinity, because it makes definitions harder to think about.) So if we have an infinite set of vectors, we instead say that a linear combination of is a sum built out of finitely many vectors in . Here’s the official definition:
Definition 4.2 (Linear combination). Let be a set of vectors (either finite or infinite) in a vector space . A linear combination of is a sum of the form
where is a finite nonnegative integer, and .
The difference here is that we are only sampling of the vectors from .
When was finite, this distinction was irrelevant because you could always just pick . (If you have a vector you don’t want to use, just set the coefficient to .) So this definition is not any different from the one we saw in Section 3.2.
However, if is infinite, the distinction now actually matters. The sum can never sample all the vectors in ; you are using just a finite subset at any moment.
Anyway, the good news is most of the time we are going to only work with finite sets when we take about things like linear combinations or choosing a basis. Thus this distinction can usually be ignored.
§4.3 Infinite-dimensional vector spaces
With the upgraded definition of “linear combination”, the definition of basis can be extended to infinite sets. You can either use “every vector is a linear combination in exactly one way” or “linearly independent and spanning”.
However, with infinite-dimensional vector spaces, many of the previous theorems we stated no longer apply. Roughly speaking, if the theorem has “” in its statement, it is not legal to just set and pray. For example, it’s not even clear how one would interpret Proposition 3.17. (In an infinite-dimensional vector space, an infinite set can be linearly independent or spanning without being a basis.) So the finiteness of the dimension is actually doing something substantial, because it gives us results like Proposition 3.17 that don’t work otherwise.
§4.4 Exercises
Exercise 4.4. Let denote the vector space of infinite sequences of real numbers. (Addition and scaling are done componentwise.) Let denote the sequence where the ’th term is and the others are , that is,
Show that the are linearly independent but not spanning. Thus, in contrast to the example for , the do not form a basis.