This article is a summary of differentiation rules, that is, rules for computing the
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 ...
of a
function in
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
.
Elementary rules of differentiation
Unless otherwise stated, all functions are functions of
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s (
) that return real values, although, more generally, the formulas below apply wherever they are
well defined, including the case of
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 (
).
Constant term rule
For any value of
, where
, if
is the constant function given by
, then
.
Proof
Let
and
. By the definition of the derivative:
This computation shows that the derivative of any constant function is 0.
Intuitive (geometric) explanation
The
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 ...
of the function at a point is the slope of the line
tangent
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 ...
to the curve at the point. The
slope
In mathematics, the slope or gradient of a Line (mathematics), line is a number that describes the direction (geometry), direction of the line on a plane (geometry), plane. Often denoted by the letter ''m'', slope is calculated as the ratio of t ...
of the constant function is 0, because the
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 ...
to the constant function is horizontal and its angle is 0.
In other words, the value of the constant function,
, will not change as the value of
increases or decreases.
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 formula is written as:
Special cases include:
* The constant factor rule:
* The sum rule:
* The difference rule:
Product rule
For the functions
and
, the derivative of the function
with respect to
is:
In Leibniz's notation, this formula is written:
Chain rule
The derivative of the function
is:
In Leibniz's notation, this formula is written as:
often abridged to:
Focusing on the notion of maps, and the differential being a map
, this formula is written in a more concise way as:
Inverse function rule
If the function
has an
inverse function
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon ...
, meaning that
and
, then:
In Leibniz notation, this formula is written as:
Power laws, polynomials, quotients, and reciprocals
Polynomial or elementary power rule
If
, for any real number
, then:
When
, this formula 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.
Reciprocal rule
The derivative of
for any (nonvanishing) function
is:
wherever
is nonzero.
In Leibniz's notation, this formula is written:
The reciprocal rule can be derived either from the quotient rule or from the combination of power rule and chain rule.
Quotient rule
If
and
are functions, then:
wherever
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
and
,
wherever both sides are well defined.
Special cases:
* If
, then
when
is any nonzero real number and
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
, but the derivative for
yields a complex number.
The equation above is also true for all
but yields a complex number if
.
where
is the
Lambert W function.
Logarithmic derivatives
The
logarithmic derivative is another way of stating the rule for differentiating the
logarithm
In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
of a function (using the chain rule):
wherever
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 are for when the range of the inverse secant is