Basis and Dimension
Goals: Know the definitions for a basis for a vector space
and the dimension of a vector space.
I. The Span Game
For R2
We begin the Span game by choosing any two vectors u and v in R2.
Let
and
(Try changing u and v.)
Next, you give me any vector z in R2, and if I can find a c1 and a c2
such that
I win. If not, you win.
No peeking Hank!
You give me:
I give you:
For R3
Let
You give me
For me to win, I must give you a C1, C2 and C3 such that
I give you:
Can you beat me? How?
In the span game we simply find out if the vector z is an element (a linear combination) of the span of a given set of vectors. You may have noticed, that in order for you to win, my set of vectors u, v and w must be linearly dependent. The point of the span game is to help you gain some experience with spanning sets.
II. Basis
We know that the span of a set of vectors in a vector space V forms a subspace of V, but what if the span is all of V? Furthermore, what if the vectors in the spanning set are linearly independent? These conditions define one of the most important of all vector space properties, that of a basis.
Definition Basis: The vectors v1, v2, ... , vn form a basis for a vector space V if and only if
i) v1, v2, ... , vn are linearly independent
ii) The Span(v1, v2, ... , vn ) = V
Basis vectors form the basic building blocks of any vector space, since every element in the vector space may be written as a unique linear combination of the basis vectors. Sometimes a basis is referred to as the minimal spanning set for V.
III. How to Check if a Set of Vectors is a Basis of V
Which of the following is a basis for R3?
a)
{e1, e2, e3}
b)
{u, v, w} with
We need to check i) and ii).
Akamai: Bases for vector spaces are not unique!
Does the set {E11, E12, E21, E22} form a basis for R2x2 , given
Solution: i) Check for Linear Independence
Let
Solve for the ci's.
Are these four vectors Linearly Independent?
ii) Check the Span
Let
be any vector in R2x2 .
Can we find ci's such that
?
One more time (at least). Look for the similarity of method.
Does the set of vectors { 1, x, x2, x3} form a basis for P4?
Fill in the steps! Then do the calculation
i)
ii)
In your own words, tell how you test to see if a set of vectors forms a basis for a given vector space V.
Akamai: The concept of a Basis for Vector Space is one of the most important of all the structure properties. Be sure you understand this concept!
IV. How to Find a Basis for a Vector Space
Once we know how to test a given set of vectors for linear independence and find the span, the next goal is to be able to find a basis for a given vector space.
Find a basis for the nullspace of A, given
Solution: Since the Nullspace is defined as {x Î R3| Ax = 0}
which is equivalent to
We have two free variables to which we assign the scalar values
The nullspace of A is composed of vectors
Check this.
That is any x in the nullspace of A is a linear combination
of u = (2, 1, 0)T and v = (-3, 0, 1)T that is x Î Span(u,v).
Are u and v Linearly Independent?
Do these two vectors form a basis for Null(A)?
Do these two vectors span all of R3?
Find a basis for P3.
Solution: By the Method of Construction.
(In this case we are free to choose!)
Since any vector in P3 has the form
We need to find a set of linearly independent vectors vi in P3 such that z Î Span(vi).
Choose a vector.
Does v1 span P3?
Can every vector in P3 be written as a linear combination of v1?
Since v1 does not span P3, we add another vector v2.
i) Are v1 and v2 linearly independent?
ii) If so, do v1 and v2 span P3?
Since v1 and v2 do not span P3, we add a third vector. At this point you should be wondering how long we will need to add vectors before we get a spanning set.
Let
i) Are v1 , v2 and v3 linearly independent?
ii) If so, do they span P3?
Yes! therefore v1 , v2 and v3 form a basis for P3.
Therefore, every polynomial in P3 may be written as a sum of v1 , v2 and v3 .
V. Dimension
In the previous example, we needed three vectors to form a basis for P3. If we chose some different set of vectors could we find a basis with only two vectors, or four vectors for P3?
We know that there may be more than one basis for a given vector space, but do different bases have different numbers of elements? The answer to these questions is found in the next two theorems.
Theorem: If { v1, v2, ... , vn} is a spanning set for a vector space V, then any collection of m vectors in V, where m > n is linearly dependent.
Proof: In class
So, by the Toss-out theorem we can whittle down the set of m vectors until we have n vectors left without changing the span of the original m vectors. So here is the next part of our answer.
Corollary: If { v1, v2, ... , vn} and { u1, u2, ... , um} are both bases for a vector space V, then n = m.
Proof: In class
Akamai: Every basis for a given vector space has the same number of elements.
Definition of Dimension: The number n of elements in a basis for a vector space V is called the dimension of V. The vector space { O} has dimension 0. V is finite-dimensional if there are a finite number of vectors in any basis of V, otherwise V is infinte-dimensional.
What is the number of elements in any basis for Rn?
What is the number of elements in any basis for P3? For Pn?
So, if we have a set of n vectors in an n dimensional vector space, to check if they form a basis for V, all we need to show is...
Theorem: If V is a vector space of dimension n > 0:
I. Any set of n linearly independent vectors spans V.
II. Any n vectors that span V are linearly independent.
Proof: If we have time.
Show that
form a basis for R3.
Solution: Since the dimension 3 is the same as the number of vectors, we need to only check for Linear Independence.
Therefore u, v and w are linearly independent.
VI. Infinite Dimensional Vector Spaces
Show that C[a,b] is an infinite-dimesional vector space.
Solution: By construction. We need to show that we can find a infinte set of linearly independent vectors in C[a,b].
____________________________________________________
Lecture 8 Notes