<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Inverse_function_rule</id>
	<title>Inverse function rule - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Inverse_function_rule"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Inverse_function_rule&amp;action=history"/>
	<updated>2026-04-19T15:25:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Inverse_function_rule&amp;diff=108247&amp;oldid=prev</id>
		<title>imported&gt;ItsPlantseed: /* Higher derivatives */Cleaner</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Inverse_function_rule&amp;diff=108247&amp;oldid=prev"/>
		<updated>2025-09-03T17:09:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Higher derivatives: &lt;/span&gt;Cleaner&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Formula for the derivative of an inverse function}}&lt;br /&gt;
{{about|the computation of the derivative of an invertible function|a condition on which a function is invertible|Inverse function theorem}}&lt;br /&gt;
{{refimprove|date=January 2022}}&lt;br /&gt;
[[File:Umkehrregel 2.png|thumb|right|250px|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.&lt;br /&gt;
&lt;br /&gt;
Inverse function rule:&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;{\color{CornflowerBlue}{f&amp;#039;}}(x) = \frac{1}{{\color{Salmon}{(f^{-1})&amp;#039;}}({\color{Blue}{f}}(x))}&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Example for arbitrary &amp;lt;math&amp;gt;x_0 \approx 5.8&amp;lt;/math&amp;gt;:&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;{\color{CornflowerBlue}{f&amp;#039;}}(x_0) = \frac{1}{4}&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;{\color{Salmon}{(f^{-1})&amp;#039;}}({\color{Blue}{f}}(x_0)) = 4~&amp;lt;/math&amp;gt;]]&lt;br /&gt;
{{calculus|expanded=differential}}&lt;br /&gt;
In [[calculus]], the &amp;#039;&amp;#039;&amp;#039;inverse function rule&amp;#039;&amp;#039;&amp;#039; is a [[formula]] that expresses the [[derivative]] of the [[inverse function|inverse]] of a [[bijective]] and [[differentiable function]] {{Mvar|f}} in terms of the derivative of {{Mvar|f}}. More precisely, if the inverse of &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is denoted as &amp;lt;math&amp;gt;f^{-1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;f^{-1}(y) = x&amp;lt;/math&amp;gt; if and only if &amp;lt;math&amp;gt;f(x) = y&amp;lt;/math&amp;gt;, then the inverse function rule is, in [[Lagrange&amp;#039;s notation]],&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left[f^{-1}\right]&amp;#039;(y)=\frac{1}{f&amp;#039;\left( f^{-1}(y) \right)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This formula holds in general whenever &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is [[continuous function|continuous]] and [[Injective function|injective]] on an interval {{Mvar|I}}, with &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; being differentiable at &amp;lt;math&amp;gt;f^{-1}(y)&amp;lt;/math&amp;gt;(&amp;lt;math&amp;gt;\in I&amp;lt;/math&amp;gt;) and where&amp;lt;math&amp;gt;f&amp;#039;(f^{-1}(y)) \ne 0&amp;lt;/math&amp;gt;. The same formula is also equivalent to the expression&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\mathcal{D}\left[f^{-1}\right]=\frac{1}{(\mathcal{D} f)\circ \left(f^{-1}\right)},&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathcal{D}&amp;lt;/math&amp;gt; denotes the unary derivative operator (on the space of functions) and &amp;lt;math&amp;gt;\circ&amp;lt;/math&amp;gt; denotes [[function composition]].&lt;br /&gt;
&lt;br /&gt;
Geometrically, a function and inverse function have [[graph of a function|graphs]] that are [[Reflection (mathematics)|reflection]]s, in the line &amp;lt;math&amp;gt;y=x&amp;lt;/math&amp;gt;. This reflection operation turns the [[slope|gradient]] of any line into its [[Multiplicative inverse|reciprocal]].&amp;lt;ref&amp;gt;{{Cite web|url=https://oregonstate.edu/instruct/mth251/cq/Stage6/Lesson/inverseDeriv.html|title=Derivatives of Inverse Functions|website=oregonstate.edu|access-date=2019-07-26 |archive-url=https://web.archive.org/web/20210410154136/https://oregonstate.edu/instruct/mth251/cq/Stage6/Lesson/inverseDeriv.html |archive-date=2021-04-10 |url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; has an inverse in a [[neighborhood (mathematics)|neighbourhood]] of &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and that its derivative at that point is non-zero, its inverse is guaranteed to be differentiable at &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and have a derivative given by the above formula.&lt;br /&gt;
&lt;br /&gt;
The inverse function rule may also be expressed in [[Leibniz&amp;#039;s notation]]. As that notation suggests,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{dx}{dy}\,\cdot\, \frac{dy}{dx} = 1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation is obtained by differentiating the equation &amp;lt;math&amp;gt;f^{-1}(y)=x&amp;lt;/math&amp;gt; in terms of {{Mvar|x}} and applying the [[chain rule]], yielding that:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{dx}{dy}\,\cdot\, \frac{dy}{dx} = \frac{dx}{dx}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
considering that the derivative of {{Mvar|x}} with respect to &amp;#039;&amp;#039;{{Mvar|x}}&amp;#039;&amp;#039; is 1.&lt;br /&gt;
&lt;br /&gt;
== Derivation ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; be an invertible (bijective) function, let &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; be in the domain of &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;, and let &amp;lt;math&amp;gt;y=f(x).&amp;lt;/math&amp;gt; Let &amp;lt;math&amp;gt;g=f^{-1}.&amp;lt;/math&amp;gt; So, &amp;lt;math&amp;gt;f(g(y))=y.&amp;lt;/math&amp;gt; Derivating this equation with respect to {{tmath|y}}, and using the [[chain rule]], one gets&lt;br /&gt;
:&amp;lt;math&amp;gt;f&amp;#039;(g(y))\cdot g&amp;#039;(y)=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
That is, &lt;br /&gt;
:&amp;lt;math&amp;gt;g&amp;#039;(y)=\frac 1 {f&amp;#039;(g(y))}&amp;lt;/math&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
 (f^{-1})^{\prime}(y) = \frac{1}{f^{\prime}(f^{-1}(y))}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;y = x^2&amp;lt;/math&amp;gt; (for positive {{Mvar|x}}) has inverse &amp;lt;math&amp;gt;x = \sqrt{y}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{dy}{dx} = 2x &lt;br /&gt;
\mbox{ }\mbox{ }\mbox{ }\mbox{ };&lt;br /&gt;
\mbox{ }\mbox{ }\mbox{ }\mbox{ }&lt;br /&gt;
\frac{dx}{dy} = \frac{1}{2\sqrt{y}}=\frac{1}{2x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{dy}{dx}\,\cdot\,\frac{dx}{dy} = 2x \cdot\frac{1}{2x} = 1. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;, however, there is a problem: the graph of the square root function becomes vertical, corresponding to a horizontal tangent for the square function.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;y = e^x&amp;lt;/math&amp;gt; (for real {{Mvar|x}}) has inverse &amp;lt;math&amp;gt;x = \ln{y}&amp;lt;/math&amp;gt; (for positive &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{dy}{dx} = e^x&lt;br /&gt;
\mbox{ }\mbox{ }\mbox{ }\mbox{ };&lt;br /&gt;
\mbox{ }\mbox{ }\mbox{ }\mbox{ }&lt;br /&gt;
\frac{dx}{dy} = \frac{1}{y} = e^{-x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{dy}{dx}\,\cdot\,\frac{dx}{dy} = e^x \cdot e^{-x} = 1. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Additional properties==&lt;br /&gt;
&lt;br /&gt;
* [[Integral|Integrating]] this relationship gives&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{f^{-1}}(x)=\int\frac{1}{f&amp;#039;({f^{-1}}(x))}\,{dx} + C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This is only useful if the integral exists. In particular we need &amp;lt;math&amp;gt;f&amp;#039;(x)&amp;lt;/math&amp;gt; to be non-zero across the range of integration.&lt;br /&gt;
&lt;br /&gt;
:It follows that a function that has a [[continuous function|continuous]] derivative has an inverse in a [[neighbourhood (mathematics)|neighbourhood]] of every point where the derivative is non-zero. This need not be true if the derivative is not continuous.&lt;br /&gt;
&lt;br /&gt;
* Another very interesting and useful property is the following:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; \int f^{-1}(x)\, {dx} = x f^{-1}(x) - F(f^{-1}(x)) + C &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Where &amp;lt;math&amp;gt; F &amp;lt;/math&amp;gt; denotes the antiderivative of &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* The inverse of the derivative of f(x) is also of interest, as it is used in showing the convexity of the [[Legendre transformation|Legendre transform]]. &lt;br /&gt;
Let  &amp;lt;math&amp;gt; z = f&amp;#039;(x)&amp;lt;/math&amp;gt;  then we have, assuming &amp;lt;math&amp;gt; f&amp;#039;&amp;#039;(x) \neq 0&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; \frac{d(f&amp;#039;)^{-1}(z)}{dz} = \frac{1}{f&amp;#039;&amp;#039;(x)}&amp;lt;/math&amp;gt;This can be shown using the previous notation &amp;lt;math&amp;gt; y = f(x)&amp;lt;/math&amp;gt;. Then we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; f&amp;#039;(x) = \frac{dy}{dx} = \frac{dy}{dz} \frac{dz}{dx} =  \frac{dy}{dz} f&amp;#039;&amp;#039;(x) \Rightarrow \frac{dy}{dz} = \frac{f&amp;#039;(x) }{f&amp;#039;&amp;#039;(x)}&amp;lt;/math&amp;gt;Therefore:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d(f&amp;#039;)^{-1}(z)}{dz} = \frac{dx}{dz} = \frac{dy}{dz}\frac{dx}{dy} = \frac{f&amp;#039;(x)}{f&amp;#039;&amp;#039;(x)}\frac{1}{f&amp;#039;(x)} = \frac{1}{f&amp;#039;&amp;#039;(x)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By induction, we can generalize this result for any integer &amp;lt;math&amp;gt; n \ge 1&amp;lt;/math&amp;gt;, with  &amp;lt;math&amp;gt; z = f^{(n)}(x)&amp;lt;/math&amp;gt;, the nth derivative of f(x), and  &amp;lt;math&amp;gt; y = f^{(n-1)}(x)&amp;lt;/math&amp;gt;, assuming &amp;lt;math&amp;gt; f^{(i)}(x) \neq 0 \text{ for } 0 &amp;lt; i \le n+1 &amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d(f^{(n)})^{-1}(z)}{dz} = \frac{1}{f^{(n+1)}(x)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Higher derivatives ==&lt;br /&gt;
&lt;br /&gt;
The [[chain rule]] given above is obtained by differentiating the identity &amp;lt;math&amp;gt;f^{-1}(f(x))=x&amp;lt;/math&amp;gt; with respect to {{Mvar|x}}. One can continue the same process for higher derivatives. Differentiating the identity twice with respect to &amp;#039;&amp;#039;{{Mvar|x}}&amp;#039;&amp;#039;, one obtains&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d^2y}{dx^2}\,\cdot\,\frac{dx}{dy} + \frac{d}{dx} \left(\frac{dx}{dy}\right)\,\cdot\,\left(\frac{dy}{dx}\right)  =  0, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is simplified further by the chain rule as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d^2y}{dx^2}\,\cdot\,\frac{dx}{dy} + \frac{d^2x}{dy^2}\,\cdot\,\left(\frac{dy}{dx}\right)^2  =  0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing the first derivative, using the identity obtained earlier, we get&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d^2y}{dx^2} = - \frac{d^2x}{dy^2}\,\cdot\,\left(\frac{dy}{dx}\right)^3. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly for the third derivative:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d^3y}{dx^3} = - \frac{d^3x}{dy^3}\,\cdot\,\left(\frac{dy}{dx}\right)^4 -&lt;br /&gt;
3 \frac{d^2x}{dy^2}\,\cdot\,\frac{d^2y}{dx^2}\,\cdot\,\left(\frac{dy}{dx}\right)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or using the formula for the second derivative,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d^3y}{dx^3} = - \frac{d^3x}{dy^3}\,\cdot\,\left(\frac{dy}{dx}\right)^4 +&lt;br /&gt;
3 \left(\frac{d^2x}{dy^2}\right)^2\,\cdot\,\left(\frac{dy}{dx}\right)^5&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These formulas can also be written using Lagrange&amp;#039;s notation. If &amp;#039;&amp;#039;{{Mvar|f}}&amp;#039;&amp;#039; and &amp;#039;&amp;#039;{{Mvar|g}}&amp;#039;&amp;#039; are inverses, then&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; g&amp;#039;&amp;#039;(x) = \frac{-f&amp;#039;&amp;#039;(g(x))}{[f&amp;#039;(g(x))]^3}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher derivatives of an inverse function can also be expressed with [[Faà di Bruno&amp;#039;s formula]] and can be written succinctly as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left[f^{-1}\right]^{(n)}(x) = \left[\left(\frac{1}{f&amp;#039;(t)}\frac{d}{dt}\right)^{n} t\right]_{t = f^{-1}(x)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this expression, one can also derive the &amp;#039;&amp;#039;n&amp;#039;&amp;#039;th-integration of inverse function with base-point &amp;#039;&amp;#039;a&amp;#039;&amp;#039; using [[Cauchy formula for repeated integration]] whenever &amp;lt;math&amp;gt;f(f^{-1}(x)) = x&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left[f^{-1}\right]^{(-n)}(x) = \frac{1}{n!} \left(f^{-1}(a)(x-a)^n + \int_{f^{-1}(a)}^{f^{-1}(x)}\left(x-f(u)\right)^{n}\,du\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;y = e^x&amp;lt;/math&amp;gt; has the inverse &amp;lt;math&amp;gt;x = \ln y&amp;lt;/math&amp;gt;. Using the formula for the second derivative of the inverse function,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{dy}{dx} = \frac{d^2y}{dx^2} = e^x = y &lt;br /&gt;
\mbox{ }\mbox{ }\mbox{ }\mbox{ };&lt;br /&gt;
\mbox{ }\mbox{ }\mbox{ }\mbox{ }&lt;br /&gt;
\left(\frac{dy}{dx}\right)^3 = y^3;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d^2x}{dy^2}\,\cdot\,y^3 + y = 0&lt;br /&gt;
\mbox{ }\mbox{ }\mbox{ }\mbox{ };&lt;br /&gt;
\mbox{ }\mbox{ }\mbox{ }\mbox{ }&lt;br /&gt;
\frac{d^2x}{dy^2} = -\frac{1}{y^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
which agrees with the direct calculation.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Portal|Mathematics}}&lt;br /&gt;
&lt;br /&gt;
* {{annotated link|Calculus}}&lt;br /&gt;
* {{annotated link|Chain rule}}&lt;br /&gt;
* {{annotated link|Differentiation of trigonometric functions}}&lt;br /&gt;
* {{annotated link|Differentiation rules}}&lt;br /&gt;
* {{annotated link|Implicit function theorem}}&lt;br /&gt;
* {{annotated link|Integration of inverse functions}}&lt;br /&gt;
* {{annotated link|Inverse function}}&lt;br /&gt;
* {{annotated link|Inverse function theorem}}&lt;br /&gt;
* {{annotated link|Table of derivatives}}&lt;br /&gt;
* {{annotated link|Vector calculus identities}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
* {{Cite book|last=Marsden|first=Jerrold E.|url=https://authors.library.caltech.edu/25054/10/CalcUch8-invfunc-chainrule.pdf|title=Calculus unlimited|date=1981|publisher=Benjamin/Cummings Pub. Co|first2=Alan |last2=Weinstein|isbn=0-8053-6932-5|location=Menlo Park, Calif.|chapter=Chapter 8: Inverse Functions and the Chain Rule}}&lt;br /&gt;
&lt;br /&gt;
{{Calculus topics}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles containing proofs]]&lt;br /&gt;
[[Category:Differentiation rules]]&lt;br /&gt;
[[Category:Inverse functions]]&lt;br /&gt;
[[Category:Theorems in mathematical analysis]]&lt;br /&gt;
[[Category:Theorems in calculus]]&lt;/div&gt;</summary>
		<author><name>imported&gt;ItsPlantseed</name></author>
	</entry>
</feed>