Educerie

Educerie · AP · Calculus

AP Calculus AB and BC 3.3

Differentiating Inverse Functions

How do you differentiate a function that is not written in a simple, ready-made form, one that is nested, defined implicitly, or defined as an inverse?

What you will learn

  • Understand that slopes of an inverse are reciprocals at swapped points
  • Know that f prime is evaluated at a and the answer is at b
  • Understand that f prime of a equal to zero means a vertical tangent and no derivative
  • Know how to use a table of f and f prime

You must be able to

  1. Find the derivative of an inverse at a point from a formula or table
  2. Find a from f of a equal to b
  3. Write the tangent line to the inverse at the swapped point
  4. Explain why the inverse has no derivative when f prime is zero
  5. Combine the inverse derivative with the chain rule

In the exam. Section I multiple choice: "if ff is invertible and gg is its inverse, g′(a)=g'(a) =" from a table of values of ff and f′f', or from a formula for ff that cannot be solved for xx. In Section II it turns up inside table questions (one part asks for (f−1)′(f^{-1})' at a value, or for the derivative of a composite that contains f−1f^{-1}), and in the tangent line to the inverse.

1Inverse functions and their tables

Inverse function = the function that reverses ff: its inputs are the outputs of ff.

Example: f(x)=x3f(x) = x^{3} has inverse f−1(x)=x3f^{-1}(x) = \sqrt[3]{x}.

xxf(x)f(x)f−1(x)f^{-1}(x)
111
2823\sqrt[3]{2}
85122
  • Because f(2)=8f(2) = 8, we have f−1(8)=2f^{-1}(8) = 2. A table of ff, read backwards, is a table of f−1f^{-1}.
  • Be careful with the notation: f−1(x)f^{-1}(x) is not 1f(x)\dfrac{1}{f(x)}. The −1-1 names the inverse function.

2Where the rule comes from

The definition of an inverse says f−1(f(x))=xf^{-1}\bigl(f(x)\bigr) = x. Call the inverse gg, so g(f(x))=xg(f(x)) = x, and differentiate both sides with the chain rule.

g′(f(x))⋅f′(x)=1chain rule on the left; the derivative of x is 1g'\bigl(f(x)\bigr)\cdot f'(x) = 1 \qquad \textcolor{#838c91}{\text{chain rule on the left; the derivative of x is 1}}g′(f(x))=1f′(x)provided f’(x) is not 0g'\bigl(f(x)\bigr) = \frac{1}{f'(x)} \qquad \textcolor{#838c91}{\text{provided f'(x) is not 0}}

Now put x=ax = a and f(a)=bf(a) = b.

(f−1)′(b)=1f′(a)\bigl(f^{-1}\bigr)'(b) = \dfrac{1}{f'(a)}, where a=f−1(b)a = f^{-1}(b), provided f′(a)f'(a) exists and is not zero.

The order is the point of the rule. The derivative of ff is evaluated at aa, the input of ff. The answer is the derivative of f−1f^{-1} at bb, the output of ff.

Figure 1 shows it for f(x)=x3+xf(x) = x^{3} + x.

  • The graph of ff passes through (1,2)(1, 2) with slope f′(1)=3(1)2+1=4f'(1) = 3(1)^{2} + 1 = 4.
  • The inverse passes through the swapped point (2,1)(2, 1).
  • Its tangent has slope 14\dfrac{1}{4}, the reciprocal.
Graph of f(x) = x cubed plus x and its inverse, mirror images in the line y = x. The tangent to f at (1, 2) has slope 4. The tangent to the inverse at the matching point (2, 1) has slope 1 over 4 1 2 3 4 1 2 3 4 0 y x f f-1 (1, 2) (2, 1) slope 4 slope 1/4
Figure 1 · f(x) = x³ + x and its inverse are mirror images in y = x; the slope 4 at (1, 2) becomes 1 ÷ 4 at (2, 1)

3Using the rule

Method:

  1. You are given bb, the input to f−1f^{-1}. Find aa with f(a)=bf(a) = b.
  2. Work out f′(a)f'(a).
  3. Take the reciprocal.

When ff is a formula that you cannot solve for xx. Example: f(x)=x3+xf(x) = x^{3} + x. Find (f−1)′(2)\bigl(f^{-1}\bigr)'(2).

f(a)=2  ⇒  a3+a=2  ⇒  a=1found by trying small values; 1 + 1 = 2f(a) = 2 \;\Rightarrow\; a^{3} + a = 2 \;\Rightarrow\; a = 1 \qquad \textcolor{#838c91}{\text{found by trying small values; 1 + 1 = 2}}f′(x)=3x2+1  ⇒  f′(1)=4f'(x) = 3x^{2} + 1 \;\Rightarrow\; f'(1) = 4(f−1)′(2)=1f′(1)=14\bigl(f^{-1}\bigr)'(2) = \frac{1}{f'(1)} = \frac{1}{4}
  • On the no-calculator part, aa is a friendly number you can find by trying 0,1,−1,20, 1, -1, 2.
  • On the calculator part, you may solve f(a)=bf(a) = b with the calculator. Write down the equation you solve.

Example: f(x)=ex+xf(x) = e^{x} + x. Find (f−1)′(1)\bigl(f^{-1}\bigr)'(1).

f(0)=e0+0=1  ⇒  a=0f(0) = e^{0} + 0 = 1 \;\Rightarrow\; a = 0f′(x)=ex+1  ⇒  f′(0)=2f'(x) = e^{x} + 1 \;\Rightarrow\; f'(0) = 2(f−1)′(1)=12\bigl(f^{-1}\bigr)'(1) = \frac{1}{2}

Example: f(x)=2x+sin⁡xf(x) = 2x + \sin x. Find (f−1)′(0)\bigl(f^{-1}\bigr)'(0).

f(0)=0  ⇒  a=0f(0) = 0 \;\Rightarrow\; a = 0f′(x)=2+cos⁡x  ⇒  f′(0)=3f'(x) = 2 + \cos x \;\Rightarrow\; f'(0) = 3(f−1)′(0)=13\bigl(f^{-1}\bigr)'(0) = \frac{1}{3}

When ff is given by a table. Example (invented). A table gives ff and f′f'. Let g=f−1g = f^{-1}.

xx1234
f(x)f(x)25914
f′(x)f'(x)2458
g′(5)=1f′(g(5))=1f′(2)=14f(2) = 5, so g(5) = 2g'(5) = \frac{1}{f'\bigl(g(5)\bigr)} = \frac{1}{f'(2)} = \frac{1}{4} \qquad \textcolor{#838c91}{\text{f(2) = 5, so g(5) = 2}}g′(9)=1f′(3)=15f(3) = 9g'(9) = \frac{1}{f'(3)} = \frac{1}{5} \qquad \textcolor{#838c91}{\text{f(3) = 9}}
  • Read the f(x)f(x) row to find the input that gives 55. Do not use f′(5)f'(5): 5 is an output of ff, not an input.
  • You can only find g′(b)g'(b) for values bb in the f(x)f(x) row. g′(4)g'(4) cannot be found from this table.

4A check on a known inverse

The rule agrees with what you already know. Take f(x)=x3f(x) = x^{3} and g(x)=x3g(x) = \sqrt[3]{x}.

g′(x)=13x−2/3  ⇒  g′(8)=13⋅4=112g'(x) = \frac{1}{3}x^{-2/3} \;\Rightarrow\; g'(8) = \frac{1}{3\cdot 4} = \frac{1}{12}f(2)=8  ⇒  g′(8)=1f′(2)=13(2)2=112the same answerf(2) = 8 \;\Rightarrow\; g'(8) = \frac{1}{f'(2)} = \frac{1}{3(2)^{2}} = \frac{1}{12} \qquad \textcolor{#838c91}{\text{the same answer}}

The same argument gives the derivative of the natural log. Since ln⁡x\ln x is the inverse of f(x)=exf(x) = e^{x}:

ddx[ln⁡x]∣x=b=1f′(ln⁡b)=1eln⁡b=1b\frac{d}{dx}\bigl[\ln x\bigr]\bigg|_{x = b} = \frac{1}{f'(\ln b)} = \frac{1}{e^{\ln b}} = \frac{1}{b}

So ddx[ln⁡x]=1x\dfrac{d}{dx}\bigl[\ln x\bigr] = \dfrac{1}{x}, which is the derivative you used in Unit 2.

5When the inverse does not have a derivative

The rule divides by f′(a)f'(a). If f′(a)=0f'(a) = 0, the tangent to ff at aa is horizontal. When you reflect a horizontal line in y=xy = x, you get a vertical line.

  • The graph of f−1f^{-1} has a vertical tangent at bb, so (f−1)′(b)\bigl(f^{-1}\bigr)'(b) does not exist.
  • Example: f(x)=x3f(x) = x^{3} has f′(0)=0f'(0) = 0. The inverse x3\sqrt[3]{x} has a vertical tangent at x=0x = 0, and its derivative does not exist there.
  • This is why the rule says "provided the derivative exists".

If ff is invertible and differentiable with f′(2)=0f'(2) = 0 and f(2)=5f(2) = 5, the correct statement is: the derivative of f−1f^{-1} at 5 does not exist.

6The tangent line to the inverse

The point on the graph of f−1f^{-1} is (b,a)(b, a), and the slope is 1f′(a)\dfrac{1}{f'(a)}.

Example: for f(x)=x3+xf(x) = x^{3} + x, the point (2,1)(2, 1) has slope 14\dfrac{1}{4}.

y−1=14(x−2)y - 1 = \frac{1}{4}(x - 2)
  • The coordinates of the point are swapped from those of ff. The tangent line at (1,2)(1, 2) on ff has slope 4. The tangent line on f−1f^{-1} at (2,1)(2, 1) has slope 14\tfrac{1}{4}.
  • A common loss is to use the point (1,2)(1, 2) on the inverse's graph. The point is (2,1)(2, 1).

7Composites that contain f−1f^{-1}

Use the chain rule as well. Use the table in section 3, with g=f−1g = f^{-1}.

A power of the inverse. Example: k(x)=[g(x)]2k(x) = \bigl[g(x)\bigr]^{2}. Find k′(9)k'(9).

k′(x)=2g(x)⋅g′(x)k'(x) = 2g(x)\cdot g'(x)k′(9)=2 g(9) g′(9)=2(3)(15)=65g(9) = 3 and g’(9) = 1/f’(3) = 1/5k'(9) = 2\,g(9)\,g'(9) = 2(3)\left(\frac{1}{5}\right) = \frac{6}{5} \qquad \textcolor{#838c91}{\text{g(9) = 3 and g'(9) = 1/f'(3) = 1/5}}

An inverse of a scaled input. Example: q(x)=g(3x−1)q(x) = g(3x - 1). Find q′(2)q'(2).

q′(x)=g′(3x−1)⋅3q'(x) = g'(3x - 1)\cdot 3q′(2)=3 g′(5)=3⋅14=343(2) - 1 = 5, and g’(5) = 1/f’(2) = 1/4q'(2) = 3\,g'(5) = 3\cdot\frac{1}{4} = \frac{3}{4} \qquad \textcolor{#838c91}{\text{3(2) - 1 = 5, and g'(5) = 1/f'(2) = 1/4}}

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.