In mathematics, the derivative of a function at a point is the linear part of the best affine approximation to the function near the point. In one-variable calculus, this is the tangent line approximation. In multivariable calculus, the same property is generalized to define the derivative of a vector-valued function or function of a vector argument. Sometimes called the total derivative, in contrast with partial derivatives, the derivative approximates the function with respect to all of its arguments, not just a single one. In many situations, this is the same as considering all partial derivatives simultaneously. 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⊆ℝn be an open subset. Then a function f:U→ℝm is said to be differentiable at a point a∈U if there exists a linear transformation Dfa:ℝn→ℝm 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→ℝ 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.
… excerpt ends here. Continue reading the full article.
