Chapter 2 - Finite-Dimensional Vector Spaces

We'll cover:

2.A: Span and Linear Independence

We'll sometimes need to consider lists of vectors, which we usually write without the surrounding parenthesis, ie: (4,1,6),(9,5,7) is a list of 2 vectors containing vectors in R3.

Linear Combinations and Span

Linear Combination

A linear combination of a list v1,...,vm of vectors in V is a vector of the form:

a1v1++amvm

where a1,...,amF.

So for instance, (17,4,2) is a linear combination of (2,1,3),(1,2,4) since:

(17,4,2)=6(2,1,3)+5(1,2,4)

If instead a linear combination doesn't exist, then the related system of equations has no solutions.

Span

The set of all linear combinations of a list of vectors v1,...,vm in V is called the span of v1,...,vm, denoted span(v1,...,vm). In other words:

span(v1,...,vm)={a1v1++amvm:a1,...,amF}

The span of the empty list () is defined to be {0}.

So then, using our example above, (17,4,2)span((2,1,3),(1,2,4)). Sometimes linear span is used to mean span.

Span is the smallest containing subspace

The span of a list of vectors in V is the smallest subspace of V containing all the vectors in the list.

Proof
Suppose v1,...,vm is a list of vectors in V.

First, we show that span(v1,...,vm) is a subspace of V. Clearly 0span since:

0=0v1++0vm

Also the span is closed under addition since:

(a1v1++amvm)+(c1v1++cmvm)=(a1+c1)v1++(am+cm)vm

And also closed under scalar multiplication since:

λ(a1v1++amvm)=λa1v1++λamvm

Thus span(v1,...,vm) is a subspace of V.

Each vi is a linear combination from v1,..,vm by just adding the vi from the set itself. Conversely, due to closure under vector addition and scalar multiplication, every subspace of V containing each vj contains span(v1,...,vm). So then the span is the smallest subspace of V containing all vectors v1,...,vm.

If span(v1,...,vm) equals V then we say that v1,...,vm spans V.

Finite-Dimensional Vector Space

A vector space is called finite-dimensional if some list of vectors in it spans the space.

So clearly Fn is finite dimensional.

Polynomial, P(F)

A function p:FF is called a polynomial with coefficients in F if there exist a0,...,amF such that:

p(z)=a0+a1z++amzm

for all zF.
P(F) is the set of all polynomials with coefficients in F.

You can show that P(F) is a vector space, and thus is a subspace of FF.

Degree of a polynomial, deg(p)

A polynomial pP(F) is said to have degree m if there exist scalars a0,...,amF where am0 such that:

p(z)=a0+a1z++amzm

for all zF. If p has degree m, we write deg(p)=m.
The polynomial that is identically 0 is said to have degree .

Pm(F)

For mN, Pm(F) denotes the set of all polynomials with coefficients in F and degree at most m.

You can verify Pm(F) is a finite-dimensional vector space for each non-negative integer m.

Infinite-dimensional vector space

A vector space is called infinite-dimensional if it is not finite-dimensional.

We can, for instance, show that P(F) is infinite-dimensional via the following. Consider any list of elements of P(F). Let m denote the highest degree of polynomials in this list. Then every polynomial in the span of this list has degree at most m. Thus, zm+1 is not in the span of our list. Hence, no list spans P(F), so it is infinite-dimensional.

Linear Independence

Suppose v1,...,vmV and vspan(v1,...,vm). By the definition of span, there exist a1,...,amF such that:

v=a1v1++amvm

Consider the question of whether the choice of scalars in the equation above is unique. Suppose c1,...,cm is another set of scalars such that:

v=c1v1++cmvm

Subtracting the two equations:

0=(a1c1)v1++(amcm)vm

Thus we have written 0 as a linear combination of v1,...,vm. If the only way to do this is via is via 0=0v1++0vm then each ai equals ci, and thus the choice of scalars is unique. We give this idea a name:

Linearly Indepdendent

A list v1,...,vm of vectors in V is called linearly-independent if the only choice of a1,...,amF that makes a1v1++amvm equal 0 is a1==am=0.
The empty list () is also declared to be linearly independent.

A list of vectors in V is called linearly dependent if it is not linearly independent. In other words, a list v1,...,vm of vectors in V is linearly dependent if there exist a1,...,amF, not all 0, such that a1v1++amvm=0.

The lemma below will often be useful:

Linear Dependence Lemma

Suppose v1,...,vm is a linearly dependent list in V. Then there exists jN1m such that:

  • vjspan(v1,...,vj1)
  • if vj is removed from v1,...,vm the span of the remaining list equals the span of the old list.

Proof
Because the list v1,...,vm is linearly dependent, then there exist numbers a1,...,amF, not all 0, such that:

a1v1++amvm=0

Let j be the largest element of {1,...,m} such that aj0. Then:

vj=a1ajv1aj1ajvj1

Proving the first part. To prove the second, suppose uspan(v1,...,vm), so then there exist numbers c1,...,cmF such that:

u=c1v1++cmvm

We can replace vj with the right side of the equation defining vj, showing that the u is in the span of the list obtained by removing the j-th term from the original list. Thus, the second condition holds.

Note that the proof doesn't call into question the cases where some vi=0, but those special cases can definitely still be remedied. We won't call to attention cases with:

Length of linearly independent list length of the spanning list.

In a finite-dimensional vector space, the length of every linearly independent list of vectors is less than or equal to the length of every spanning list of vectors.

The proof is at Year3/Winter2024/MATH306-LinearAlgebraII/2015_Book_LinearAlgebraDoneRight.pdf#pages=35. We can use this idea to show that a list is linearly dependent since, given some list of linearly independent vectors that span V, the list in question has "too many" vectors in comparison.

Our intuition suggests that every subspace of a finite-dimensional vector space should also be finite-dimensional.

Finite-dimensional subspaces

Every subspace of a finite-dimensional vector space is finite-dimensional

Suppose V is finite-dimensional and U is a subspace of V. We'll prove that U is finite-dimensional.

After each step, as long as the process continues, we have constructed a list of vectors such that no vector in this list is in the span of the previous vectors. Thus, after each step we have constructed a linearly independent list, by the Linear Dependence Lemma. This linearly independent list cannot be longer than any spanning list of $V$, so the process eventually terminates, so $U$ is finite-dimensional. # 2.B: Bases We have the idea of *span* and *linear independence*. We would we like to combine these into a new idea. > [!definition] > A **basis** of $V$ is a list of vectors in $V$ that is linearly independent and spans $V$. For instance, $(1,0), (0,1)$ is a basis for $\mathbb{R}^2$. The list $(1,2), (3,5)$ is a basis of $\mathbb{F}^2$. Notice that the basis for a vector space is not unique. For instance, $(7,5), (-4, 9)$ and $(1,2), (3,5)$ are both bases for $\mathbb{F}^2$. >[!lemma] Criterion for Bases > A list $v_1, ..., v_n$ of vectors $V$ is a basis of $V$ iff every $v \in V$ can be written uniquely in the form: >

v = a_1v_1 + \dots + a_nv_n

where$a1,...,anF$.

Proof
First, suppose v1,...,vn is a basis of V. Let vV. Because v1,...,vn spans V, there exist a1,...,anF such that v=a1v1++anvn holds. To show the representation is unique, suppose c1,...,cn are different scalars such that:

v=c1v1++cnvn

Subtracting the last equation from the first gives:

0=(a1c1)v++(ancn)vn

But since v1,...,vn is LI, then all aici=0ai=ci so then we have achieved uniqueness.

Now for the other direction. Suppose every vV can be written uniquely in the form:

v=a1v1++amvm

This clearly implies that v1,...,vn spans V. To show that v1,...,vm is LI, suppose that a1,...,anF such that:

0=a1v1++amvm

by applying v=0. Since the representation must be unique (as a given) then we must have it such that all ai=0 so then v1,...,vm is LI.

Clearly some spanning lists have too many vectors for them to be a basis (ie: LI). As an example, in the space F2 we may start with (1,2),(3,6),(4,7),(5,9). We can use the following proof to remove vectors to remain with (1,2),(4,7) as a valid basis.

Spanning list contains a basis

Every spanning list in a vector space can be reduced to a basis of the vector space.

Proof
Suppose v1,...,vn spans V. We'll want to remove some of the vectors from v1,...,vn so that the remaining vectors form a basis of V. We do this via the following process.

Start with B={v1,...,vn}. If v1=0, delete it from B. If v10, then leave B unchanged.
Repeat, where if vj is in span(v1,...,vj1) then delete vj from B, otherwise leave B unchanged.

After step n, we get a list B which spans V since our original list spanned V and we only removed vectors that were already in the span of previous vectors. The process ensures that no vector in B is in the span of the previous ones, so then B is LI by the Chapter 2 - Finite-Dimensional Vector Spaces#^3867cf Lemma. So B is a basis of V.

This implies the following:

Basis of finite-dimensional vector space

Every finite-dimensional vector space has a basis.

Proof
By definition, a finite-dimensional vector space has a spanning list. The previous proof shows how we can reduce such a list to a basis.

Going the other way, we can try to add vectors to a LI list that's too small to ensure that it spans.

Linearly Independent List extends to a basis

Every LI list of vectors in a finite-dimensional vector space can be extended to a basis of the vector space.

Proof
Suppose u1,...,um is LI in a finite-dimensional vector space V. Let w1,...,wn be a basis of V. Thus the list:

u1,...,um,w1,...,wn

spans V. Applying the procedure of finding our basis from Chapter 2 - Finite-Dimensional Vector Spaces#^e91abd, we can reduce this list to a basis of V to produce a basis consisting of the vectors u1,...,um, where no ui can get deleted as u1,...,um is LI, and some of the w's.

Every subspace of V is part of a direct sum equal to V

Suppose V is finite-dimensional and U is a subspace of V. Then there is a subspace W of V such that V=UW.

Proof
Because V is finite-dimensional, so is U via Chapter 2 - Finite-Dimensional Vector Spaces#^4a3f0a. Thus, there is a basis u1,...,um of U via Chapter 2 - Finite-Dimensional Vector Spaces#^7eaea4. Of course, u1,...,um is a linearly independent list of vectors in V. Hence, this list can be extended to a basis u1,...,um,w1,...,wn of V via Chapter 2 - Finite-Dimensional Vector Spaces#^aaf384. Let W=span(w1,...,wn). To prove that V=UW, by Chapter 1 - Vector Spaces#^f3385e, then we must prove UW={0}, and that V=U+W.

To prove V=U+W, suppose vV is arbitrary. Then, because the list u1,...,um,w1,...,wn spans V (as it's a basis), there exist a1,...,am,b1,...,bnF such that:

v=a1u1++amumu+b1w1++bnwnw

In other words, we have v=u+w, where uU and wW. Thus, vU+W, so then since v was arbitrary it follows that V=U+W.

Now to show that UW={0}. Suppose vUW. Then there exist scalars a1,...,am,b1,...,bnF such that:

v=a1u1++amum=b1w1++bnwn

as vU and vW. Thus:

a1u1++amumb1w1bnwn=0

Because u1,...,um,w1,...,wn is LI (as it's a basis) then all ai,bi=0, so then v=0 completing the proof.

2.C: Dimension

We know that something like Fn should be n dimensional, but why? It comes from the fact that:

Basis length doesn't depend on basis

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

Proof
Suppose V is finite-dimensional. Let B1,B2 be two bases of V. Both B1,B2 are LI and span V. But by Chapter 2 - Finite-Dimensional Vector Spaces#^ac1e1f then the length of B1 is that of B2. Likewise, the length of B2 is to that of B1, so then their lengths equal.

Thus:

dimension, dim(V)

The dimension of a finite-dimension vector space is the length of any basis of the vector space. The dimension of V (if V is finite-dimensional) is denoted by dim(V).

For instance, dim(Fn)=n. Further, Pm(F)=m+1.

Dimension of a subspace

If V is finite-dimensional and U is a subspace of V, then dimdim(V).

Proof
Suppose V is finite-dimensional and U is a subspace of V. Think of a basis of U as a LI list in V, and think of a basis of V as a spanning list in V. Use Chapter 2 - Finite-Dimensional Vector Spaces#^ac1e1f to conclude that dim(U)dim(V).

Thus, we only need to check span or LI to get a basis if we know that the number of vectors is the dimension of the space we are working in.

LI list of the right length is a basis.

Suppose V is finite-dimensional. Then every LI list of vectors in V with length dim(V) is a basis of V.

Proof
Suppose dim(V)=n and v1,...,vn is a LI list in V. The list can be extended to a basis via Chapter 2 - Finite-Dimensional Vector Spaces#^aaf384, but in this case since every basis has a length n then we do just the trivial extension. Thus, no elements are adjoined, so then v1,...,vn is a basis of V.

We can do the same for a spanning list:

Spanning list of the right length is a basis

Suppose V is finite-dimensional. Then every spanning list of vectors in V with length dim(V) is a basis of V.

Proof
Suppose dim(V)=n and v1,...,vn is a spanning list for V. The list can be reduced to a basis via Chapter 2 - Finite-Dimensional Vector Spaces#^e91abd, so then the reduction is trivial and no vectors are pruned. Thus, v1,...,vn is a basis already for V.

Dimension of a sum

If U1 and U2 are subspaces of a finite-dimensional vector space, then:

dim(U1+U2)=dim(U1)+dim(U2)dim(U1U2)

Proof
Let u1,...,um be a basis for U1U2; thus dim(U1U2)=m. Because u1,...,um is a basis of U1U2, then it is LI in U1, so the list can be extended to a basis u1,...,um,v1,...,vj of U1 by Chapter 2 - Finite-Dimensional Vector Spaces#^aaf384. Thus, dim(U1)=m+j. We can also extend u1,...,um to a basis u1,...,uk,w1,...,wk of U2, so then dim(U2)=m+k.

We'll show that:

u1,...,um,v1,...,vj,w1,...,wk

is a basis of U1+U2. This will complete the proof, as we'll have:

dim(U1+U2)=m+j+k=(m+j)+(m+k)m=dim(U1)+dim(U2)dim(U1U2)

Clearly u1,...,um,v1,...,vj,w1,...,wk spans U1 and U2 and hence equals U1+U2. To show that the list is a basis of U1+U2, we need to only show that it is LI (as we have the right number of basis vectors). So suppose:

a1u1++amum+b1v1++bjvj+c1w1++ckwk=0

where all ai,bi,ci are scalars. We'll need to prove all are equal to 0.

The equation above can be rewritten as:

c1w1++ckwk=a1u1amumb1v1bjvj

so clearly then c1w1++ckwkU1. All the w's are in U2 so this implies that c1w1++ckwkU1U2. Because u1,...,um is a basis of U1U2, we can write:

c1w1++ckwk=d1u1++dmum

for some choice of scalars d1,...,dm. But u1,...,um,w1,...,wk is LI, so the last equation implies that all the c's (and consequently all the d's) equal 0. Thus our original equation becomes:

a1u1++amum+b1v1++bjvj=0

and since u1,...,um,v1,...,vj is LI, this equation implies that all the a's and b's are 0. Thus, all a's, b's, and c's are 0 as desired.