![Differentiable function](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly91cGxvYWQud2lraW1lZGlhLm9yZy93aWtpcGVkaWEvY29tbW9ucy90aHVtYi9hL2EzL1BvbHlub21pYWxkZWczLnN2Zy8xNjAwcHgtUG9seW5vbWlhbGRlZzMuc3ZnLnBuZw==.png )
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.
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpOWhMMkV6TDFCdmJIbHViMjFwWVd4a1pXY3pMbk4yWnk4eU1qQndlQzFRYjJ4NWJtOXRhV0ZzWkdWbk15NXpkbWN1Y0c1bi5wbmc=.png)
If x0 is an interior point in the domain of a function f, then f is said to be differentiable at x0 if the derivative exists. In other words, the graph of f has a non-vertical tangent line at the point (x0, f(x0)). f is said to be differentiable on U if it is differentiable at every point of U. f is said to be continuously differentiable if its derivative is also a continuous function over the domain of the function . Generally speaking, f is said to be of class if its first derivatives exist and are continuous over the domain of the function .
For a multivariable function, as shown here, the differentiability of it is something more complex than the existence of the partial derivatives of it.
Differentiability of real functions of one variable
A function , defined on an open set
, is said to be differentiable at
if the derivative
exists. This implies that the function is continuous at a.
This function f is said to be differentiable on U if it is differentiable at every point of U. In this case, the derivative of f is thus a function from U into
A continuous function is not necessarily differentiable, but a differentiable function is necessarily continuous (at every point where it is differentiable) as is 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).
Differentiability and continuity
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpODJMelppTDBGaWMyOXNkWFJsWDNaaGJIVmxMbk4yWnk4eU1qQndlQzFCWW5OdmJIVjBaVjkyWVd4MVpTNXpkbWN1Y0c1bi5wbmc=.png)
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpOWxMMlV5TDBOMWMzQmZZWFJmSlRJNE1DVXlRekF1TlNVeU9TNXpkbWN2TWpJd2NIZ3RRM1Z6Y0Y5aGRGOGxNamd3SlRKRE1DNDFKVEk1TG5OMlp5NXdibWM9LnBuZw==.png)
If f is differentiable at a point x0, then f must also be continuous at x0. 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. 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.
Differentiability classes
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpOW1MMlpoTDBGd2NISnZlR2x0WVhScGIyNWZiMlpmWTI5elgzZHBkR2hmYkdsdVpXRnlYMloxYm1OMGFXOXVjMTkzYVhSb2IzVjBYMjUxYldKbGNuTXVjM1puTHpNd01IQjRMVUZ3Y0hKdmVHbHRZWFJwYjI1ZmIyWmZZMjl6WDNkcGRHaGZiR2x1WldGeVgyWjFibU4wYVc5dWMxOTNhWFJvYjNWMFgyNTFiV0psY25NdWMzWm5MbkJ1Wnc9PS5wbmc=.png)
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpODJMelppTDFSb1pWOW1kVzVqZEdsdmJsOTRKVFZGTWlVeVFYTnBiaVV5T0RGZmIzWmxjbDk0SlRJNUxuTjJaeTh6TURCd2VDMVVhR1ZmWm5WdVkzUnBiMjVmZUNVMVJUSWxNa0Z6YVc0bE1qZ3hYMjkyWlhKZmVDVXlPUzV6ZG1jdWNHNW4ucG5n.png)
A function is said to be continuously differentiable 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 function
is differentiable at 0, since
exists. However, for
differentiation rules imply
which has no limit as
Thus, this example shows the existence of a function that is differentiable but not continuously differentiable (i.e., the derivative is not a continuous function). Nevertheless, Darboux's theorem implies that the derivative of any function satisfies the conclusion of the intermediate value theorem.
Similarly to how continuous functions are said to be of class continuously differentiable functions are sometimes said to be of class
. A function is of class
if the first and second derivative of the function both exist and are continuous. More generally, a function is said to be of class
if the first
derivatives
all exist and are continuous. If derivatives
exist for all positive integers
the function is smooth or equivalently, of class
Differentiability in higher dimensions
A function of several real variables f: Rm → Rn is said to be differentiable at a point x0 if there exists a linear map J: Rm → Rn such that
If a function is differentiable at x0, then all of the partial derivatives exist at x0, and the linear map J 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 x0 and are continuous at the point x0, then the function is differentiable at that point x0.
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 f: R2 → R defined by
is not differentiable at (0, 0), but all of the partial derivatives and directional derivatives exist at this point. For a continuous example, the function
is not differentiable at (0, 0), but again all of the partial derivatives and directional derivatives exist.
Differentiability in complex analysis
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
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
. This is because the complex-differentiability implies that
However, a function can be differentiable as a multi-variable function, while not being complex-differentiable. For example,
is differentiable at every point, viewed as the 2-variable real function
, but it is not complex-differentiable at any point because the limit
does not exist (the limit depends on the angle of approach).
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.
Differentiable functions on manifolds
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).
See also
- Generalizations of the derivative
- Semi-differentiability
- Differentiable programming
References
- Banach, S. (1931). "Über die Baire'sche Kategorie gewisser Funktionenmengen". Studia Math. 3 (1): 174–179. doi:10.4064/sm-3-1-174-179.. Cited by Hewitt, E; Stromberg, K (1963). Real and abstract analysis. Springer-Verlag. Theorem 17.8.
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 A differentiable function If x0 is an interior point in the domain of a function f then f is said to be differentiable at x0 if the derivative f x0 displaystyle f x 0 exists In other words the graph of f has a non vertical tangent line at the point x0 f x0 f is said to be differentiable on U if it is differentiable at every point of U f is said to be continuously differentiable if its derivative is also a continuous function over the domain of the function f textstyle f Generally speaking f is said to be of class Ck displaystyle C k if its first k displaystyle k derivatives f x f x f k x textstyle f prime x f prime prime x ldots f k x exist and are continuous over the domain of the function f textstyle f For a multivariable function as shown here the differentiability of it is something more complex than the existence of the partial derivatives of it Differentiability of real functions of one variableA function f U R displaystyle f U to mathbb R defined on an open set U R textstyle U subset mathbb R is said to be differentiable at a U displaystyle a in U if the derivative f a limh 0f a h f a h displaystyle f a lim h to 0 frac f a h f a h exists This implies that the function is continuous at a This function f is said to be differentiable on U if it is differentiable at every point of U In this case the derivative of f is thus a function from U into R displaystyle mathbb R A continuous function is not necessarily differentiable but a differentiable function is necessarily continuous at every point where it is differentiable as is 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 Differentiability and continuityThe absolute value function is continuous i e it has no gaps It is differentiable everywhere except at the point x 0 where it makes a sharp turn as it crosses the y axis A cusp on the graph of a continuous function At zero the function is continuous but not differentiable If f is differentiable at a point x0 then f must also be continuous at x0 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 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 Differentiability classesDifferentiable functions can be locally approximated by linear functions The function f R R displaystyle f mathbb R to mathbb R with f x x2sin 1x displaystyle f x x 2 sin left tfrac 1 x right for x 0 displaystyle x neq 0 and f 0 0 displaystyle f 0 0 is differentiable However this function is not continuously differentiable A function f textstyle f is said to be continuously differentiable if the derivative f x textstyle f prime x 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 function f x x2sin 1 x if x 00 if x 0 displaystyle f x begin cases x 2 sin 1 x amp text if x neq 0 0 amp text if x 0 end cases is differentiable at 0 since f 0 lime 0 e2sin 1 e 0e 0 displaystyle f 0 lim varepsilon to 0 left frac varepsilon 2 sin 1 varepsilon 0 varepsilon right 0 exists However for x 0 displaystyle x neq 0 differentiation rules imply f x 2xsin 1 x cos 1 x displaystyle f x 2x sin 1 x cos 1 x which has no limit as x 0 displaystyle x to 0 Thus this example shows the existence of a function that is differentiable but not continuously differentiable i e the derivative is not a continuous function Nevertheless Darboux s theorem implies that the derivative of any function satisfies the conclusion of the intermediate value theorem Similarly to how continuous functions are said to be of class C0 displaystyle C 0 continuously differentiable functions are sometimes said to be of class C1 displaystyle C 1 A function is of class C2 displaystyle C 2 if the first and second derivative of the function both exist and are continuous More generally a function is said to be of class Ck displaystyle C k if the first k displaystyle k derivatives f x f x f k x textstyle f prime x f prime prime x ldots f k x all exist and are continuous If derivatives f n displaystyle f n exist for all positive integers n textstyle n the function is smooth or equivalently of class C displaystyle C infty Differentiability in higher dimensionsA function of several real variables f Rm Rn is said to be differentiable at a point x0 if there exists a linear map J Rm Rn such that limh 0 f x0 h f x0 J h Rn h Rm 0 displaystyle lim mathbf h to mathbf 0 frac mathbf f mathbf x 0 mathbf h mathbf f mathbf x 0 mathbf J mathbf h mathbf R n mathbf h mathbf R m 0 If a function is differentiable at x0 then all of the partial derivatives exist at x0 and the linear map J 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 x0 and are continuous at the point x0 then the function is differentiable at that point x0 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 f R2 R defined by f x y xif y x20if y x2 displaystyle f x y begin cases x amp text if y neq x 2 0 amp text if y x 2 end cases is not differentiable at 0 0 but all of the partial derivatives and directional derivatives exist at this point For a continuous example the function f x y y3 x2 y2 if x y 0 0 0if x y 0 0 displaystyle f x y begin cases y 3 x 2 y 2 amp text if x y neq 0 0 0 amp text if x y 0 0 end cases is not differentiable at 0 0 but again all of the partial derivatives and directional derivatives exist Differentiability in complex analysisIn 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 f C C textstyle f mathbb C to mathbb C is said to be differentiable at x a textstyle x a when f a limh 0h Cf a h f a h displaystyle f a lim underset h in mathbb C h to 0 frac 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 f C C textstyle f mathbb C to mathbb C that is complex differentiable at a point x a textstyle x a is automatically differentiable at that point when viewed as a function f R2 R2 displaystyle f mathbb R 2 to mathbb R 2 This is because the complex differentiability implies that limh 0h C f a h f a f a h h 0 displaystyle lim underset h in mathbb C h to 0 frac f a h f a f a h h 0 However a function f C C textstyle f mathbb C to mathbb C can be differentiable as a multi variable function while not being complex differentiable For example f z z z 2 displaystyle f z frac z overline z 2 is differentiable at every point viewed as the 2 variable real function f x y x displaystyle f x y x but it is not complex differentiable at any point because the limit limh 0h h 2h textstyle lim h to 0 frac h bar h 2h does not exist the limit depends on the angle of approach 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 Differentiable functions on manifoldsIf 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 See alsoGeneralizations of the derivative Semi differentiability Differentiable programmingReferencesBanach S 1931 Uber die Baire sche Kategorie gewisser Funktionenmengen Studia Math 3 1 174 179 doi 10 4064 sm 3 1 174 179 Cited by Hewitt E Stromberg K 1963 Real and abstract analysis Springer Verlag Theorem 17 8