This is a summary of differentiation rules, that is, rules for computing the derivative of a function in calculus.
Elementary rules of differentiation
Unless otherwise stated, all functions are functions of real numbers (R) that return real values; although more generally, the formulae below apply wherever they are well defined — including the case of complex numbers (C).
Differentiation is linear
For any functions
and
and any real numbers
and
, the derivative of the function
with respect to
is

In Leibniz's notation this is written as:

Special cases include:



The product rule
For the functions f and g, the derivative of the function h(x) = f(x) g(x) with respect to x is

In Leibniz's notation this is written

The chain rule
The derivative of the function
is

In Leibniz's notation, this is written as:

often abridged to

Focusing on the notion of maps, and the differential being a map
, this is written in a more concise way as:
![{\displaystyle [{\text{D}}(f\circ g)]_{x}=[{\text{D}}f]_{g(x)}\cdot [{\text{D}}g]_{x}\,.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/624f2d85795ec0b7c5d54e5dd6ed8fddcdcfca36)
The inverse function rule
If the function f has an inverse function g, meaning that
and
then

In Leibniz notation, this is written as

Power laws, polynomials, quotients, and reciprocals
The polynomial or elementary power rule
If
, for any real number
then

When
this becomes the special case that if
then
Combining the power rule with the sum and constant multiple rules permits the computation of the derivative of any polynomial.
The reciprocal rule
The derivative of
for any (nonvanishing) function f is:
wherever f is non-zero.
In Leibniz's notation, this is written

The reciprocal rule can be derived either from the quotient rule, or from the combination of power rule and chain rule.
The quotient rule
If f and g are functions, then:
wherever g is nonzero.
This can be derived from the product rule and the reciprocal rule.
Generalized power rule
The elementary power rule generalizes considerably. The most general power rule is the functional power rule: for any functions f and g,

wherever both sides are well defined.
Special cases
- If
, then
when a is any non-zero real number and x is positive.
- The reciprocal rule may be derived as the special case where
.
Derivatives of exponential and logarithmic functions

the equation above is true for all c, but the derivative for
yields a complex number.


the equation above is also true for all c, but yields a complex number if
.


where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle W(x)}
is the Lambert W function



Logarithmic derivatives
The logarithmic derivative is another way of stating the rule for differentiating the logarithm of a function (using the chain rule):
wherever f is positive.
Logarithmic differentiation is a technique which uses logarithms and its differentiation rules to simplify certain expressions before actually applying the derivative.
Logarithms can be used to remove exponents, convert products into sums, and convert division into subtraction — each of which may lead to a simplified expression for taking derivatives.
Derivatives of trigonometric functions
|
|
|
|
|
|
|
|
|
|
|
|
The derivatives in the table above is for when the range of the inverse secant is
and when the range of the inverse cosecant is
.
It is common to additionally define an inverse tangent function with two arguments,
. Its value lies in the range
and reflects the quadrant of the point
. For the first and fourth quadrant (i.e.
) one has
. Its partial derivatives are
, and
|
Derivatives of hyperbolic functions
|
|
|
|
|
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (\operatorname{artanh}x)' = { 1 \over 1 - x^2}}
|
|
|
|
|
|
|
See Hyperbolic functions for restrictions on these derivatives.
Derivatives of special functions
- Riemann Zeta function



|
Derivatives of integrals
Suppose that it is required to differentiate with respect to x the function

where the functions
and
are both continuous in both
and
in some region of the
plane, including
, and the functions
and
are both continuous and both have continuous derivatives for
. Then for
:

This formula is the general form of the Leibniz integral rule and can be derived using the fundamental theorem of calculus.
Derivatives to nth order
Some rules exist for computing the n-th derivative of functions, where n is a positive integer. These include:
Faà di Bruno's formula
If f and g are n-times differentiable, then
![{\displaystyle {\frac {d^{n}}{dx^{n}}}[f(g(x))]=n!\sum _{\{k_{m}\}}^{}f^{(r)}(g(x))\prod _{m=1}^{n}{\frac {1}{k_{m}!}}\left(g^{(m)}(x)\right)^{k_{m}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/6db9fc6a48b3658dc330625f3c027300228b82b0)
where
and the set
consists of all non-negative integer solutions of the Diophantine equation
.
General Leibniz rule
If f and g are n-times differentiable, then
![{\displaystyle {\frac {d^{n}}{dx^{n}}}[f(x)g(x)]=\sum _{k=0}^{n}{\binom {n}{k}}{\frac {d^{n-k}}{dx^{n-k}}}f(x){\frac {d^{k}}{dx^{k}}}g(x)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/63405be1615e41e5620d8b0c45f48b7dd7e6f2ef)
Licensing
Content obtained and/or adapted from: