4 Linear algebra

4.9 Dimension

4.9.1 Basis size

We are going to define the dimension of a finite-dimensional vector space V as the size of a basis of V. But as we’ve seen, a vector space can have many different bases. So we have some proving to do before this definition makes sense. We need to know that any two bases have the same size.

4.9.2 Spanning sequences are at least as big as linearly independent sequences (Steinitz exchange)

Theorem 4.9.1.

Let V be a vector space and suppose 𝐬1,,𝐬m spans V and 𝐥1,,𝐥n is linearly independent. Then mn.

Proof.

Assume for a contradiction that m<n. Since the 𝐬i span V we can write each 𝐥j as a linear combination of the 𝐬i so there are scalars aij such that 𝐥j=i=1maij𝐬i. Let A be the m×n matrix (aij), which has more columns that rows.

By Corollary 3.11.1, the matrix equation A𝐱=𝟎 has at least one nonzero solution 𝐯=(v1vn). Because A𝐯=𝟎, for any i we have j=1naijvj=0. Now

j=1nvj𝐥j =j=1nvji=1maij𝐬i
=i=1m(j=1naijvj)𝐬j
=i=1m0𝐬i
=𝟎V

and since the vj are not all zero, this contradicts the linear independence of 𝐥1,,𝐥n. ∎

4.9.3 All bases of a finite-dimensional vector space have the same size

To make life slightly easier, we are going to work only with finite-dimensional vector spaces. A vector space is called finite-dimensional if it contains a finite spanning sequence.

Theorem 4.9.2.

Any two bases of a finite-dimensional vector space V have the same size.

Proof.

V has a finite spanning sequence 𝐬1,,𝐬m because it is finite-dimensional. Therefore every linearly independent sequence has size at most m, so is finite, so every basis is finite. (We haven’t actually shown that a basis exists, but this will follow from something we prove later).

Let 𝐛1,,𝐛k and 𝐜1,,𝐜l be bases of V. Then kl (as the 𝐛is are linearly independent and the 𝐜is span). By the same argument with the two bases swapped, lk. Therefore k=l. ∎

Now that we know any two bases have the same size, we can make our definition of dimension:

Definition 4.9.1.

The dimension of a vector space V, written dimV, is the size of any basis of V.

There’s a special case: the dimension of the zero vector space {0} is defined to be 0. If you want you can talk yourself into believing that the empty set is a basis of the zero vector space, so that this is covered by the definition above, but it’s easier just to think of this as a special case.