# Inverse functions and differentiation

In mathematics, the **inverse** of a function
is a function that, in some fashion, "undoes" the effect of
(see inverse function for a formal and detailed definition). The inverse of
is denoted as
, where
if and only if
.

Their two derivatives, assuming they exist, are reciprocal, as the Leibniz notation suggests; that is:

This relation is obtained by differentiating the equation in terms of x and applying the chain rule, yielding that:

considering that the derivative of x with respect to *x* is 1.

Writing explicitly the dependence of y on x, and the point at which the differentiation takes place, the formula for the derivative of the inverse becomes (in Lagrange's notation):

- .

This formula holds in general whenever is continuous and injective on an interval I, with being differentiable at ( ) and where .[1] The same formula is also equivalent to the expression

where denotes the unary derivative operator (on the space of functions) and denote the binary composition operator.

Geometrically, a function and inverse function have graphs that are reflections, in the line . This reflection operation turns the gradient of any line into its reciprocal.[2]

Assuming that has an inverse in a neighbourhood of and that its derivative at that point is non-zero, its inverse is guaranteed to be differentiable at and have a derivative given by the above formula.

## Examples

- (for positive x) has inverse .

At , however, there is a problem: the graph of the square root function becomes vertical, corresponding to a horizontal tangent for the square function.

- (for real x) has inverse (for positive )

## Additional properties

- Integrating this relationship gives

- This is only useful if the integral exists. In particular we need 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.

## Higher derivatives

The chain rule given above is obtained by differentiating the identity
with respect to x. One can continue the same process for higher derivatives. Differentiating the identity twice with respect to *x*, one obtains

that is simplified further by the chain rule as

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

Similarly for the third derivative:

or using the formula for the second derivative,

These formulas are generalized by the Faà di Bruno's formula.

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

## Example

- has the inverse . Using the formula for the second derivative of the inverse function,

so that

- ,

which agrees with the direct calculation.

## See also

## References

- "Derivative of Inverse Functions (a.k.a, How to Create Your Own Table of Derivatives)".
*Math Vault*. 2016-02-28. Retrieved 2019-07-26. - "Derivatives of Inverse Functions".
*oregonstate.edu*. Retrieved 2019-07-26.