Week 3: Preparation#

Reading Material#

We recommend that you read the textbook. Watching YouTube videos on the week’s topics can be useful, but it should not replace proper preparation for the week’s program and is not recommended as a standalone approach.

Read and study the following:

Key Concepts#

After reading, you should be able to explain the following key concepts:

  • Vector spaces with inner product and norm

  • \(\mathbb{R}^n\) and \(\mathbb{C}^n\)

  • Projections on the line

  • Projections on subspaces

  • Orthonormal bases

  • The Gram-Schmidt procedure

  • Orthogonal and unitary matrices

This week, we will explore these key concepts in great detail. We expect you to have familiarized yourself with these topics before lectures.


Preparatory Exercises#

I: Inner Product in \(\mathbb{R}^4\)#

Let \(\pmb{u} = (1, -2, 3, 4)\) and \(\pmb{v} = (-1, 0, 2, -3)\) be vectors in \(\mathbb{R}^4\) with the usual inner product defined.

  1. Calculate \(\langle \pmb{u}, \pmb{v} \rangle\).

  2. Compute the length (norm) of each vector.

  3. Can an angle \(\theta\) between the two vectors be determined?

II: An Orthonormal Basis in \(\mathbb{R}^5\)?#

Consider these vectors in \(\mathbb{R}^5\):

\[\begin{equation*} \pmb{a}_1 = (1,1,0,0,0), \quad \pmb{a}_2 = (0,1,1,0,0). \end{equation*}\]

Question a#

Verify that the Gram-Schmidt procedure that orthonormalizes vectors produces the following result:

\[\begin{equation*} \pmb{u}_1 = \left(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}, 0, 0, 0\right), \quad \pmb{u}_2 = \left(-\frac{1}{\sqrt{6}}, \frac{1}{\sqrt{6}}, \frac{2}{\sqrt{6}}, 0, 0\right). \end{equation*}\]

Question b#

Does the resulting list of vectors \(\pmb{u}_1, \pmb{u}_2\) constitute an orthonormal basis for \(\mathbb{R}^5\)?

III: A Linear Map that is a Projection?#

Consider the linear map \(\mathrm{proj}_Y: \mathbb{R}^4 \to \mathbb{R}^4\) given by:

\[\begin{equation*} \mathrm{proj}_Y(\pmb{x}) = P\pmb{x}, \quad \text{where} \quad P = \begin{bmatrix} 1/2 & 0 & 1/2 & 0 \\ 0 & 1/2 & 0 & 1/2 \\ 1/2 & 0 & 1/2 & 0 \\ 0 & 1/2 & 0 & 1/2 \end{bmatrix}. \end{equation*}\]

Question a#

Show that \(\mathrm{proj}_Y\) is a linear map.

Question b#

Show that the vectors \((1,0,-1,0)\) and \((0,1,0,-1)\) are orthogonal to the rows in \(P\). What does this have to do with the null space/kernel of \(P\)?

This exercise will be continued later in this exercise in Week 3: Closure.