Lably
Skip to content

Derivative (multivariable calculus)

Type of derivative in mathematics

  • 10 min read
  • 6 chapters
  • 5 labs on Lably

Learn it on Lably

In functional analysis, particularly in infinite dimensions, the derivative in this sense is called the Fréchet derivative.

Derivative as a linear map

Let U⊆Rn be an open subset. Then a function f:U→Rm is said to be differentiable at a point a∈U if there exists a linear transformation Dfa:Rn→Rm such that

limx→af(x)−f(a)−Dfa(x−a)‖x−a‖=0

where ‖…‖ denotes the norm of …. The linear map Dfa is called the derivative or differential of f at a. Here Dfa(x−a) refers to applying the linear transformation Dfa to the vector (x−a); in coordinates, this is a matrix-vector product. Other notations for the derivative include Daf and Df(a). A function is differentiable if its derivative exists at every point in its domain.

Conceptually, the definition of the derivative expresses the idea that Dfa is the best linear approximation to f(a+h)−f(a) for small h. This can be made precise by quantifying the error in the linear approximation Dfa. To do so, write f(a+h)=f(a)+Dfa(h)+ε(h), where ε(h) equals the error in the approximation. To say that the derivative of f at a is Dfa is equivalent to the statement ε(h)=o(h), where o is little-o notation and means that ε(h)/‖h‖ tends to zero as h→0. The derivative Dfa is the unique linear transformation for which the error term is this small, and this is the sense in which it is the best linear approximation to f(a+h)−f(a).

Differentiability

The function f is differentiable if and only if each of its components fi:U→R is differentiable, so when studying derivatives, it is often possible to work one coordinate at a time in the codomain. However, the same is not true of the coordinates in the domain. It is true that if f is differentiable at a, then each partial derivative ∂f/∂xi exists at a.

The converse does not hold: it can happen that all of the partial derivatives of f at a exist, but f is not differentiable at a. An example is the following function, which is continuous and has both partial derivatives zero at the origin, but is not differentiable there: f(x,y)={xyx2+y2(x,y)≠(0,0)0(x,y)=(0,0). (In polar coordinates, this function is f=rcos⁡θsin⁡θ.)

Even the existence and linearity of all directional derivatives at a point is not sufficient for differentiability; the essential additional requirement is that the linear approximation hold uniformly as the increment tends to zero from all directions. An example is f(x,y)={x2yx4+y2x2+y2(x,y)≠(0,0)0(x,y)=(0,0) whose directional derivatives are all 0 at (0,0), but which fails to be differentiable there.

However, if all the partial derivatives of f at a exist in a neighborhood of a and are continuous at a, then f is differentiable at a. If f is differentiable at a point, then the derivative of f is the linear transformation corresponding to the Jacobian matrix of partial derivatives at the point.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Calculus and analysis