This is a summary of differentiation rules, that is, rules for computing the derivative of a function in calculus.
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[1] [2] — including the case of complex numbers (C).[3]
For any value of
c
c\inR
f(x)
f(x)=c
df | |
dx |
=0
Let
c\inR
f(x)=c
\begin{align} f'(x)&=\limh
f(x+h)-f(x) | |
h |
\\ &=\limh
(c)-(c) | |
h |
\\ &=\limh
0 | |
h |
\\ &=\limh0\\ &=0 \end{align}
This shows that the derivative of any constant function is 0.
The derivative of the function at a point is the slope of the line tangent to the curve at the point. Slope of the constant function is zero, because the tangent line to the constant function is horizontal and its angle is zero.
In other words, the value of the constant function, y, will not change as the value of x increases or decreases.
See main article: Linearity of differentiation.
For any functions
f
g
a
b
h(x)=af(x)+bg(x)
x
h'(x)=af'(x)+bg'(x).
In Leibniz's notation this is written as:
Special cases include:
See main article: Product rule.
For the functions
f
g
h(x)=f(x)g(x)
x
See main article: Chain rule.
The derivative of the function
h(x)=f(g(x))
In Leibniz's notation, this is written as:often abridged to
Focusing on the notion of maps, and the differential being a map
D
See main article: Inverse function rule.
If the function has an inverse function, meaning that
g(f(x))=x
f(g(y))=y,
In Leibniz notation, this is written as
See main article: Power rule.
If
f(x)=xr
r ≠ 0,
f'(x)=rxr-1.
When
r=1,
f(x)=x,
f'(x)=1.
Combining the power rule with the sum and constant multiple rules permits the computation of the derivative of any polynomial.
See main article: Reciprocal rule. The derivative of
h(x)= | 1 |
f(x) |
h'(x)=-
f'(x) | |
(f(x))2 |
In Leibniz's notation, this is written
d(1/f) | |
dx |
=-
1 | |
f2 |
df | |
dx |
.
The reciprocal rule can be derived either from the quotient rule, or from the combination of power rule and chain rule.
See main article: Quotient rule. If and are functions, then:
\left( | f |
g |
\right)'=
f'g-g'f | |
g2 |
This can be derived from the product rule and the reciprocal rule.
See main article: Power rule.
The elementary power rule generalizes considerably. The most general power rule is the functional power rule: for any functions and ,
(fg)'=\left(egln\right)'=fg\left(f'{g\overf}+g'lnf\right),
Special cases
d | |
dx |
\left(cax\right)={acaxlnc}, c>0
d | |
dx |
\left(eax\right)=aeax
d | |
dx |
\left(logcx\right)={1\overxlnc}, c>1
the equation above is also true for all , but yields a complex number if .
d | |
dx |
\left(lnx\right)={1\overx}, x>0.
d | |
dx |
\left(ln|x|\right)={1\overx}, x ≠ 0.
d | |
dx |
\left(W(x)\right)={1\over{x+eW(x)
W(x)
d | |
dx |
\left(xx\right)=xx(1+lnx).
d | |
dx |
\left(f(x)\right)=g(x)f(x)g(x)-1
df | |
dx |
+f(x)g(x)ln{(f(x))}
dg | |
dx |
, iff(x)>0,andif
df | |
dx |
and
dg | |
dx |
exist.
d | |
dx |
\left(f1
| |||||||||||||||||
(x) |
\right)=\left
n | |
[\sum\limits | |
k=1 |
\partial | |
\partialxk |
\left(f1
| |||||||||||||||||||
(x | |||||||||||||||||||
1) |
\right)\right]
r\vert | |
x1=x2=...=xn=x |
,iffi<n(x)>0and
dfi | |
dx |
exists.
The logarithmic derivative is another way of stating the rule for differentiating the logarithm of a function (using the chain rule):
(lnf)'=
f' | |
f |
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.
See main article: Differentiation of trigonometric functions.
width=50% |
\sinx=\cosx | width=50% |
\arcsinx=
| ||||||||||
\cosx=-\sinx |
\arccosx=-
| ||||||||||||
\tanx=\sec2x=
=1+\tan2x |
\arctanx=
| ||||||||||||
\cscx=-\csc{x}\cot{x} |
\operatorname{arccsc}x=-
| ||||||||||||
\secx=\sec{x}\tan{x} |
\operatorname{arcsec}x=
| ||||||||||||
\cotx=-\csc2x=-
=-1-\cot2x |
\operatorname{arccot}x=-{1\over1+x2} |
[0,\pi]
\left[- | \pi | , |
2 |
\pi | |
2 |
\right].
It is common to additionally define an inverse tangent function with two arguments,
\arctan(y,x).
[-\pi,\pi]
(x,y).
x>0
\arctan(y,x>0)=\arctan(y/x).
\partial\arctan(y,x) | |
\partialy |
=
x | |
x2+y2 |
and
\partial\arctan(y,x) | |
\partialx |
=
-y | |
x2+y2 |
.
width=50% |
\sinhx=\coshx |
\operatorname{arsinh}x=
| |||||||||
\coshx=\sinhx |
\operatorname{arcosh}x={
| ||||||||||
\tanhx={\operatorname{sech}2x}=1-\tanh2x |
\operatorname{artanh}x=
| ||||||||||
\operatorname{csch}x=-\operatorname{csch}{x}\coth{x} |
\operatorname{arcsch}x=-
| ||||||||||
\operatorname{sech}x=-\operatorname{sech}{x}\tanh{x} |
\operatorname{arsech}x=-
| ||||||||||
\cothx=-\operatorname{csch}2x=1-\coth2x |
\operatorname{arcoth}x=
|
\Gamma(x)=
infty | |
\int | |
0 |
tx-1e-tdt
\begin{align} \Gamma'(x)&=
infty | |
\int | |
0 |
tx-1e-tlntdt\\ &=\Gamma(x)
infty | |
\left(\sum | |
n=1 |
\left(ln\left(1+\dfrac{1}{n}\right)-\dfrac{1}{x+n}\right)-\dfrac{1}{x}\right)\\ &=\Gamma(x)\psi(x) \end{align}
\psi(x)
\Gamma(x)
\zeta(x)=
infty | |
\sum | |
n=1 |
1 | |
nx |
\begin{align} \zeta'(x)&=
infty | |
-\sum | |
n=1 |
lnn | =- | |
nx |
ln2 | |
2x |
-
ln3 | |
3x |
-
ln4 | |
4x |
- … \\ &=-\sump
p-xlnp | |
(1-p-x)2 |
\prodq
1 | |
1-q-x |
\end{align}
Suppose that it is required to differentiate with respect to x the function
b(x) | |
F(x)=\int | |
a(x) |
f(x,t)dt,
where the functions
f(x,t)
\partial | |
\partialx |
f(x,t)
t
x
(t,x)
a(x)\leqt\leqb(x),
x0\leqx\leqx1
a(x)
b(x)
x0\leqx\leqx1
x0\leqx\leqx1
F'(x)=f(x,b(x))b'(x)-f(x,a(x))a'(x)+
b(x) | |
\int | |
a(x) |
\partial | |
\partialx |
f(x,t) dt.
This formula is the general form of the Leibniz integral rule and can be derived using the fundamental theorem of calculus.
Some rules exist for computing the -th derivative of functions, where is a positive integer. These include:
See main article: Faà di Bruno's formula. If and are -times differentiable, thenwhere and the set
\{km\}
See main article: General Leibniz rule. If and are -times differentiable, then
These rules are given in many books, both on elementary and advanced calculus, in pure and applied mathematics. Those in this article (in addition to the above references) can be found in: