← Return to lesson

Class materials · 3.3

Differentiating Inverse Functions

Lecture transcript

0:00

A function takes an input and gives an output. Today, we run one backward. Take f of x equals x cubed, plus x, plus two. Running it backward is a new function, the inverse. Call it g: whatever f puts out, g takes back to the input. The usual move for an inverse: swap x and y. x equals y cubed, plus y, plus two. Now get y alone... and it's a mess.

0:30

We're not going to solve that for y. So here's today's question. We have no formula for g. Can we still find the slope of g? Hold that thought. Good news: we never need that formula. By the end, you'll find the slope of an inverse from a formula, a table, or a graph. First, the picture. Set the cubic aside for a minute, and take a friendlier function. One: an inverse swaps the coordinates, x and y.

1:02

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.

1:33

The two graphs are reflections of each other over that line: three, four on f... and four, three on g. 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.

2:04

Rise and run just traded places. 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.

2:38

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.

3:11

That's the derivative of an inverse function. 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.

3:43

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.

4:15

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. 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.

4:48

And e to the y is x, so it's one over x. 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.

5:19

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. The recipe works when it isn't zero. Example one, multiple choice. Our opening function: f of x is x cubed plus x plus two, and g is its inverse.

5:51

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.

6:24

So the partner is a equals one. So g of four is one. 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.

6:55

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.

7:28

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. 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.

8:00

So one over f prime of one... one fourth. 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.

8:30

There's no five in the x row. 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.

9:00

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.

9:32

That point-slope line is the answer. When your workbook gives a table like this, hunt in the f of x row. 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.

10:03

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.

10:35

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. So, back to today's question. No formula for g... can we still find its slope? Yes. g prime of four is one over f prime of one... one fourth. We never wrote a formula for g.

11:07

Why it works: the reflection over the line y equals x swaps the point, and flips the slope. Rise and run trade places. The recipe: find the partner a, with f of a equals b, first. Then flip f prime of a. And only when f prime of a isn't zero. A flat spot on f becomes a wall on the inverse. Flip more inverses in your workbook. Questions? Drop them in the comments.

11:37

Next up: three point four, derivatives of inverse trig functions. See you there.