In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non-vertical tangent line at each interior point in its domain. A differentiable function is smooth (the function is locally well approximated as a linear function at each interior point) and does not contain any break, angle, or cusp.
If is an interior point in the domain of a function, then is said to be differentiable at if the derivative
f'(x0)
k
For a multivariable function, as shown here, the differentiability of it is something more complex than the existence of the partial derivatives of it.
A function
f:U\toR
a\inU
f'(a)=\limh\to0
f(a+h)-f(a) | |
h |
This function is said to be differentiable on if it is differentiable at every point of . In this case, the derivative of is thus a function from into
R.
A continuous function is not necessarily differentiable, but a differentiable function is necessarily continuous (at every point where it is differentiable) as being shown below (in the section Differentiability and continuity). A function is said to be continuously differentiable if its derivative is also a continuous function; there exist functions that are differentiable but not continuously differentiable (an example is given in the section Differentiability classes).
See also: Continuous function. If is differentiable at a point, then must also be continuous at . In particular, any differentiable function must be continuous at every point in its domain. The converse does not hold: a continuous function need not be differentiable. For example, a function with a bend, cusp, or vertical tangent may be continuous, but fails to be differentiable at the location of the anomaly.
Most functions that occur in practice have derivatives at all points or at almost every point. However, a result of Stefan Banach states that the set of functions that have a derivative at some point is a meagre set in the space of all continuous functions.[1] Informally, this means that differentiable functions are very atypical among continuous functions. The first known example of a function that is continuous everywhere but differentiable nowhere is the Weierstrass function.
See main article: Smoothness. A function is said to be if the derivative exists and is itself a continuous function. Although the derivative of a differentiable function never has a jump discontinuity, it is possible for the derivative to have an essential discontinuity. For example, the functionis differentiable at 0, sinceexists. However, for
x ≠ 0,
x\to0.
Similarly to how continuous functions are said to be of continuously differentiable functions are sometimes said to be of . A function is of if the first and second derivative of the function both exist and are continuous. More generally, a function is said to be of if the first
k
f(n)
A function of several real variables is said to be differentiable at a point if there exists a linear map such that
\limh\to
| ||||||||
|
=0.
If a function is differentiable at, then all of the partial derivatives exist at, and the linear map is given by the Jacobian matrix, an n × m matrix in this case. A similar formulation of the higher-dimensional derivative is provided by the fundamental increment lemma found in single-variable calculus.
If all the partial derivatives of a function exist in a neighborhood of a point and are continuous at the point, then the function is differentiable at that point .
However, the existence of the partial derivatives (or even of all the directional derivatives) does not guarantee that a function is differentiable at a point. For example, the function defined by
is not differentiable at, but all of the partial derivatives and directional derivatives exist at this point. For a continuous example, the function
f(x,y)=\begin{cases}y3/(x2+y2)&if(x,y)\ne(0,0)\ 0&if(x,y)=(0,0)\end{cases}
is not differentiable at, but again all of the partial derivatives and directional derivatives exist.
See also: Multivariable calculus.
See main article: Holomorphic function. In complex analysis, complex-differentiability is defined using the same definition as single-variable real functions. This is allowed by the possibility of dividing complex numbers. So, a function is said to be differentiable at when
f'(a)=\lim\underset{h\inC{h\to0}}
f(a+h)-f(a) | |
h |
.
Although this definition looks similar to the differentiability of single-variable real functions, it is however a more restrictive condition. A function , that is complex-differentiable at a point is automatically differentiable at that point, when viewed as a function
f:R2\toR2
\lim\underset{h\inC{h\to0}}
|f(a+h)-f(a)-f'(a)h| | |
|h| |
=0.
However, a function can be differentiable as a multi-variable function, while not being complex-differentiable. For example,
f(z)= | z+\overline{z |
f(x,y)=x
Any function that is complex-differentiable in a neighborhood of a point is called holomorphic at that point. Such a function is necessarily infinitely differentiable, and in fact analytic.
If M is a differentiable manifold, a real or complex-valued function f on M is said to be differentiable at a point p if it is differentiable with respect to some (or any) coordinate chart defined around p. If M and N are differentiable manifolds, a function f: M → N is said to be differentiable at a point p if it is differentiable with respect to some (or any) coordinate charts defined around p and f(p).