impera Open Impera

AP Calculus BC · Differentiation: composite, implicit and inverse functions

Derivatives of inverse functions

1The inverse function rule

If $f$ and $g$ are inverse functions, then $f(g(x)) = x$. Differentiating both sides with the chain rule:

$$f'(g(x)) \cdot g'(x) = 1 \quad\Rightarrow\quad g'(x) = \frac{1}{f'(g(x))}$$

So the derivative of an inverse is the reciprocal of the original derivative, evaluated at the matching point.

Geometrically, the graph of $f^{-1}$ is the reflection of $f$ in the line $y = x$. Reflection swaps rise and run, so slopes become reciprocals: if $f$ has slope $m$ at $(a, b)$, then $f^{-1}$ has slope $\frac{1}{m}$ at $(b, a)$.

Reflecting in y = x swaps the coordinates and turns a slope of 2 into a slope of 1/2

Check yourself

If f has slope 4 at (2, 7), what is the slope of f⁻¹ at (7, 2)?

  • 7/2

  • 4

  • −1/4

  • 1/4

Show the answer

1/4

Reflection swaps rise and run.

2Using the rule with values

AP questions often give a table or a formula and ask for $(f^{-1})'(b)$.

Worked example

$f(x) = x^3 + x + 1$. Find $(f^{-1})'(3)$.

  1. Find $a$ with $f(a) = 3$: $a^3 + a + 1 = 3$, so $a = 1$ (test small integers).
  2. $f'(x) = 3x^2 + 1$, so $f'(1) = 4$.
  3. $(f^{-1})'(3) = \frac{1}{f'(1)} = \frac{1}{4}$.

The key step is step 1: the input to $f^{-1}$ is an output of $f$. A common error is to compute $\frac{1}{f'(3)}$.

Check yourself

f(2) = 5 and f′(2) = 3. Then (f⁻¹)′(5) =

  • 3

  • 1/2

  • 1/5

  • 1/3

Show the answer

1/3

Use f′ at the x-value whose output is 5.

3Inverse trigonometric functions

Using the same idea with implicit differentiation gives the inverse trig derivatives.

Worked example

$y = \arcsin x$

  1. Then $\sin y = x$, with $-\frac{\pi}{2} \le y \le \frac{\pi}{2}$.
  2. Differentiate: $\cos y \frac{dy}{dx} = 1$, so $\frac{dy}{dx} = \frac{1}{\cos y}$.
  3. Since $\cos y \ge 0$ here, $\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}$.
  4. $\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}$.

The results to memorise:

  • $\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}$
  • $\frac{d}{dx}[\arccos x] = -\frac{1}{\sqrt{1 - x^2}}$
  • $\frac{d}{dx}[\arctan x] = \frac{1}{1 + x^2}$

With the chain rule: $\frac{d}{dx}[\arctan(3x)] = \frac{3}{1 + 9x^2}$.

Check yourself

d/dx [arctan x] =

  • 1/√(1 − x²)

  • 1/(1 + x²)

  • −1/(1 + x²)

  • sec² x

Show the answer

1/(1 + x²)

It is defined for all x.

4Logarithms as inverses

The natural log is the inverse of $e^x$, so the inverse rule explains its derivative:

  1. If $y = \ln x$, then $e^y = x$.
  2. Differentiate: $e^y\frac{dy}{dx} = 1$, so $\frac{dy}{dx} = \frac{1}{e^y} = \frac{1}{x}$.

This is why $\frac{d}{dx}[\ln x] = \frac{1}{x}$.

Check yourself

Differentiating eʸ = x implicitly gives dy/dx =

  • x

  • ln x

  • 1/x

  • eˣ

Show the answer

1/x

eʸ dy/dx = 1, and eʸ = x.

5Going deeper: the inverse-function formula with tables, and the inverse trigonometric derivatives

The formula: if f and g are inverses and f(a) = b, then

$$g'(b) = \frac{1}{f'(a)}$$

Geometrically: the graphs are reflections in y = x, so the slopes at corresponding points (a, b) and (b, a) are reciprocals.

Method

  1. Find a such that f(a) = b (the input of the inverse is an output of f).
  2. Find f′(a).
  3. Take the reciprocal.
Worked example

$f(x) = x^3 + x$. Find $(f^{-1})'(2)$.

  1. Solve f(a) = 2: a = 1 (since 1 + 1 = 2).
  2. $f'(x) = 3x^2 + 1$; f′(1) = 4.
  3. $(f^{-1})'(2) = \frac{1}{4}$.

There is no need (and often no way) to find a formula for the inverse.

Worked example (from a table): f(1) = 3, f(3) = 7, f′(1) = 5, f′(3) = −2. Find g′(3) where g = f⁻¹.

  1. g(3) = 1, because f(1) = 3.
  2. g′(3) = $\frac{1}{f'(1)} = \frac{1}{5}$.
  3. The common error is $\frac{1}{f'(3)} = -\frac{1}{2}$.
Worked example

$f(x) = e^x + x$. Find $(f^{-1})'(1)$.

  1. f(0) = 1, so a = 0.
  2. $f'(x) = e^x + 1$; f′(0) = 2.
  3. Answer $\frac{1}{2}$.

Inverse trigonometric derivatives

$$\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}, \quad \frac{d}{dx}[\arccos x] = -\frac{1}{\sqrt{1 - x^2}}, \quad \frac{d}{dx}[\arctan x] = \frac{1}{1 + x^2}$$

Also: $(\text{arccot } x)' = -\frac{1}{1 + x^2}$; $(\text{arcsec } x)' = \frac{1}{|x|\sqrt{x^2 - 1}}$.

With the chain rule

  1. $\arctan(3x)$: $\frac{3}{1 + 9x^2}$.
  2. $\arcsin(x^2)$: $\frac{2x}{\sqrt{1 - x^4}}$.
  3. $\arctan(e^x)$: $\frac{e^x}{1 + e^{2x}}$.
  4. $x\arcsin x$: $\arcsin x + \frac{x}{\sqrt{1 - x^2}}$.

Where the formula comes from (implicit differentiation): let y = arcsin x, so sin y = x.

  1. $\cos y\,\frac{dy}{dx} = 1$.
  2. $\frac{dy}{dx} = \frac{1}{\cos y} = \frac{1}{\sqrt{1 - \sin^2y}} = \frac{1}{\sqrt{1 - x^2}}$.

(cos y is positive because y lies between $-\frac{\pi}{2}$ and $\frac{\pi}{2}$.)

Logarithms as inverses: y = ln x means $e^y = x$; then $e^yy' = 1$, so $y' = \frac{1}{e^y} = \frac{1}{x}$. The same formula in action.

Worked example (tangent line to an inverse): for $f(x) = x^3 + x$ and g = f⁻¹, the tangent to g at x = 2.

  1. Point (2, 1); slope $\frac{1}{4}$.
  2. $y - 1 = \frac{1}{4}(x - 2)$.

When the inverse is not differentiable: where f′(a) = 0, the inverse has a vertical tangent at b.

Common mistakes

  • Evaluating f′ at b in place of a.
  • Giving $-\frac{1}{f'(a)}$ (that is a perpendicular slope).
  • Confusing $f^{-1}(x)$ with $\frac{1}{f(x)}$.
  • Forgetting the chain-rule factor with arctan(3x).
  • Dropping the minus sign for arccos.
Check yourself

Let f(2) = 5 and f′(2) = 4, and let g be the inverse of f. What is g′(5)?

  • 1 ÷ 4

  • 1 ÷ 5

  • 4

  • −1 ÷ 4

Show the answer

1 ÷ 4

g′(5) = 1 ÷ f′(g(5)) = 1 ÷ f′(2).

6For top marks

  • To find $(f^{-1})'(b)$: first solve $f(a) = b$, then compute $\frac{1}{f'(a)}$.
  • Write the formula: $(f^{-1})'(b) = \frac{1}{f'(f^{-1}(b))}$.
  • Memorise the three inverse trig derivatives; remember the chain rule for inside functions.
  • The tangent line to $f^{-1}$ at $(b, a)$ has slope $\frac{1}{f'(a)}$.
Example

"Since $f(1) = 3$, $f^{-1}(3) = 1$. So $(f^{-1})'(3) = \frac{1}{f'(1)} = \frac{1}{4}$."

Check yourself

d/dx [arcsin(2x)] =

  • 2/(1 + 4x²)

  • 2/√(1 − 2x²)

  • 2/√(1 − 4x²)

  • 1/√(1 − 4x²)

Show the answer

2/√(1 − 4x²)

Chain rule with inside derivative 2.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera