Calculus3Differentiation Rules7 of 9
Differentiation Rules · 7

Derivatives of Inverse Functions

1

The slope of an inverse function

We want to find the slope of the inverse of f(x)=x+ex\fside{f(x) = x + e^x} at 1\inv{1}.

f(x)=x+ex,(f−1)′(1)=  ?\displaystyle {\fside{f(x) = x + e^{x}}, \qquad \inv{(f^{-1})'(1)} = \;?}

If we try to write down a formula for f−1\inv{f^{-1}}, we set y=x+ex\fside{y = x + e^x} and try to solve for xx. But there's no way to get xx 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\fside{f(x) = x^2} for x≥0x \ge 0, whose inverse is f−1(x)=x\inv{f^{-1}(x) = \sqrt{x}}.

The inverse function swaps inputs and outputs. Since f(2)=4\fside{f}(\fside{2}) = \inv{4}, we get f−1(4)=2\inv{f^{-1}}(\inv{4}) = \fside{2}, so the point (2,4)(\fside{2}, \inv{4}) on f\fside{f} becomes (4,2)(\inv{4}, \fside{2}) on f−1\inv{f^{-1}}. Swapping the coordinates of every point like that reflects the whole graph across the line y=xy = x.

11
22
33
44
55
11
22
33
44
55
xx
yy
input 2output 4\begin{array}{r}\text{input } \htmlClass{lc-blue}{2}\\[-1pt]\text{output } \htmlClass{lc-pink}{4}\end{array}
input 4output 2\begin{array}{c}\text{input } \htmlClass{lc-pink}{4}\\[-1pt]\text{output } \htmlClass{lc-blue}{2}\end{array}
y=x2\htmlClass{lc-blue}{y=x^2}
y=x\htmlClass{lc-pink}{y=\sqrt{x}}
y=x\htmlClass{lc-mute}{y=x}
f(2)\displaystyle \fside{f}(\fside{2}) =4\displaystyle = \inv{4}
f−1(4)\displaystyle \inv{f^{-1}}(\inv{4}) =2\displaystyle = \fside{2}
(a,b)  →  (b,a)\displaystyle (\fside{a}, \inv{b}) \;\to\; (\inv{b}, \fside{a})

Remember that f−1\inv{f^{-1}} means the inverse function, not 1f\frac{1}{f}. Here f−1(4)=2\inv{f^{-1}}(\inv{4}) = \fside{2}, but 1f(4)=116\frac{1}{f(4)} = \frac{1}{16}.

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.

11
22
33
44
55
11
22
33
44
55
xx
yy
1\htmlClass{lc-violet}{1}
4\htmlClass{lc-green}{4}
1\htmlClass{lc-violet}{1}
4\htmlClass{lc-green}{4}
(2, 4)slope 4\begin{array}{r}(\htmlClass{lc-blue}{2},\,\htmlClass{lc-pink}{4})\\[-1pt]\text{slope } \htmlClass{lc-green}{4}\end{array}
(4, 2)slope 14\begin{array}{c}(\htmlClass{lc-pink}{4},\,\htmlClass{lc-blue}{2})\\[-1pt]\text{slope } \tfrac{1}{4}\end{array}
y=x2\htmlClass{lc-blue}{y=x^2}
y=x\htmlClass{lc-pink}{y=\sqrt{x}}
y=x\htmlClass{lc-mute}{y=x}
(2,4) ⁣:41\displaystyle (\fside{2}, \inv{4})\colon \quad \frac{\slope{4}}{\one{1}} =4\displaystyle = \slope{4}
(4,2) ⁣:14\displaystyle (\inv{4}, \fside{2})\colon \quad \frac{\one{1}}{\slope{4}} =14\displaystyle = \frac14
Find the slope of the inverse of f(x)=x2\fside{f(x) = x^2} at x=4x = \inv{4}
11
22
33
44
55
11
22
33
44
55
xx
yy
input 2output 4\begin{array}{r}\text{input } \htmlClass{lc-blue}{2}\\[-1pt]\text{output } \htmlClass{lc-pink}{4}\end{array}
y=x2\htmlClass{lc-blue}{y=x^2}
Text solution
The slope at (2,4)(\fside{2}, \inv{4})The derivative of x2\fside{x^2} is 2x\slope{2x}, so a run of 1\one{1} gives a rise of 4\slope{4}.
f′(2)\displaystyle \slope{f'(\fside{2})} =2⋅2\displaystyle = 2\cdot\fside{2} =4\displaystyle = \slope{4}
Swap the rise and the runAt (4,2)(\inv{4}, \fside{2}), the run is 4\slope{4} and the rise is 1\one{1}.
(f−1)′(4)\displaystyle \inv{(f^{-1})'(4)} =1f′(2)\displaystyle = \frac{1}{\slope{f'(\fside{2})}} =14\displaystyle = \frac14
Check with the power ruleDifferentiating x\inv{\sqrt{x}} directly gives the same slope.
ddxx\displaystyle \frac{d}{dx}\inv{\sqrt{x}} =12x,124\displaystyle = \frac{1}{2\sqrt{x}}, \qquad \frac{1}{2\sqrt{\inv{4}}} =14\displaystyle = \frac14

Nothing about that slope triangle depended on x2\fside{x^2}. At any point (a,b)(\fside{a}, \inv{b}) on f\fside{f}, the run 1\one{1} and the rise f′(a)\slope{f'(\fside{a})} trade places, so the slope of f−1\inv{f^{-1}} at b\inv{b} is 1f′(a)\frac{1}{\slope{f'(\fside{a})}}. This works as long as f′(a)\slope{f'(\fside{a})} isn't 00. If f′(a)=0\slope{f'(\fside{a})}=0, the reflected tangent is vertical, so the inverse has no finite derivative there.

f(a)\displaystyle \fside{f}(\fside{a}) =b⟹(f−1)′(b)\displaystyle = \inv{b} \quad\Longrightarrow\quad \inv{(f^{-1})'(b)} =1f′(a)\displaystyle = \frac{1}{\slope{f'(\fside{a})}}
f(a)=b⇓(f−1)′(b)=1f′(a)\displaystyle \begin{gathered}\fside{f}(\fside{a}) = \inv{b}\\ \Downarrow\\ \inv{(f^{-1})'(b)} = \frac{1}{\slope{f'(\fside{a})}}\end{gathered}

When we write g=f−1\inv{g} = \inv{f^{-1}}, the input a\fside{a} is g(b)\inv{g(b)}.

g=f−1 ⁣:g′(b)=1f′(g(b)),g(b)=a\displaystyle {\inv{g} = \inv{f^{-1}}\colon} \qquad {\inv{g'(b)} = \frac{1}{\slope{f'(\inv{g(b)})}}}, \qquad {\inv{g(b)} = \fside{a}}
g=f−1g′(b)=1f′(g(b))g(b)=a\displaystyle \begin{aligned}\inv{g} &= \inv{f^{-1}}\\ \inv{g'(b)} &= \frac{1}{\slope{f'(\inv{g(b)})}}\\ \inv{g(b)} &= \fside{a}\end{aligned}
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\fside{f(x) = x + e^x}, but we don't need one. The rule only needs a point (a,b)(\fside{a}, \inv{b}) on f\fside{f} and the slope f′(a)\slope{f'(\fside{a})}. The same goes when f\fside{f} is given by a table of values instead of a formula. We'll call its inverse g\inv{g}.

x    0        1        3    f(x)135f′(x)457\displaystyle \def\arraystretch{1.45}\begin{array}{c|ccc} x & \;\;0\;\; & \;\;1\;\; & \;\;3\;\; \\ \hline f(x) & 1 & 3 & 5 \\ f'(x) & 4 & 5 & 7 \end{array}
Find (f−1)′(1)\inv{(f^{-1})'(1)} for f(x)=x+ex\fside{f(x) = x + e^x}, and find g′(3)\inv{g'(3)} from a table of values
xx
yy
1\htmlClass{lc-pink}{1}
f\htmlClass{lc-blue}{f}
f−1\htmlClass{lc-pink}{f^{-1}}
y=x\htmlClass{lc-mute}{y=x}
Text solution
Find the input a\fside{a}The 1\inv{1} goes into the inverse, so it's an output of f\fside{f}. Testing simple values, a=0\fside{a} = \fside{0} works.
0+e0=1,f(0)=1\displaystyle {0 + e^{0} = 1, \qquad \fside{f}(\fside{0}) = \inv{1}}
Turn the slope over
f′(x)=1+ex,f′(0)=2\displaystyle {\slope{f'(x)} = \slope{1 + e^{x}}, \qquad \slope{f'(\fside{0})} = \slope{2}}
(f−1)′(1)\displaystyle \inv{(f^{-1})'(1)} =1f′(0)\displaystyle = \frac{1}{\slope{f'(\fside{0})}} =12\displaystyle = \frac12
From the tableThe 3\inv{3} is an output of f\fside{f}, and it sits under x=1x = \fside{1}. In that same column, f′(1)=5\slope{f'(\fside{1})} = \slope{5}.
f(1)\displaystyle \fside{f}(\fside{1}) =3  →  g′(3)\displaystyle = \inv{3} \;\to\; \inv{g'(3)} =1f′(1)\displaystyle = \frac{1}{\slope{f'(\fside{1})}} =15\displaystyle = \frac15

It's tempting to compute 1f′(1)\frac{1}{\slope{f'(\inv{1})}} instead. But f′(1)=1+e\slope{f'(\inv{1})} = \slope{1 + e} is the slope at (1,1+e)(\inv{1}, 1 + e), which reflects to (1+e,1)(1 + e, \inv{1}). So 11+e\frac{1}{\slope{1 + e}} is the slope of f−1\inv{f^{-1}} at x=1+ex = 1 + e, not at x=1x = \inv{1}. In the table, the same mistake reads f′(3)=7\slope{f'(\inv{3})} = \slope{7}, and 17\frac{1}{\slope{7}} is the slope of g\inv{g} at (5,3)(5, \inv{3}).

1+e1+e
xx
yy
(0, 1)slope 2\begin{array}{r}(\htmlClass{lc-blue}{0},\,\htmlClass{lc-pink}{1})\\[-1pt]\text{slope } \htmlClass{lc-green}{2}\end{array}
(1, 0)slope 12\begin{array}{l}(\htmlClass{lc-pink}{1},\,\htmlClass{lc-blue}{0})\\[-1pt]\text{slope } \tfrac{1}{2}\end{array}
(1, 1+e)slope 1+e\begin{array}{l}(\htmlClass{lc-pink}{1},\,1+e)\\[-1pt]\text{slope } \htmlClass{lc-green}{1+e}\end{array}
(1+e, 1)slope 11+e\begin{array}{c}(1+e,\,\htmlClass{lc-pink}{1})\\[-1pt]\text{slope } \tfrac{1}{\htmlClass{lc-green}{1+e}}\end{array}
f\htmlClass{lc-blue}{f}
f−1\htmlClass{lc-pink}{f^{-1}}
(0,1)  →  (1,0)\displaystyle (\fside{0}, \inv{1}) \;\to\; (\inv{1}, \fside{0})
2  →  12\displaystyle \slope{2} \;\to\; \frac12
(1,1+e)  →  (1+e,1)\displaystyle (\inv{1}, 1 + e) \;\to\; (1 + e, \inv{1})
1+e  →  11+e\displaystyle \slope{1 + e} \;\to\; \frac{1}{\slope{1 + e}}

Which point on the graph of ff do we use to find the slope of the inverse at 1?

3

The derivative of arcsin⁡x\arcsin x

Now let's find the derivative of arcsin⁡x\inv{\arcsin x} as a formula in x\inv{x}.

Remember, arcsin⁡x\inv{\arcsin x} is the angle between −π2-\frac{\pi}{2} and π2\frac{\pi}{2} whose sine is x\inv{x}. For example, arcsin⁡12=π6\inv{\arcsin\frac12} = \fside{\frac{\pi}{6}} because sin⁡π6=12\fside{\sin\frac{\pi}{6}} = \inv{\frac12}. The graph of y=arcsin⁡x\inv{y = \arcsin x} is the curve y=sin⁡x\fside{y = \sin x} on [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] reflected across y=xy = x, so x\inv{x} goes from −1-1 to 11. The notation sin⁡−1x\inv{\sin^{-1} x} means arcsin⁡x\inv{\arcsin x}, not 1sin⁡x\frac{1}{\sin x}.

−1-1
11
−π2-\tfrac{\pi}{2}
π2\tfrac{\pi}{2}
xx
yy
y=arcsin⁡x\htmlClass{lc-pink}{y=\arcsin x}
y=sin⁡x\htmlClass{lc-blue}{y=\sin x}
y=x\htmlClass{lc-mute}{y=x}
y=sin⁡x,−π2≤x≤π2\displaystyle {\fside{y = \sin x}, \quad -\frac{\pi}{2} \le x \le \frac{\pi}{2}}
y=arcsin⁡x,−1≤x≤1\displaystyle {\inv{y = \arcsin x}, \quad -1 \le \inv{x} \le 1}

We don't know how to differentiate arcsin⁡x\inv{\arcsin x} directly, but we do know how to differentiate sine.

Find the derivative of arcsin⁡x\inv{\arcsin x}
−π2-\tfrac{\pi}{2}
−1-1
11
π2\tfrac{\pi}{2}
xx
yy
sin⁡\htmlClass{lc-blue}{\sin}
arcsin⁡\htmlClass{lc-pink}{\arcsin}
y=x\htmlClass{lc-mute}{y=x}
Text solution
Rewrite with sineDifferentiating both sides of sin⁡y=x\fside{\sin y} = \inv{x} with the chain rule gives cos⁡y⋅dydx=1\slope{\cos \fside{y}} \cdot \inv{\frac{dy}{dx}} = 1.
y\displaystyle \fside{y} =arcsin⁡x  →  sin⁡y\displaystyle = \inv{\arcsin x} \;\to\; \fside{\sin y} =x\displaystyle = \inv{x}
ddxarcsin⁡x\displaystyle \frac{d}{dx}\inv{\arcsin x} =1cos⁡y\displaystyle = \frac{1}{\slope{\cos \fside{y}}}
Write cos⁡y\cos y in terms of xxFrom the triangle, the side adjacent to y\fside{y} is 1−x2\slope{\sqrt{1 - \inv{x}^2}}. We take the positive root because y\fside{y} is between −π2-\frac{\pi}{2} and π2\frac{\pi}{2}, where cosine is never negative.
cos⁡y\displaystyle \slope{\cos \fside{y}} =1−x21\displaystyle = \frac{\slope{\sqrt{1-\inv{x}^2}}}{1} =1−x2\displaystyle = \slope{\sqrt{1-\inv{x}^2}}
Check the slopesAt x=0\inv{x} = 0, the formula gives 11−0=1\frac{1}{\sqrt{1 - 0}} = 1, the slope of sin⁡x\fside{\sin x} at 00. As x\inv{x} approaches ±1\pm 1, the denominator approaches 00, so the tangent gets steeper and steeper. Sine's horizontal tangents at ±π2\pm\frac{\pi}{2} reflect to vertical tangents on arcsin⁡x\inv{\arcsin x}.

The step to remember is the triangle. Since sin⁡y=x1\fside{\sin y} = \frac{\inv{x}}{1} and sine is opposite over hypotenuse, we put x\inv{x} opposite the angle y\fside{y} and 11 on the hypotenuse. The Pythagorean theorem gives the third side, and that's the cosine we need.

y\htmlClass{lc-blue}{y}
1−x2\htmlClass{lc-green}{\sqrt{1-\htmlClass{lc-pink}{x}^2}}
x\htmlClass{lc-pink}{x}
11
sin⁡y\displaystyle \fside{\sin y} =x1\displaystyle = \frac{\inv{x}}{1}
cos⁡y\displaystyle \slope{\cos \fside{y}} =1−x21\displaystyle = \frac{\slope{\sqrt{1-\inv{x}^2}}}{1} =1−x2\displaystyle = \slope{\sqrt{1-\inv{x}^2}}
ddxarcsin⁡x\displaystyle \frac{d}{dx}\inv{\arcsin x} =1cos⁡y\displaystyle = \frac{1}{\slope{\cos \fside{y}}} =11−x2\displaystyle = \frac{1}{\slope{\sqrt{1-\inv{x}^2}}}
4

Derivatives of arctan⁡x\arctan x and arcsec⁡x\operatorname{arcsec} x

We found the derivative of arcsin⁡x\inv{\arcsin x} in three steps. We set sin⁡y=x\fside{\sin y} = \inv{x}, took 1cos⁡y\frac{1}{\slope{\cos \fside{y}}}, and used a right triangle to write cos⁡y\slope{\cos \fside{y}} in terms of x\inv{x}. The same three steps work for arctan⁡x\inv{\arctan x} and arcsec⁡x\inv{\operatorname{arcsec} x}.

Find the derivatives of arctan⁡x\inv{\arctan x} and arcsec⁡x\inv{\operatorname{arcsec} x}
y\htmlClass{lc-blue}{y}
y=arctan⁡x\htmlClass{lc-blue}{y} = \htmlClass{lc-pink}{\arctan x}
y\htmlClass{lc-blue}{y}
y=arcsec⁡x\htmlClass{lc-blue}{y} = \htmlClass{lc-pink}{\operatorname{arcsec} x}
Text solution
Rewrite and turn the derivative overThe derivative of tan⁡y\fside{\tan y} is sec⁡2y\slope{\sec^2 \fside{y}}, and the derivative of sec⁡y\fside{\sec y} is sec⁡ytan⁡y\slope{\sec \fside{y} \tan \fside{y}}.
ddxarctan⁡x\displaystyle \frac{d}{dx}\inv{\arctan x} =1sec⁡2y\displaystyle = \frac{1}{\slope{\sec^2 \fside{y}}}
ddxarcsec⁡x\displaystyle \frac{d}{dx}\inv{\operatorname{arcsec} x} =1sec⁡ytan⁡y\displaystyle = \frac{1}{\slope{\sec \fside{y} \tan \fside{y}}}
Read the trianglesFor arctan⁡x\inv{\arctan x}, the hypotenuse is 1+x2\slope{\sqrt{1+\inv{x}^2}}, so sec⁡2y=1+x2\slope{\sec^2 \fside{y}} = \slope{1 + \inv{x}^2}. For arcsec⁡x\inv{\operatorname{arcsec} x}, sec⁡y=x\slope{\sec \fside{y}} = \inv{x} and the opposite side gives tan⁡y=x2−1\slope{\tan \fside{y}} = \slope{\sqrt{\inv{x}^2 - 1}}.
ddxarctan⁡x\displaystyle \frac{d}{dx}\inv{\arctan x} =11+x2\displaystyle = \frac{1}{\slope{1+\inv{x}^2}}
ddxarcsec⁡x\displaystyle \frac{d}{dx}\inv{\operatorname{arcsec} x} =1xx2−1(x>1)\displaystyle = \frac{1}{\slope{\inv{x}\sqrt{\inv{x}^2-1}}} \quad (\inv{x} > 1)
Check arctan⁡x\arctan xAt x=0\inv{x} = 0, the derivative is 11+0=1\frac{1}{1 + 0} = 1, the slope of tan⁡x\fside{\tan x} at 00. As x\inv{x} goes to infinity, 11+x2\frac{1}{\slope{1 + \inv{x}^2}} approaches 00, because arctan⁡x\inv{\arctan x} levels off toward its horizontal asymptote at π2\frac{\pi}{2}.

Each time, the ratio x1\frac{\inv{x}}{1} tells us where x\inv{x} and 11 go on the triangle. Tangent is opposite over adjacent, so for tan⁡y=x1\fside{\tan y} = \frac{\inv{x}}{1} the side x\inv{x} is opposite y\fside{y}. Secant is hypotenuse over adjacent, so for sec⁡y=x1\fside{\sec y} = \frac{\inv{x}}{1} the side x\inv{x} is the hypotenuse.

y\htmlClass{lc-blue}{y}
11
x\htmlClass{lc-pink}{x}
1+x2\htmlClass{lc-green}{\sqrt{1+\htmlClass{lc-pink}{x}^2}}
y\displaystyle \fside{y} =arctan⁡x  →  tan⁡y\displaystyle = \inv{\arctan x} \;\to\; \fside{\tan y} =x1\displaystyle = \frac{\inv{x}}{1}
ddxarctan⁡x\displaystyle \frac{d}{dx}\inv{\arctan x} =1sec⁡2y\displaystyle = \frac{1}{\slope{\sec^2 \fside{y}}}
sec⁡y\displaystyle \slope{\sec \fside{y}} =1+x21\displaystyle = \frac{\slope{\sqrt{1+\inv{x}^2}}}{1}
sec⁡2y\displaystyle \slope{\sec^2 \fside{y}} =1+x2\displaystyle = \slope{1 + \inv{x}^2}
ddxarctan⁡x\displaystyle \frac{d}{dx}\inv{\arctan x} =11+x2\displaystyle = \frac{1}{\slope{1+\inv{x}^2}}
y\htmlClass{lc-blue}{y}
11
x2−1\htmlClass{lc-green}{\sqrt{\htmlClass{lc-pink}{x}^2-1}}
x\htmlClass{lc-pink}{x}
y\displaystyle \fside{y} =arcsec⁡x  →  sec⁡y\displaystyle = \inv{\operatorname{arcsec} x} \;\to\; \fside{\sec y} =x1\displaystyle = \frac{\inv{x}}{1}
ddxarcsec⁡x\displaystyle \frac{d}{dx}\inv{\operatorname{arcsec} x} =1sec⁡ytan⁡y\displaystyle = \frac{1}{\slope{\sec \fside{y} \tan \fside{y}}}
sec⁡y\displaystyle \slope{\sec \fside{y}} =x\displaystyle = \inv{x}
tan⁡y\displaystyle \slope{\tan \fside{y}} =x2−11\displaystyle = \frac{\slope{\sqrt{\inv{x}^2-1}}}{1}
ddxarcsec⁡x\displaystyle \frac{d}{dx}\inv{\operatorname{arcsec} x} =1xx2−1(x>1)\displaystyle = {\frac{1}{\slope{\inv{x}\sqrt{\inv{x}^2-1}}} \quad (\inv{x} > 1)}

That formula needs one fix for x<−1\inv{x} < -1. The graph of arcsec⁡x\inv{\operatorname{arcsec} x} is increasing on both pieces, so its derivative is positive everywhere it's defined. But for x<−1\inv{x} < -1, the x\inv{x} in front of the square root is negative, so we put an absolute value on it.

−1-1
11
π2\tfrac{\pi}{2}
π\pi
xx
yy
y=arcsec⁡x\htmlClass{lc-pink}{y=\operatorname{arcsec} x}
ddxarcsec⁡x\displaystyle \frac{d}{dx}\inv{\operatorname{arcsec} x} =1∣x∣x2−1\displaystyle = \frac{1}{\slope{|\inv{x}|\sqrt{\inv{x}^2-1}}}

Which triangle sides does each trig ratio use?

5

Derivatives of arccos⁡x\arccos x, arccot⁡x\operatorname{arccot} x, and arccsc⁡x\operatorname{arccsc} x

We still need the derivatives of arccos⁡x\co{\arccos x}, arccot⁡x\co{\operatorname{arccot} x}, and arccsc⁡x\co{\operatorname{arccsc} x}. Instead of building three more triangles from scratch, we can get all three from the derivatives we already have.

Find the derivatives of arccos⁡x\co{\arccos x}, arccot⁡x\co{\operatorname{arccot} x}, and arccsc⁡x\co{\operatorname{arccsc} x}
arcsin⁡x\htmlClass{lc-pink}{\arcsin x}
x\htmlClass{lc-pink}{x}
11
Text solution
The other angle is arccos⁡x\arccos xIn the arcsin⁡x\inv{\arcsin x} triangle, x\inv{x} is the side adjacent to the other acute angle, so that angle's cosine is x\inv{x}. The two acute angles add up to π2\frac{\pi}{2}.
arccos⁡x\displaystyle \co{\arccos x} =π2−arcsin⁡x\displaystyle = \frac{\pi}{2} \co{-} \inv{\arcsin x}
Differentiate both sidesThe derivative of the constant π2\frac{\pi}{2} is 00.
ddxarccos⁡x\displaystyle \frac{d}{dx}\co{\arccos x} =0−11−x2\displaystyle = 0 \co{-} \frac{1}{\slope{\sqrt{1-\inv{x}^2}}} =−11−x2\displaystyle = \co{-}\frac{1}{\slope{\sqrt{1-\inv{x}^2}}}
The same for the other twoIn the arctan⁡x\inv{\arctan x} triangle, the other acute angle has cotangent x\inv{x}. In the arcsec⁡x\inv{\operatorname{arcsec} x} triangle, it has cosecant x\inv{x}.
arccot⁡x\displaystyle \co{\operatorname{arccot} x} =π2−arctan⁡x\displaystyle = \frac{\pi}{2} \co{-} \inv{\arctan x}
arccsc⁡x\displaystyle \co{\operatorname{arccsc} x} =π2−arcsec⁡x\displaystyle = \frac{\pi}{2} \co{-} \inv{\operatorname{arcsec} x}

The whole idea is in one triangle. The angle y\fside{y} opposite x\inv{x} is arcsin⁡x\inv{\arcsin x}, the other acute angle is arccos⁡x\co{\arccos x}, and together they make π2\frac{\pi}{2}.

arcsin⁡x\htmlClass{lc-pink}{\arcsin x}
arccos⁡x\htmlClass{lc-violet}{\arccos x}
1−x2\htmlClass{lc-green}{\sqrt{1-\htmlClass{lc-pink}{x}^2}}
x\htmlClass{lc-pink}{x}
11
arcsin⁡x+arccos⁡x\displaystyle \inv{\arcsin x} + \co{\arccos x} =π2\displaystyle = \frac{\pi}{2}
arccos⁡x\displaystyle \co{\arccos x} =π2−arcsin⁡x\displaystyle = \frac{\pi}{2} \co{-} \inv{\arcsin x}

Every "co" inverse trig function is π2\frac{\pi}{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 cos⁡x\cos x, cot⁡x\cot x and csc⁡x\csc x all have a minus sign.

ddxarcsin⁡x\displaystyle \frac{d}{dx}\inv{\arcsin x} =11−x2\displaystyle = \frac{1}{\slope{\sqrt{1-\inv{x}^2}}}
ddxarccos⁡x\displaystyle \frac{d}{dx}\co{\arccos x} =−11−x2\displaystyle = \co{-}\frac{1}{\slope{\sqrt{1-\inv{x}^2}}}
ddxarctan⁡x\displaystyle \frac{d}{dx}\inv{\arctan x} =11+x2\displaystyle = \frac{1}{\slope{1+\inv{x}^2}}
ddxarccot⁡x\displaystyle \frac{d}{dx}\co{\operatorname{arccot} x} =−11+x2\displaystyle = \co{-}\frac{1}{\slope{1+\inv{x}^2}}
ddxarcsec⁡x\displaystyle \frac{d}{dx}\inv{\operatorname{arcsec} x} =1∣x∣x2−1\displaystyle = \frac{1}{\slope{|\inv{x}|\sqrt{\inv{x}^2-1}}}
ddxarccsc⁡x\displaystyle \frac{d}{dx}\co{\operatorname{arccsc} x} =−1∣x∣x2−1\displaystyle = \co{-}\frac{1}{\slope{|\inv{x}|\sqrt{\inv{x}^2-1}}}
6

When the inside isn't just xx

We already know that the derivative of arctan⁡x\inv{\arctan x} is 11+x2\frac{1}{\slope{1 + \inv{x}^2}}. But what if the inside is something other than x\inv{x}, like 3x\inv{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)\inv{\arctan(3x)}, arcsin⁡(x2)\inv{\arcsin(x^2)}, and arctan⁡(ex)\inv{\arctan(e^x)}
ddx arctan⁡(3x)\displaystyle \frac{d}{dx}\,\htmlClass{lc-pink}{\arctan(3x)} =  ?\displaystyle = \;?
ddx arcsin⁡(x2)\displaystyle \frac{d}{dx}\,\htmlClass{lc-pink}{\arcsin(x^2)} =  ?\displaystyle = \;?
ddx arctan⁡(ex)\displaystyle \frac{d}{dx}\,\htmlClass{lc-pink}{\arctan(e^{x})} =  ?\displaystyle = \;?
Text solution
arctan⁡(3x)\arctan(3x)The whole 3x\inv{3x} is squared, so (3x)2=9x2\inv{(3x)^2} = \inv{9x^2}, not 3x23x^2. The derivative of 3x\inv{3x} is 3\du{3}.
ddxarctan⁡(3x)\displaystyle \frac{d}{dx}\inv{\arctan(3x)} =11+(3x)2⋅3\displaystyle = {\frac{1}{\slope{1+\inv{(3x)^2}}}\cdot \du{3}} =31+9x2\displaystyle = \frac{\du{3}}{\slope{1+\inv{9x^2}}}
arcsin⁡(x2)\arcsin(x^2)(x2)2=x4\inv{(x^2)^2} = \inv{x^4} goes under the square root, and the derivative of x2\inv{x^2} puts 2x\du{2x} on top.
ddxarcsin⁡(x2)\displaystyle \frac{d}{dx}\inv{\arcsin(x^2)} =11−(x2)2⋅2x\displaystyle = {\frac{1}{\slope{\sqrt{1-\inv{(x^2)^2}}}}\cdot \du{2x}} =2x1−x4\displaystyle = \frac{\du{2x}}{\slope{\sqrt{1-\inv{x^4}}}}
arctan⁡(ex)\arctan(e^x)(ex)2=e2x\inv{(e^x)^2} = \inv{e^{2x}}, and the derivative of ex\inv{e^x} is ex\du{e^x}.
ddxarctan⁡(ex)\displaystyle \frac{d}{dx}\inv{\arctan(e^{x})} =11+(ex)2⋅ex\displaystyle = {\frac{1}{\slope{1+\inv{(e^{x})^2}}}\cdot \du{e^{x}}} =ex1+e2x\displaystyle = \frac{\du{e^{x}}}{\slope{1+\inv{e^{2x}}}}

Whatever inside function u\inv{u} we have, it replaces x\inv{x} in the formula and gets squared as a whole, and then we multiply by u′\du{u'}.

ddxarctan⁡u\displaystyle \frac{d}{dx}\inv{\arctan u} =u′1+u2\displaystyle = \frac{\du{u'}}{\slope{1+\inv{u}^2}}
ddxarcsin⁡u\displaystyle \frac{d}{dx}\inv{\arcsin u} =u′1−u2\displaystyle = \frac{\du{u'}}{\slope{\sqrt{1-\inv{u}^2}}}

Summary

The derivative of an inverse function
1\htmlClass{lc-violet}{1}
4\htmlClass{lc-green}{4}
1\htmlClass{lc-violet}{1}
4\htmlClass{lc-green}{4}
y=x2\htmlClass{lc-blue}{y=x^2}
y=x\htmlClass{lc-pink}{y=\sqrt{x}}
y=x\htmlClass{lc-mute}{y=x}
f(a)=b⟹(f−1)′(b)=1f′(a)\displaystyle \begin{aligned}&\fside{f}(\fside{a}) = \inv{b} \quad\Longrightarrow\\[8pt] &\inv{(f^{-1})'(b)} = \frac{1}{\slope{f'(\fside{a})}}\end{aligned}

The point (a,b)(\fside{a}, \inv{b}) on f\fside{f} reflects across y=xy = x to (b,a)(\inv{b}, \fside{a}) on f−1\inv{f^{-1}}. That reflection turns a run of 1\one{1} and a rise of f′(a)\slope{f'(\fside{a})} into a run of f′(a)\slope{f'(\fside{a})} and a rise of 1\one{1}, so the slope on the inverse curve is the reciprocal 1f′(a)\frac{1}{\slope{f'(\fside{a})}}, provided f′(a)\slope{f'(\fside{a})} is not 00. If f′(a)=0f'(a)=0, the inverse has a vertical tangent and no finite derivative there.

Finding (f−1)′(b)(f^{-1})'(b)
f(x)=x+exf(0)=1(f−1)′(1)=1f′(0)=12\displaystyle \begin{aligned}\fside{f(x)} &= \fside{x + e^{x}}\\[4pt] \fside{f}(\fside{0}) &= \inv{1}\\[4pt] \inv{(f^{-1})'(1)} &= \frac{1}{\slope{f'(\fside{0})}} = \frac12\end{aligned}

The number b\inv{b} is an input to f−1\inv{f^{-1}}, so it's an output of f\fside{f}. First find the input a\fside{a} where f(a)=b\fside{f}(\fside{a}) = \inv{b}, by testing simple values like 00, 11, or −1-1, or by finding b\inv{b} in a table's f(x)\fside{f(x)} row. Then evaluate 1f′(a)\frac{1}{\slope{f'(\fside{a})}}. Make sure you evaluate f′\slope{f'} at a\fside{a} rather than b\inv{b}. If you compute 1f′(b)\frac{1}{\slope{f'(\inv{b})}}, you are using the point (b,f(b))(\inv{b}, f(b)) on f\fside{f}, so you find the slope of f−1\inv{f^{-1}} at f(b)f(b) instead of b\inv{b}.

The six inverse trig derivatives
ddxarcsin⁡x\displaystyle \frac{d}{dx}\inv{\arcsin x} =11−x2\displaystyle = \frac{1}{\slope{\sqrt{1-\inv{x}^2}}}
ddxarccos⁡x\displaystyle \frac{d}{dx}\co{\arccos x} =−11−x2\displaystyle = \co{-}\frac{1}{\slope{\sqrt{1-\inv{x}^2}}}
ddxarctan⁡x\displaystyle \frac{d}{dx}\inv{\arctan x} =11+x2\displaystyle = \frac{1}{\slope{1+\inv{x}^2}}
ddxarccot⁡x\displaystyle \frac{d}{dx}\co{\operatorname{arccot} x} =−11+x2\displaystyle = \co{-}\frac{1}{\slope{1+\inv{x}^2}}
ddxarcsec⁡x\displaystyle \frac{d}{dx}\inv{\operatorname{arcsec} x} =1∣x∣x2−1\displaystyle = \frac{1}{\slope{|\inv{x}|\sqrt{\inv{x}^2-1}}}
ddxarccsc⁡x\displaystyle \frac{d}{dx}\co{\operatorname{arccsc} x} =−1∣x∣x2−1\displaystyle = \co{-}\frac{1}{\slope{|\inv{x}|\sqrt{\inv{x}^2-1}}}

Each "co" inverse trig function has the same derivative as its partner, with a minus sign, because their angles add to π2\frac{\pi}{2}. For example, arccos⁡x=π2−arcsin⁡x\co{\arccos x} = \frac{\pi}{2} \co{-} \inv{\arcsin x}, and differentiating gives −11−x2\co{-}\frac{1}{\slope{\sqrt{1-\inv{x}^2}}}.

Rebuilding an inverse trig derivative
y\htmlClass{lc-blue}{y}
1−x2\htmlClass{lc-green}{\sqrt{1-\htmlClass{lc-pink}{x}^2}}
x\htmlClass{lc-pink}{x}
11
sin⁡y=xddxarcsin⁡x=1cos⁡y=11−x2\displaystyle \begin{aligned}\fside{\sin y} &= \inv{x}\\[10pt] \frac{d}{dx}\inv{\arcsin x} &= \frac{1}{\slope{\cos \fside{y}}} = \frac{1}{\slope{\sqrt{1-\inv{x}^2}}}\end{aligned}

If you forget a formula, rewrite y=arcsin⁡x\fside{y} = \inv{\arcsin x} as sin⁡y=x\fside{\sin y} = \inv{x}. Differentiating both sides with respect to x\inv{x} gives cos⁡y⋅dydx=1\slope{\cos \fside{y}} \cdot \inv{\frac{dy}{dx}} = 1, so dydx=1cos⁡y\inv{\frac{dy}{dx}} = \frac{1}{\slope{\cos \fside{y}}}. Then a right triangle with opposite side x\inv{x} and hypotenuse 11 gives an adjacent side of 1−x2\slope{\sqrt{1 - \inv{x}^2}}, so cos⁡y=1−x2\slope{\cos \fside{y}} = \slope{\sqrt{1 - \inv{x}^2}}. The same steps work for tan⁡y=x\fside{\tan y} = \inv{x} and sec⁡y=x\fside{\sec y} = \inv{x}.

Inverse trig functions with the chain rule
ddxarctan⁡u=u′1+u2ddxarcsin⁡u=u′1−u2\displaystyle \begin{aligned}\frac{d}{dx}\inv{\arctan u} &= \frac{\du{u'}}{\slope{1+\inv{u}^2}}\\[12pt] \frac{d}{dx}\inv{\arcsin u} &= \frac{\du{u'}}{\slope{\sqrt{1-\inv{u}^2}}}\end{aligned}
ddxarctan⁡(3x)\displaystyle \frac{d}{dx}\inv{\arctan(3x)} =31+(3x)2\displaystyle = \frac{\du{3}}{\slope{1+\inv{(3x)^2}}} =31+9x2\displaystyle = \frac{\du{3}}{\slope{1+\inv{9x^2}}}

Put the inside u\inv{u} in place of x\inv{x}, square the whole inside, and multiply by u′\du{u'}. For arctan⁡(3x)\inv{\arctan(3x)}, squaring all of 3x\inv{3x} gives (3x)2=9x2\inv{(3x)^2} = \inv{9x^2}, not 3x23x^2.

7

Practice

Give all answers as exact values.

1
Find ddxarctan⁡(x2)\dfrac{d}{dx}\arctan\left(\dfrac{x}{2}\right).

With u=x2u = \frac{x}{2}, what are u2u^2 and u′u'?

If you got 44+x2\dfrac{4}{4+x^2} Check the chain rule. Remember to multiply by the derivative of x2\frac{x}{2}.

If you got 12+x2\dfrac{1}{2+x^2} Check the square of x2\frac{x}{2}. Squaring the fraction squares both the top and the bottom.

The inside function is x2\inv{\frac{x}{2}}, so we use the chain rule with u=x2\inv{u} = \inv{\frac{x}{2}}.
u\displaystyle \inv{u} =x2,u′\displaystyle = \inv{\frac{x}{2}}, \qquad \du{u'} =12,u2\displaystyle = \du{\frac12}, \qquad \inv{u^2} =x24\displaystyle = \inv{\frac{x^2}{4}}
Now plug u′\du{u'} and u2\inv{u^2} into the derivative rule for arctan⁡u\inv{\arctan u}, and multiply the top and bottom by 44.
ddxarctan⁡(x2)\displaystyle \frac{d}{dx}\inv{\arctan\left(\frac{x}{2}\right)} =121+x24\displaystyle = \frac{\du{\frac12}}{\slope{1+\inv{\frac{x^2}{4}}}} =12⋅44+x2\displaystyle = \frac{\frac12\cdot 4}{4+x^2} =24+x2\displaystyle = \frac{2}{4+x^2}
2
The function f(x)=x3+2xf(x) = x^3 + 2x has an inverse f−1f^{-1}. Find (f−1)′(3)(f^{-1})'(3).

The number 33 is an output of ff. Which input aa gives f(a)=3f(a) = 3?

Find the inputThe 3\inv{3} is an output of f\fside{f}, so we solve f(a)=3\fside{f}(\fside{a}) = \inv{3}. Testing a=1\fside{a} = \fside{1} gives 1+2=31 + 2 = 3, so a=1\fside{a} = \fside{1}.
a3+2a=3 ⁣:a=1\displaystyle {\fside{a^3 + 2a} = \inv{3}\colon \quad \fside{a} = \fside{1}}
1+2=3,f(1)=3\displaystyle {1 + 2 = 3, \qquad \fside{f}(\fside{1}) = \inv{3}}
The slope of the inverseFind f′(1)\slope{f'(\fside{1})}, then take its reciprocal to get the slope of the inverse at 3\inv{3}.
f′(x)=3x2+2,f′(1)=5\displaystyle {\slope{f'(x)} = \slope{3x^2 + 2}}, \qquad {\slope{f'(\fside{1})} = \slope{5}}
(f−1)′(3)\displaystyle \inv{(f^{-1})'(3)} =1f′(1)\displaystyle = \frac{1}{\slope{f'(\fside{1})}} =15\displaystyle = \frac15
3
The table gives values of ff and f′f'. The function gg is the inverse of ff. Find g′(4)g'(4).
x    1        2        4    f(x)247f′(x)3125\displaystyle \def\arraystretch{1.4}\begin{array}{c|ccc} x & \;\;1\;\; & \;\;2\;\; & \;\;4\;\; \\ \hline f(x) & 2 & 4 & 7 \\ f'(x) & 3 & \frac12 & 5 \end{array}

Look across the f(x)f(x) row for 44. Which xx gives that output?

Find the inputThe input to g\inv{g} is the output of f\fside{f}, and the table shows f(2)=4\fside{f}(\fside{2}) = \inv{4}.
f(2)\displaystyle \fside{f}(\fside{2}) =4  →  g(4)\displaystyle = \inv{4} \;\to\; \inv{g}(\inv{4}) =2\displaystyle = \fside{2}
The slope of the inverseThe derivative of the inverse is 1f′(2)\frac{1}{\slope{f'(\fside{2})}}. In the x=2x = \fside{2} column, f′(2)=12\slope{f'(\fside{2})} = \slope{\frac12}.
g′(4)\displaystyle \inv{g'(4)} =1f′(2)\displaystyle = \frac{1}{\slope{f'(\fside{2})}} =112\displaystyle = \frac{1}{\frac12} =2\displaystyle = 2
4
Find ddxarcsec⁡(2x)\dfrac{d}{dx}\operatorname{arcsec}(2x).

With u=2xu = 2x, what is u2u^2? Square the 22 as well.

If you got 1∣x∣2x2−1\dfrac{1}{|x|\sqrt{2x^2-1}} Check the square under the root. Squaring 2x2x gives (2x)2=4x2(2x)^2 = 4x^2.

The inside function is 2x\inv{2x}, so we use the chain rule with u=2x\inv{u} = \inv{2x}.
u\displaystyle \inv{u} =2x,u′\displaystyle = \inv{2x}, \qquad \du{u'} =2,u2\displaystyle = \du{2}, \qquad \inv{u^2} =(2x)2\displaystyle = \inv{(2x)^2} =4x2\displaystyle = \inv{4x^2}
Use ddxarcsec⁡u=u′∣u∣u2−1\frac{d}{dx}\inv{\operatorname{arcsec} u} = \frac{\du{u'}}{\slope{|\inv{u}|\sqrt{\inv{u}^2-1}}}, then cancel the factor of 22.
ddxarcsec⁡(2x)\displaystyle \frac{d}{dx}\inv{\operatorname{arcsec}(2x)} =1∣2x∣(2x)2−1⋅2\displaystyle = {\frac{1}{\slope{|\inv{2x}|\sqrt{\inv{(2x)^2}-1}}}\cdot \du{2}} =22∣x∣4x2−1\displaystyle = \frac{2}{2|x|\sqrt{4x^2-1}} =1∣x∣4x2−1\displaystyle = \frac{1}{|x|\sqrt{4x^2-1}}
5
Find every xx where the tangent line to y=arctan⁡xy = \arctan x has slope 14\frac14.

Set the derivative of arctan⁡x\arctan x equal to 14\frac14. What equation does that give for x2x^2?

If you got x=3x = \sqrt3 Remember that x2=3x^2 = 3 has two solutions, one positive and one negative.

The slope of the tangent line is the derivative 11+x2\frac{1}{\slope{1+\inv{x}^2}}, so set that equal to 14\frac14.
11+x2\displaystyle \frac{1}{\slope{1+\inv{x}^2}} =14  →  1+x2\displaystyle = \frac14 \;\to\; 1 + x^2 =4  →  x2\displaystyle = 4 \;\to\; x^2 =3\displaystyle = 3
Taking the square root gives two solutions, one positive and one negative.
x\displaystyle x =3,x\displaystyle = \sqrt3, \qquad x =−3\displaystyle = -\sqrt3
6
The function f(x)=x5+xf(x) = x^5 + x has inverse gg. Find the derivative of g(2x)g(2x) at x=1x = 1. (Challenge)

By the chain rule, ddxg(2x)=2g′(2x)\frac{d}{dx}g(2x) = 2g'(2x). What is the input to g′g' when x=1x = 1?

Apply the chain ruleThe inside function is 2x\inv{2x}, so the chain rule gives an extra factor of 2\du{2}.
ddx g(2x)\displaystyle \frac{d}{dx}\,\inv{g(2x)} =g′(2x)⋅2\displaystyle = \inv{g'(2x)}\cdot \du{2}
x=1 ⁣:2g′(2)\displaystyle {x = 1\colon \quad \du{2}\inv{g'(2)}}
Find the inputFor g′(2)\inv{g'(2)}, the input 2\inv{2} is the output of f\fside{f}, so we find where f(a)=2\fside{f}(\fside{a}) = \inv{2}. Testing a=1\fside{a} = \fside{1} gives 1+1=21 + 1 = 2, so a=1\fside{a} = \fside{1}.
a5+a=2 ⁣:a=1\displaystyle {\fside{a^5 + a} = \inv{2}\colon \quad \fside{a} = \fside{1}}
f(1)\displaystyle \fside{f}(\fside{1}) =2\displaystyle = \inv{2}
Evaluate the derivativeFind f′(1)\slope{f'(\fside{1})}, take its reciprocal to get g′(2)\inv{g'(2)}, and multiply by the 2\du{2} from the chain rule.
f′(x)=5x4+1,f′(1)=6\displaystyle {\slope{f'(x)} = \slope{5x^4 + 1}, \qquad \slope{f'(\fside{1})} = \slope{6}}
g′(2)\displaystyle \inv{g'(2)} =1f′(1)\displaystyle = \frac{1}{\slope{f'(\fside{1})}} =16\displaystyle = \frac16
2g′(2)\displaystyle \du{2}\inv{g'(2)} =2⋅16\displaystyle = 2\cdot\frac16 =13\displaystyle = \frac13