Exercises – Long Day#


Exercise 1: A few 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}^{3}\).

Question a#

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

Question b#

State an ordered basis as well as a basis for the given vector spaces. What are the dimensions of the spaces?


Exercise 2: The Coordinate Vector 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 contains 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 list \((1,Z,Z^2)\) is an ordered basis for \(W\). Check that the list \((1,1+Z,1+Z+Z^2)\) also is an ordered basis for \(W\).

Question c#

We consider the two ordered bases for \(W\) from Question b, those being \(\beta=(1,Z,Z^2)\) and \(\gamma=(1,1+Z,1+Z+Z^2)\). Determine the following coordinate vectors:

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

and

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

Exercise 3: More Examples of Vector Spaces#

In this exercise we will ask the same questions as in Exercise 1, but this time for these new vector spaces:

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

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

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

Question a#

State the zero vector in each of the above vector spaces.

Question b#

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


Exercise 4: Linear Dependence or Independence#

Investigate whether the vectors are linearly dependent or independent in the following cases. In case of linear dependence, write one of the vectors as a linear combination of the others.

  1. The vectors \(\left[ \begin{array}{r} 1 \newline i \end{array}\right], \left[ \begin{array}{r} 1+i \newline -1+i \end{array}\right]\) 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 \(\left[ \begin{array}{r} 1 \newline i \end{array}\right], \left[ \begin{array}{r} 1+i \newline -1+i \end{array}\right]\) 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 5: Subspace of \(\mathbb{R}^{3 \times 3}\)#

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

  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: Subspaces 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 of } 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)\). Meaning, if \(p(Z)=a_0+a_1Z+a_2Z^2+\cdots+a_nZ^n\), then \(p'(Z)=a_1+2a_2Z+\cdots+na_nZ^{n-1}\).


Exercise 7: Subspaces and Systems of Linear Equations#

We consider the following system of linear equations 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}\]

Note that we investigated this system in Exercise 5 from Long Day in week 8. The solution set of the system is denoted by \(W\).

Question a#

Justify that \(W\) is a subspace in \(\mathbb{R}^5\,\), determine \(\dim(W)\), and choose a basis for \(W\).

Question b#

Let \(\beta\) be an ordered basis for \(W\). We are given three vectors \(\mathbf{v}_1,\mathbf{v}_2,\) and \(\mathbf{v}_3\) in \(W\) that fulfill that

\[\begin{split}[\mathbf{v}_1]_\beta=\left[\begin{array}{c} 1\\ 0 \\ -2\end{array}\right]\, , \quad [\mathbf{v}_2]_\beta=\left[\begin{array}{c} 1 \\ 1 \\ 1\end{array}\right] \quad \text{og} \quad [\mathbf{v}_3]_\beta=\left[\begin{array}{c} 2 \\ 0 \\ 1 \end{array}\right].\end{split}\]

Is \(\{\mathbf{v}_1,\mathbf{v}_2,\mathbf{v}_3\}\) a basis for \(W\)?


Exercise 8: Subspaces#

Let \(V\) be a vector space over a field \(\mathbb F\).

Question a#

Given two subspaces \(W_1\), \(W_2\) in \(V\), show that \(W_1 \cap W_2\) is also a subspace in \(V\).

Question b#

Find an example of a real vector space \(V\) along with two subspaces \(W_1\), \(W_2\) in \(V\) such that \(W_1 \cup W_2\) is not a subspace in \(V\).

Remark#

The Python test on the notebook from Python module 2 released last week will open in Möbius at 15:30 and close at 17:00.