Access this content offline
Omniguides
Skip to the reading

Inverse Functions

This original textbook reading covers part of the AP topic. Follow the AP course outline for complete topic instruction and practice.

More Special Derivatives!

Just as we saved learning about exponential and logarithmic derivatives until after learning about implicit differentiation, we also saved another set of derivatives, the derivatives of inverse trigonometric functions. After deriving these, we’ll see that finding the derivatives of inverse functions is really methodical. Let’s get started!

Proof: the derivative of y=sin-1(x) using implicit differentiation.

We can rewrite y=sin-1(x) into x=sin(y) because that is the definition of an inverse function (recall that we just switch the x and the y to get the inverse function). You can also think of it as taking the sine of both sides.

Now we can implicitly differentiate both sides since we have rewritten our function in terms of x.

ddxx=ddxsiny

1=cosy⋅dydx

dydx=1cosy, but we don’t like y-terms in our final derivative. Recall that we can find cos(y) in terms of sin(y) via our trig identities,

cos2y+sin2y=1

cosy=1-sin2y

We can now substitute this into the purple derivative formula. Remember that sin y = x from the original definition of an inverse function. Finally, we get

dydxsin-1x=11-x2

​
Let’s keep on marching through these proofs!

Proof: the derivative of y=tan-1(x) using implicit differentiation.

Same strategy as before. First we rearrange the equation to get x=tan(y), then differentiate both sides with respect to x.

ddxx=ddx(tany)

1=sec2y⋅dydx

dydx=1sec2y

Again, we refer to our trig identities to see that sec2y=1+tan2y. Since tan(y)=x, we can substitute these two values into the derivative function so that we get

dydxtan-1x=11+x2

Easy right? Hopefully you have been seeing a pattern with the derivatives we have been coming up with. Hopefully in your mind you have been comparing logarithmic derivatives with exponential derivatives, and inverse trigonometric function derivatives with trigonometric derivatives, and have noticed some interesting patterns. At this point we should be able to find the derivative of almost any inverse function.

Additional Exercise: Prove the derivative of csc(x)

Visualization of Inverse Derivatives

So far, we have been taking the derivatives of inverse functions analytically, but we have not had the chance to see and compare the derivative of an inverse function with the derivative of its parent function. You might imagine that since the inverse function is just the parent function reflected across the line y=x, we might be able to form some sort of logical relationship between their derivatives, and you would be right. Refer to Interactive 5.2.1 for a more in-depth visualization.

The Derivative of an Inverse

Sometimes, given a function, we may want to find the derivative of its inverse. For example, given that f(x)=x2+2x+1, find ddxf-1(x). Your first instinct may be to switch out x and y, isolate y in terms of x of the inverse function, then take its derivative, but that is an involved process. Instead, there is a neat formula that is helpful, but using it is tricky and requires practice.

ddxf-1(x)=1f′(f-1(x))

The next example will help gain practice with this formula.

Example Problem 5.2.1

Find the derivative of the inverse of f(x)=x2+2x+1 using (a) the formula given above, and (b) by calculating the inverse first, then taking its derivative. Which method is easier?

Interactive 5.2.1 Inverse and normal functions.

Interactive 5.2.1 Inverse and normal functions.
Read all original figure notes

Two more points

Notice that this pointer goes through the point (0, 1) and (1, 0). The tangent lines at both of these points have a slope of 1. However, since the inverse of 1 is also 1, this does not tell us much.

Second point of interest

Here, we look at the point y=1 (compared to x=1) and notice that the slope of the tangent line is 1/e. Seem familiar? All the derivatives of inverse functions we proved were in the form of 1/(some function). Now it (almost) makes sense!

First point of interest

The slope of the tangent line at x=1 is e, which makes sense since the derivative of ex is ex.

  1. In order to use the formula, we must calculate the derivative of the original function as well as the inverse of the original function. As a reminder, the formula is:

ddxf-1(x)=1f′(f-1(x))

We’ll start by creating a table and filling it in as we go.

f(x)=x2+2x+1ddxf(x)=2x+2f-1(x)=?ddxf-1(x)=?

To calculate y=f-1(x), we simply switch the x and y in the original equation, which gives us x=y2+2y+1, where y=f-1(x)

x=(y+1)2

x=y+1

f-1(x)=x-1

For the next step, we simply plug this into the formula, but it’s tricky, so watch carefully!

ddxf-1(x)=1f′(f-1(x))=12(x-1)+2

Simplifying this gives us ddxf-1(x)=12x

  1. Next, we try without the formula. We know that f-1(x)=x-1 from part a). Now we just take the derivative of this normally. The derivative of the constant (–1) is 0, and the derivative of x is 12x, therefore ddxf-1(x)=12x. We get the same answer!

Next is a table summarizing the trigonometric inverse functions and their derivatives.

Source figure

Example Problem 5.2.2

Calculate the second derivative of y=tan-1(sinx) at x=π2

Using the color coding scheme again:

Magenta - Quotient Rule​
Green - Chain Rule​
Blue - Product Rule

Let’s take the first derivative:

y′=11+sin2x⋅cosx=cosx1+sin2x

y′′=(1+sin2x)⋅ddx(cosx)-cosx⋅ddx(1+sin2x)(1+sin2x)2

y′′=-sinx(1+sin2x)-cosx⋅2sinxcosx(1+sin2x)2

At this point we can just go ahead and plug in x=π2 into the derivative to get the answer (we do not need to simplify since we are looking for a numerical answer). We know that sin(π/2)=1 and cos(π/2)=0 from our unit circle. That’s all we need to solve the rest of this problem.

atπ2,y′′=-1⋅(1+12)-0⋅2⋅1⋅0(1+12)2=-12

Pop Quiz 5.2.1 Inverse Functions

Question 1 of 5 · 0 correct

The given graph represents the derivative of which inverse function?

Select one answer.
Glossary and deeper reading · 5 refreshers

These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.

  • Derivative

    A derivative gives the instantaneous rate of change of a function with respect to its input. At a point, it is the finite limit of the difference quotient when that limit exists. For example, the derivative of x² is 2x, so the tangent slope at x=3 is 6. A derivative function collects those rates across the inputs where the function is differentiable.

    Read more: 2.2 · Derivative →

  • Implicit differentiation

    Implicit differentiation finds a derivative from an equation relating variables without first solving explicitly for one variable. When y depends on x, differentiating a term containing y requires the chain rule and a factor of dy/dx. For example, x²+y²=1 gives 2x+2y(dy/dx)=0. Solving that relation for dy/dx gives −x/y only where y≠0 and the relation supports the local function being considered.

    Read more: 3.2 · Implicit differentiation →

  • Inverse trigonometric function

    An inverse trigonometric function returns a principal angle from a trigonometric output. The original trigonometric function is restricted to a one-to-one interval to define that inverse. For example, arcsin(1/2)=π/6 under the usual range [−π/2,π/2]. The notation sin⁻¹x means arcsin x, whereas the reciprocal of sine is cosecant.

    Read more: 3.4 · Inverse trigonometric function →

  • Inverse function

    An inverse function reverses another function’s input-output assignment. A function needs to be one-to-one on its chosen domain for an inverse function to exist. For example, x³ has inverse the cube-root function, while x² needs a domain restriction such as x≥0. The notation f⁻¹ denotes an inverse function rather than the reciprocal 1/f.

    Read more: 3.3 · Inverse function →

  • Function

    A mathematical function assigns exactly one output to each input in its domain. Inputs can share an output, but one input cannot have two different outputs. For example, f(x)=x² assigns the output 9 to both 3 and −3. Function notation names the rule and its input; f(3) means the output when the input is 3.

Search lessons, terms and problems