Bases and Dimension of Abstract Vector Spaces

When working with \(\RR ^n\) and subspaces of \(\RR ^n\) we developed several fundamental ideas including span, linear independence, bases and dimension. We will find that these concepts generalize easily to abstract vector spaces and that analogous results hold in these new settings.

Linear Independence

Bases and Dimension

Recall that our motivation for defining a basis of a subspace of \(\RR ^n\) was to have a collection of vectors such that every vector of the subspace can be expressed as a unique linear combination of the vectors in that collection. Definition of a basis (??) generalizes to abstract vector spaces as follows.

By the definition of a basis, we know that \(\vec {v}\) can be written as a linear combination of \(\vec {v}_1, \vec {v}_2,\ldots ,\vec {v}_n\). Suppose there are two such representations. Then,

\[\vec {v}=a_1\vec {v}_1+ a_2\vec {v}_2+\ldots +a_n\vec {v}_n\]
\[\vec {v}=b_1\vec {v}_1+ b_2\vec {v}_2+\ldots +b_n\vec {v}_n\]
But then we have:
\begin{align*} a_1\vec {v}_1+ a_2\vec {v}_2+\ldots +a_n\vec {v}_n&=b_1\vec {v}_1+ b_2\vec {v}_2+\ldots +b_n\vec {v}_n\\ a_1\vec {v}_1+ a_2\vec {v}_2+\ldots +a_n\vec {v}_n-(b_1\vec {v}_1+ b_2\vec {v}_2+\ldots +b_n\vec {v}_n)&=\vec {0}\\ (a_1-b_1)\vec {v}_1+ (a_2-b_2)\vec {v}_2+\ldots +(a_n-b_n)\vec {v}_n&=\vec {0} \end{align*}

Because \(\vec {v}_1, \vec {v}_2,\ldots ,\vec {v}_n\) are linearly independent, we have \(a_i-b_i=0\) for \(1\leq i\leq n\). Consequently \(a_i=b_i\) for \(1\leq i\leq n\).

In Bases and Dimension we defined the dimension of a subspace of \(\RR ^n\) to be the number of elements in a basis. (Definition ??) We will adopt this definition for abstract vector spaces. As before, to ensure that dimension is well-defined we need to establish that this definition is independent of our choice of a basis. The proof of the following theorem is identical to the proof of its counterpart in \(\RR ^n\). (Theorem ?? )

Now we can state the definition.

In our discussions up to this point, we have always assumed that a basis is nonempty and hence that the dimension of the space is at least \(1\). However, the zero space \(\{\vec {0}\}\) has no basis. To accommodate for this, we will say that the zero vector space \(\{\vec {0}\}\) is defined to have dimension \(0\):

\begin{equation*} \mbox {dim }\{\vec {0}\} = 0 \end{equation*}

Our insistence that \(\mbox {dim}\{\vec {0}\} = 0\) amounts to saying that the empty set of vectors is a basis of \(\{\vec {0}\}\). Thus the statement that “the dimension of a vector space is the number of vectors in any basis” holds even for the zero space.

Finite-Dimensional Vector Spaces

Our definition of dimension of a vector space depends on the vector space having a basis. In this section we will establish that any vector space spanned by finitely many vectors has a basis.

Given a finite-dimensional vector space \(V\) we will find a basis for \(V\) by starting with a linearly independent subset of \(V\) and expanding it to a basis. The following results are more general versions of Lemmas ?? and ??, and Theorem ?? of Bases and Dimension. The proofs are identical and we will omit them.

Coordinate Vectors

Recall that in the context of \(\RR ^n\) (and subspaces of \(\RR ^n\)) the requirement that elements of a basis be linearly independent guarantees that every element of the vector space has a unique representation in terms of the elements of the basis. (See Theorem ?? of Introduction to Bases) We proved the same property for abstract vector spaces in Theorem 5.

Uniqueness of representation in terms of the elements of a basis allows us to associate every element of a vector space \(V\) with a unique coordinate vector with respect to a given basis. Coordinate vectors were first introduced in Introduction to Bases. We now give a formal definition.

Coordinate vectors will play a vital role in establishing one of the most fundamental results in linear algebra, that all \(n\)-dimensional vector spaces have the same structure as \(\RR ^n\). In Example ?? of Isomorphic Vector Spaces, for instance, we will show that \(\mathbb {P}^2\) is essentially the same as \(\RR ^3\).

Practice Problems

Consider the subset
\begin{equation*} C_A = \{X \in \mathbb {M}_{2,2} : AX = XA \} \end{equation*}
of \(\mathbb {M}_{2,2}\). (See Example 13)

Prove that set \(\mathcal {B}=\left \{\begin{bmatrix}1&1\\0&0\end{bmatrix},\begin{bmatrix}1&0\\0&1\end{bmatrix}\right \}\) is a linearly independent subset of \(C_A\).

Show that the following subset of \(\mathbb {P}^{2}\) is linearly independent, and is a basis of \(\mathbb {P}^{2}\).
\[\{1 + x, 1 - x, x + x^{2}\}\]
Show that the following subset of \(\mathbb {P}^{2}\) is linearly independent, and is a basis of \(\mathbb {P}^{2}\).
\[\{x^{2}, x + 1, 1 - x - x^{2}\}\]
Show that the following subset of \(\mathbb {M}_{2,2}\) is linearly independent, and is a basis of \(\mathbb {M}_{2,2}\).
\[ \left \{ \begin{bmatrix} 1 & 1 \\ 0 & 0 \end{bmatrix} , \begin{bmatrix} 1 & 0 \\ 1 & 0 \end{bmatrix} , \begin{bmatrix} 0 & 0 \\ 1 & -1 \end{bmatrix} ,\ \begin{bmatrix} 0 & 1 \\ 0 & 1 \end{bmatrix} \right \}\]
Find the coordinate vector for \(p(x)=6-2x+4x^2\) in \(\mathbb {P}^2\) with respect to
\[\mathcal {B}=\{1 + x, 1 - x, x + x^{2}\}\]
Answer:
\[[p(x)]_{\mathcal {B}}=\begin{bmatrix}\answer {0}\\\answer {6}\\\answer {4}\end{bmatrix}\]
Find the coordinate vector for \(p(x)=6-2x+4x^2\) in \(\mathbb {P}^2\) with respect to
\[\mathcal {B}=\{x^{2}, x + 1, 1 - x - x^{2}\}\]
Answer:
\[[p(x)]_{\mathcal {B}}=\begin{bmatrix}\answer {8}\\\answer {2}\\\answer {4}\end{bmatrix}\]
Find the coordinate vector for \(A=\begin{bmatrix}4&-3\\1&2\end{bmatrix}\) in \(\mathbb {M}_{2,2}\) with respect to the ordered basis
\[\mathcal {B}= \left \{ \begin{bmatrix} 1 & 1 \\ 0 & 0 \end{bmatrix} , \begin{bmatrix} 1 & 0 \\ 1 & 0 \end{bmatrix} , \begin{bmatrix} 0 & 0 \\ 1 & -1 \end{bmatrix} ,\ \begin{bmatrix} 0 & 1 \\ 0 & 1 \end{bmatrix} \right \}\]
Answer:
\[[A]_{\mathcal {B}}=\begin{bmatrix}\answer {-1}\\\answer {5}\\\answer {-4}\\\answer {-2}\end{bmatrix}\]

Text Source

The discussion of the zero space was adapted from Section 6.3 of Keith Nicholson’s Linear Algebra with Applications. (CC-BY-NC-SA)

W. Keith Nicholson, Linear Algebra with Applications, Lyryx 2018, Open Edition, p. 349

Example Source

Examples 2 and 13 were adapted from Examples 6.3.1 and 6.3.10 of Keith Nicholson’s Linear Algebra with Applications. (CC-BY-NC-SA)

W. Keith Nicholson, Linear Algebra with Applications, Lyryx 2018, Open Edition, p. 346, 350

Exercise Source

Practice Problems , and are Exercises 6.3(a)(b)(c) from Keith Nicholson’s Linear Algebra with Applications. (CC-BY-NC-SA)

W. Keith Nicholson, Linear Algebra with Applications, Lyryx 2018, Open Edition, p. 351