How do you differentiate #f(x)=tan(e^(1/x)) # using the chain rule?

1 Answer
Nov 6, 2016

#d/dx[f(g(x))]=f'(g(x))g'(x)#

Explanation:

The chain rule allows us to take the derivative of a composition of two or more functions. For two functions:

#d/dx[f(g(x))]=f'(g(x))g'(x)#

We can see that the function #f(x)# is composed of three functions, each nestled inside the last.

By the chain rule, we first need to take the derivative of the outermost function and work our way in. It's like taking the function apart layer by layer until we get all the way through.

First, we take the derivative of the tangent function, which is #sec^2#. This gives us:

#sec^2(e^(1/x))#

Next, we take the derivative of the #e# term. This, as always, is just itself. We multiply this by the first portion of the derivative as we determined above. Thus, we have so far:

#sec^2(e^(1/x))*e^(1/x)#

Lastly, we take the derivative of #1/x#. Recognizing that this is equivalent to #x^-1#, we have #-x^(-2)#. And so, our final answer becomes:

#-sec^2(e^(1/x))e^(1/x)x^-2#

This can also be written as:

#(-sec^2(e^(1/x))e^(1/x))/x^2#