Unit 3, lesson 30

Derivatives of Inverse Functions

How the slope of an inverse function comes from the slope of the original, why that slope must be nonzero, and how this gives the derivatives of arcsin, arccos and arctan.

  • Theory part 59
  • Practice part 60
  • Derivatives of Elementary Functions

Theory, part 59

Practice, part 60

Reflect the graph of a function across the line y=xy = x and you get the graph of its inverse. A reflection swaps rise and run, so a tangent line of slope mm turns into a tangent line of slope 1m\frac{1}{m}. That one picture explains the whole lesson, including what goes wrong when m=0m = 0.

Key terms

Inverse function derivative

Definition Let ff be continuous and one-to-one on an open interval II, and let aa be in II with b=f(a)b = f(a). If ff is differentiable at aa and f′(a)≠0f'(a) \neq 0, then f−1f^{-1} is differentiable at bb and

(f−1)′(b)=1f′(a)=1f′(f−1(b)).(f^{-1})'(b) = \frac{1}{f'(a)} = \frac{1}{f'(f^{-1}(b))}.

In plain words To find the slope of the inverse at bb, find the point aa that ff sends to bb, and take the reciprocal of the slope of ff there.

Example Let f(x)=x3+xf(x) = x^3 + x. Its derivative 3x2+13x^2 + 1 is always positive, so ff is one-to-one on R\mathbb{R}. Since f(1)=2f(1) = 2 and f′(1)=4f'(1) = 4, the rule gives

(f−1)′(2)=1f′(1)=14,(f^{-1})'(2) = \frac{1}{f'(1)} = \frac{1}{4},

without ever finding a formula for f−1f^{-1}.

Nonzero derivative condition

Definition Let ff be one-to-one on an open interval II containing aa. If ff is differentiable at aa with f′(a)=0f'(a) = 0, then f−1f^{-1} is not differentiable at b=f(a)b = f(a). Indeed, if it were, differentiating f−1(f(x))=xf^{-1}(f(x)) = x at aa by the chain rule would give (f−1)′(b)⋅f′(a)=1(f^{-1})'(b) \cdot f'(a) = 1, which is impossible when f′(a)=0f'(a) = 0.

In plain words A horizontal tangent on the graph of ff reflects into a vertical tangent on the graph of f−1f^{-1}, and a vertical line has no slope.

Example The function f(x)=x3f(x) = x^3 is one-to-one with f′(0)=0f'(0) = 0. Its inverse f−1(x)=x3f^{-1}(x) = \sqrt[3]{x} has the difference quotient

h3−03h=h−2/3,h≠0,\frac{\sqrt[3]{h} - \sqrt[3]{0}}{h} = h^{-2/3}, \qquad h \neq 0,

at 00, which grows without bound as h→0h \to 0. The graph has a vertical tangent at the origin.

Local invertibility

Definition Let ff be differentiable on an open interval containing aa, with f′f' continuous at aa and f′(a)≠0f'(a) \neq 0. Then there is an open interval JJ containing aa on which f′f' has the sign of f′(a)f'(a). On JJ the function ff is strictly monotonic, hence one-to-one, f(J)f(J) is an open interval, and the inverse of ff on JJ is differentiable on f(J)f(J) with the formula above. The hypothesis that f′f' is continuous at aa matters. Without it f′(a)≠0f'(a) \neq 0 alone does not make ff one-to-one near aa.

In plain words A function need not have an inverse on its whole domain. If its slope is not zero at a point, though, it is one-to-one close to that point, and you can invert that piece.

Example The function f(x)=x2f(x) = x^2 is not one-to-one on R\mathbb{R}. At a=3a = 3 the derivative is f′(3)=6≠0f'(3) = 6 \neq 0, and on (0,∞)(0, \infty) the function has the inverse x\sqrt{x}. Since f(3)=9f(3) = 9, the rule predicts that the slope of x\sqrt{x} at 99 is 16\frac{1}{6}. The direct formula agrees.

ddxx ∣x=9=129=16\frac{d}{dx} \sqrt{x} \, \Big\vert_{x = 9} = \frac{1}{2\sqrt{9}} = \frac{1}{6}

Branch ranges

Definition The trigonometric functions are not one-to-one, so each inverse uses a restricted piece, called the principal branch.

InverseInverse ofDomainRange
arcsin⁡x\arcsin xsin⁡\sin on [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right][−1,1][-1, 1][−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]
arccos⁡x\arccos xcos⁡\cos on [0,π][0, \pi][−1,1][-1, 1][0,π][0, \pi]
arctan⁡x\arctan xtan⁡\tan on (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)R\mathbb{R}(−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)
arccot⁡x\operatorname{arccot} xcot⁡\cot on (0,π)(0, \pi)R\mathbb{R}(0,π)(0, \pi)
arcsec⁡x\operatorname{arcsec} xsec⁡\sec on [0,π2)∪(π2,π]\left[0, \frac{\pi}{2}\right) \cup \left(\frac{\pi}{2}, \pi\right]∣x∣≥1\lvert x \rvert \ge 1[0,π2)∪(π2,π]\left[0, \frac{\pi}{2}\right) \cup \left(\frac{\pi}{2}, \pi\right]
arccsc⁡x\operatorname{arccsc} xcsc⁡\csc on [−π2,0)∪(0,π2]\left[-\frac{\pi}{2}, 0\right) \cup \left(0, \frac{\pi}{2}\right]∣x∣≥1\lvert x \rvert \ge 1[−π2,0)∪(0,π2]\left[-\frac{\pi}{2}, 0\right) \cup \left(0, \frac{\pi}{2}\right]

Some books choose other ranges for arcsec and arccsc, for example [0,π2)∪[π,3π2)\left[0, \frac{\pi}{2}\right) \cup \left[\pi, \frac{3\pi}{2}\right) for arcsec and (0,π2]∪(π,3π2]\left(0, \frac{\pi}{2}\right] \cup \left(\pi, \frac{3\pi}{2}\right] for arccsc. With those ranges the derivative formulas below have xx in place of ∣x∣\lvert x \rvert, so their signs differ for x<−1x < -1.

In plain words The branch decides which angle the inverse returns. It also decides the sign of square roots when you derive the derivative formulas.

Example Both π6\frac{\pi}{6} and 5π6\frac{5\pi}{6} have sine 12\frac{1}{2}, but arcsin⁡12=π6\arcsin \frac{1}{2} = \frac{\pi}{6}, the one in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]. Likewise arccos⁡(−12)=2π3\arccos\left(-\frac{1}{2}\right) = \frac{2\pi}{3} and arctan⁡(−1)=−π4\arctan(-1) = -\frac{\pi}{4}.

Inverse trigonometric derivatives

Definition With the branches above,

ddxarcsin⁡x=11−x2,ddxarccos⁡x=−11−x2,−1<x<1,\frac{d}{dx} \arcsin x = \frac{1}{\sqrt{1 - x^2}}, \qquad \frac{d}{dx} \arccos x = -\frac{1}{\sqrt{1 - x^2}}, \qquad -1 < x < 1,ddxarctan⁡x=11+x2,ddxarccot⁡x=−11+x2,x∈R,\frac{d}{dx} \arctan x = \frac{1}{1 + x^2}, \qquad \frac{d}{dx} \operatorname{arccot} x = -\frac{1}{1 + x^2}, \qquad x \in \mathbb{R},ddxarcsec⁡x=1∣x∣x2−1,ddxarccsc⁡x=−1∣x∣x2−1,∣x∣>1.\frac{d}{dx} \operatorname{arcsec} x = \frac{1}{\lvert x \rvert \sqrt{x^2 - 1}}, \qquad \frac{d}{dx} \operatorname{arccsc} x = -\frac{1}{\lvert x \rvert \sqrt{x^2 - 1}}, \qquad \lvert x \rvert > 1.

For arcsin, put y=arcsin⁡xy = \arcsin x with −1<x<1-1 < x < 1, so sin⁡y=x\sin y = x and −π2<y<π2-\frac{\pi}{2} < y < \frac{\pi}{2}. On that open interval cos⁡y>0\cos y > 0, so the derivative of sine is not zero and the inverse rule gives

dydx=1cos⁡y=11−sin⁡2y=11−x2.\frac{dy}{dx} = \frac{1}{\cos y} = \frac{1}{\sqrt{1 - \sin^2 y}} = \frac{1}{\sqrt{1 - x^2}}.

The positive square root is the right one because cos⁡y>0\cos y > 0 on this branch.

In plain words The inverse trigonometric functions have algebraic derivatives, with no trigonometry left in them. That is why they show up so often as answers to integrals later.

Example The slope of y=arcsin⁡xy = \arcsin x at x=12x = \frac{1}{2} is

11−1/4=23≈1.155.\frac{1}{\sqrt{1 - 1/4}} = \frac{2}{\sqrt{3}} \approx 1.155.

The slope of y=arctan⁡xy = \arctan x at x=1x = 1 is 11+1=12\frac{1}{1 + 1} = \frac{1}{2}.

Endpoint restrictions

Definition The functions arcsin⁡\arcsin and arccos⁡\arccos are continuous on [−1,1][-1, 1] but not differentiable at x=±1x = \pm 1. There sin⁡\sin and cos⁡\cos have derivative zero at the matching angles, so the nonzero derivative condition fails, and the one-sided difference quotients grow without bound in absolute value. The same happens for arcsec⁡\operatorname{arcsec} and arccsc⁡\operatorname{arccsc} at x=±1x = \pm 1.

In plain words At the ends of its domain the graph of arcsin stands vertical. The formula 11−x2\frac{1}{\sqrt{1 - x^2}} has a zero denominator there, and that matches what the graph does.

Example For arcsin⁡\arcsin at the right endpoint 11, take the left-hand difference quotient

arcsin⁡1−arcsin⁡(1−h)h,h>0.\frac{\arcsin 1 - \arcsin(1 - h)}{h}, \qquad h > 0.

It is about 14.1514.15 for h=0.01h = 0.01 and about 141.4141.4 for h=0.0001h = 0.0001. It keeps growing as h→0+h \to 0^{+}.

Check yourself

  1. Let f(x)=ex+xf(x) = e^x + x. Find (f−1)′(1)(f^{-1})'(1).
Show the answer

Here f(0)=1f(0) = 1 and f′(x)=ex+1f'(x) = e^x + 1, so f′(0)=2f'(0) = 2 and (f−1)′(1)=12(f^{-1})'(1) = \frac{1}{2}.

  1. Differentiate y=arctan⁡(2x)y = \arctan(2x).
Show the answer

By the chain rule

y′=11+(2x)2⋅2=21+4x2,y' = \frac{1}{1 + (2x)^2} \cdot 2 = \frac{2}{1 + 4x^2},

valid for all real xx.

  1. Why is arccos⁡x\arccos x not differentiable at x=1x = 1?
Show the answer

The matching angle is arccos⁡1=0\arccos 1 = 0, and there cos⁡′(0)=−sin⁡0=0\cos'(0) = -\sin 0 = 0, so the inverse rule would need to divide by zero. The graph has a vertical tangent there, and the formula −11−x2-\frac{1}{\sqrt{1 - x^2}} is undefined at x=1x = 1.

How this lesson connects

It also uses inverse functions and trigonometry.