From the previous two sections, we have good feeling for what a vector space is. Basically it is a set of vectors (vectors in \(\mathbb{R}^n\text{,}\) polynomials, matrices, other functions) with addition and scalar multiplication and other properties. However, how can one write elements in the vector space.
Subsection4.3.1The Basis and Dimension of a Vector Space
In the previous section, we saw that there some correspondence between a vector space and a set of spanning vectors. In this section, we formalize this relationship.
Note: the basis will be a tuple of vectors because the order of the vectors will be important. We will denote the tuple with parentheses, \(( \boldsymbol{s}_1, \boldsymbol{s}_2, \ldots )\text{.}\)
is a different basis of \(\mathbb{R}^2\) because of the order of vectors. The fact that they span \(\mathbb{R}^2\) and are linearly independent do not depend on the order.
Although there are lots of different bases for a given subspace, there are some that are more useful than others. There is a basis for more subspaces called a standard basis.
is called the standard basis or natural basis of \(\mathbb{R}^n\text{.}\) The vectors in the basis are called \(\boldsymbol{e}_1, \boldsymbol{e}_2, \ldots\text{.}\)
We saw bases of vector spaces (or subspaces) at the beginning of this course without knowing that they were vector spaces. For example, in ExampleΒ 1.4.5, we solved a linear system. Itβs associated homogeneous system is
If we let \(\boldsymbol{v}_1\) and \(\boldsymbol{v}_2\) be the two vectors above, then \((\boldsymbol{v}_1, \boldsymbol{v}_2)\) form a basis of the solution space. Since there are only two vectors and they are not constant multiples of each other, itβs easy to see that they are linearly independent. Also because of the form of the solution set, you can also see that that span the space.
In a vector space with basis \(B\text{,}\) the representation of a vector \(\boldsymbol{v}\) with respect to the basis \(B\) is the column vector of the coefficients used to express \(\boldsymbol{v}\) as a linear combination of the basis vectors:
Consider the space \({\cal P}_2\text{,}\) the space of quadratic functions. Let \(B=( 1, 1+x,1+x+x^2, )\) be a basis of \({\cal P}_2\) and \(\boldsymbol{v} = 2x+x^2\text{.}\) To find the representation, we need to find \(c_1, c_2\) and \(c_3\) such that
Subsubsection4.3.1.1Representations in the natural basis
As we saw above, finding representations in a basis requires solving another linear system. However, representations in the natural basis are simple calculations. If we used the natural basis \(E=( 1, x, x^2 )\) for the quadratic example above, then
are just the coefficients of \(x^n\) terms of the vector \(2x+x^2\text{.}\) The following example shows that the representation of a vector in \(\mathbb{R}^3\) is what we expect, itself.
\begin{equation*}
\text{Rep}_B \left( \begin{bmatrix} a \amp b \\ c \amp d \end{bmatrix} \right) = \begin{bmatrix} a \\ b \\ c \\ d \end{bmatrix}
\end{equation*}
and this shows that matrices (which are vectors in the formal sense of vector spaces) can be represented by vectors by reshaping the matrix as a vector.
We have been talking about a few big topics in this chapter. One of those is the spanning set of a vector space. We noted that many different sets can span a vector space. This brought in the notation of linear independence and a basis. However for a vector space there can be many different bases.
Although we did introduce a natural basis, this works well for some spaces, like \({\cal P}_2\) and \(\mathbb{R}^3\text{,}\) however what is the natural basis for a solution of homogeneous linear system.
Perhaps if two people argue over the basis of a vector space, one thing they will agree on is the number of vectors in a basis as we will see. We noted earlier that disregarding extra vectors is generally a good thing to result in a basis, but there is a unique thing about bases and that is the number of vectors in any basis.
The dimension of \(\mathbb{R}^n\) is \(n\text{.}\) Although there are many bases, consider \(\mathcal{E}_n\text{,}\) the natural basis, which has \(n\) elements.
There were a number of important ideas in this section, so a summary is necessary. The basis of a space or subspace is useful for writing down elements in the space. That is, if we know the basis, then we know whatβs in the space. Additionally, the representation of an element are the coefficients in terms of the basis.
This means that any vector in a finite-dimensional vector space can be represented as a vector and as we will see this will be helpful in that we can use many of the nice techniques from ChapterΒ 1 and ChapterΒ 2 to help. We will start to see that since we can write any polynomial as a vector, that many operations that we do to polynomials (such as multiplication, differentiation, and integration) can be done using matrices and vectors.