Throughout, is open. Scalar-valued formulas use ; vector-valued derivatives act componentwise.

Partial & Directional Derivatives

Partial derivative: vary one coordinate, keeping the others fixed; geometrically, the slope of a coordinate slice.

Directional derivative: for ,

Use for a rate of change per unit distance. Example: gives and .

Total Derivative, Jacobian

Notation

here is a displacement vector, unlike the scalar above

For ( open), differentiability at position means a linear map satisfies

This unique map is the differential (total derivative, also written as ). Its matrix is the Jacobian

Notation

is the actual change in the function value caused by the input displacement is the change in output component .

Why this layout? In one dimension, . For inputs and outputs, each output change satisfies . Stacking these equations gives

Row describes output ; column describes how all outputs change when only input varies. Entry is , and is an -component prediction of the output change.

Gradient

For scalar , the gradient is . If is differentiable,

The tangent approximation is . Differentiability implies continuity and existence of all directional derivatives;

Warning

existence of partial derivatives alone does not imply differentiability.

Scalar output: the Jacobian has just one row, whereas the gradient is a column vector:

Vector output: each scalar component has its own gradient. Their transposes form the rows of the Jacobian:

Regularity Classes

ClassMeaning
Continuous functions
All partial derivatives through order exist and are continuous
Smooth: belongs to for every

Sufficient condition: continuous first partial derivatives on imply differentiability on . Sums, products (scalar-valued), and compatible compositions preserve regularity.

Chain Rule

If is differentiable at and at , with open, then

Componentwise: .

Higher Partial Derivatives

In two variables: , where .

Schwarz’s theorem: if , then . More generally, for , any permutation of the same differentiations gives the same result.

Multivariable Taylor Expansion

For a multi-index , define , , , and . Also, means for every .

If and the segment lies in for , then

The integral remainder is

In particular, for , the second-order form is

where is the Hessian, symmetric for functions.