Week 1: 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:

  • Scalar functions: particularly quadratic forms

  • Vector functions

  • Visualization of functions: Graphs and level curves/sets

  • Continuity

  • The standard inner product (dot product) and norm in \(\mathbb{R}^n\)

  • Partial derivatives and the Gradient vector

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: The Function Value at a Point#

Question a#

Substitute the values \(x = 2\) and \(y = -1\) into the functional expression \(f(x, y) = x^2 + 3xy + 4y^2\) and calculate \(f(2, -1)\).

Question b#

Let \(g: \mathbb{R}^2 \to \mathbb{R}\) be given by the functional expression \(g(x_1, x_2) = x_1^2 + 3x_1 x_2 + 4 x_2^2\). Calculate \(g(2, -1)\).

Question c#

Let \(\alpha \in \mathbb{R}\). Find \(g(2 \alpha, \alpha)\) and \(g(\alpha, 2 \alpha)\), where \(g\) is defined in the previous question. Calculate the derivative of \(g(2 \alpha, \alpha)\) with respect to \(\alpha\).

II: Limit of a Function \(f: \mathbb{R}^2 \to \mathbb{R}\)#

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

\[\begin{equation*} f(x,y) = \begin{cases} \displaystyle \frac{x\,y + x^3 + xy^2}{x^2 + y^2} & \text{if } (x,y)\neq (0,0),\\ 0, & \text{if } (x,y) = (0,0). \end{cases} \end{equation*}\]

Question a#

Find \(f(x, x)\) for \(x \neq 0\). Then find \(f(y, y)\) for \(y \neq 0\).

Question b#

Determine \(\lim_{x \to 0} f(x,x)\).

Question c#

Determine \( \lim_{x \to 0} f(x,2x) \).

Question d (extra, optional)#

Consider whether the limit \(\lim_{(x,y)\to (0,0)} f(x,y)\) exists.

III: Level Curves#

Describe the level curves (contour lines) for the function \(f: \mathbb{R}^2 \to \mathbb{R}\) givet ved \(f(x, y) = x^2 + y^2 - 5\).

IV: Graph or Level Curve?#

Below are shown the graph of a function \(f_1\) of one variable and a level curve of a function \(f_2\) of two variables. Which plot is the graph, and which is the level curve?

../_images/094a64368e8ee424f1937062ab8ae8aa850a93ad7c780acc3021e30f148a4958.png

V: Discontinuous at One Point#

Draw, describe, or define a function \(h: \mathbb{R} \to \mathbb{R}\) that is continuous at all points except for a single point.

VI: Discontinuity of the Heaviside Step Function#

Question a#

Plot the Heaviside step function given here in Python.

Question b#

Indicate the points where the function is discontinuous.

Question c#

Can you prove that the function is discontinuous at \(x_0 = 0\)?