MIT 18.701 — Lecture 5
Fields, Vector Spaces, Dimension
So far we've directed our attention to properties and structures relating to groups. In this lecture, we'll redirect our attention toward the applications of all these properties and structures.
§ Field Definitions
Definition (Field). A field is a set together with two operations and satisfying the following properties:
The set is an abelian group with identity .
The set is an abelian group with identity .
For any , the identity holds. (Distributive Law)
Remark. All fields contain an image of ; that is, it makes sense to refer to “” or “” as elements of . This is because is an element of , so when we refer to “” in , we're just referring to “”.
Example. All of , , and are fields. Meanwhile, is not a field.
Most of the algebraic properties we expect from hold in general fields.
Theorem. (Additive Identity is Annihilating) For all , the identity holds.
Proof: Since is the additive identity, . Multiplying by on both sides yields . Subtracting from both sides yields .
Theorem. (Zero Product Property) For any , if , then either or .
Proof: If , then has a multiplicative inverse. Multiplying by on both sides of yields . Thus, if , then , and we're done.
Of particular note are finite fields. We can name some in the theorem below.
Theorem. (Finite Fields) The set is a field if and only if is prime.
Proof: The only property of we need to check is that multiplicative inverses exist.
If is composite, then does not have a multiplicative inverse, so is not a field.
If is prime, then we claim all nonzero have a multiplicative inverse. Here are two proofs:
Consider the additive subgroup of . By Lagrange's Theorem, the order of this subgroup divides . But is prime, so the order of this subgroup must either be or .
The former case would mean , i.e. , which we've excluded. So we're in the latter case, where . Then contains , meaning there is some integer such that , as desired.
Equivalently, it suffices to show that for any such that , there must exist such that . The key idea is to consider the group . It must be a subgroup of , so it looks like for some . This must satisfy the property that and . But , so it must be that .
In other words, . So there exist some such that , exactly as desired.
Thus, the set is a field for primes . But be careful! This does not hold when is a higher power of a prime, since (e.g.) has no multiplicative inverse.
Remark. There still do exist finite fields with prime-power order, though. They just look different.
§ Vector Space Definitions
Definition (Vector Space). Let be a field. Call the elements of “scalars”. Then is a vector space over if:
It has two binary operations: abelian-group vector addition and scalar multiplication .
The multiplicative identity satisfies for all .
For any and any , we have . (Associative Law)
For any and any , we have and . (Distributive Law)
Note, importantly, that there is no sense of vector multiplication.
Example. Naturally, is a vector space over . Some less obvious examples include:
is a two-dimensional vector space over .
is an infinite-dimensional vector space over .
is an infinite-dimensional vector space over .
is a two-dimensional vector space over , or a four-dimensional vector space over .
Recall that we can define matrices as linear maps between vector spaces and over . Let's generalize this so that it applies to general fields beyond just .
Definition (Matrices). Consider vector spaces and over a field . Then a matrix is both (i) a rectangular array consisting of elements of , and (ii) a linear map from vectors in to vectors in .
In other words, we just extend the notational definitions from matrices in verbatim to matrices in . Furthermore, all the row-reduction properties of matrices in work for matrices in , too.
Remark. It does not make sense to describe linear maps between arbitrary vector spaces using a matrix. Matrices only make sense if the vector spaces and are both of the form and .
Definition (Span). Let be a vector space over . Then for any set of vectors , their span is:
More generally, for any potentially infinite set of vectors, the span of is:
Infinite sums in general vector spaces are nonsensical because there is no inherent notion of convergence.
Remark. It is equivalent to say that the span of is the smallest vector subspace of containing .
Definition (Spanning). We say that a set of vectors spans if .
Definition (Linear Independence). A set of vectors is linearly independent if any finite linear combination of vectors in equals zero if and only if all coefficients are zero. In other words,
Here's an equivalent definition of linear independence.
Theorem. (Linear Independence vs. Unique Linear Combinations) A set of vectors is linearly independent if and only if every element in has a unique expression as a linear combination of .
Proof: Argue by contradiction: suppose some has two distinct linear combinations of .
Subtracting these two linear combinations yields , which is a nontrivial linear combination of equal to zero. So is not linearly independent, contradiction.
Conversely, if is not linearly independent, then some nontrivial linear combination of equals zero, giving a second expression alongside the all-zero one.
§ Basis and Dimension
Now that we've defined span and linear independence, we can talk about bases.
Definition (Basis). A set of vectors is a basis of if it both spans and is linearly independent.
Example. One basis of is . Another equally valid basis is .
Example. Importantly, vector spaces need not have a “natural” or “inherently nice” basis.
One basis of is . Another basis is . There is no way to determine which of these two bases is better (or whether, say, is a better basis, either!).
There are many bases of the vector space over , but they're impossible to describe explicitly.
We want to use the size of a basis of to talk about the dimension of . Here's a first step.
Definition (Finite Dimension). A vector space is said to be finite-dimensional if and only if it has a finite spanning set (and therefore a finite basis).
Theorem. (Existence of Basis) Every finite-dimensional vector space has a basis .
Proof: Since is finite-dimensional, there exists a finite set of vectors that spans . If is also linearly independent, then we're done: is our basis. If is not linearly independent, that means:
Pick some index such that the coefficient is nonzero. We claim that for this , we can just remove from and still be left with a spanning set . The reason why is the following:
In other words, because is nonzero, must already be in the span of , meaning .
So as long as is not linearly independent, we can keep removing vectors from while preserving the property that spans . Since is finite, this process of removing vectors from must end eventually, at which point must be linearly independent and thus a basis of .
Remark. It turns out that infinite-dimensional vector spaces have bases too. But the proof is much more technical—in fact, for the purposes of this course, we'll disregard infinite-dimensional vector spaces for their excessive technicality and lack of mathematical beauty.
Now, we'd really like to make the following definition.
Definition? (Dimension?). The dimension of a vector space is the size of any basis …?
However, we need to check that this definition is self-consistent. Must any two bases and of a vector space have the same size? It turns out the answer is yes! To prove this, we need the following theorem:
Theorem. (Spans Greater Than Independents) If spans , and is linearly independent, then .
Proof: Argue by contradiction: suppose . Because spans , we may express every single as a linear combination of elements in . Suppose these linear combinations look like this:
Note that, as portrayed above, the are nothing more than plain coefficients of linear combinations. But suppose we interpreted the as entries of an matrix , anyway.
Then if we perform row-reduction on , the resulting matrix must have a column without a pivot, since . This means that there is some nonzero such that .
The finish is to violate the linear independence of by using as coefficients of a linear combination of .
This contradicts the linear independence of , as desired.
An immediate corollary of the above theorem is exactly what we want.
Theorem. (Consistency of Basis Size) For any two bases and of a vector space , it must be that .
Proof: Note that spans and is linearly independent, so . Also, is linearly independent and spans , so . These two inequalities together imply , done.
And so we can finally write the definition of dimension without question marks.
Definition (Dimension). Let be any basis of a vector space . Then the dimension of equals .