AP Calculus AB · Study guide

Differentiating Inverse Functions

AP® Calculus AB · Unit 3 · Differentiation: Composite, Implicit, and Inverse Functions

Derivatives of Inverse Functions

You can find the slope of an inverse function at a point without ever finding a formula for the inverse. This guide shows the rule, the picture behind it, and the one lookup step that trips most people.

The idea in one paragraph

The graph of \(f^{-1}\) is the graph of \(f\) reflected across the line \(y = x\). Reflecting swaps rise and run, so slopes at matching points are reciprocals. If \(f(a) = b\), then \((a, b)\) is on \(f\), \((b, a)\) is on \(f^{-1}\), and \(\left(f^{-1}\right)'(b) = \dfrac{1}{f'(a)}\). The key step is finding \(a\): the input of \(f\) that produces \(b\).

1The picture

Figure 1. Reflecting across y = x swaps every x-coordinate with its y-coordinate. A tangent line that rises 4 for every 1 across becomes one that rises 1 for every 4 across. That is the whole inverse rule: reciprocal slopes at mirrored points.

2The rule

\[ \left(f^{-1}\right)'(b) = \frac{1}{f'(a)} \quad\text{where}\quad f(a) = b \]

Three steps: (1) find \(a\) with \(f(a) = b\); (2) compute \(f'(a)\); (3) take the reciprocal. The same rule written with \(x\) is \(\left(f^{-1}\right)'(x) = \dfrac{1}{f'\left(f^{-1}(x)\right)}\).

Worked Example 1 Without a formula for the inverse

\(f(x) = x^3 + x + 1\); find \(\left(f^{-1}\right)'(3)\)

  1. 1
    Solving \(y = x^3 + x + 1\) for \(x\) is not practical, so use the rule \(\left(f^{-1}\right)'(b) = \dfrac{1}{f'(a)}\), where \(f(a) = b\).
  2. 2
    Find \(a\): which input gives \(f(a) = 3\)? Try small numbers: \(f(1) = 1 + 1 + 1 = 3\). So \(a = 1\).
  3. 3
    \(f'(x) = 3x^2 + 1\), so \(f'(1) = 4\).
  4. 4
    \(\left(f^{-1}\right)'(3) = \dfrac{1}{4}\).
Answer: \(\dfrac{1}{4}\)
Write it like this

“Since \(f(1) = 3\), \(\left(f^{-1}\right)'(3) = \dfrac{1}{f'(1)} = \dfrac{1}{4}\).”

State the matching input first; it shows you evaluated \(f'\) in the right place.

Common Mistake 1 · Evaluating f′ at b instead of a

\(\left(f^{-1}\right)'(3)\) is not \(\dfrac{1}{f'(3)}\). The 3 is an output of \(f\). The derivative of \(f\) must be taken at the input that produced it, \(a = 1\).

Worked Example 2 Another function

\(g(x) = e^{2x} + x\); find \(\left(g^{-1}\right)'(1)\)

  1. 1
    Which input gives \(g(a) = 1\)? \(g(0) = e^0 + 0 = 1\), so \(a = 0\).
  2. 2
    \(g'(x) = 2e^{2x} + 1\), so \(g'(0) = 3\).
Answer: \(\left(g^{-1}\right)'(1) = \dfrac{1}{3}\)
Worked Example 3 Where the ln rule comes from

\(\dfrac{d}{dx}[\ln x]\) from \(e^x\)

  1. 1
    \(\ln x\) is the inverse of \(e^x\). At the point \((x, \ln x)\) on the log graph, the mirrored point on the exponential graph is \((\ln x, x)\).
  2. 2
    The slope of \(e^u\) at \(u = \ln x\) is \(e^{\ln x} = x\).
  3. 3
    Reciprocal: the slope of \(\ln x\) at \(x\) is \(\dfrac{1}{x}\).
Answer: \(\dfrac{d}{dx}[\ln x] = \dfrac{1}{x}\), recovered from the inverse rule.

3Using a table

Worked Example 4 From a table

\(\left(f^{-1}\right)'(5)\)

\(f\) is differentiable and has an inverse.

\(x\)\(f(x)\)\(f'(x)\)
253
59−2
  1. 1
    Find the input that \(f\) sends to 5: the row with \(f(x) = 5\) is \(x = 2\).
  2. 2
    Use the derivative in that same row: \(f'(2) = 3\).
  3. 3
    \(\left(f^{-1}\right)'(5) = \dfrac{1}{f'(2)} = \dfrac{1}{3}\).
Answer: \(\dfrac{1}{3}\). Using \(f'(5) = -2\) would be the classic mistake.
Common Mistake 2 · Confusing the inverse with the reciprocal

\(f^{-1}(x)\) is the inverse function, not \(\dfrac{1}{f(x)}\). The reciprocal only appears in the slope: \(\left(f^{-1}\right)'(b) = \dfrac{1}{f'(a)}\).

4When there is no derivative

Worked Example 5 When the rule breaks down

\(f(x) = x^3\) at the origin

  1. 1
    \(f'(0) = 0\): the graph of \(x^3\) has a horizontal tangent at the origin.
  2. 2
    The rule would need \(\dfrac{1}{0}\). Mirroring a horizontal tangent gives a vertical tangent.
  3. 3
    So the inverse, \(\sqrt[3]{x}\), has a vertical tangent at 0 and no derivative there.
Answer: \(\left(f^{-1}\right)'(0)\) does not exist: a horizontal tangent on \(f\) becomes a vertical tangent on \(f^{-1}\).
Why the inverse exists at all

A function has an inverse when it never takes the same output twice, for example when it is always increasing. \(f(x) = x^3 + x + 1\) has \(f'(x) = 3x^2 + 1 \gt 0\) everywhere, so it is always increasing, and its inverse is a function.

Quick reference

StepWhat to do
1Find \(a\) with \(f(a) = b\) (solve, guess and check, or read a table row)
2Compute \(f'(a)\)
3\(\left(f^{-1}\right)'(b) = \dfrac{1}{f'(a)}\)
\(f'(a) = 0\)The inverse has a vertical tangent at \(b\): no derivative