Jump to content

Linear algebra (Osnabrück 2024-2025)/Part I/Lecture 8

From Wikiversity



Dimension theory

A finitely generated vector space has many quite different bases. For example, if a system of homogeneous linear equations in n variables is given, then its solution space is, due to Lemma 6.11 , a linear subspace of Kn, and a basis of the solution space can be found by constructing an equivalent system in echelon form. However, in the process of elimination, there are several choices possible, and different choices yield different bases of the solution space. It is not even clear whether the number of basic solutions is independent of the choices. In this section, we will show in general that the number of elements in a basis of a vector space is constant and depends only on the vector space. We will prove this important property after some technical preparations, and we will take it as the starting point for the definition of the dimension of a vector space.


Lemma

Let K denote a field, let V denote a K-vector space, and let a basis v1,,vn of V be given. Let wV be a vector with a representation

w=i=1nsivi,

where sk0 for some fixed k. Then also the family

v1,,vk1,w,vk+1,,vn
is a basis of V.

Proof  

We show first that the new family is a generating system. Because of

w=i=1nsivi

and sk0, we can express the vector vk as

vk=1skwi=1k1siskvii=k+1nsiskvi.

Let uV be given. Then, we can write

u=i=1ntivi=i=1k1tivi+tkvk+i=k+1ntivi=i=1k1tivi+tk(1skwi=1k1siskvii=k+1nsiskvi)+i=k+1ntivi=i=1k1(titksisk)vi+tkskw+i=k+1n(titksisk)vi.

To show the linear independence, we may assume k=1 to simplify the notation. Let

t1w+i=2ntivi=0

be a representation of 0. Then

0=t1w+i=2ntivi=t1(i=1nsivi)+i=2ntivi=t1s1v1+i=2n(t1si+ti)vi.

From the linear independence of the original family, we deduce t1s1=0. Because of s10, we get t1=0. Therefore, i=2ntivi=0, and hence ti=0 for all i.


The preceding statement is called the basis exchange lemma; the following statement is called the basis exchange theorem.


Theorem

Let K denote a field, let V denote a K-vector space, and let a basis b1,,bn of V be given. Let

u1,,uk

denote a family of linearly independent vectors in V. Then there exists a subset

J={i1,i2,,ik}{1,,n}=I

such that the family

u1,,uk,bi,iIJ,

is a basis of V. In particular,

kn.

Proof  

We do induction over k, the number of the vectors in the family. For k=0, there is nothing to show. Suppose now that the statement is already proven for k, and let k+1 linearly independent vectors

u1,,uk,uk+1

be given. By the induction hypothesis, applied to the vectors (which are also linearly independent)

u1,,uk,

there exists a subset J={i1,i2,,ik}{1,,n} such that the family

u1,,uk,bi,iIJ,

is a basis of V. We want to apply the basis exchange lemma to this basis. As it is a basis, we can write

uk+1=j=1kcjuj+iIJdibi.

Suppose that all coefficients di=0. Then we get a contradiction to the linear independence of uj, j=1,,k+1. Hence, there exists some iIJ with di0. We put ik+1:=i. Then J={i1,i2,,ik,ik+1} is a subset of {1,,n} with k+1 elements. By the basis exchange lemma, we can replace the basis vector bik+1 by uk+1, and we obtain the new basis

u1,,uk,uk+1,bi,iIJ.
  The final statement follows, since we have a subset with k elements inside a set with n elements.



We consider the standard basis e1,e2,e3 of K3 and the two linearly independent vectors u1=(321) and u2=(542). We want to extend this family to a basis, using the standard basis and according to the inductive method described in the proof of the basis exchange theorem. We first consider

u1=3e1+2e2+e3.

Since no coefficient is 0, we can extend u1 with any two standard vectors to obtain a basis. We work with the new basis

u1,e1,e2.

In a second step, we would like to include u2. We have

u2=(542)=2(321)e1=2u1e1+0e2.

According to the proof, we have to get rid of e1, as its coefficient is 0 in this equation (we can not get rid of e2). The new basis is, therefore,

u1,u2,e2.

Theorem

Let K be a field, and let V be a K-vector space with a finite generating system. Then any two bases

of V have the same number of vectors.

Proof  

Let 𝔟=b1,,bn and 𝔲=u1,,uk denote two bases of V. According to the basis exchange theorem, applied to the basis 𝔟 and the linearly independent family 𝔲, we obtain kn. When we apply the theorem with roles reversed, we get nk, thus n=k.


This theorem enables the following definition.


Let K be a field, and let V be a K-vector space with a finite generating system. Then the number of vectors in any basis of V is called the dimension of V, written

dimK(V).

If a vector space is not finitely generated, then one puts dimK(V)=. The null space 0 has dimension 0. A one-dimensional vector space is called a line, a two-dimensional vector space a plane, and a three-dimensional vector space a space (in the strict sense), but every vector space is called a space.


Corollary

Let K be a field, and n. Then the standard space Kn has the

dimension n.

Proof  

The standard basis ei, i=1,,n, consists of n vectors; hence, the dimension is n.



The complex numbers form a two-dimensional real vector space; a basis is 1 and i.


The polynomial ring R=K[X] over a field K is not a finite-dimensional vector space. To see this, we have to show that there is no finite generating system for the polynomial ring. Consider n polynomials P1,,Pn. Let d be the maximum of the degrees of these polynomials. Then every K-linear combination i=1naiPi has at most degree d. In particular, polynomials of larger degree can not be presented by P1,,Pn, so these do not form a generating system for all polynomials.

The preceding statement follows also from the fact that, as shown in Example 7.10 , the powers Xn form an infinite basis of the polynomial ring. Hence, it can not have a finite basis, see Exercise 8.17 (the proof of Theorem 8.4 only shows that two finite bases have the same length).


Corollary

Let V denote a finite-dimensional vector space over a field K. Let UV denote a linear subspace. Then U is also finite-dimensional, and the estimate

dimK(U)dimK(V)
holds.

Proof  

Set n=dimK(V). Every linearly independent family in U is also linearly independent in V. Therefore, due to the basis exchange theorem, every linearly independent family in U has length n. Suppose that kn has the property that there exists a linearly independent family with k vectors in U but no such family with k+1 vectors. Let 𝔲=u1,,uk be such a family. This is then a maximal linearly independent family in U. Therefore, due to Theorem 7.11 , it is a basis of U.


The difference

dimK(V)dimK(U)

is also called the codimension of U in V.


Let K be a field. It is easy to get an overview over the linear subspaces of Kn, as the dimension of a linear subspace equals k with 0kn, due to Corollary 8.9 . For n=0, there is only the null space itself; for n=1, there is the null space and K itself. For n=2, there is the null space, the whole plane K2, and the one-dimensional lines through the origin. Every line G has the form

G=Kv={svsK},

with a vector v0. Two vectors different from 0 define the same line if and only if they are linearly dependent. For n=3, there is the null space, the whole space K3, the one-dimensional lines through the origin, and the two-dimensional planes through the origin.


Corollary

Let K be a field, and let V be a K-vector space with finite dimension n=dimK(V). Let n vectors v1,,vn in V be given. Then the following properties are equivalent.

  1. v1,,vn form a basis of V.
  2. v1,,vn form a generating system of V.
  3. v1,,vn are linearly independent.

Proof



Theorem

Let V denote a finite-dimensional vector space over a field K. Let

u1,,uk

denote linearly independent vectors in V. Then there exist vectors

uk+1,,un

such that

u1,,uk,uk+1,,un

form a basis

of V.

Proof  

Let b1,,bn be a basis of V. Due to the basis exchange theorem, there are nk vectors from the basis 𝔟 that, together with the given vectors u1,,uk, form a basis of V.


In particular, every basis of a linear subspace UV can be extended to a basis of V.


<< | Linear algebra (Osnabrück 2024-2025)/Part I | >>
PDF-version of this lecture
Exercise sheet for this lecture (PDF)