We'll sometimes need to consider lists of vectors, which we usually write without the surrounding parenthesis, ie: is a list of 2 vectors containing vectors in .
Linear Combinations and Span
Linear Combination
A linear combination of a list of vectors in is a vector of the form:
where .
So for instance, is a linear combination of since:
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 in is called the span of , denoted . In other words:
The span of the empty list is defined to be .
So then, using our example above, . Sometimes linear span is used to mean span.
Span is the smallest containing subspace
The span of a list of vectors in is the smallest subspace of containing all the vectors in the list.
Proof
Suppose is a list of vectors in .
First, we show that is a subspace of . Clearly since:
Also the span is closed under addition since:
And also closed under scalar multiplication since:
Thus is a subspace of .
Each is a linear combination from by just adding the from the set itself. Conversely, due to closure under vector addition and scalar multiplication, every subspace of containing each contains . So then the span is the smallest subspace of containing all vectors .
☐
If equals then we say that spans.
Finite-Dimensional Vector Space
A vector space is called finite-dimensional if some list of vectors in it spans the space.
So clearly is finite dimensional.
Polynomial,
A function is called a polynomial with coefficients in if there exist such that:
for all . is the set of all polynomials with coefficients in .
You can show that is a vector space, and thus is a subspace of .
Degree of a polynomial,
A polynomial is said to have degree if there exist scalars where such that:
for all . If has degree , we write .
The polynomial that is identically is said to have degree .
For , denotes the set of all polynomials with coefficients in and degree at most .
You can verify is a finite-dimensional vector space for each non-negative integer .
Infinite-dimensional vector space
A vector space is called infinite-dimensional if it is not finite-dimensional.
We can, for instance, show that is infinite-dimensional via the following. Consider any list of elements of . Let denote the highest degree of polynomials in this list. Then every polynomial in the span of this list has degree at most . Thus, is not in the span of our list. Hence, no list spans , so it is infinite-dimensional.
Linear Independence
Suppose and . By the definition of span, there exist such that:
Consider the question of whether the choice of scalars in the equation above is unique. Suppose is another set of scalars such that:
Subtracting the two equations:
Thus we have written 0 as a linear combination of . If the only way to do this is via is via then each equals , and thus the choice of scalars is unique. We give this idea a name:
Linearly Indepdendent
A list of vectors in is called linearly-independent if the only choice of that makes equal 0 is .
The empty list is also declared to be linearly independent.
A list of vectors in is called linearly dependent if it is not linearly independent. In other words, a list of vectors in is linearly dependent if there exist , not all 0, such that .
The lemma below will often be useful:
Linear Dependence Lemma
Suppose is a linearly dependent list in . Then there exists such that:
if is removed from the span of the remaining list equals the span of the old list.
Proof
Because the list is linearly dependent, then there exist numbers , not all 0, such that:
Let be the largest element of such that . Then:
Proving the first part. To prove the second, suppose , so then there exist numbers such that:
We can replace with the right side of the equation defining , showing that the is in the span of the list obtained by removing the -th term from the original list. Thus, the second condition holds.
☐
Note that the proof doesn't call into question the cases where some , but those special cases can definitely still be remedied. We won't call to attention cases with:
Empty lists
Lists of length 1
The subspace
...
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.
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 is finite-dimensional and is a subspace of . We'll prove that is finite-dimensional.
Step 1: If then is finite-dimensional and we are done. If then choose a nonzero vector .
Step : If then is finite-dimensional and we are done. If then choose a vector such that: $$
v_j \notin \text{span}(v_1, ..., v_{j-1})
v = a_1v_1 + \dots + a_nv_n
Proof
First, suppose is a basis of . Let . Because spans , there exist such that holds. To show the representation is unique, suppose are different scalars such that:
Subtracting the last equation from the first gives:
But since is LI, then all so then we have achieved uniqueness.
Now for the other direction. Suppose every can be written uniquely in the form:
This clearly implies that spans . To show that is LI, suppose that such that:
by applying . Since the representation must be unique (as a given) then we must have it such that all so then is LI.
☐
Clearly some spanning lists have too many vectors for them to be a basis (ie: LI). As an example, in the space we may start with . We can use the following proof to remove vectors to remain with 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 spans . We'll want to remove some of the vectors from so that the remaining vectors form a basis of . We do this via the following process.
Start with . If , delete it from . If , then leave unchanged.
Repeat, where if is in then delete from , otherwise leave unchanged.
After step , we get a list which spans since our original list spanned and we only removed vectors that were already in the span of previous vectors. The process ensures that no vector in is in the span of the previous ones, so then is LI by the Chapter 2 - Finite-Dimensional Vector Spaces#^3867cf Lemma. So is a basis of .
☐
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 is LI in a finite-dimensional vector space . Let be a basis of . Thus the list:
spans . Applying the procedure of finding our basis from Chapter 2 - Finite-Dimensional Vector Spaces#^e91abd, we can reduce this list to a basis of to produce a basis consisting of the vectors , where no can get deleted as is LI, and some of the 's.
☐
Every subspace of is part of a direct sum equal to
Suppose is finite-dimensional and is a subspace of . Then there is a subspace of such that .
To prove , suppose is arbitrary. Then, because the list spans (as it's a basis), there exist such that:
In other words, we have , where and . Thus, , so then since was arbitrary it follows that .
Now to show that . Suppose . Then there exist scalars such that:
as and . Thus:
Because is LI (as it's a basis) then all , so then completing the proof.
☐
2.C: Dimension
We know that something like should be 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 is finite-dimensional. Let be two bases of . Both are LI and span . But by Chapter 2 - Finite-Dimensional Vector Spaces#^ac1e1f then the length of is that of . Likewise, the length of is to that of , so then their lengths equal.
☐
Thus:
dimension,
The dimension of a finite-dimension vector space is the length of any basis of the vector space. The dimension of (if is finite-dimensional) is denoted by .
For instance, . Further, .
Dimension of a subspace
If is finite-dimensional and is a subspace of , then .
Proof
Suppose is finite-dimensional and is a subspace of . Think of a basis of as a LI list in , and think of a basis of as a spanning list in . Use Chapter 2 - Finite-Dimensional Vector Spaces#^ac1e1f to conclude that .
☐
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 is finite-dimensional. Then every LI list of vectors in with length is a basis of .
Proof
Suppose and is a LI list in . 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 then we do just the trivial extension. Thus, no elements are adjoined, so then is a basis of .
☐
We can do the same for a spanning list:
Spanning list of the right length is a basis
Suppose is finite-dimensional. Then every spanning list of vectors in with length is a basis of .
Proof
Suppose and is a spanning list for . 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, is a basis already for .
☐
Dimension of a sum
If and are subspaces of a finite-dimensional vector space, then:
Proof
Let be a basis for ; thus . Because is a basis of , then it is LI in , so the list can be extended to a basis of by Chapter 2 - Finite-Dimensional Vector Spaces#^aaf384. Thus, . We can also extend to a basis of , so then .
We'll show that:
is a basis of . This will complete the proof, as we'll have:
Clearly spans and and hence equals . To show that the list is a basis of , we need to only show that it is LI (as we have the right number of basis vectors). So suppose:
where all are scalars. We'll need to prove all are equal to 0.
The equation above can be rewritten as:
so clearly then . All the 's are in so this implies that . Because is a basis of , we can write:
for some choice of scalars . But is LI, so the last equation implies that all the 's (and consequently all the 's) equal 0. Thus our original equation becomes:
and since is LI, this equation implies that all the 's and 's are 0. Thus, all 's, 's, and 's are 0 as desired.
☐