The purpose of this lecture is to provide a “crash course” on calculus with multiple variables. The motivation in the context of optimization should be obvious:

We will (briefly) cover in this lecture:

The general approach will be based on reducing the multi-variable case to the single-variable case, and using classical results we know from basic calculus.

Differentiation of Real-valued Functions

Recap: Differentiability in single variable

<aside> 💡 Definition: differentiable, single variable For $f : (a,b) \to \R$ and $x \in (a,b)$, if

$$

\lim_{h\to 0} \frac{f(x+h) - f(x)}{h} \quad\text{exists}, $$

then:

Our first goal is to generalize this definition to multivariate functions $f : \R^d \to \R$.

Preliminary: Limits of multivariate functions