2.4 Basis and Dimension
How many directions are there
1Reading¶
Material related to this page, as well as additional exercises, can be found in ALA Ch. 2.4 and LAA 4.3-4.5.
2Learning Objectives¶
By the end of this page, you should know:
- a basis of a vector space
- the dimension of a vector space
- a coordinate system for generic vector spaces
3Basis¶
The previous section was admittedly quite abstract, but it was necessary to get us to the extremely practical notion of a basis of a vector space. This section is where the magic happens: we will show that any dimensional vector space doesn’t just look like, but “behaves the same” as .
Another way of thinking about a basis is we are looking for the smallest collection of vectors that allows us to express any vector as a linear combination from our collection.
Suppose a vector space has a basis composed of elements . Then, any other basis for also has the same number of elements in it. This number is called the dimension of , written as dim.
Both and have dimension . Note that dim because of the constant term in .
4Coordinate System¶
An important reason for specifying a basis for a vector space is to impose a coordinate system on . This section will show that if if dim, that is, if the basis has elements, then the coordinate system makes behave exactly like !
Let be a basis for a vector space . Then, for each , there exists a unique set of coefficients such that
For a given basis of a vector space , we can therefore define the vector as the coordinates for relative to by the weights in its representation:
Consider the standard basis for . Then we have , and so the -coordinates of are and , as expected.
What if we instead use he basis ? We need to find coordinates and such that
This linear system has a solution (it must!), and it is . In the coordinate system defined by , the coordinates for are .
Moving from basis to is called a change of basis. Can you pose this as finding the solution to ?
Let be the standard basis for . A typical element has the form .
We can read off the coordinates of with respect to , which we encode in the vector :
Notice that lives in ! Notice even further that the coefficients of the sum of polynomials:
can be obtained by adding their -coordinate vectors in :
You should check that the same connection between and also holds. By setting a suitable coordiante system (via a basis), working with elements of , which are polynomial functions, can be turned into working with ordinary vectors in !
The idea of going back and forth between the vector spaces is captured in terms of a vector space isomorphism. We do not yet have all of the tools needed to define this rigorously, but for now, we will interpret it as meaning that every vector space calculation in is accurately reproduced in , and vice versa.
In the above example, we used that and are isomorphic, so we can add and scale either the polynomials directly, or work with their coefficient vectors in . Even though they are closely related, they are not the same thing. Rather and are different ways of representing polynomials of degree , connected via the chosen basis .