Derivative of the Inverse Function

Basis
Last updated: Tags: Calculus, Differentiation

Prerequisites

If you know how to differentiate ff, can you immediately differentiate its inverse f−1f^{-1}? The answer is yes, provided f′f' is nonzero. This gives an efficient shortcut for the derivatives of ln⁡x\ln x, arcsin⁡x\arcsin x, arctan⁡x\arctan x, and all other inverse functions.

The inverse function differentiation formula

Theorem. Let ff be continuous and strictly monotonic on an open interval II, differentiable on II, with f′(x)≠0f'(x) \neq 0 for all x∈Ix \in I. Then f−1f^{-1} is differentiable on f(I)f(I) and

(f−1)′(y)  =  1f′(f−1(y)).(1)(f^{-1})'(y) \;=\; \frac{1}{f'(f^{-1}(y))}. \tag{1}

Proof. Fix y0=f(x0)∈f(I)y_0 = f(x_0) \in f(I) and let y=f(x)y = f(x) with y≠y0y \neq y_0. Then x≠x0x \neq x_0, and

f−1(y)−f−1(y0)y−y0  =  x−x0f(x)−f(x0).\frac{f^{-1}(y) - f^{-1}(y_0)}{y - y_0} \;=\; \frac{x - x_0}{f(x) - f(x_0)}.

As y→y0y \to y_0, continuity of f−1f^{-1} (which follows from strict monotonicity and continuity of ff) gives x=f−1(y)→x0x = f^{-1}(y) \to x_0. Since f′(x0)≠0f'(x_0) \neq 0,

lim⁡y→y0x−x0f(x)−f(x0)  =  1f′(x0)  =  1f′(f−1(y0)).  □\lim_{y \to y_0}\frac{x - x_0}{f(x) - f(x_0)} \;=\; \frac{1}{f'(x_0)} \;=\; \frac{1}{f'(f^{-1}(y_0))}. \;\square

In Leibniz notation: if y=f(x)y = f(x), then dxdy=1 dydx \dfrac{dx}{dy} = \dfrac{1}{\,\dfrac{dy}{dx}\,}.

Derivative of ln⁡x\ln x

Let f(x)=exf(x) = e^x, so f−1(y)=ln⁡yf^{-1}(y) = \ln y. Since f′(x)=ex≠0f'(x) = e^x \neq 0, formula (1)(1) gives

(ln⁡y)′  =  1eln⁡y  =  1y.(\ln y)' \;=\; \frac{1}{e^{\ln y}} \;=\; \frac{1}{y}.

That is, ddx(ln⁡x)=1x\dfrac{d}{dx}(\ln x) = \dfrac{1}{x} for x>0x > 0.

Derivatives of inverse trigonometric functions

Arcsine

Restrict f(x)=sin⁡xf(x) = \sin x to [−π/2,π/2][-\pi/2, \pi/2]. Then f−1(y)=arcsin⁡yf^{-1}(y) = \arcsin y for y∈(−1,1)y \in (-1,1), and f′(x)=cos⁡x>0f'(x) = \cos x > 0 on the open interval. At x=arcsin⁡yx = \arcsin y: cos⁡x=1−sin⁡2x=1−y2\cos x = \sqrt{1-\sin^2 x} = \sqrt{1-y^2}, so

(arcsin⁡y)′  =  11−y2.(\arcsin y)' \;=\; \frac{1}{\sqrt{1-y^2}}.

Arccosine

Restrict f(x)=cos⁡xf(x) = \cos x to [0,π][0,\pi], so f−1(y)=arccos⁡yf^{-1}(y) = \arccos y and f′(x)=−sin⁡x<0f'(x) = -\sin x < 0 on (0,π)(0,\pi). At x=arccos⁡yx = \arccos y: sin⁡x=1−y2\sin x = \sqrt{1-y^2}, so

(arccos⁡y)′  =  −11−y2.(\arccos y)' \;=\; \frac{-1}{\sqrt{1-y^2}}.

Note: (arcsin⁡x)′+(arccos⁡x)′=0(\arcsin x)' + (\arccos x)' = 0, consistent with the identity arcsin⁡x+arccos⁡x=π/2\arcsin x + \arccos x = \pi/2.

Arctangent

Restrict f(x)=tan⁡xf(x) = \tan x to (−π/2,π/2)(-\pi/2, \pi/2). Then f′(x)=1+tan⁡2x=1+y2f'(x) = 1 + \tan^2 x = 1 + y^2 at y=tan⁡xy = \tan x, so

(arctan⁡y)′  =  11+y2.(\arctan y)' \;=\; \frac{1}{1+y^2}.

Summary

  • Inverse function rule: (f−1)′(y)=1f′(f−1(y))(f^{-1})'(y) = \dfrac{1}{f'(f^{-1}(y))} whenever ff is strictly monotonic and f′≠0f' \neq 0.
  • (ln⁡x)′=1/x(\ln x)' = 1/x, derived as the inverse of (ex)′=ex(e^x)' = e^x.
  • (arcsin⁡x)′=1/1−x2(\arcsin x)' = 1/\sqrt{1-x^2},   (arccos⁡x)′=−1/1−x2\;(\arccos x)' = -1/\sqrt{1-x^2},   (arctan⁡x)′=1/(1+x2)\;(\arctan x)' = 1/(1+x^2).