Week 3: Preparation#

Reading Material#

  • Review: We recommend that you review the Mathematics 1a curriculum on vector spaces, spans, and bases

  • Reading: In Chapter 2, read Sections 2.1, 2.3 through 2.6, and 2.10

  • Python: Demo 3

Key Concepts#

Long Day will cover:

  • Vector spaces with inner product and norm

  • Inner product and norm in \(\mathbb{R}^n\) and \(\mathbb{C}^n\)

  • Inner product and norm in \(\mathsf M_{n\times m}(\Bbb R)\) and \(\Bbb R[Z]\)

  • Projections on the line

  • Orthonormal bases

  • The Gram-Schmidt procedure

Short Day will cover:

  • Orthogonal and unitary matrices

  • Projections on subspaces

  • The orthogonal complement


Preparatory Exercises#

I: Absolute Value in \(\mathbb{C}\)#

Calculate the absolute value of the following complex numbers:

  • \(2\)

  • \(3i\)

  • \(-2i\)

  • \(1-2i\)

  • \(-4-4i\)

If \(z=a + i b\), what is then the definition of \(|z|\)? Can \(|z|\) be negative? Is the absolute value \(|z|\) a norm on the vector space \(\mathbb{C}\)?

II: 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?

III: 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\)?

IV: 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.