We want to find the slope of the inverse of f(x)=x+ex at 1.
f(x)=x+ex,(f−1)′(1)=?
If we try to write down a formula for f−1, we set y=x+ex and try to solve for x. But there's no way to get x by itself here.
To see how to find the derivative anyway, let's look at a function where we know both formulas, f(x)=x2 for x≥0, whose inverse is f−1(x)=x.
The inverse function swaps inputs and outputs. Since f(2)=4, we get f−1(4)=2, so the point (2,4) on f becomes (4,2) on f−1. Swapping the coordinates of every point like that reflects the whole graph across the line y=x.
f(2)=4
f−1(4)=2
(a,b)→(b,a)
Remember that f−1 means the inverse function, not f1. Here f−1(4)=2, but f(4)1=161.
So what does the reflection do to slopes? It swaps horizontal and vertical, so the run and the rise of a tangent line trade places.
1
2
3
4
5
1
2
3
4
5
x
y
1
4
1
4
(2,4)slope 4
(4,2)slope 41
y=x2
y=x
y=x
(2,4):14=4
(4,2):41=41
Find the slope of the inverse of f(x)=x2 at x=4
1
2
3
4
5
1
2
3
4
5
x
y
input 2output 4
y=x2
Text solution
The slope at (2,4)The derivative of x2 is 2x, so a run of 1 gives a rise of 4.
f′(2)=2⋅2=4
Swap the rise and the runAt (4,2), the run is 4 and the rise is 1.
(f−1)′(4)=f′(2)1=41
Check with the power ruleDifferentiating x directly gives the same slope.
dxdx=2x1,241=41
Nothing about that slope triangle depended on x2. At any point (a,b) on f, the run 1 and the rise f′(a) trade places, so the slope of f−1 at b is f′(a)1. This works as long as f′(a) isn't 0. If f′(a)=0, the reflected tangent is vertical, so the inverse has no finite derivative there.
f(a)=b⟹(f−1)′(b)=f′(a)1
f(a)=b⇓(f−1)′(b)=f′(a)1
When we write g=f−1, the input a is g(b).
g=f−1:g′(b)=f′(g(b))1,g(b)=a
gg′(b)g(b)=f−1=f′(g(b))1=a
2
When the inverse has no formula
Now let's answer our opening question. We can't write down a formula for the inverse of f(x)=x+ex, but we don't need one. The rule only needs a point (a,b) on f and the slope f′(a). The same goes when f is given by a table of values instead of a formula. We'll call its inverse g.
xf(x)f′(x)014135357
Find (f−1)′(1) for f(x)=x+ex, and find g′(3) from a table of values
x
y
1
f
f−1
y=x
Text solution
Find the input aThe 1 goes into the inverse, so it's an output of f. Testing simple values, a=0 works.
0+e0=1,f(0)=1
Turn the slope over
f′(x)=1+ex,f′(0)=2
(f−1)′(1)=f′(0)1=21
From the tableThe 3 is an output of f, and it sits under x=1. In that same column, f′(1)=5.
f(1)=3→g′(3)=f′(1)1=51
It's tempting to compute f′(1)1 instead. But f′(1)=1+e is the slope at (1,1+e), which reflects to (1+e,1). So 1+e1 is the slope of f−1 at x=1+e, not at x=1. In the table, the same mistake reads f′(3)=7, and 71 is the slope of g at (5,3).
1+e
x
y
(0,1)slope 2
(1,0)slope 21
(1,1+e)slope 1+e
(1+e,1)slope 1+e1
f
f−1
(0,1)→(1,0)
2→21
(1,1+e)→(1+e,1)
1+e→1+e1
Which point on the graph of f do we use to find the slope of the inverse at 1?
3
The derivative of arcsinx
Now let's find the derivative of arcsinx as a formula in x.
Remember, arcsinx is the angle between −2π and 2π whose sine is x. For example, arcsin21=6π because sin6π=21. The graph of y=arcsinx is the curve y=sinx on [−2π,2π] reflected across y=x, so x goes from −1 to 1. The notation sin−1x means arcsinx, not sinx1.
−1
1
−2π
2π
x
y
y=arcsinx
y=sinx
y=x
y=sinx,−2π≤x≤2π
y=arcsinx,−1≤x≤1
We don't know how to differentiate arcsinx directly, but we do know how to differentiate sine.
Find the derivative of arcsinx
−2π
−1
1
2π
x
y
sin
arcsin
y=x
Text solution
Rewrite with sineDifferentiating both sides of siny=x with the chain rule gives cosy⋅dxdy=1.
y=arcsinx→siny=x
dxdarcsinx=cosy1
Write cosy in terms of xFrom the triangle, the side adjacent to y is 1−x2. We take the positive root because y is between −2π and 2π, where cosine is never negative.
cosy=11−x2=1−x2
Check the slopesAt x=0, the formula gives 1−01=1, the slope of sinx at 0. As x approaches ±1, the denominator approaches 0, so the tangent gets steeper and steeper. Sine's horizontal tangents at ±2π reflect to vertical tangents on arcsinx.
The step to remember is the triangle. Since siny=1x and sine is opposite over hypotenuse, we put x opposite the angle y and 1 on the hypotenuse. The Pythagorean theorem gives the third side, and that's the cosine we need.
y
1−x2
x
1
siny=1x
cosy=11−x2=1−x2
dxdarcsinx=cosy1=1−x21
4
Derivatives of arctanx and arcsecx
We found the derivative of arcsinx in three steps. We set siny=x, took cosy1, and used a right triangle to write cosy in terms of x. The same three steps work for arctanx and arcsecx.
Find the derivatives of arctanx and arcsecx
y
y=arctanx
y
y=arcsecx
Text solution
Rewrite and turn the derivative overThe derivative of tany is sec2y, and the derivative of secy is secytany.
dxdarctanx=sec2y1
dxdarcsecx=secytany1
Read the trianglesFor arctanx, the hypotenuse is 1+x2, so sec2y=1+x2. For arcsecx,secy=x and the opposite side gives tany=x2−1.
dxdarctanx=1+x21
dxdarcsecx=xx2−11(x>1)
Check arctanxAt x=0, the derivative is 1+01=1, the slope of tanx at 0. As x goes to infinity, 1+x21 approaches 0, because arctanx levels off toward its horizontal asymptote at 2π.
Each time, the ratio 1x tells us where x and 1 go on the triangle. Tangent is opposite over adjacent, so for tany=1x the side x is opposite y. Secant is hypotenuse over adjacent, so for secy=1x the side x is the hypotenuse.
y
1
x
1+x2
y=arctanx→tany=1x
dxdarctanx=sec2y1
secy=11+x2
sec2y=1+x2
dxdarctanx=1+x21
y
1
x2−1
x
y=arcsecx→secy=1x
dxdarcsecx=secytany1
secy=x
tany=1x2−1
dxdarcsecx=xx2−11(x>1)
That formula needs one fix for x<−1. The graph of arcsecx is increasing on both pieces, so its derivative is positive everywhere it's defined. But for x<−1, the x in front of the square root is negative, so we put an absolute value on it.
−1
1
2π
π
x
y
y=arcsecx
dxdarcsecx=∣x∣x2−11
Which triangle sides does each trig ratio use?
5
Derivatives of arccosx,arccotx, and arccscx
We still need the derivatives of arccosx,arccotx, and arccscx. Instead of building three more triangles from scratch, we can get all three from the derivatives we already have.
Find the derivatives of arccosx,arccotx, and arccscx
arcsinx
x
1
Text solution
The other angle is arccosxIn the arcsinx triangle, x is the side adjacent to the other acute angle, so that angle's cosine is x. The two acute angles add up to 2π.
arccosx=2π−arcsinx
Differentiate both sidesThe derivative of the constant 2π is 0.
dxdarccosx=0−1−x21=−1−x21
The same for the other twoIn the arctanx triangle, the other acute angle has cotangent x. In the arcsecx triangle, it has cosecant x.
arccotx=2π−arctanx
arccscx=2π−arcsecx
The whole idea is in one triangle. The angle y opposite x is arcsinx, the other acute angle is arccosx, and together they make 2π.
arcsinx
arccosx
1−x2
x
1
arcsinx+arccosx=2π
arccosx=2π−arcsinx
Every "co" inverse trig function is 2π minus its partner, so each derivative is its partner's derivative with a minus sign. That's just like the regular trig functions, where the derivatives of cosx,cotx and cscx all have a minus sign.
dxdarcsinx=1−x21
dxdarccosx=−1−x21
dxdarctanx=1+x21
dxdarccotx=−1+x21
dxdarcsecx=∣x∣x2−11
dxdarccscx=−∣x∣x2−11
6
When the inside isn't just x
We already know that the derivative of arctanx is 1+x21. But what if the inside is something other than x, like 3x? That's a job for the chain rule. We take the derivative of the outside evaluated at the inside, then multiply by the derivative of the inside.
Find the derivatives of arctan(3x),arcsin(x2), and arctan(ex)
dxdarctan(3x)=?
dxdarcsin(x2)=?
dxdarctan(ex)=?
Text solution
arctan(3x)The whole 3x is squared, so (3x)2=9x2, not 3x2. The derivative of 3x is 3.
dxdarctan(3x)=1+(3x)21⋅3=1+9x23
arcsin(x2)(x2)2=x4 goes under the square root, and the derivative of x2 puts 2x on top.
dxdarcsin(x2)=1−(x2)21⋅2x=1−x42x
arctan(ex)(ex)2=e2x, and the derivative of ex is ex.
dxdarctan(ex)=1+(ex)21⋅ex=1+e2xex
Whatever inside function u we have, it replaces x in the formula and gets squared as a whole, and then we multiply by u′.
dxdarctanu=1+u2u′
dxdarcsinu=1−u2u′
Summary
The derivative of an inverse function
1
4
1
4
y=x2
y=x
y=x
f(a)=b⟹(f−1)′(b)=f′(a)1
The point (a,b) on f reflects across y=x to (b,a) on f−1. That reflection turns a run of 1 and a rise of f′(a) into a run of f′(a) and a rise of 1, so the slope on the inverse curve is the reciprocal f′(a)1, provided f′(a) is not 0. If f′(a)=0, the inverse has a vertical tangent and no finite derivative there.
Finding (f−1)′(b)
f(x)f(0)(f−1)′(1)=x+ex=1=f′(0)1=21
The number b is an input to f−1, so it's an output of f. First find the input a where f(a)=b, by testing simple values like 0,1, or −1, or by finding b in a table's f(x) row. Then evaluate f′(a)1. Make sure you evaluate f′ at a rather than b. If you compute f′(b)1, you are using the point (b,f(b)) on f, so you find the slope of f−1 at f(b) instead of b.
The six inverse trig derivatives
dxdarcsinx=1−x21
dxdarccosx=−1−x21
dxdarctanx=1+x21
dxdarccotx=−1+x21
dxdarcsecx=∣x∣x2−11
dxdarccscx=−∣x∣x2−11
Each "co" inverse trig function has the same derivative as its partner, with a minus sign, because their angles add to 2π. For example, arccosx=2π−arcsinx, and differentiating gives −1−x21.
Rebuilding an inverse trig derivative
y
1−x2
x
1
sinydxdarcsinx=x=cosy1=1−x21
If you forget a formula, rewrite y=arcsinx as siny=x. Differentiating both sides with respect to x gives cosy⋅dxdy=1, so dxdy=cosy1. Then a right triangle with opposite side x and hypotenuse 1 gives an adjacent side of 1−x2, so cosy=1−x2. The same steps work for tany=x and secy=x.
Inverse trig functions with the chain rule
dxdarctanudxdarcsinu=1+u2u′=1−u2u′
dxdarctan(3x)=1+(3x)23=1+9x23
Put the inside u in place of x, square the whole inside, and multiply by u′. For arctan(3x), squaring all of 3x gives (3x)2=9x2, not 3x2.
7
Practice
Give all answers as exact values.
1
Find dxdarctan(2x).
With u=2x, what are u2 and u′?
If you got 4+x24 Check the chain rule. Remember to multiply by the derivative of 2x.
If you got 2+x21 Check the square of 2x. Squaring the fraction squares both the top and the bottom.
The inside function is 2x, so we use the chain rule with u=2x.
u=2x,u′=21,u2=4x2
Now plug u′ and u2 into the derivative rule for arctanu, and multiply the top and bottom by 4.
dxdarctan(2x)=1+4x221=4+x221⋅4=4+x22
2
The function f(x)=x3+2x has an inverse f−1. Find (f−1)′(3).
The number 3 is an output of f. Which input a gives f(a)=3?
If you got 291 The input to the inverse is 3, which means 3 is the output of f. Find a where f(a)=3 first, rather than plugging 3 into f′.If you got 5 That's f′(1). The slope of the inverse is the reciprocal, f′(1)1.
Find the inputThe 3 is an output of f, so we solve f(a)=3. Testing a=1 gives 1+2=3, so a=1.
a3+2a=3:a=1
1+2=3,f(1)=3
The slope of the inverseFind f′(1), then take its reciprocal to get the slope of the inverse at 3.
f′(x)=3x2+2,f′(1)=5
(f−1)′(3)=f′(1)1=51
3
The table gives values of f and f′. The function g is the inverse of f. Find g′(4).
xf(x)f′(x)1232421475
Look across the f(x) row for 4. Which x gives that output?
If you got 51 The number 4 is the output of f, so look in the f(x) row for 4, not the column where x=4.If you got 21 That's f′(2). The derivative of the inverse is f′(2)1.
Find the inputThe input to g is the output of f, and the table shows f(2)=4.
f(2)=4→g(4)=2
The slope of the inverseThe derivative of the inverse is f′(2)1. In the x=2 column, f′(2)=21.
g′(4)=f′(2)1=211=2
4
Find dxdarcsec(2x).
With u=2x, what is u2? Square the 2 as well.
If you got ∣x∣2x2−11 Check the square under the root. Squaring 2x gives (2x)2=4x2.
The inside function is 2x, so we use the chain rule with u=2x.
u=2x,u′=2,u2=(2x)2=4x2
Use dxdarcsecu=∣u∣u2−1u′, then cancel the factor of 2.
Find every x where the tangent line to y=arctanx has slope 41.
Set the derivative of arctanx equal to 41. What equation does that give for x2?
If you got x=3 Remember that x2=3 has two solutions, one positive and one negative.
The slope of the tangent line is the derivative 1+x21, so set that equal to 41.
1+x21=41→1+x2=4→x2=3
Taking the square root gives two solutions, one positive and one negative.
x=3,x=−3
6
The function f(x)=x5+x has inverse g. Find the derivative of g(2x) at x=1. (Challenge)
By the chain rule, dxdg(2x)=2g′(2x). What is the input to g′ when x=1?
If you got 61 That's g′(2). Don't forget the factor of 2 from the chain rule on g(2x).If you got 812 The number 2 inside g′(2) is an output of f. Solve f(a)=2 instead of evaluating f′(2).
Apply the chain ruleThe inside function is 2x, so the chain rule gives an extra factor of 2.
dxdg(2x)=g′(2x)⋅2
x=1:2g′(2)
Find the inputFor g′(2), the input 2 is the output of f, so we find where f(a)=2. Testing a=1 gives 1+1=2, so a=1.
a5+a=2:a=1
f(1)=2
Evaluate the derivativeFind f′(1), take its reciprocal to get g′(2), and multiply by the 2 from the chain rule.