Week 2: 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 functions of multiple variables

  • Directional derivatives

  • Differentiability

  • The Jacobian matrix (or just the Jacobian)

  • The gradient vector

  • The chain rule

  • The Hessian matrix (or just the Hessian)

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: A Composite Function#

Let \(g : \mathbb{R}^2 \to \mathbb{R}\) be given by

\[\begin{equation*} g(x,y) = e^{2x+y}, \end{equation*}\]

and let \(\pmb{f} : \mathbb{R} \to \mathbb{R}^2\) be given by

\[\begin{equation*} \pmb{f}(t) = \bigl(t^2, \sin(t)\bigr). \end{equation*}\]

Question a#

Find the composite function \(g \circ \pmb{f}\).

Question b#

Calculate the derivative

\[\begin{equation*} \frac{d}{dt}(g \circ \pmb{f})(t). \end{equation*}\]

Question c#

Is the composite function \(\pmb{f} \circ g\) well-defined?

II: Partial Derivatives and Directional Derivatives#

Let \(f : \mathbb{R}^2 \to \mathbb{R}\) be given by

\[\begin{equation*} f(x,y) = x^2 y + y^3. \end{equation*}\]

Question a#

Calculate the partial derivatives \(\frac{\partial f}{\partial x}\) and \(\frac{\partial f}{\partial y}\) at the point \((1,2)\).

Question b#

Calculate the gradient vector \(\nabla f(x,y)\), and state \(\nabla f(1,2)\).

Question c#

Calculate the directional derivative in the direction given by \(\pmb{e}_1=[1,0]^T\) at the point \((1,2)\). Also, calculate the directional derivative in the direction given by \(\pmb{e}_2=[0,1]^T\) at the point \((1,2)\).

Question d#

What do the answers in questions b and c have to do with each other?

III: A Vector Function in Three Variables#

Let \(\pmb{f} : \mathbb{R}^3 \to \mathbb{R}^2\) be given by

\[\begin{equation*} \pmb{f}(x,y,z) = \bigl(xy + z, x - yz\bigr). \end{equation*}\]

Question a#

Calculate \(\pmb{f}(1,2,3)\).

Question b#

Find the Jacobian matrix \(\pmb{J}_{\pmb{f}}(x,y,z)\). Calculate \(\pmb{J}_{\pmb{f}}(1,2,3)\).