Type a command or search the notes. Tab cycles completions. Up and down recall history when blank. Escape dismisses, then leaves the prompt.
MATH
[1251]

Definitions from Derivatives and level-set geometry

All definitions from Derivatives and level-set geometry.

Function of several variables

A function of several variables is a map

f:D→R,D⊆Rn,x=(x1,…,xn)↦f(x),f:D\to\mathbb{R},\qquad D\subseteq\mathbb{R}^n, \qquad \mathbf{x}=(x_1,\ldots,x_n)\mapsto f(\mathbf{x}),

where n≥2n\ge2 and DD is the domain of allowed inputs.

When n=2n=2, the graph of ff is the surface z=f(x,y)z=f(x,y) in R3\mathbb{R}^3. A function of three variables has a graph in R4\mathbb{R}^4, which is harder to visualise, but the coordinate and vector formulas remain the same.

Level set

For F:D→RF:D\to\mathbb{R}, with D⊆RnD\subseteq\mathbb{R}^n and c∈Rc\in\mathbb{R}, the level set of FF at level cc is

{x∈D:F(x)=c}.\{\mathbf{x}\in D:F(\mathbf{x})=c\}.

For example, the graph z=x2−y2z=x^2-y^2 is the level set x2−y2−z=0x^2-y^2-z=0 and the unit sphere is the level set x2+y2+z2=1x^2+y^2+z^2=1. The function defining the level set need not be the same function whose graph we are studying.

Partial derivative

For f:D→Rf:D\to\mathbb{R} with D⊆RnD\subseteq\mathbb{R}^n, at an interior point x∈D\mathbf{x}\in D, the partial derivative with respect to xix_i is the one-variable derivative obtained by varying xix_i and holding every other coordinate fixed:

∂f∂xi(x)=lim⁡h→0f(x1,…,xi+h,…,xn)−f(x)h,\frac{\partial f}{\partial x_i}(\mathbf{x}) = \lim_{h\to0} \frac{ f(x_1,\ldots,x_i+h,\ldots,x_n)-f(\mathbf{x}) }{h},

when the limit exists.

The ordinary sum, product, quotient and chain rules still apply. Treat every variable other than the one being differentiated as a constant. For two variables we write fx=∂f/∂xf_x=\partial f/\partial x and fy=∂f/∂yf_y=\partial f/\partial y.

Gradient

For g:D→Rg:D\to\mathbb{R} with D⊆RnD\subseteq\mathbb{R}^n, at points where all first partial derivatives exist, the gradient is the vector-valued function

∇g(x)=(∂g∂x1(x)⋮∂g∂xn(x)).\nabla g(\mathbf{x}) = \begin{pmatrix} \dfrac{\partial g}{\partial x_1}(\mathbf{x})\\ \vdots\\ \dfrac{\partial g}{\partial x_n}(\mathbf{x}) \end{pmatrix}.

When gg is differentiable, the gradient has a second interpretation. For a unit direction u\mathbf u, the rate of change along the line x+tu\mathbf x+t\mathbf u is

Dug(x)=ddtg(x+tu)∣t=0=∇g(x)⋅u.D_{\mathbf u}g(\mathbf x) =\left.\frac{d}{dt}g(\mathbf x+t\mathbf u)\right|_{t=0} =\nabla g(\mathbf x)\cdot\mathbf u.

The Cauchy–Schwarz inequality gives ∣Dug∣≤∥∇g∥|D_{\mathbf u}g|\le\|\nabla g\|. When the gradient is non-zero, the maximum directional derivative is attained by taking u\mathbf u in the gradient direction (and the most negative rate in the opposite direction). Thus ∇g\nabla g points in the direction of steepest increase and its length is that maximum directional rate.

The linear map that gives first-order change is the total derivative (or derivative map). At a differentiable point it is represented by the gradient:

Dg(x)[h]=∇g(x)⋅h,Dug(x)=Dg(x)[u].Dg(\mathbf{x})[\mathbf{h}] =\nabla g(\mathbf{x})\cdot\mathbf{h}, \qquad D_{\mathbf{u}}g(\mathbf{x})=Dg(\mathbf{x})[\mathbf{u}].

Differentiability means this one linear map approximates change in every direction. The coordinate partial derivatives alone do not establish that, so they do not guarantee the directional-derivative formula above.

On this page