In calculus, the inverse function rule is a formula that expresses the derivative of the inverse of a bijective and differentiable function f in terms of the derivative of f. More precisely, if the inverse of f is denoted as f−1, where f−1(y)=x if and only if f(x)=y, then the inverse function rule is, in Lagrange's notation,
[f−1]′(y)=1f′(f−1(y)). This formula holds in general whenever f is continuous and injective on an interval I, with f being differentiable at f−1(y)(∈I) and wheref′(f−1(y))≠0. The same formula is also equivalent to the expression
𝒟[f−1]=1(𝒟f)∘(f−1), where 𝒟 denotes the unary derivative operator (on the space of functions) and ∘ denotes function composition. Geometrically, a function and inverse function have graphs that are reflections, in the line y=x. This reflection operation turns the gradient of any line into its reciprocal. Assuming that f has an inverse in a neighbourhood of x and that its derivative at that point is non-zero, its inverse is guaranteed to be differentiable at x and have a derivative given by the above formula. The inverse function rule may also be expressed in Leibniz's notation. As that notation suggests,
dxdydydx=1. This relation is obtained by differentiating the equation f−1(y)=x in terms of x and applying the chain rule, yielding that:
dxdydydx=dxdx considering that the derivative of x with respect to x is 1.
Derivation Let f be an invertible (bijective) function, let x be in the domain of f, and let y=f(x). Let g=f−1. So, f(g(y))=y. Differentiating this equation with respect to y, and using the chain rule, one gets
f′(g(y))⋅g′(y)=1. That is,
g′(y)=1f′(g(y)) or
[f−1]′(y)=1f′(f−1(y)).
Examples y=x2 (for positive x) has inverse x=y. dydx=2x ; dxdy=12y=12x dydxdxdy=2x⋅12x=1. At x=0, however, there is a problem: the graph of the square root function becomes vertical, corresponding to a horizontal tangent for the square function.
y=ex (for real x) has inverse x=lny (for positive y) dydx=ex ; dxdy=1y=e−x dydxdxdy=exe−x=1.
Additional properties Integrating this relationship gives f−1(y)=∫1f′(f−1(y))dy+C. This is only useful if the integral exists. In particular we need f′(x) to be non-zero across the range of integration. 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. Another very interesting and useful property is the following: ∫f−1(y)dy=yf−1(y)−F(f−1(y))+C where F denotes the antiderivative of f. The inverse of the derivative of f(x) is also of interest, as it is used in showing the convexity of the Legendre transform. Let z=f′(x) then we have, assuming f″(x)≠0:ddz[f′]−1(z)=1f″(x)This can be shown using the previous notation y=f(x). Then we have:
f′(x)=dydx=dydzdzdx=dydzf″(x)⇒dydz=f′(x)f″(x)Therefore: ddz[f′]−1(z)=dxdz=dydzdxdy=f′(x)f″(x)1f′(x)=1f″(x) By induction, we can generalize this result for any integer n≥1, with z=f(n)(x), the nth derivative of f(x), and y=f(n−1)(x), assuming f(i)(x)≠0 for 0<i≤n+1:
ddz[f(n)]−1(z)=1f(n+1)(x)
Higher order derivatives The chain rule given above is obtained by differentiating the identity f−1(y)=x with respect to y, where y=f(x). One can continue the same process for higher derivatives. Differentiating the identity twice with respect to x, one obtains
d2ydx2dxdy+ddx(dxdy)(dydx)=0, that is simplified further by the chain rule as
d2ydx2dxdy+d2xdy2(dydx)2=0. Replacing the first derivative, using the identity obtained earlier, we get
d2ydx2=−d2xdy2(dydx)3 which implies
d2xdy2=−d2y/dx2(dy/dx)3. Similarly for the third derivative we have
d3ydx3=−d3xdy3(dydx)4−3d2xdy2d2ydx2(dydx)2. Using the formula for the second derivative, we get
d3ydx3=−d3xdy3(dydx)4+3(d2ydx2)2(dydx)−1 which implies
d3xdy3=−d3y/dx3(dy/dx)4+3(d2y/dx2)2(dy/dx)5. In general, higher order derivatives of an inverse function can be expressed with Faà di Bruno's formula. Alternatively, the nth derivative can be written succinctly as an application of a differential operator:
[f−1](n)(y)=[(1f′(t)ddt)nt]|t=f−1(y). In Lagrange's notation, the second and third derivatives from the examples above can be found as applying the operator and substituting t=f−1(y) after:
[f−1]″(y)=[1f′(t)ddt(1f′(t)ddtt)]|t=f−1(y)=−f″(f−1(y))[f′(f−1(y))]3, [f−1]‴(y)=[1f′(t)ddt(1f′(t)ddt(1f′(t)ddtt))]|t=f−1(y)=−f‴(f−1(y))[f′(f−1(y))]4+3[f″(f−1(y))]2[f′(f−1(y))]5. One can also derive the nth-integration of inverse function with base-point a using Cauchy formula for repeated integration whenever f(f−1(y))=y:
[f−1](−n)(y)=1n!(f−1(a)(y−a)n+∫f−1(a)f−1(y)(y−f(u))ndu).
Example y=ex has the inverse x=lny. Using the formula for the second derivative of the inverse function, dydx=d2ydx2=ex=y ; (dydx)3=y3; so that
d2xdy2⋅y3+y=0 ; d2xdy2=−1y2, which agrees with the direct calculation.
See also
Calculus – Branch of mathematics Chain rule – Formula in calculus Differentiation of trigonometric functions – Mathematical process of finding the derivative of a trigonometric function Differentiation rules – Rules for computing derivatives of functions Implicit function theorem – On converting relations to functions of several real variables Integration of inverse functions – Mathematical theorem, used in calculusPages displaying short descriptions of redirect targets Inverse function – Mathematical concept Inverse function theorem – Theorem in mathematics Table of derivatives – Rules for computing derivatives of functionsPages displaying short descriptions of redirect targets Vector calculus identities – Mathematical identities
References
Citations
Sources Marsden, Jerrold E.; Weinstein, Alan (1981). "Chapter 8: Inverse Functions and the Chain Rule". Calculus unlimited (PDF). Menlo Park, Calif.: Benjamin/Cummings Pub. Co. ISBN 0-8053-6932-5.

![Inverse function rule: The thick blue curve and the thick red curve are inverse to each other. A thin curve is the derivative of the same colored thick curve.
Inverse function rule:f′(x)=1[f−1]′(f(x))Example for arbitrary x0≈5.8:f′(x0)=14[f−1]′(f(x0))=4](https://thumb.wikimedia.org/wikipedia/commons/thumb/4/4b/Umkehrregel_2.png/500px-Umkehrregel_2.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)