Chapter 7. Vector spaces over other fields
In most of these notes, we do linear algebra over . However, it’s possible to replace with many other structures, and we mention it briefly in this chapter. Some instructors with more sanity points than me may decide to unilaterally omit this chapter.
§7.1 Vector spaces over
Let’s recall our definition of a vector space.
Definition 7.1 (Real vector space). A real vector space is any set obeying the following two requirements:
- Addition axiom: If and are in , so is .
- Scaling axiom: If is in and , then is in .
If we replace the word “real” with “complex” everywhere, everything we did before carries over with no change.
Definition 7.2 (Complex vector space). A complex vector space is any set obeying the following two requirements:
- Addition axiom: If and are in , so is .
- Scaling axiom: If is in and , then is in .
(We’ve changed the letter to to emphasize is now a complex number.)
That’s all. End of story. Scroll through the last however many pages if you don’t believe me. Literally nothing changes if you replace “real” with “complex” and “” with “”.
§7.2 Fields
So what else can we replace and with and still have vector spaces? The general answer you’ll get from a mathematician is this:
Definition 7.3 (Fields, informal definition). A field is any structure which supports all four operations ///, excluding division by zero.
Then, an -vector space is the analog of the real vector space with replaced by .
and are fields, of course.
, the set of integers, doesn’t form a field. The issue is the lack of division: if you divide by , you get the non-integer .
If you trace your finger through the proofs in the previous chapters trying to replace with , you’ll find places where the lack of division will break the proof of the theorem. For example, the proof of the Steinitz exchange lemma (Theorem 3.13) has fractions in it, and the lemma is just false with instead of .
However, , the rational numbers, do form a field.
Like before, the formal form definition is a list of axioms; see Wikipedia for more on that. If you are a fan of Ed Sheeran, this definition is easy to remember from the artwork of his math tour (if you’re willing to ignore the sign, which isn’t an operation).

This book will only consider four kinds of fields as the base field of a vector space:
- , the real numbers, of course.
- , the complex numbers, as we mentioned in the last section.
- , the rational numbers. Used only in the optional chapter Chapter 12.
- , the integers modulo . Used only in the optional chapter Chapter 8.
§7.3 Vector spaces over
You can also replace the word “real”/“complex” with “rational”, and it’s also OK. However, the tradition is to say “-vector space” rather than “rational vector space”. As before, this change works fine. But the examples can feel quite different; these types of vector spaces come up in number theory.
We will only use -vector spaces in the optional chapter Chapter 12.
§7.4 Vector spaces over
Hopefully, you’ve seen , , and in your high school education. But unless you went to a fairly good school or dabbled in computer science, you might not have seen before. What kind of numbers are in ?
Unlike, , , or , which are all infinite:
even and odd, which we abbreviate as and .Since we’re introducing a new kind of “number”, I need to tell you how to add and multiply. The rules are the ones you’d expect from grade school:
At this point, you might realize that writing even and odd over and over gets annoying really fast, so let’s use the abbreviation:
This new number system is called “mod ” by mathematicians. We’re only thinking about remainders upon division by (that is, even and odd). Hence, when doing addition this way, we have .
To reiterate, only has two numbers in it, and , obeying the above rules. We can then define an -vector space the same way as before; we just need to be careful that addition and multiplication are always considered modulo .
There are possible ordered triples of even/odd:
They form an -vector space, with addition and scaling being done component-wise, e.g.,
The nice thing about finite-dimensional -vector spaces is that they actually have finitely many vectors in them, so we can actually write these more concretely.
§7.5 Exercises
Exercise 7.7. We let denote the set of numbers of the form , where and can be any rational numbers.
- Show that is a two-dimensional -vector space.
- Under the usual multiplication and division, is this a field?