Exercises – Long Day#

Exercise 1: Linearity#

Two maps \(f: \mathbb{R}^2 \to \mathbb{R}^2\) and \(g: \mathbb{R}^2 \to \mathbb{R}^2\), both between real vector spaces, are given by:

\[\begin{split}f\left(\left[\begin{array}{r} x_1\\ x_2 \end{array}\right]\right)=\left[\begin{array}{r} x_1-x_2\\-x_1+x_2\end{array}\right] \quad \text{and} \quad g\left(\left[\begin{array}{r}x_1\\x_2\end{array}\right]\right)=\left[\begin{array}{r}-x_2\\x_1^{2}\end{array}\right]. \end{split}\]

Show that only one of the two maps is linear.

Exercise 2: Linear maps defined by diagonal matrices#

Let \(\lambda_1,\lambda_2 \in \mathbb{R}\) and define

\[\begin{split}{\mathbf A}=\left[\begin{array}{rr} \lambda_1 & 0\\ 0 & \lambda_2\end{array}\right].\end{split}\]

In this exercise we wish to investigate what effect the linear map \(L_{\mathbf A}: \mathbb{R}^2 \to \mathbb{R}^2\) defined by \(L_{\mathbf A}\left({\mathbf v}\right)={\mathbf A}\cdot {\mathbf v}\) has on the set \(\mathcal{K}=\{(v_1,v_2) \, \mid \, 0 \le v_1 \le 1, \, 0 \le v_2 \le 1\}\).

Question a#

Sketch the set \(\mathcal{K}\) in \(\mathbb{R}^2\).

Question b#

Sketch the set \(L_{\mathbf A}(\mathcal{K})\), meaning the set \(\{L_{\mathbf A}({\mathbf v}) \, \mid \, {\mathbf v} \in \mathcal{K} \}\), in the following cases:

  1. For \(\lambda_1=1\) and \(\lambda_2=1\).

  2. For \(\lambda_1=2\) and \(\lambda_2=3\).

  3. For \(\lambda_1=-1\) and \(\lambda_2=2\).

  4. For \(\lambda_1=-4\) and \(\lambda_2=-3\).

Question c#

With \(\mathcal{K}\) and the four matrices \({\mathbf A} \in \mathbb{R}^{2 \times 2}\) from Question b, check that the area of \(L_{\mathbf A}(\mathcal{K})\) equals \(|\det({\mathbf A})|\).

Note: In fact, it can be shown that the area of \(L_{\mathbf A}(\mathcal{K})\) equals \(|\det({\mathbf A})|\) for any matrix \({\mathbf A} \in \mathbb{R}^{2 \times 2}\).

Exercise 3: Linear maps and differentiation#

As in Example 10.4.5 in the textbook, the notation \(C_\infty(\mathbb R)\) denotes a real vector space consisting of all functions from \(\mathbb{R}\) to \(\mathbb{R}\) that can be differentiated any number of times. In this exercise we consider the subspace \(V_1\) of \(C_\infty(\mathbb{R})\) that is spanned by the functions \(\mathrm e^t, \mathrm e^{-t}, \cos(t)\) and \(\sin(t)\). You may use the fact that these four functions are linearly independent over \(\mathbb{R}\) and hence that they constitute an ordered basis for \(V_1\).

We now define a function \(L: V_1 \to V_1\) by the expression \(L(f)=f'+f\), where \(f \in V_1\) and where \(f'\) denotes the derivative of the function \(f\).

Question a#

Show that the function \(L\) is a linear map between real vector spaces.

Question b#

Determine the mapping matrix \({}_\beta [L] _\beta\), given the ordered basis \(\beta=(\mathrm e^t,\mathrm e^{-t},\cos(t),\sin(t))\).

Exercise 4: Change of basis and mapping matrices#

We are given the vectors

\[\begin{split}\mathbf v_1 = \left[\begin{array}{r} 1\\ 2\end{array}\right] \text{ and } \mathbf v_2=\left[\begin{array}{r} 3\\ 7\end{array}\right] \,\text{ from $\mathbb{R}^2$},\end{split}\]

as well as

\[\begin{split}\mathbf w_1 = \left[\begin{array}{r} 1\\ 2\\ 2\end{array}\right], \mathbf w_2 = \left[\begin{array}{r} 2\\ 3\\1\end{array}\right] \text{ and } \mathbf w_3 = \left[\begin{array}{r} 1\\ 2\\1\end{array}\right] \,\text{ from $\mathbb{R}^3$}.\end{split}\]

We now define the ordered bases

\[\begin{split}\beta=\left(\mathbf v_1,\mathbf v_2\right) \quad \text{and} \quad \epsilon=\left( \left[\begin{array}{r} 1\\ 0\end{array}\right],\left[\begin{array}{r} 0\\ 1\end{array}\right]\right) \text{ for $\mathbb{R}^2$}\end{split}\]

as well as

\[\begin{split}\gamma=\left(\mathbf w_1,\mathbf w_2,\mathbf w_3\right) \quad \text{and} \quad \eta=\left( \left[\begin{array}{r} 1\\ 0\\ 0\end{array}\right],\left[\begin{array}{r} 0\\ 1\\0\end{array}\right],\left[\begin{array}{r} 0\\ 0\\1\end{array}\right]\right) \text{ for $\mathbb{R}^3$}.\end{split}\]

A linear map \(L:\mathbb{R}^2\to \mathbb{R}^3\,\) satisfies

\[L(\mathbf{v}_1)=\mathbf{w}_1+\mathbf{w}_2-3\mathbf{w}_3 \quad \mathrm{and} \quad L(\mathbf{v}_2)=\mathbf{w}_1-\mathbf{w}_2-2\mathbf{w}_3\,.\]

We wish to find the mapping matrix \({}_\eta[L]_\epsilon\), meaning the mapping matrix of \(L\) with respect to the ordered standard bases.

Question a#

Start by finding the mapping matrix \({}_\gamma[L]_\beta\) of \(L\).

Question b#

Use your answer above to find the mapping matrix \({}_\eta[L]_\beta\) of \(L\).

Question c#

And now for the final step, use your above answer to find the mapping matrix \({}_\eta[L]_\epsilon\) of \(L\).

Exercise 5: Kernel of a linear map#

Let \(V_1\) and \(V_2\) be two vector spaces over a field \(\mathbb{F}\). Show that the kernel of a linear map \(L: V_1 \to V_2\) is a subspace of \(V_1\).

Exercise 6: Linear map from a vector space of polynomials#

Let \(V_1=\{aZ^2+bZ+c \, \mid \, a,b,c \in \mathbb{R}\}\) be a subspace of the real vector space \(\mathbb{R}[Z]\) consisting of all polynomials of degree no higher than two. We define a function \(L: V_1 \to \mathbb{R}\) by the expression \(p(Z) \mapsto p'(1)\). The expression \(p'(1)\) is the number you obtain from substituting \(1\) into \(p'(Z)\), where \(p'(Z)\) denotes the derivative of \(p(Z)\).

Question a#

Calculate \(L(Z^2+Z)\) and \(L(5Z^2-10Z+4)\).

Question b#

Show that \(L\) is a linear map between real vector spaces.

Question c#

Provide a basis for \(\mathrm{ker}(L)\).

Question d#

Show that \(\mathrm{image}(L)=\mathbb{R}\). Conclude that the map \(L\) is surjective.

Exercise 7: Injective linear maps#

A function \(f: A \to B\) is called injective if and only if, for all \(a_1,a_2 \in A\), \(f(a_1)=f(a_2)\) implies \(a_1=a_2\). Reread the text before Example 2.2.4 in the textbook for a review of this concept.

In this exercise we will investigate what it means for a linear map \(L: V_1 \to V_2\) between two vector spaces \(V_1\) and \(V_2\) over \(\mathbb{F}\) to be injective.

Question a#

Show that if \(L\) is injective, then \(\mathrm{ker}(L)=\{{\mathbf 0}\}\).

Question b#

Show that if \(\mathrm{ker}(L)=\{{\mathbf 0}\}\), then \(L\) is injective.

Question c#

Conclude based on the two previous questions that a linear map \(L: V_1 \to V_2\) between two vector spaces \(V_1\) and \(V_2\) over \(\Bbb F\) is injective if and only if \(\mathrm{ker}(L) = \{{\mathbf 0}\}\).

Exercise 8: Investigation of a linear map from \(\Bbb R^4\) to \(\Bbb R^3\)#

Let \(L:\mathbb{R}^4 \to \mathbb{R}^3\) be given by the expression

\[\begin{split} L\left(\left[\begin{array}{r} v_1\\ v_2\\ v_3\\ v_4 \end{array}\right] \right)= \left[\begin{array}{r} v_1+v_2+3v_3+v_4\\ 3v_1-v_2+2v_3+4v_4\\ 2v_1+2v_2+6v_3+2v_4 \end{array}\right]. \end{split}\]

Question a#

Find a matrix \({\mathbf A} \in \mathbb{R}^{3 \times 4}\) that satisfies

\[\begin{split} L\left(\left[\begin{array}{r} v_1\\ v_2\\ v_3\\ v_4 \end{array}\right] \right)={\mathbf A}\cdot \left[\begin{array}{r} v_1\\ v_2\\ v_3\\ v_4 \end{array}\right]. \end{split}\]

Use Lemma 11.1.1 from the textbook to conclude that \(L\) is a linear map.

Question b#

Let \(\beta\) be the ordered standard basis for \(\mathbb{R}^4\) and \(\gamma\) the one for \(\mathbb{R}^3\). Check that \({\mathbf A} = {}_\gamma[L]_\beta\).

Question c#

Provide an ordered basis for the kernel of \(L\) as well as the dimension of the kernel.

Question d#

Provide a basis for the image space of \(L\) as well as the dimension of the image space.

Python test 2#

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

Have you finished all the exercises?#

Are you done with the exercises of the day and just waiting for the Python test to start, then click here for some challenging optional extra exercises.