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
where and is the domain of allowed inputs.
When , the graph of is the surface in . A function of three variables has a graph in , which is harder to visualise, but the coordinate and vector formulas remain the same.
Level set
For , with and , the level set of at level is
For example, the graph is the level set and the unit sphere is the level set . The function defining the level set need not be the same function whose graph we are studying.
Partial derivative
For with , at an interior point , the partial derivative with respect to is the one-variable derivative obtained by varying and holding every other coordinate fixed:
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 and .
Gradient
For with , at points where all first partial derivatives exist, the gradient is the vector-valued function
When is differentiable, the gradient has a second interpretation. For a unit direction , the rate of change along the line is
The Cauchy–Schwarz inequality gives . When the gradient is non-zero, the maximum directional derivative is attained by taking in the gradient direction (and the most negative rate in the opposite direction). Thus 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:
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.