Hunter Liu's Website

4. Derivatives of Inverse Functions

≪ 3. Practise with Exponentials and Logarithms | Table of Contents | 5. Indeterminate Forms and L'Hôpital's Rule ≫

Last week, we briefly showcased the technique of the logarithmic derivative, where we pulled a natural log out of a top hat to “pull apart” the base and power in a complicated exponent before differentiating. This idea of using implicit differentiation to make complicated derivatives slightly easier fits into a much broader set of problems, and our focus for this week will be applying it to inverse functions.

Consider the function y=sin1(x)y = \sin ^{-1}(x). We may be interested in determining dydx\frac{dy}{dx} for one reason or another, but none of the derivative rules apply here. Note the chain rule does not apply — the 1-1 does not count as a power, and dydxcosxsin2x\frac{dy}{dx}\neq -\frac{\cos x}{\sin^2 x}.

If only we could get rid of that pesky sin1\sin ^{-1}…which we can! Applying sin\sin to both sides, we get for all xx in the domain of sin1\sin ^{-1} that siny=sin(sin1(x))=x.\sin y = \sin \left( \sin ^{-1}(x) \right) = x. Now differentiate the outermost dudes: ddxsiny=ddxxcosydydx=1dydx=1cosy=1cos(sin1(x)).\begin{align*} \frac{d}{dx}\sin y &= \frac{d}{dx} x \\ \cos y \cdot \frac{dy}{dx} &= 1 \\ \frac{dy}{dx} &= \frac{1}{\cos y} \\ &= \frac{1}{\cos \left( \sin ^{-1}(x) \right)}. \end{align*}

In this particular case, we can actually simplify this further in terms of xx. Remember that sin1(x)\sin ^{-1}(x) represents an angle on a triangle, and that sin(sin1(x))=x1\sin \left( \sin ^{-1}(x) \right) = \frac{x}{1}. Using soh cah toa, we may construct the following triangle:

Remember, sin1(x)\sin ^{-1}(x) represents the angle for which sine (i.e. opposite over hypotenuse) is equal to x=x1x = \frac{x}{1}. Thus xx should be the opposite leg and 11 should be the hypotenuse.

Now using this triangle, the adjacent leg is 1x2\sqrt{1-x^2}, and so cos(sin1(x))=1x2\cos \left( \sin ^{-1}(x) \right) = \sqrt{1-x^2}. Putting this all together, we get dydx=1cos(sin1(x))=11x2.\frac{dy}{dx} = \frac{1}{\cos \left( \sin ^{-1}(x) \right)}=\frac{1}{\sqrt{1-x^2}}.

Remark 1.

Whenever you’re told to take the derivative of an inverse trigonometric function, you can apply this technique. You will always end up with some standard trig functions with inverse trig functions inside them. Don’t freak out — draw the triangle as we’ve done above, label the angles and sides, and go from there.

You may notice a general pattern that can be applied to more than just inverse trig functions. Consider the following problem:

Example 2.

Let f(x)=x+lnxf(x) = x + \ln x for x>0x > 0.

  1. Show that ff is invertible on its domain.
  2. If y=f1(x)y = f ^{-1}(x), determine dydx\frac{dy}{dx} at the point (1,1)(1, 1).

For the invertibility, we have f(x)=1+1xf’(x) = 1 + \frac{1}{x}, which is always positive. ff is continuous and monotone, therefore it is invertible!

For the second part, it’s impossible for a mortal like me to solve for the inverse of ff explicitly, and I have no children to sacrifice. The main issue, of course, is that this elusive, mysterious, conniving, slimy, underhanded, lowlife of a function f1f ^{-1} is preventing me from taking a derivative. But just like how we convrted a sin1\sin ^{-1} to a sin\sin before, we can convert this f1f ^{-1} into an ff as follows: f(y)=f(f1(x))=x.f (y) = f \left( f ^{-1}(x) \right) = x. Now we can take derivatives of the outermost guys: ddxf(y)=f(y)dydx=(1+1y)dydx=1.\frac{d}{dx}f(y) = f’(y) \cdot \frac{dy}{dx} = \left( 1 + \frac{1}{y} \right) \cdot \frac{dy}{dx} = 1. Rearranging, we get that dydx=11+1y=yy+1,\frac{dy}{dx} = \frac{1}{1+\frac{1}{y}} = \frac{y}{y+1}, with the last equality from multiplying both sides of the fraction by yy.

This is as far as we can go. We can rewrite y=f1(x)y = f ^{-1}(x), but that’s another dozen or so pen strokes my dainty fingers can’t afford. It is enough for this problem though — it only asks for the derivative at the point (1,1)(1, 1), i.e. at x=1x = 1 and y=1y = 1 (the value of xx is totally irrelevant). Thus, plugging in y=1y = 1 yields dydx=12\frac{dy}{dx} = \frac{1}{2}.

We can take this one step farther:

Theorem 3. The Inverse Function Theorem

Let f(x)f(x) be a differentiable and invertible function. Then its inverse is differentiable whenever f(x)0f’(x) \neq 0, and ddxf1(x)=1f(f1(x)).\frac{d}{dx}f ^{-1}(x) = \frac{1}{f’\left( f ^{-1}(x) \right)}.

This statement is a bit gross, but it has a nice graphical interpretation. Recall that the graph of f1(x)f ^{-1}(x) is simply the reflection of f(x)f(x) across the diagonal line y=xy=x. It thus seems reasonable that the tangent lines to f(x)f(x) also get reflected to tangent lines of f1(x)f ^{-1}(x).

The tangent line of f1(x)f ^{-1}(x) at the point xx is the reflection of the tangent line of f(x)f(x) at the point f1(x)f ^{-1}(x). This reflection swaps “rise” and “run”, so the slopes of these tangent lines are reciprocals of one another! The formula in the inverse function theorem captures this geometric picture.