# Derivatives of Inverse Functions

This lesson will discuss how to determine the derivative of an inverse function $f^{-1}(x)$ given that we know that the derivative of $f(x)$ is. We will then see how we can apply these ideas to a variety of different applications, including finding the derivatives of inverse trigonometric functions.

## Derivativation

Imagine that we know the derivative of some function $f(x)$, and we are interested in computing $f^{-1}(x)$, which is defined to be the *inverse* of $f(x)$. That is, $f(f^{-1}(x))=f^{-1}(f(x))=x$. Using this definition and the chain rule, we can determine the derivative of $f^{-1}(x)$. Firstly, consider the equation

We can differentiate both sides with respect to $x$. To simplify the left hand side, we will need to use the chain rule, setting our $\eta$ parameter from discussion of the chain rule to $\eta=f^{-1}(x)$. This gives us the following:

Solving for the derivative of the inverse function therefore gives us

This is the formula for the derivative of an inverse function given that we know the derivative of $f(x)$. Let’s go over a basic example to illustrate how this works. Define $f(x)=x^2$. This is a parabola, and so we know that $f^{-1}(x)=\sqrt{x}$ (you can confirm this using the definition of the inverse function given above). The right hand side gives us

Here, we obtained this result by differentiating $x^2$ with respect to $x$, and then plugging in the expression $f^{-1}(x)=\sqrt{x}$ for $x$. This result agrees with our expected result for the derivative of the inverse function $f^{-1}(x)=\sqrt{x}$ using the power rule from before.

## Derivatives of Inverse Trigonometric Functions

The above example was great, but wasn’t extremely helpful since we could already find the derivative of the function $y=\sqrt{x}$ quite easily using the chain rule. In contrast, let’s try to find the derivative of the function $f^{-1}(x)=\sin^{-1}(x)$, which is the inverse function of $f(x)=\sin x$. Using the fact that $f’(x)=\cos x$ from our work on derivatives of trigonometric functions, we can plug in to the formula from above:

Strictly speaking, this is the correct answer and so we’re done. However, how can we simplify the expression in the denominator on the right hand side? The easiest way to do this is perhaps by considering a right triangle:

Here, we have constructed a right triangle with leg lengths of $x$ and $\sqrt{1-x^2}$ for some parameter $x$, and with hypotenuse length of $1$. Recall that the definition of the sine of an angle $\theta$ can be given by the length of the **opposite** side divided by the length of the **hypotenuse** in this right triangle. In this case, using this definition gives us $\sin\theta=x/1=x$. Therefore, by the definition of the inverse function, $\theta=\sin^{-1}(x)$. Because the cosine of an angle is defined to be the **adjacent** side length divided by the **hypotenuse** side length, we can conclude that

.

From this simple, seemingly unrelated geometry can yield a result that can be used in our result for the derivative of the arcsine function from above:

In the problems below, you will also prove the following results:

The proofs for these results are quite similar to the proof for finding the derivative of $\sin^{-1}(x)$ from above. Of course, we can combine any one of these with the chain rule to evaluate the derivatives of more complex functions that involve these derivatives. We will illustrate two of the proofs below:

## Example 1

Let’s try to evaluate the derivative . This corresponds to $f(x)=\tan(x)$, and from our work on derivatives of trigonometric functions, recall that $\frac{d}{dx}[\tan x]=\sec^2 x$. Therefore, using the formula for the derivative of inverse functions,

Now, in order to simplify the right hand side, we need to consider a right triangle diagram yet again, but this time, the diagram must feature an angle $\theta$ whose tangent (opposite divided by adjacent) is equal to $x$. Using the Pythagorean theorem, a potential diagram might look like

Clearly, $\tan\theta=x/1=x$, meaning that $\tan^{-1}(x)=\theta$. Taking the cosine of both sides (which is adjacent side length divided by hypotenuse length), we have

Finally, squaring both sides gives

Therefore, we can conclude that

This gives us the expected result.

## Example 2

We can also evaluate the derivative . This corresponds to $f(x)=\csc(x)$, and again, we showed previously that $\frac{d}{dx}[\csc(x)]=-\cot x\csc x$. This means that, using the inverse function formula from above,

This is because $\csc(\csc^{-1}(x))=\vert x\vert$ from the basic definition of inverse functions. (I encourage you to verify this yourself. More interestingly, why do we need the absolute value signs?) To evaluate the numerator on the right hand side, we again apply a similar technique:

Using this diagram, we have $\csc\theta=(\text{hypotenuse})/(\text{opposite})=x$, meaning that $\csc^{-1}(x)=\theta$. Taking the tangent of both sides,

Therefore, plugging this result into the equation above, we find

This gives us the expected result.

## Exercises

## Problem 1

Derive the remaining three inverse trigonometric function derivatives:

## Problem 2

Answer the following three questions:

- Let . Find the tangent line to at $(1, 0)$.
- Let . Find the tangent line to $f^{-1}(x)$ at $(0, 0)$.
- Let . Find the tangent line to $f^{-1}(x)$ at $(-1, 0)$.

*Note:* In all three of these problems, do *not* try to derive an explicit form for $f^{-1}(x)$. Instead, use the formula for a derivative at a specific point that directly stems from the general formula we found above. Namely,

## Problem 3

*This problem is adapted from the 2007 AP Calculus AB Exam.*

The functions $f$ and $g$ are differentiable for all real numbers, and $g$ is strictly increasing. The table below gives values of the functions and their first derivatives at selected values of $x$.

$x$ | $f(x)$ | $f’(x)$ | $g(x)$ | $g’(x)$ |

1 | 6 | 4 | 2 | 5 |

2 | 9 | 2 | 3 | 1 |

3 | 10 | -4 | 4 | 2 |

4 | -1 | 3 | 6 | 7 |

The function $h$ is given by $h(x)=f(g(x))-6$.

- Explain why there must be a value $r$ for $1<r<3$ such that $h(r)=-5$.
- Explain why there must be a value $c$ for $1<c<3$ such that $h’(c)=-5$.
- If $g^{-1}$ is the inverse function of $g$, write an equation for the line tangent to the graph of $y=g^{-1}(x)$ at $x=2$.