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 f1f^{-1}? The answer is yes, provided ff' is nonzero. This gives an efficient shortcut for the derivatives of lnx\ln x, arcsinx\arcsin x, arctanx\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 xIx \in I. Then f1f^{-1} is differentiable on f(I)f(I) and

(f1)(y)  =  1f(f1(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 yy0y \neq y_0. Then xx0x \neq x_0, and

f1(y)f1(y0)yy0  =  xx0f(x)f(x0).\frac{f^{-1}(y) - f^{-1}(y_0)}{y - y_0} \;=\; \frac{x - x_0}{f(x) - f(x_0)}.

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

limyy0xx0f(x)f(x0)  =  1f(x0)  =  1f(f1(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=1dydx\dfrac{dx}{dy} = \dfrac{1}{\,\dfrac{dy}{dx}\,}.

Derivative of lnx\ln x

Let f(x)=exf(x) = e^x, so f1(y)=lnyf^{-1}(y) = \ln y. Since f(x)=ex0f'(x) = e^x \neq 0, formula (1)(1) gives

(lny)  =  1elny  =  1y.(\ln y)' \;=\; \frac{1}{e^{\ln y}} \;=\; \frac{1}{y}.

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

Derivatives of inverse trigonometric functions

Arcsine

Restrict f(x)=sinxf(x) = \sin x to [π/2,π/2][-\pi/2, \pi/2]. Then f1(y)=arcsinyf^{-1}(y) = \arcsin y for y(1,1)y \in (-1,1), and f(x)=cosx>0f'(x) = \cos x > 0 on the open interval. At x=arcsinyx = \arcsin y: cosx=1sin2x=1y2\cos x = \sqrt{1-\sin^2 x} = \sqrt{1-y^2}, so

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

Arccosine

Restrict f(x)=cosxf(x) = \cos x to [0,π][0,\pi], so f1(y)=arccosyf^{-1}(y) = \arccos y and f(x)=sinx<0f'(x) = -\sin x < 0 on (0,π)(0,\pi). At x=arccosyx = \arccos y: sinx=1y2\sin x = \sqrt{1-y^2}, so

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

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

Arctangent

Restrict f(x)=tanxf(x) = \tan x to (π/2,π/2)(-\pi/2, \pi/2). Then f(x)=1+tan2x=1+y2f'(x) = 1 + \tan^2 x = 1 + y^2 at y=tanxy = \tan x, so

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

Summary

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