AP Calculus AB and BC

Derivative of an Inverse Function: Formula and Tables

If g is the inverse of f, then g'(x) = 1 / f'(g(x)). The slope of the inverse at a point is the reciprocal of the slope of the original function at the matching point. To find g'(b), first find the a with f(a) = b, then compute 1 / f'(a).

The formula

Suppose ff is a differentiable function with an inverse, and call the inverse gg, so g(x)=f−1(x)g(x) = f^{-1}(x). The derivative of gg can be written in terms of the derivative of ff (Topic 3.3, Differentiating Inverse Functions):

g′(x)=1f′(g(x))g'(x) = \frac{1}{f'(g(x))}

The formula applies wherever f′(g(x))≠0f'(g(x)) \ne 0. Its main use is finding the derivative of an inverse at a specific point without ever writing a formula for the inverse, which is often impossible to do by algebra.

Where the formula comes from

An inverse undoes the original function, so composing them returns the input:

f(g(x))=xf(g(x)) = x

Differentiate both sides with respect to xx. The left side is a composition, so the chain rule applies, and the right side has derivative 11:

f′(g(x))⋅g′(x)=1f'(g(x)) \cdot g'(x) = 1

Dividing by f′(g(x))f'(g(x)) gives the formula. The derivation also shows why the formula needs f′(g(x))≠0f'(g(x)) \ne 0: there is no way to divide otherwise.

The picture: reciprocal slopes at matching points

The graph of an inverse is the reflection of the original graph across the line y=xy = x. If the point (a,b)(a, b) is on the graph of ff, then (b,a)(b, a) is on the graph of gg. The reflection swaps rise and run, so a tangent line with slope mm at (a,b)(a, b) becomes a tangent line with slope 1m\frac{1}{m} at (b,a)(b, a).

You can check this on a pair you know. For f(x)=x3f(x) = x^3, the point (2,8)(2, 8) is on the graph and f′(2)=3(2)2=12f'(2) = 3(2)^2 = 12. The inverse is g(x)=x1/3g(x) = x^{1/3}, the point (8,2)(8, 2) is on its graph, and g′(8)=13(8)−2/3=13⋅14=112g'(8) = \frac{1}{3}(8)^{-2/3} = \frac{1}{3} \cdot \frac{1}{4} = \frac{1}{12}. The slopes 1212 and 112\frac{1}{12} are reciprocals.

The three-step method

To find g′(b)g'(b) when gg is the inverse of ff:

  1. Find the matching input. Solve f(a)=bf(a) = b for aa. Then g(b)=ag(b) = a.
  2. Find the slope of ff at that input: compute f′(a)f'(a).
  3. Take the reciprocal: g′(b)=1f′(a)g'(b) = \frac{1}{f'(a)}.

The number you are given is an output of f

In g′(b)g'(b), the number bb is an input of gg, which makes it an output of ff. The derivative of ff has to be evaluated at a=g(b)a = g(b). Computing 1f′(b)\frac{1}{f'(b)} is the most common error on this topic.

Step 1 rarely needs heavy algebra. Problems of this type are usually built so that aa is a small number you can find by testing 00, 11, −1-1, or 22.

Reading the values from a table

With a table, step 1 becomes a lookup. Search the row of f(x)f(x) values for the number bb, and read the xx above it. That xx is aa. Then read f′(a)f'(a) from the same column and take the reciprocal.

The mistakes are the same ones as before, and a table makes them easier to commit.

  • Reading the column where x=bx = b. You need the column where f(x)=bf(x) = b.
  • Treating f−1(x)f^{-1}(x) as 1f(x)\frac{1}{f(x)}. The notation f−1f^{-1} means the inverse function.
  • Using the negative reciprocal. That gives the slope of a perpendicular line. Inverse slopes are plain reciprocals with the same sign.
  • Applying the formula where f′(a)=0f'(a) = 0. The inverse has a vertical tangent at that point and is not differentiable there.

For cases where the formula breaks down, see when the inverse derivative formula fails.

Worked examples

Worked example

A cubic with no usable inverse formula

Let f(x)=x3+2x−1f(x) = x^3 + 2x - 1 and let gg be the inverse of ff. Find g′(2)g'(2).

  1. Find the matching input: solve f(a)=2f(a) = 2. Testing a=1a = 1 gives f(1)=1+2−1=2f(1) = 1 + 2 - 1 = 2, so a=1a = 1 and g(2)=1g(2) = 1.
  2. Differentiate ff: f′(x)=3x2+2f'(x) = 3x^2 + 2. This is positive for every xx, so ff is increasing and has an inverse.
  3. Evaluate at a=1a = 1: f′(1)=3+2=5f'(1) = 3 + 2 = 5.
  4. Take the reciprocal: g′(2)=1f′(1)=15g'(2) = \frac{1}{f'(1)} = \frac{1}{5}.

g′(2)=15g'(2) = \frac{1}{5}

Worked example

Values from a table

A differentiable, increasing function ff has the values f(1)=2f(1) = 2, f(2)=3f(2) = 3, f(3)=5f(3) = 5, f(4)=8f(4) = 8 and f′(1)=4f'(1) = 4, f′(2)=12f'(2) = \frac{1}{2}, f′(3)=3f'(3) = 3, f′(4)=2f'(4) = 2. Let gg be the inverse of ff. Find g′(3)g'(3) and an equation of the line tangent to the graph of gg at x=3x = 3.

  1. Find where ff has the output 33. From the given values, f(2)=3f(2) = 3, so g(3)=2g(3) = 2.
  2. Read the derivative of ff at that input: f′(2)=12f'(2) = \frac{1}{2}.
  3. Take the reciprocal: g′(3)=1f′(2)=11/2=2g'(3) = \frac{1}{f'(2)} = \frac{1}{1/2} = 2.
  4. The tangent line to gg passes through (3,g(3))=(3,2)(3, g(3)) = (3, 2) with slope 22.
  5. Check against the common error: using f′(3)=3f'(3) = 3 would give 13\frac{1}{3}, which is wrong because 33 is an output of ff here.

g′(3)=2g'(3) = 2, and the tangent line is y−2=2(x−3)y - 2 = 2(x - 3).

Worked example

A function with a logarithm

Let f(x)=2x+ln⁡xf(x) = 2x + \ln x for x>0x > 0, and let gg be the inverse of ff. Find g′(2)g'(2).

  1. Find the matching input: solve f(a)=2f(a) = 2. Testing a=1a = 1 gives f(1)=2+ln⁡1=2+0=2f(1) = 2 + \ln 1 = 2 + 0 = 2, so g(2)=1g(2) = 1.
  2. Differentiate ff: f′(x)=2+1xf'(x) = 2 + \frac{1}{x}, which is positive for x>0x > 0, so ff is increasing and has an inverse.
  3. Evaluate at a=1a = 1: f′(1)=2+1=3f'(1) = 2 + 1 = 3.
  4. Take the reciprocal: g′(2)=13g'(2) = \frac{1}{3}.

g′(2)=13g'(2) = \frac{1}{3}

Frequently asked questions

Do I need a formula for the inverse function to find its derivative?

No. The formula g′(x)=1f′(g(x))g'(x) = \frac{1}{f'(g(x))} needs only the value g(b)g(b) at the one point you care about and the derivative of the original function ff. You find g(b)g(b) by solving f(a)=bf(a) = b, often by inspection or from a table.

Is f−1(x)f^{-1}(x) the same as 1f(x)\frac{1}{f(x)}?

No. f−1(x)f^{-1}(x) is the inverse function, the function that undoes ff. The reciprocal 1f(x)\frac{1}{f(x)} is written (f(x))−1(f(x))^{-1}. They have different derivatives: the reciprocal is differentiated with the chain rule or quotient rule, and the inverse uses the formula in this guide.

What happens when f′(a)=0f'(a) = 0?

The formula would require dividing by zero, so it does not apply. Geometrically, a horizontal tangent on the graph of ff reflects to a vertical tangent on the graph of the inverse, and the inverse is not differentiable at that point. For example, f(x)=x3f(x) = x^3 has f′(0)=0f'(0) = 0, and its inverse x1/3x^{1/3} has a vertical tangent at x=0x = 0.