In calculus, the inverse function rule is a formula that expresses the derivative of the inverse of a bijective and differentiable function in terms of the derivative of . More precisely, if the inverse of
f
f-1
f-1(y)=x
f(x)=y
\left[f-1\right]'(a)=
1 | |
f'\left(f-1(a)\right) |
This formula holds in general whenever
f
f
f-1(a)
\inI
f'(f-1(a))\ne0
l{D}\left[f-1\right]=
1 | |
(l{D |
f)\circ\left(f-1\right)},
where
l{D}
\circ
Geometrically, a function and inverse function have graphs that are reflections, in the line
y=x
Assuming that
f
x
x
The inverse function rule may also be expressed in Leibniz's notation. As that notation suggests,
dx | |
dy |
⋅
dy | |
dx |
=1.
This relation is obtained by differentiating the equation
f-1(y)=x
dx | |
dy |
⋅
dy | |
dx |
=
dx | |
dx |
considering that the derivative of with respect to is 1.
Let
f
x
f
y
f
y
f
y
f-1
x
f-1
f
f(f-1(y))=y
\dfrac{d
The right side is equal to 1 and the chain rule can be applied to the left side:
\begin{align} \dfrac{d\left(f(f-1(y))\right)}{d\left(f-1(y)\right)}\dfrac{d\left(f-1(y)\right)}{dy} &=1\\ \dfrac{df(f-1(y))}{df-1(y)}\dfrac{df-1(y)}{dy} &=1\\ f\prime(f-1(y)) (f-1)\prime(y) &=1\end{align}
Rearranging then gives
(f-1)\prime(y)=
1 | |
f\prime(f-1(y)) |
Rather than using
y
a
f-1
(f-1)\prime(a)=
1 | |
f\prime\left(f-1(a)\right) |
y=x2
x=\sqrt{y}
dy | |
dx |
=2x;
dx | |
dy |
=
1 | |
2\sqrt{y |
dy | ⋅ | |
dx |
dx | |
dy |
=2x ⋅
1 | |
2x |
=1.
At
x=0
y=ex
x=ln{y}
y
dy | |
dx |
=
| ||||
e |
=
1 | |
y |
=e-x
dy | ⋅ | |
dx |
dx | |
dy |
=ex ⋅ e-x=1.
{f-1
This is only useful if the integral exists. In particular we need
f'(x)
It follows that a function that has a continuous derivative has an inverse in a neighbourhood of every point where the derivative is non-zero. This need not be true if the derivative is not continuous.
\intf-1(x){dx}=xf-1(x)-F(f-1(x))+C
Where
F
f
Let
z=f'(x)
f''(x) ≠ 0
y=f(x)
Therefore:
d(f')-1(z) | |
dz |
=
dx | |
dz |
=
dy | |
dz |
dx | |
dy |
=
f'(x) | |
f''(x) |
1 | |
f'(x) |
=
1 | |
f''(x) |
By induction, we can generalize this result for any integer
n\ge1
z=f(n)(x)
y=f(n-1)(x)
f(i)(x) ≠ 0for0<i\len+1
d(f(n))-1(z) | |
dz |
=
1 | |
f(n+1)(x) |
The chain rule given above is obtained by differentiating the identity
f-1(f(x))=x
d2y | ⋅ | |
dx2 |
dx | |
dy |
+
d | \left( | |
dx |
dx | \right) ⋅ \left( | |
dy |
dy | |
dx |
\right)=0,
that is simplified further by the chain rule as
d2y | ⋅ | |
dx2 |
dx | |
dy |
+
d2x | ⋅ \left( | |
dy2 |
dy | |
dx |
\right)2=0.
Replacing the first derivative, using the identity obtained earlier, we get
d2y | |
dx2 |
=-
d2x | ⋅ \left( | |
dy2 |
dy | |
dx |
\right)3.
Similarly for the third derivative:
d3y | |
dx3 |
=-
d3x | ⋅ \left( | |
dy3 |
dy | |
dx |
\right)4- 3
d2x | ⋅ | |
dy2 |
d2y | ⋅ \left( | |
dx2 |
dy | |
dx |
\right)2
or using the formula for the second derivative,
d3y | |
dx3 |
=-
d3x | ⋅ \left( | |
dy3 |
dy | |
dx |
\right)4+ 3\left(
d2x | |
dy2 |
| ||||
\right) |
\right)5
These formulas are generalized by the FaĆ di Bruno's formula.
These formulas can also be written using Lagrange's notation. If and are inverses, then
g''(x)=
-f''(g(x)) | |
[f'(g(x))]3 |
y=ex
x=lny
dy | |
dx |
=
d2y | |
dx2 |
=ex=y; \left(
dy | |
dx |
\right)3=y3;
so that
d2x | |
dy2 |
⋅ y3+y=0 ;
d2x | |
dy2 |
=-
1 | |
y2 |
which agrees with the direct calculation.