Inverse function rule: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>D.Lazard
→Derivation: Not sure that the previous proof is not circular. In any case, is is unnecessary complicated
 
imported>ItsPlantseed
Line 89: Line 89:
:<math> \frac{d(f^{(n)})^{-1}(z)}{dz} = \frac{1}{f^{(n+1)}(x)}</math>
:<math> \frac{d(f^{(n)})^{-1}(z)}{dz} = \frac{1}{f^{(n+1)}(x)}</math>


==Higher derivatives==
== Higher derivatives ==


The [[chain rule]] given above is obtained by differentiating the identity <math>f^{-1}(f(x))=x</math> with respect to {{Mvar|x}}. One can continue the same process for higher derivatives. Differentiating the identity twice with respect to ''{{Mvar|x}}'', one obtains
The [[chain rule]] given above is obtained by differentiating the identity <math>f^{-1}(f(x))=x</math> with respect to {{Mvar|x}}. One can continue the same process for higher derivatives. Differentiating the identity twice with respect to ''{{Mvar|x}}'', one obtains
Line 112: Line 112:
:<math> \frac{d^3y}{dx^3} = - \frac{d^3x}{dy^3}\,\cdot\,\left(\frac{dy}{dx}\right)^4 +
:<math> \frac{d^3y}{dx^3} = - \frac{d^3x}{dy^3}\,\cdot\,\left(\frac{dy}{dx}\right)^4 +
3 \left(\frac{d^2x}{dy^2}\right)^2\,\cdot\,\left(\frac{dy}{dx}\right)^5</math>
3 \left(\frac{d^2x}{dy^2}\right)^2\,\cdot\,\left(\frac{dy}{dx}\right)^5</math>
These formulas are generalized by the [[Faà di Bruno's formula]].


These formulas can also be written using Lagrange's notation. If ''{{Mvar|f}}'' and ''{{Mvar|g}}'' are inverses, then
These formulas can also be written using Lagrange's notation. If ''{{Mvar|f}}'' and ''{{Mvar|g}}'' are inverses, then


:<math> g''(x) = \frac{-f''(g(x))}{[f'(g(x))]^3}</math>
:<math> g''(x) = \frac{-f''(g(x))}{[f'(g(x))]^3}</math>
Higher derivatives of an inverse function can also be expressed with [[Faà di Bruno's formula]] and can be written succinctly as:
:<math>\left[f^{-1}\right]^{(n)}(x) = \left[\left(\frac{1}{f'(t)}\frac{d}{dt}\right)^{n} t\right]_{t = f^{-1}(x)}</math>
From this expression, one can also derive the ''n''th-integration of inverse function with base-point ''a'' using [[Cauchy formula for repeated integration]] whenever <math>f(f^{-1}(x)) = x</math>:
:<math>\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)</math>


==Example==
==Example==

Revision as of 17:09, 3 September 2025

Template:Short description Script error: No such module "about". Template:Refimprove

File:Umkehrregel 2.png
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

Script error: No such module "sidebar". In calculus, the inverse function rule is a formula that expresses the derivative of the inverse of a bijective and differentiable function Template:Mvar in terms of the derivative of Template:Mvar. 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 Template:Mvar, 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.[1]

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,

dxdy⋅dydx=1.

This relation is obtained by differentiating the equation f−1(y)=x in terms of Template:Mvar and applying the chain rule, yielding that:

dxdy⋅dydx=dxdx

considering that the derivative of Template:Mvar with respect to Template:Mvar 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. Derivating this equation with respect to Template:Tmath, 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

dydx=2x    ;    dxdy=12y=12x
dydx⋅dxdy=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 Template:Mvar) has inverse x=ln⁡y (for positive y)
dydx=ex    ;    dxdy=1y=e−x
dydx⋅dxdy=ex⋅e−x=1.

Additional properties

f−1(x)=∫1f′(f−1(x))dx+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(x)dx=xf−1(x)−F(f−1(x))+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:d(f′)−1(z)dz=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:
d(f′)−1(z)dz=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:

d(f(n))−1(z)dz=1f(n+1)(x)

Higher derivatives

The chain rule given above is obtained by differentiating the identity f−1(f(x))=x with respect to Template:Mvar. One can continue the same process for higher derivatives. Differentiating the identity twice with respect to Template:Mvar, one obtains

d2ydx2⋅dxdy+ddx(dxdy)⋅(dydx)=0,

that is simplified further by the chain rule as

d2ydx2⋅dxdy+d2xdy2⋅(dydx)2=0.

Replacing the first derivative, using the identity obtained earlier, we get

d2ydx2=−d2xdy2⋅(dydx)3.

Similarly for the third derivative:

d3ydx3=−d3xdy3⋅(dydx)4−3d2xdy2⋅d2ydx2⋅(dydx)2

or using the formula for the second derivative,

d3ydx3=−d3xdy3⋅(dydx)4+3(d2xdy2)2⋅(dydx)5

These formulas can also be written using Lagrange's notation. If Template:Mvar and Template:Mvar are inverses, then

g″(x)=−f″(g(x))[f′(g(x))]3

Higher derivatives of an inverse function can also be expressed with Faà di Bruno's formula and can be written succinctly as:

[f−1](n)(x)=[(1f′(t)ddt)nt]t=f−1(x)

From this expression, one can also derive the nth-integration of inverse function with base-point a using Cauchy formula for repeated integration whenever f(f−1(x))=x:

[f−1](−n)(x)=1n!(f−1(a)(x−a)n+∫f−1(a)f−1(x)(x−f(u))ndu)

Example

  • y=ex has the inverse x=ln⁡y. 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

Script error: No such module "Portal".

References

<templatestyles src="Reflist/styles.css" />

  1. ↑ Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

  • Script error: No such module "citation/CS1".

Template:Calculus topics