In mathematics, the dimension theorem for vector spaces states that all bases of a vector space have equally many elements. This number of elements may be finite, or given by an infinite cardinal number, and defines the dimension of the space.
Contents
Formally, the dimension theorem for vector spaces states that
Given a vector space V, any two linearly independent generating sets (in other words, any two bases) have the same cardinality.If V is finitely generated, then it has a finite basis, and the result says that any two bases have the same number of elements.
While the proof of the existence of a basis for any vector space in the general case requires Zorn's lemma and is in fact equivalent to the axiom of choice, the uniqueness of the cardinality of the basis requires only the ultrafilter lemma, which is strictly weaker (the proof given below, however, assumes trichotomy, i.e., that all cardinal numbers are comparable, a statement which is also equivalent to the axiom of choice). The theorem can be generalized to arbitrary R-modules for rings R having invariant basis number.
The theorem for finitely generated case can be proved with elementary arguments of linear algebra, and requires no forms of the axiom of choice.
Proof
Assume that { ai: i ∈ I } and { bj: j ∈ J } are both bases, with the cardinality of I bigger than the cardinality of J. From this assumption we will derive a contradiction.
Case 1
Assume that I is infinite.
Every bj can be written as a finite sum
Since the cardinality of I is greater than that of J and the Ej's are finite subsets of I, the cardinality of I is also bigger than the cardinality of
Case 2
Now assume that I is finite and of cardinality bigger than the cardinality of J. Write m and n for the cardinalities of I and J, respectively. Every ai can be written as a sum
The matrix
But then also
Alternative Proof
The proof above uses several non-trivial results. If these results are not carefully established in advance, the proof may give rise to circular reasoning. Here is a proof of the finite case which requires less prior development.
Theorem 1: If
The argument is as follows:
Since
Repeat this process. Because
To prove the finite case of the dimension theorem from this, suppose that
Kernel extension theorem for vector spaces
This application of the dimension theorem is sometimes itself called the dimension theorem. Let
T: U → Vbe a linear transformation. Then
dim(range(T)) + dim(kernel(T)) = dim(U),that is, the dimension of U is equal to the dimension of the transformation's range plus the dimension of the kernel. See rank-nullity theorem for a fuller discussion.