Exercises – Long Day#


Exercise 1: Examples of Vector Spaces#

In this exercise we consider the following examples of vector spaces.

  1. The real vector space \(V_1=\mathbb{R}^{4}\).

  2. The complex vector space \(V_2=\mathbb{C}^{4}\).

  3. The real vector space \(V_3=\mathbb{R}^{4 \times 2}\).

  4. The complex vector space \(V_4=\mathbb{C}[Z]\).

  5. The real vector space \(V_5=\mathbb{C}\).

Question a#

According to Definition 9.1.1 in the textbook, each vector space contains a zero vector \({\mathbf 0}\). State the zero vector in each of the above five vector spaces.

Question b#

Provide a basis for the given vector spaces, and determine the dimensions of the spaces.


Exercise 2: Coordinates of a Vector with respect to an Ordered Basis#

Let \(W= \{a+bZ+cZ^2 \, \mid \, a,b,c\in \mathbb{C}\} \subset \mathbb{C}[Z]\) be the set that consists of all polynomials of degree no higher than two.

Question a#

Check that \(W\) is a subspace of the complex vector space \(\mathbb{C}[Z]\).

Question b#

Check that the sequence \((1,Z,Z^2)\) is an ordered basis for \(W\). Check that the sequence \((1,1+Z,1+Z+Z^2)\) also is an ordered basis for \(W\).

Question c#

We are now given two ordered bases for \(W\), those being \(\beta=(1,Z,Z^2)\) and \(\gamma=(1,1+Z,1+Z+Z^2)\). Determine the coordinate sets of the following:

\[ \left[2+5Z+Z^2\right]_\beta \, , \quad \left[5Z+10Z^2\right]_\beta \, , \quad \left[2+5Z+Z^2\right]_\gamma \, , \quad \left[5Z+10Z^2\right]_\gamma \, .\]

Exercise 3: Linear Dependency vs. Independency#

Investigate whether the vectors are linearly dependent or linearly independent in the following cases. Where you find linear dependency, write one of the vectors as a linear combination of the others.

  1. The vectors \((1,i), (1+i,-1+i)\) in the complex vector space \(\mathbb{C}^{2}\).

  2. The matrices \(\left[ \begin{array}{rrr} 1 & 2 & 0 \newline 1 & 1 & 1 \end{array}\right], \left[ \begin{array}{rrr} 1 & 1 & 2 \newline 0 & 0 & 1 \end{array}\right], \left[ \begin{array}{rrr} 2 & 5 & -2 \newline 3 & 3 & 2 \end{array}\right]\) in the real vector space \(\mathbb{R}^{2\times 3}\).

  3. The vectors \((1,i), (1+i,-1+i)\) in the real vector space \(\mathbb{C}^{2}\).

  4. The polynomials \(1 + 2Z + Z^{2}, \, 2 + 7Z +3Z^{2} + Z^{3}, \, 3 + 12Z + 5Z^{2} +2Z^{3}\) in the real vector space \(\mathbb{R}[Z]\).


Exercise 4: Ordered Bases and Coordinates in \(\mathbb{R}^4\)#

In \(\mathbb{R}^4\) we are given five vectors:

\[\begin{split} {\mathbf v}_1=\left[\begin{array}{r}1\\-1\\2\\1\end{array}\right],\, {\mathbf v}_2=\left[\begin{array}{r}0\\1\\1\\3\end{array}\right],\, {\mathbf v}_3=\left[\begin{array}{r}1\\-2\\2\\-1\end{array}\right],\, {\mathbf v}_4=\left[\begin{array}{r}0\\1\\-1\\3\end{array}\right], \, {\mathbf v}=\left[\begin{array}{r}1\\-2\\2\\-3\end{array}\right].\end{split}\]

Justify that \(\beta=({\mathbf v}_1,{\mathbf v}_2,{\mathbf v}_3,{\mathbf v}_4)\) is an ordered basis for \(\mathbb{R}^4\,\), and determine the \(\beta\) coordinate vector \([{\mathbf v}]_\beta\). SymPy may be used to compute the reduced row-echelon form of matrices.


Exercise 5: Subspace of \(\mathbb{R}^{3 \times 3}\)#

Let \(V=\mathbb{R}^{3 \times 3}\) be the real vector space that consists of all \(3 \times 3\) matrices with real coefficients. The following three subsets of \(V\) are given:

  1. \(W_1\) is the set of all upper triangular matrices in \(V\).

  2. \(W_2\) is the set of all diagonal matrices in \(V\).

  3. \(W_3=\left\{ {\mathbf A} \in \mathbb{R}^{3 \times 3} \, \mid \, {\mathbf A} = -{\mathbf A}^T\right\}.\)

Question a#

Check that \(W_1\), \(W_2\), and \(W_3\) all are subspaces of \(V\).

Question b#

Find a basis for the three subspaces \(W_1\), \(W_2\), and \(W_3\). What are the dimensions of the subspaces?


Exercise 6: Subspace of \(\mathbb{C}[Z]\)#

Which of the following three sets are subspaces of the complex vector space \(\mathbb{C}[Z]\)?

  1. \(W_1=\{p(Z) \in \mathbb{C}[Z] \, \mid \, p(0)=0\}.\)

  2. \(W_2=\{p(Z) \in \mathbb{C}[Z] \, \mid \, 0 \text{ is a root in } p(Z) \text{ with a multiplicity of } 1\}.\)

  3. \(W_3=\{p(Z) \in \mathbb{C}[Z] \, \mid \, Z\cdot p'(Z)=p(Z)\},\) where \(p'(Z)\) denotes the derivative of \(p(Z)\).


Exercise 7: Subspaces and Systems of Linear Equations#

Justify that the solution set to the linear equation system over \(\mathbb R\)

\[\begin{split} \left\{ \begin{array}{rcl} x_2 +3x_3 - x_4+2x_5 & = & 0\\ 2x_1+3x_2+x_3+3x_4 & = & 0\\ x_1 + x_2 -x_3 + 2x_4-x_5 & = & 0 \end{array} \right. \end{split}\]

is a subspace in \(\mathbb{R}^5\,\). State the dimension of the subspace, and determine a basis for this subspace.


Exercise 8: Span of Vectors#

In \(\mathbb{R}^6\) we are given the four vectors:

\[{\mathbf u}_1=(1,0,1,0,1,0)\, , \quad {\mathbf u}_2=(0,1,1,1,1,-1)\,, \quad {\mathbf v}_1=(4,-5,-1,-5,-1,5)\, , \quad {\mathbf v}_2=(-3,2,-1,2,-1,-2)\,.\]

Question a#

Show that \({\mathbf u}_1\) and \({\mathbf u}_2\) span the same subspace in \(\mathbb{R}^6\) as \({\mathbf v}_1\) and \({\mathbf v}_2\). In other words, show that \(\mathrm{Span}({\mathbf u}_1,{\mathbf u}_2)=\mathrm{Span}({\mathbf v}_1,{\mathbf v}_2)\).

Question b#

Provide a vector in \(\mathbb{R}^6\) that is not contained within \(\mathrm{Span}({\mathbf u}_1,{\mathbf u}_2)\).


Exercise 9: Subspaces#

Let \(V\) be a vector space over a field \(\mathbb F\). Given two subspaces \(W_1\), \(W_2\) of \(V\), show that \(W_1 \cap W_2\) is also a subspace of \(V\).