Kim’s Math NotesCourse index

Differentiating Inverse Functions

At which point do I evaluate the original derivative to find an inverse derivative?

Find the derivative of an inverse function at a point without its formula: find a with f(a) = b, then flip f'(a).

Flip f' at a, not at b

Common mistake g=f−1, f(x)=x3+x+2: g′(4)=1f′(4)=149.

Correction 4 is a y-value of f. f(1)=4, so use a=1: g′(4)=1f′(1)=14.

Idea 1: swap the point

First, the picture. Set the cubic aside for a minute, and take a friendlier function. One: an inverse swaps the coordinates, x and y. Every output of f becomes an input of g. If a, b is on f... then b, a is on g.

For example: f of x is x squared over three, plus one, for x at least zero. Then f of three is nine over three, plus one... four. So the point three, four is on f, and g of four is three. Swap x and y, and the whole picture flips over the line y equals x.

Watch this part of the concept lesson

Read the rest of this scene

The two graphs are reflections of each other over that line: three, four on f... and four, three on g.

Idea 2: flip the slope

Two: the reflection flips the slope. On f, slope is rise over run, delta y over delta x. Swap x and y... and on g it becomes delta x over delta y. Wait... so the slope just turns upside down? Yes. Upside down.

Rise and run just traded places.

Watch this part of the concept lesson

Read the rest of this scene

Check it on the picture, with both tangent lines: the one at three, four on f, and the one at four, three on g. On f: f prime of x is two x over three... so f prime of three is two. So at the reflected point, g prime of four is one over f prime of three... one half. Two times one half is one: at matching points, the slopes are reciprocals.

Ideas 3–4: the chain rule, the recipe

Three: we get the same thing from the chain rule. f undoes g... so f of g of x is just x. Take the derivative of both sides, as long as g prime exists. Use the chain rule, with f outside and g of x inside: f prime at the inside, times g prime of x. And the derivative of x is just one.

Divide by f prime of g of x, as long as it isn't zero: g prime of x is one over f prime of g of x. That's the derivative of an inverse function.

Watch this part of the concept lesson

Read the rest of this scene

Read g of x as the partner, the x-value on f. One over the slope of f, at the matching point: the picture said it, and the chain rule says it. As for its name, g is f inverse, written f to the negative one. That negative one is not an exponent: f inverse is not one over f. Four: the recipe.

To find g prime of b, first find the partner a: f of a equals b. That a is g of b. Then g prime of b is one over f prime of a. In f inverse notation, the same line: f inverse prime of b is one over f prime of a. In short: find the partner, then flip the slope. In that order.

It's not one over f prime of b. b went into g, so b is a y-value of f, not an x-value. Plugging b into f prime is the classic trap.

Why (ln x)′ = 1/x

One more thing this move gives us. In unit two, the derivative of natural log x, one over x, was just a rule. Natural log undoes e to the x. Here's why the rule holds. Say y equals natural log x.

That means e to the y equals x.

Watch this part of the concept lesson

Read the rest of this scene

Differentiate both sides. On the left, the chain rule: e to the y, times dy dx. On the right, one. So dy dx is one over e to the y. And e to the y is x, so it's one over x.

Idea 5: f′(a) ≠ 0

Next, number five has one catch. It needs f prime of a not equal to zero. If f prime of a is zero, one over zero is undefined. Look at y equals x cubed. At zero, its tangent line is flat: f prime of zero is zero.

Now take its reflection over the line y equals x, the dashed line: you get the cube root of x. The flat line flips into a vertical line... a vertical tangent. Flat turns into a wall. So the inverse has no derivative at zero. So before you flip, check f prime at the partner a, the x-value of f, not at b.

Watch this part of the concept lesson

Read the rest of this scene

The recipe works when it isn't zero.

Example 1: multiple choice

Example one, multiple choice. Our opening function: f of x is x cubed plus x plus two, and g is its inverse. What is g prime of four? The plan: four went into g, so four is a y-value of f. First the partner a, with f of a equals four.

Then one over f prime of a. The recipe is right under the problem. Step one: a cubed plus a plus two equals four. Nobody wants to solve a cubic by hand, so try a small number first: One cubed, plus one, plus two... four.

So the partner is a equals one. So g of four is one.

Watch this part of the concept lesson

Read the rest of this scene

The point one, four on f... swaps to four, one on g. Step two is yours. Pause, and flip f prime of one yourself. The plan for step two: the slope of f at the partner, one... flipped. f prime of x is three x squared plus one.

At one: three plus one... four. Flip it. g prime of four is one over f prime of one. Which is? One fourth. So the answer is B. We found a slope of g without ever writing a formula for g.

We never met g, and we still know its slope. This is the multiple-choice style. On the AP exam's multiple-choice section, Unit three is weighted five to ten percent. Find the partner before you flip anything, and do the same on the next one in your workbook.

Common mistake: the wrong point

Now, a very common slip on this problem. This is where people lose points. Here it is on paper, so look closely. g prime of four equals... one over f prime of four. Three times sixteen, plus one, is forty-nine.

So one over forty-nine.

Watch this part of the concept lesson

Read the rest of this scene

So write down where the four lives: four went into g, so it's a y-value of f, not an x-value. The x-value is the partner, a equals one. So one over f prime of one... one fourth.

Example 2: a table

Example two. f is differentiable and has an inverse, g. Values of f and f prime are in a table. Find g of five, g prime of five... and the tangent line to g at x equals five. The plan: five went into g, so five is a y-value of f. Look for five in the f of x row.

There's no five in the x row.

Watch this part of the concept lesson

Read the rest of this scene

Part a. Here it is: f of two is five. So g of five is two. Part b. Now the slope. By the recipe, g prime of five is one over f prime of g of five... at the partner, two. One over f prime of two.

In the table, f prime of two is two thirds. One over two thirds... three halves. Point and slope are both in hand now, so pause and write the line yourself. Part c. The point on g is five, two, from part a. The slope is three halves, from part b.

And notice: x equals five is an x on the graph of g, but a y-value of f. That's why we looked in the f of x row. So the tangent line: y equals two, plus three halves times the quantity x minus five. That point-slope line is the answer. When your workbook gives a table like this, hunt in the f of x row.

Example 3: a graph

Example three. No formula this time, and no table. Just the graph of f, with its tangent line at the point four, six. The line also passes through zero, four. g is the inverse of f. Find g prime of six.

The plan: the same recipe, read off the picture.

Watch this part of the concept lesson

Read the rest of this scene

Six went into g, so six is a y-value of f: find the point with height six. Then the slope of f there. Then flip it. The point four, six is on f. So f of four is six, and g of six is four. f prime of four is the slope of the tangent line.

From zero, four to four, six: up two, over four. One half. Flip it. g prime of six is one over f prime of four. One over one half... two. Not one half. One half is the slope of f.

The inverse gets the flipped slope. Your workbook has a graph with a tangent line too, so read the point before the slope.

Worked examples

Example 1

Let f(x)=x3+x+2, and let g be the inverse function of f. What is g′(4)?
  1. 149
  2. 14
  3. 4
  4. 49
Hint

Find a with f(a)=4 first. Then flip f′(a).

Answer and solution

Answer B. 14

  1. a^3 + a + 2 = 4 gives a = 1, so g(4) = 1.
  2. f′(x)=3x2+1→f′(1)=4,g′(4)=1f′(1)=14
  3. Answer B. Not 1/f'(4): 4 is a y-value of f.

Example 2

f is differentiable and has an inverse function g. Values of f and f′ are in the table.
(a) Find g(5).
(b) Find g′(5).
(c) Write an equation of the tangent line to the graph of g at x=5.
x1234
f(x)3569
f′(x)32345
Hint

Look in the f(x) column for 5.

Answer and solution
  1. 2
  2. 32
  3. y=2+32(x−5)
  1. f(2) = 5, so g(5) = 2.
  2. g′(5)=1f′(g(5))=1f′(2)=12/3=32
  3. Tangent line: y = 2 + (3/2)(x - 5).

Example 3

The graph of f is shown, with its tangent line at the point (4,6). The tangent line also passes through (0,4). Let g be the inverse function of f. Find g′(6).
xy24682468(4,6)(0,4)y=f(x)
Graph
Hint

Plan: 6 = a y-value → the point → slope → flip

Answer and solution

Answer 2

  1. (4,6) is on f: f(4)=6, so g(6)=4.
  2. f′(4)=slope of the line=6−44−0=12
  3. g′(6)=1f′(4)=11/2=2
  4. Not 12: that is the slope of f.

Workbook

Problem 1

Let f(x)=x5+3x−2, and let g be the inverse function of f. (a) Find g′(2). (b) Find g′(−2).
Hint

Find the x with f(x)=2 first. Then g′(2)=1f′(x) at that x.

Answer and solution
  1. f(1)=2, so g′(2)=1f′(1)=18
  2. f(0)=−2, so g′(−2)=1f′(0)=13
  1. (a) f(a) = 2 first: a = 1 (1 + 3 - 2 = 2). f'(x) = 5x^4 + 3, so f'(1) = 8.
  2. g′(2)=1f′(1)=18
  3. (b) f(0) = -2, so a = 0. f'(0) = 3 and g'(-2) = 1/f'(0) = 1/3.

Common mistake Putting 2 into f' instead of first finding the x with f(x) = 2.

Watch the worked solution to Problem 1

Problem 2

Let f(x)=2x+lnx for x>0, and let g be the inverse function of f. (a) Find g(2). (b) Find g′(2). (c) Write an equation of the line tangent to the graph of g at x=2.
Hint

g(2) is the x with f(x)=2: try x=1.

Answer and solution
  1. f(1)=2+ln1=2, so g(2)=1
  2. f′(x)=2+1x, f′(1)=3, so g′(2)=13
  3. y=1+13(x−2)
  1. (a) f(1) = 2 + ln 1 = 2, so g(2) = 1. The point on g is (2, 1).
  2. f′(x)=2+1x,g′(2)=1f′(1)=13
  3. y=1+13(x−2)

Common mistake Taking g(2) = f(2), or g'(2) = 1/f'(2).

Watch the worked solution to Problem 2

Problem 3

The function f is differentiable and has an inverse function g. Values of f and f′ are given in the table. What is the value of g′(5)?
x25
f(x)58
f′(x)24
  1. 14
  2. 12
  3. 2
  4. 4
Hint

5 is a y-value of f: find it in the f(x) row.

Answer and solution

Answer B. 12

  1. f(2) = 5, so g(5) = 2: the a that matters is 2, not 5.
  2. g′(5)=1f′(2)=12
  3. Answer B.

Common mistake Reading the x row instead of the f(x) row: 1/f'(5).

Watch the worked solution to Problem 3

Problem 4

The graph of f and its tangent line at x=1 are shown. The line passes through (1,3) and (3,7). If g is the inverse of f, what is g′(3)?
xy12312345678f
Graph of f(x)
  1. −12
  2. 13
  3. 12
  4. 2
Hint

The slope of the line is f′(1). Then g′(3)=1f′(1).

Answer and solution

Answer C. 12

  1. The point (1, 3) is on f, so g(3) = 1. The tangent slope: rise 4 over run 2, so f'(1) = 2.
  2. g′(3)=1f′(1)=12
  3. Answer C.

Common mistake Using the slope of f, 2, not flipped.

Watch the worked solution to Problem 4

Problem 5

Let f be a differentiable function with an inverse function g. If f(4)=7 and f′(4)=0, which of the following is true?
  1. g′(7)=0
  2. g′(7)=17
  3. g(7)=0
  4. The graph of g has a vertical tangent line at (7,4).
Hint

A horizontal tangent of f reflects to a vertical tangent of g.

Answer and solution

Answer D. The graph of g has a vertical tangent line at (7,4).

  1. f(4) = 7, so g(7) = 4: the point on g is (7, 4).
  2. f'(4) = 0, so 1/f'(4) = 1/0 is undefined. The horizontal tangent of f reflects over y = x to a vertical tangent of g.
  3. (D). (A) mixes up horizontal and vertical. (B) flips the height 7. (C) g(7) is 4, not 0.

Common mistake Calling g'(7) = 0: a horizontal tangent of f is vertical for g.

Watch the worked solution to Problem 5

Problem 6

A pump removes water from a tank. The total amount of water removed in the first t minutes is f(t)=t2+5t gallons, for t≥0. The function g is the inverse function of f.
  1. Find g(50). Explain its meaning, with units.
  2. Find g′(50). Using correct units, explain its meaning.
Hint

g(50) is the time when f(t)=50. Units of g′: minutes per gallon.

Answer and solution
  1. f(5)=25+25=50, so g(50)=5 minutes: it takes 5 minutes to remove 50 gallons
  2. g′(50)=1f′(5)=115 minute per gallon: when 50 gallons have been removed, the time is increasing at 115 minute per gallon
  1. (a) f(a) = 50: a^2 + 5a - 50 = 0, (a + 10)(a - 5) = 0, a = 5 because t >= 0. So g(50) = 5: it takes 5 minutes to remove 50 gallons.
  2. g′(50)=1f′(5)=12(5)+5=115
  3. (b) 1/15 minute per gallon: when 50 gallons have been removed, the time is increasing at 1/15 minute per gallon.

Common mistake Answering g(50) with f(50); units gallons per minute instead of minutes per gallon.

Watch the worked solution to Problem 6