
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a differentiable function of one
real variable is a
function
Function or functionality may refer to:
Computing
* Function key, a type of key on computer keyboards
* Function model, a structured representation of processes in a system
* Function object or functor or functionoid, a concept of object-orie ...
whose
derivative
In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
exists at each point in its
domain. In other words, the
graph
Graph may refer to:
Mathematics
*Graph (discrete mathematics), a structure made of vertices and edges
**Graph theory, the study of such graphs and their properties
*Graph (topology), a topological space resembling a graph in the sense of discret ...
of a differentiable function has a non-
vertical tangent line
In geometry, the tangent line (or simply tangent) to a plane curve at a given point is, intuitively, the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points o ...
at each interior point in its domain. A differentiable function is
smooth (the function is locally well approximated as a
linear function
In mathematics, the term linear function refers to two distinct but related notions:
* In calculus and related areas, a linear function is a function whose graph is a straight line, that is, a polynomial function of degree zero or one. For di ...
at each interior point) and does not contain any break, angle, or
cusp
A cusp is the most pointed end of a curve. It often refers to cusp (anatomy), a pointed structure on a tooth.
Cusp or CUSP may also refer to:
Mathematics
* Cusp (singularity), a singular point of a curve
* Cusp catastrophe, a branch of bifu ...
.
If is an interior point in the domain of a function , then is said to be ''differentiable at'' if the derivative
exists. In other words, the graph of has a non-vertical tangent line at the point . is said to be differentiable on if it is differentiable at every point of . is said to be ''continuously differentiable'' if its derivative is also a continuous function over the domain of the function
. Generally speaking, 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
Here may refer to:
Music
* ''Here'' (Adrian Belew album), 1994
* ''Here'' (Alicia Keys album), 2016
* ''Here'' (Cal Tjader album), 1979
* ''Here'' (Edward Sharpe album), 2012
* ''Here'' (Idina Menzel album), 2004
* ''Here'' (Merzbow album), ...
, 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
Continuity or continuous may refer to:
Mathematics
* Continuity (mathematics), the opposing concept to discreteness; common examples include
** Continuous probability distribution or random variable in probability and statistics
** Continuous ...
at .
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
A continuous function is not necessarily differentiable, but a differentiable function is necessarily
continuous
Continuity or continuous may refer to:
Mathematics
* Continuity (mathematics), the opposing concept to discreteness; common examples include
** Continuous probability distribution or random variable in probability and statistics
** 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).
Semi-differentiability
The above definition can be extended to define the derivative at
boundary points. The derivative of a function
defined on a closed subset
of the real numbers, evaluated at a boundary point
, can be defined as the following one-sided limit, where the argument
approaches
such that it is always within
:
:
For
to remain within
, which is a subset of the reals, it follows that this limit will be defined as either
:
Differentiability and continuity

If is differentiable at a point , then must also be
continuous
Continuity or continuous may refer to:
Mathematics
* Continuity (mathematics), the opposing concept to discreteness; common examples include
** Continuous probability distribution or random variable in probability and statistics
** 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
A cusp is the most pointed end of a curve. It often refers to cusp (anatomy), a pointed structure on a tooth.
Cusp or CUSP may also refer to:
Mathematics
* Cusp (singularity), a singular point of a curve
* Cusp catastrophe, a branch of bifu ...
, or
vertical tangent
In mathematics, particularly calculus, a vertical tangent is a tangent, tangent line that is Vertical direction, vertical. Because a vertical line has Infinity, infinite slope, a Function (mathematics), function whose graph of a function, graph ha ...
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
In measure theory (a branch of mathematical analysis), a property holds almost everywhere if, in a technical sense, the set for which the property holds takes up nearly all possibilities. The notion of "almost everywhere" is a companion notion to ...
point. However, a result of
Stefan Banach
Stefan Banach ( ; 30 March 1892 – 31 August 1945) was a Polish mathematician who is generally considered one of the 20th century's most important and influential mathematicians. He was the founder of modern functional analysis, and an original ...
states that the set of functions that have a derivative at some point is a
meagre set
In the mathematical
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itse ...
in the space of all continuous functions.
[. Cited by ] 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
In mathematics, the Weierstrass function, named after its discoverer, Karl Weierstrass, is an example of a real-valued function (mathematics), function that is continuous function, continuous everywhere but Differentiable function, differentiab ...
.
Differentiability classes

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
Continuous functions are of utmost importance in mathematics, functions and applications. However, not all Function (mathematics), functions are continuous. If a function is not continuous at a limit point (also called "accumulation point" or "clu ...
, 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
This article is a summary of differentiation rules, that is, rules for computing the derivative of a function (mathematics), function in calculus.
Elementary rules of differentiation
Unless otherwise stated, all functions are functions of real nu ...
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
In differential geometry, a field in mathematics, Darboux's theorem is a theorem providing a normal form for special classes of differential 1-forms, partially generalizing the Frobenius integration theorem. It is named after Jean Gaston Darbo ...
implies that the derivative of any function satisfies the conclusion of the
intermediate value theorem
In mathematical analysis, the intermediate value theorem states that if f is a continuous function whose domain contains the interval , then it takes on any given value between f(a) and f(b) at some point within the interval.
This has two imp ...
.
Similarly to how
continuous function
In mathematics, a continuous function is a function such that a small variation of the argument induces a small variation of the value of the function. This implies there are no abrupt changes in value, known as '' discontinuities''. More preci ...
s are said to be of continuously differentiable functions are sometimes said to be of . A function is of if the first and
second derivative
In calculus, the second derivative, or the second-order derivative, of a function is the derivative of the derivative of . Informally, the second derivative can be phrased as "the rate of change of the rate of change"; for example, the secon ...
of the function both exist and are continuous. More generally, a function is said to be of if the first
derivatives
all exist and are continuous. If derivatives
exist for all positive integers
the function is
smooth or equivalently, of
Differentiability in higher dimensions
A
function of several real variables
In mathematical analysis and its applications, a function of several real variables or real multivariate function is a function with more than one argument, with all arguments being real variables. This concept extends the idea of a function o ...
is said to be differentiable at a point if
there exists
There may refer to:
* ''There'' (film), a 2009 Turkish film (Turkish title: ''Orada'')
* ''There'' (virtual world)
*''there'', a deictic adverb in English
*''there'', an English pronoun used in phrases such as '' there is'' and ''there are''
{ ...
a
linear map
In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that p ...
such that
:
If a function is differentiable at , then all of the
partial derivative
In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). P ...
s exist at , and the linear map is given by the
Jacobian matrix
In vector calculus, the Jacobian matrix (, ) of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. If this matrix is square, that is, if the number of variables equals the number of component ...
, 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
A neighbourhood (Commonwealth English) or neighborhood (American English) is a geographically localized community within a larger town, city, suburb or rural area, sometimes consisting of a single street and the buildings lining it. Neigh ...
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 derivative
In multivariable calculus, the directional derivative measures the rate at which a function changes in a particular direction at a given point.
The directional derivative of a multivariable differentiable (scalar) function along a given vect ...
s) 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
:
is not differentiable at , but again all of the partial derivatives and directional derivatives exist.
Differentiability in complex analysis
In
complex analysis
Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematical analysis that investigates functions of complex numbers. It is helpful in many branches of mathematics, including algebraic ...
, complex-differentiability is defined using the same definition as single-variable real functions. This is allowed by the possibility of dividing
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s. 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
In mathematical analysis, and applications in geometry, applied mathematics, engineering, and natural sciences, a function of a real variable is a function whose domain is the real numbers \mathbb, or a subset of \mathbb that contains an inter ...
, but it is not complex-differentiable at any point because the limit
gives different values for different approaches to 0.
Any function that is complex-differentiable in a neighborhood of a point is called
holomorphic
In mathematics, a holomorphic function is a complex-valued function of one or more complex variables that is complex differentiable in a neighbourhood of each point in a domain in complex coordinate space . The existence of a complex deri ...
at that point. Such a function is necessarily infinitely differentiable, and in fact
analytic.
Differentiable functions on manifolds
If ''M'' is a
differentiable manifold
In mathematics, a differentiable manifold (also differential manifold) is a type of manifold that is locally similar enough to a vector space to allow one to apply calculus. Any manifold can be described by a collection of charts (atlas). One ...
, 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
In mathematics, the derivative is a fundamental construction of differential calculus and admits many possible generalizations within the fields of mathematical analysis, combinatorics, algebra, geometry, etc.
Fréchet derivative
The Fréchet ...
*
Semi-differentiability
In calculus, the notions of one-sided differentiability and semi-differentiability of a real-valued function ''f'' of a real variable are weaker than differentiability. Specifically, the function ''f'' is said to be right differentiable at a poi ...
*
Differentiable programming
Differentiable programming is a programming paradigm in which a numeric computer program can be differentiated throughout via automatic differentiation. This allows for gradient-based optimization of parameters in the program, often via gradient ...
References
{{Differentiable computing
Multivariable calculus
Smooth functions