Derivatives Of Exponential And Logarithm Functions

Click here for a printable version of this page.

Exponential Functions

The next set of functions that we want to take a look at are exponential and logarithm functions. The most common exponential and logarithm functions in a calculus course are the natural exponential function, $e^x$, and the natural logarithm function, $\ln(x)$. For additional review on exponential and logarithmic functions, check out this section and this section of Paul's Online Math Notes.

We will take a more general approach however and look at the general exponential and logarithm function, where the base is not necessarily $e$. We’ll start off by looking at the exponential function,

$$f(x)=a^x$$

where $a$ is some real number greater than 0 and not 1. We want to differentiate this. The power rule that we looked at a couple of sections ago won’t work as that required the exponent to be a fixed number and the base to be a variable. That is exactly the opposite from what we’ve got with this function. So, we’re going to have to start with the definition of the derivative.

$$\begin{align*} f'\left( x \right) & = \mathop {\lim }\limits_{h \to 0} \frac{{f\left( {x + h} \right) - f\left( x \right)}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{{a^{x + h}} - {a^x}}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{{a^x}{a^h} - {a^x}}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{{a^x}\left( {{a^h} - 1} \right)}}{h} \end{align*}$$

Now, the $a^x$ is not affected by the limit since it doesn’t have any $h$’s in it and so is a constant as far as the limit is concerned. We can therefore factor this out of the limit. This gives,

$$f'\left( x \right) = {a^x}\mathop {\lim }\limits_{h \to 0} \frac{{{a^h} - 1}}{h}.$$

Now let’s notice that the limit we’ve got above is exactly the definition of the derivative of $f(x)=a^x$ at $x=0$, i.e. $f'(0)$. Therefore, the derivative becomes,

$$f'\left( x \right) = f'\left( 0 \right){a^x}.$$

So, we are kind of stuck. We need to know the derivative in order to get the derivative!

There is one value of $a$ that we can deal with at this point. Recall how the number e is defined. There are in fact a variety of ways to define $e$. Here are three of them, the first being how we have defined e in the past.

Some Definitions of $e$

  1. $\displaystyle {\bf{e}} = \mathop {\lim }\limits_{n \to \infty } {\left( {1 + \frac{1}{n}} \right)^n}$
  2. $e$ is the unique positive number for which $\mathop {\lim }\limits_{h \to 0} \frac{{{{\bf{e}}^h} - 1}}{h} = 1$
  3. $\displaystyle {\bf{e}} = \sum\limits_{n = 0}^\infty {\frac{1}{{n!}}}$

The second one is the important one for us because that limit is exactly the limit that we’re working with above. So, this version of the definition leads to the following fact:

$$\text{for }f(x)=e^x\text{, we have }f'(0)=\displaystyle\lim_{h\to0}\frac{e^h-1}{h}=1.$$

So, provided we are using the natural exponential function we get the following.

$$f\left( x \right) = {{\bf{e}}^x}\hspace{1em} \Rightarrow \hspace{1em}f'\left( x \right) = {{\bf{e}}^x}$$

We still need to know what to do with derivatives of exponential functions whose base is not (necessarily) $e$. For this, we are able to employ the chain rule to help us, along with the help of logarithmic functions.

Remember that exponential and logarithmic functions undo one another, so if we raise a base number to a power containing a log with the same base, we're left with the input of the logarithm. That is, $b^{\log_b(x)} = x$. For a positive real number (not 1), $a$, notice that using this property of logarithms we can write $a$ as,

$$a = {{\bf{e}}^{\ln a}}.$$

Using this we can write the function $f(x)=a^x$ as,

$$\begin{align*} f\left( x \right) & = {a^x}\\ & = {\left( a \right)^x}\\ & = {\left( {{{\bf{e}}^{\ln a}}} \right)^x}\\ & = {{\bf{e}}^{\left( {\ln a} \right)x}}\\ & = {{\bf{e}}^{x\,\,\ln a}}. \end{align*}$$

Now that we’ve gotten that taken care of all we need to remember is that $a$ is a constant and so $\ln(a)$ is also a constant. Now, differentiating $f(x)$ is a fairly simple Chain Rule problem.

$$f'\left( x \right) = {{\bf{e}}^{x\,\,\ln a}}\left( {\ln a} \right)$$

All we need to do is rewrite the first term back as $a^x$ to get,

$$f'\left( x \right) = {a^x}\ln \left( a \right).$$

And so we can now tke the derivative of any exponential function. Before working some examples, let's recap these derivatives.

Derivatives of Exponential functions

Assuming $a$ is positive real number which is not 1,

$$\frac{d}{dx}\left[e^x\right]=e^x\hspace{1em}\text{and}\hspace{1em}\frac{d}{dx}\left[a^x\right]=a^x \ln(a).$$

Note that the derivative of $e^x$ still follows the derivative for $a^x$ if you were to replace $a$ with $e$. Simply remember that $\ln(e)=1$ and the rules align.


Let's practice taking derivatives involving exponential functions. Remember, we still have all other rules to follow, including product, quotient, and chain rules.

Using derivative formulas of exponential functions

Differentiate each of the following functions.

  1. $R(v)=3^v+v^3$

  2. Notice that the two terms must follow different derivative rules. The first is an exponential (the base is a number while the exponent is a variable) and must follow the derivative rules for exponential functions. The second is a power function (the base is a variable and the exponent is a number) and so must follow the power rule.

    Thus the derivative is

    $$R'\left( v \right) = {3^v}\ln(3)+3v^2.$$

  3. $h\left( w \right) = {{\bf{e}}^{{w^4} - 3{w^2} + 9}}$

  4. Overall, this is an exponential function with base $e$. So we will be following the derivative of exponential functions (specifically for base $e$). However, the exponent is not just the variable $w$, thus we need to be a bit careful.

    $h(w)$ is actually a composite function: $h(w)=e^{f(w)}$ where $f(w)=w^4-3w^2+9$. So $f(w)$ is our 'inner function', and we will need to use the chain rule. Separating this work into separate steps, we get

    $$\begin{align*} h'\left( w \right) & = {{\bf{e}}^{{w^4} - 3{w^2} + 9}}\frac{d}{dw}\left[w^4-3w^2+9\right]\\ & = {{\bf{e}}^{{w^4} - 3{w^2} + 9}}\left( {4{w^3} - 6w} \right)\\ & = \left( {4{w^3} - 6w} \right){{\bf{e}}^{{w^4} - 3{w^2} + 9}}. \end{align*}$$

    Make sure to use parentheses as the derivative of the inside function has more than one term.


  5. $\displaystyle y = \frac{{5{{\bf{e}}^x}}}{{3{{\bf{e}}^x} + 1}}$

  6. We’ll need to use the quotient rule on this one.

    $$\begin{align*} \frac{dy}{dx} & = \frac{{5{{\bf{e}}^x}\left( {3{{\bf{e}}^x} + 1} \right) - \left( {5{{\bf{e}}^x}} \right)\left( {3{{\bf{e}}^x}} \right)}}{{{{\left( {3{{\bf{e}}^x} + 1} \right)}^2}}}\\ & = \frac{{15{{\bf{e}}^{2x}} + 5{{\bf{e}}^x} - 15{{\bf{e}}^{2x}}}}{{{{\left( {3{{\bf{e}}^x} + 1} \right)}^2}}}\\ & = \frac{{5{{\bf{e}}^x}}}{{{{\left( {3{{\bf{e}}^x} + 1} \right)}^2}}} \end{align*}$$

  7. $f\left( z \right) = \sin \left( {z{{\bf{e}}^z}} \right)$

  8. In this problem we will first need to apply the chain rule and when we go to differentiate the inside function we’ll need to use the product rule.

    Here is the chain rule portion of the problem.

    $$f'\left( z \right) = \cos \left( {z{{\bf{e}}^z}} \right)\frac{d}{{dz}}\left[ {z{{\bf{e}}^z}} \right]$$

    In this case we did not actually do the derivative of the inside yet. We just left it in the derivative notation to make it clear that in order to do the derivative of the inside function we now have a product rule.

    Here is the rest of the work for this problem.

    $$f'\left( z \right) = \cos \left( {z{{\bf{e}}^z}} \right)\left( {{{\bf{e}}^z} + z{{\bf{e}}^z}} \right)$$


There's an important concept in Example 1b that we don't want to miss.

❗Note❗

In an exponential function, the entire exponent is the "inner" function (for Chain Rule purposes).


For example, in 1b, when we differentiated $h(w) = e^{w^4-3w^2 + 9}$, we treated the $w^4 - 3w^2 + 9$ as the inside function when we applied the chain rule.

See if you can practice some on your own.

Practice Exponential Derivatives



Before moving on we need to go back over a couple of derivatives to make sure that we don’t confuse the two. The two derivatives are,

$$\begin{array}{ll} \frac{d}{{dx}}\left( {{x^n}} \right) = n{x^{n - 1}} & \hspace{0.5in}{\mbox{Power Rule}}\\ \frac{d}{{dx}}\left( {{a^x}} \right) = {a^x}\ln a & \hspace{0.5in}{\mbox{Derivative of an exponential function}} \end{array}$$

It is important to note that with the Power rule the exponent MUST be a constant and the base MUST be a variable while we need exactly the opposite for the derivative of an exponential function. For an exponential function the exponent MUST be a variable and the base MUST be a constant.

It is easy to get locked into one of these formulas and just use it for both of these. We also haven’t even talked about what to do if both the exponent and the base involve variables. We’ll see this situation in a later section.

When the variable is in the base, the rule is $\frac{d}{dx}(x^n) = nx^{n-1}$.


When the variable is in the exponent, the rule is $\frac{d}{dx}(a^x) = a^x \ln(a)$.


When the variable is in the base and the exponent, we don't know what to do (yet)!

Inverse Functions

Now we will give some quick reminders from algebra about inverse functions, then see how we apply derivatives to inverse functions. This will then help us with logarithmic functions as well as inverse trigonometric functions later on.

Firstly, we say that a function, $y=f(x)$, is one-to-one if no two values of $x$ produce the same $y$. This is a fairly simple definition of one-to-one but it takes an example of a function that isn’t one-to-one to show just what it means. Before doing that however we should note that this definition of one-to-one is not really the mathematically correct definition of one-to-one. It is identical to the mathematically correct definition it just doesn’t use all the notation from the formal definition, written below.

One-to-one

Suppose $f(x)$ is a function. We say $f(x)$ is one-to-one if $f(a)=f(b)$ implies $a=b$ for all values $a$ and $b$ in the domain of $f$.


Showing that a function is one-to-one is often a tedious and difficult process. Let's see an example of a function that isn’t one-to-one. The function $f(x)=x^2$ is not one-to-one because both $f(−2)=4$ and $f(2)=4$. In other words, there are two different values of $x$ that produce the same value of $y$. Note that we can turn $f(x)=x^2$ into a one-to-one function if we restrict ourselves to $0\leq x\lt\infty$. This can sometimes be done with functions.

Inverse functions deal with composition. We will get to the formal definition of inverse functions, but it is important to note that only one-to-one functions have inverses. This is particularly important for the inverse trigonometric functions as the basic trigonometric functions are not one-to-one unless we restrict their domain.

Inverse Functions

Given two one-to-one functions $f(x)$ and $g(x)$, if

$$\left( {f \circ g} \right)\left( x \right) = x\hspace{1em}{\mbox{AND}}\hspace{1em}\left( {g \circ f} \right)\left( x \right) = x$$

then we say that $f(x)$ and $g(x)$ are inverses of each other. More specifically we will say that $g(x)$ is the inverse of $f(x)$ and may denote it by

$$g\left( x \right) = {f^{ - 1}}\left( x \right).$$

Likewise, we could also say that $f(x)$ is the inverse of $g(x)$ and denote it by

$$f\left( x \right) = {g^{ - 1}}\left( x \right).$$

Note that the $-1$ is NOT a power.


Hopefully this has been a bit of a reminder about inverse functions. What we care about now is how we take derivatives of inverse functions. This is summarized in the following theorem.

Inverse Function Theorem

Suppose $f(x)$ is a function which has an inverse, $f^{-1}(x)$, and both $f$ and $f^{-1}$ are differentiable. Then for all $x$ such that $f'\left(f^{-1}(x)\right)\neq0$,

$$(f^{-1})'(x)=\frac{1}{f'\left(f^{-1}(x)\right)}.$$

We can show where this formula comes from by using the chain rule. Now, we will be thinking about derivatives slightly differently here; just know we are still using all the same rules we have covered so far.

We start with the functions $f(x)$ and $f^{-1}(x)$. Since they are inverses of one another, we know that

$$x=f\left(f^{-1}(x)\right).$$

What we are going to do now is take the derivative of this equation with respect to $x$ on both sides of the equation. This may seem like something new, but really we have been doing this all along. When we had $y=...$ and we took the derivative, that left hand side became $y'=...$ or $\frac{dy}{dx}=...$. So we did take the derivative of $y$, but since it is with respect to $x$, there is no way to "simplify" $\frac{dy}{dx}$ and so it is left as is.

So take the derivative of the equation above on both sides with respect to $x$. Note that on the right side we will need to use the chain rule, which we separate into steps here.

$$\begin{align*} 1 &= f'\left(f^{-1}(x)\right)\cdot\frac{d}{dx}\left[f^{-1}(x)\right] \\ 1 &= f'\left(f^{-1}(x)\right)\cdot (f^{-1})'(x). \end{align*}$$

We can then take this last equation and solve for $(f^{-1})'(x)$, giving

$$(f^{-1})'(x)=\frac{1}{f'\left(f^{-1}(x)\right)}.$$

This will be used below for logarithmic functions and later for inverse trigonometric function.


Logarithmic Functions

Recall that logarithmic functions are inverses of exponential functions. Specifically, for a positive real number $a\neq1$,

$$a^{\log_{a}(x)}=x \hspace{1em}\text{AND}\hspace{1em} \log_{a}\left(a^x\right)=x.$$

Let's start with $f(x)=e^x$; note that $f'(x)=e^x$. So $f^{-1}(x)=\ln(x)$, the natural logarithm function (where the base of this logarithm is $e$. According to the inverse function theorem,

$$\frac{d}{dx}\left[\ln(x)\right]=\frac{1}{f'\left(f^{-1}(x)\right)}=\frac{1}{e^{f^{-1}(x)}}=\frac{1}{e^{\ln(x)}}=\frac{1}{x}.$$

Note that is is for when $x>0$ as that is required for the domain of $\ln(x)$. It can also be shown that,

$$\frac{d}{{dx}}\left( {\ln \left| x \right|} \right) = \frac{1}{x}\hspace{0.5in}x \ne 0.$$

Using this all we need to avoid is $x=0$. We can actually find the derivative of the general logarithm function quite simply. All that we need is the derivative of the natural logarithm, which we just found, and the change of base formula. Supposing $a$ positive real number and not 1,

$${\log _a}(x) = \frac{{\ln (x)}}{{\ln (a)}}.$$

Differentiation is then fairly simple.

$$\begin{align*} \frac{d}{{dx}}\left[ {{{\log }_a}(x)} \right] & = \frac{d}{{dx}}\left[ {\frac{{\ln (x)}}{{\ln (a)}}} \right]\\ & = \frac{1}{{\ln (a)}}\frac{d}{{dx}}\left( {\ln (x)} \right)\\ & = \frac{1}{{x\ln (a)}} \end{align*}$$

We took advantage of the fact that $a$ was a constant and so $\ln(a)$ is also a constant and can be factored out of the derivative. Here is a summary of the derivatives of logarithms. Keep in mind the the derivative for $\ln(x)$ still follows the rule for the general logarithm, understanding that $\ln(e)=1$.

Derivatives of Logarithmic Functions

Assuming $a$ is positive real number which is not 1, $$\frac{d}{dx}\left[\ln(x)\right]=\frac{1}{x}\hspace{1em}\text{and}\hspace{1em}\frac{d}{dx}\left[\log_{a}(x)\right]=\frac{1}{x\ln(a)}.$$

Okay, now that we have the derivations of the logarithms out of the way let’s compute a couple of derivatives.

Using derivatives of logarithmic functions

Differentiate each of the following functions.

  1. $R\left( w \right) = {4^w} - 5{\log _9}(w)$

  2. Here we just follow the derivative rules. We will need to use the exponential derivative rules for the first term and the logarithmic derivative rules for the second term.

    $$R'\left( w \right) = {4^w}\ln (4) - \frac{5}{{w\ln (9)}}$$

  3. $f\left( x \right) = 3{{\bf{e}}^x} + 10{x^3}\ln(x)$

  4. Not much to this one. Just remember to use the product rule on the second term.

    $$\begin{align*} f'\left( x \right) & = 3{{\bf{e}}^x} + 30{x^2}\ln (x) + 10{x^3}\left( {\frac{1}{x}} \right)\\ & = 3{{\bf{e}}^x} + 30{x^2}\ln (x) + 10{x^2} \end{align*}$$

  5. $g\left( x \right) = \,\ln \left( {{x^{ - 4}} + {x^4}} \right)$

  6. We will need the chain rule here. The outside function is the natural logarithm and the inside function is stuff on the inside of the logarithm.

    $$g'\left( x \right) = \,\frac{1}{{{x^{ - 4}} + {x^4}}}\left( { - 4{x^{ - 5}} + 4{x^3}} \right) = \frac{{ - 4{x^{ - 5}} + 4{x^3}}}{{{x^{ - 4}} + {x^4}}}$$

    Again remember to leave the inside function alone when differentiating the outside function. So, upon differentiating the logarithm we end up not with $1/x$ but instead with $1/(\text{inside function})$.



Now practice some on your own.

Practice with logarithmic derivatives



Practice Problems

For problems 1 – 17 differentiate the given function.

  1. $f\left( x \right) = 2{{\bf{e}}^x} - {8^x}$

  2. Not much to do here other than take the derivative using the derivative formulas.

    $$f'\left( x \right) = 2{{\bf{e}}^x} - {8^x}\ln \left( 8 \right)$$

  3. $g\left( t \right) = 4{\log _3}\left( t \right) - \ln \left( t \right)$

  4. Not much to do here other than take the derivative using the derivative formulas.

    $$g'\left( t \right) = \frac{4}{{t\ln \left( 3 \right)}} - \frac{1}{t}$$

  5. $R\left( w \right) = {3^w}\log \left( w \right)$

  6. Note that we will need to start with the product rule.

    $$R'\left( w \right) = {3^w}\ln \left( 3 \right)\log \left( w \right) + \frac{{{3^w}}}{{w\ln \left( {10} \right)}}$$

    Recall that $\log(x)$ is the "common logarithm" and so is really $\log_{10}(x)$.


  7. $y = {z^5} - {{\bf{e}}^z}\ln \left( z \right)$

  8. We will need the product rule for the second term.

    $$\frac{dy}{dx} = 5{z^4} - {{\bf{e}}^z}\ln \left( z \right) - \frac{{{{\bf{e}}^z}}}{z}$$

  9. $\displaystyle h\left( y \right) = \frac{y}{{1 - {{\bf{e}}^y}}}$

  10. We will need to use the quotient rule.

    $$h'\left( y \right) = \frac{{\left( 1 \right)\left( {1 - {{\bf{e}}^y}} \right) - y\left( { - {{\bf{e}}^y}} \right)}}{{{{\left( {1 - {{\bf{e}}^y}} \right)}^2}}} = \frac{{1 - {{\bf{e}}^y} + y\,{{\bf{e}}^y}}}{{{{\left( {1 - {{\bf{e}}^y}} \right)}^2}}}$$

  11. $\displaystyle f\left( t \right) = \frac{{1 + 5t}}{{\ln \left( t \right)}}$

  12. We will need to use the quotient rule.

    $$f'\left( t \right) = \frac{{5\ln \left( t \right) - \left( {1 + 5t} \right)\left( {\frac{1}{t}} \right)}}{{{{\left[ {\ln \left( t \right)} \right]}^2}}} = \frac{{5\ln \left( t \right) - \frac{1}{t} - 5}}{{{{\left[ {\ln \left( t \right)} \right]}^2}}}$$

  13. $f\left( t \right) = 5 + {{\bf{e}}^{4t + {t^{\,7}}}}$

  14. Note that we only need to use the Chain Rule on the second term as we can differentiate the first term without the Chain Rule.

    Now, recall that for exponential functions outside function is the exponential function itself and the inside function is the exponent. The derivative is then,

    $$f'\left( t \right) = \left( {4 + 7{t^6}} \right){{\bf{e}}^{4t + {t^{\,7}}}}.$$

  15. $g\left( x \right) = {{\bf{e}}^{1 - \cos \left( x \right)}}$

  16. For exponential functions remember that the outside function is the exponential function itself and the inside function is the exponent. The derivative is then,

    $$g'\left( x \right) = \sin \left( x \right){{\bf{e}}^{1 - \cos \left( x \right)}}.$$

  17. $H\left( z \right) = {2^{1 - 6z}}$

  18. For exponential functions remember that the outside function is the exponential function itself and the inside function is the exponent. The derivative is then,

    $$H'\left( z \right) = - 6\left( {{2^{1 - 6z}}} \right)\ln \left( 2 \right).$$

  19. $F\left( y \right) = \ln \left( {1 - 5{y^2} + {y^3}} \right)$

  20. For this problem the outside function is (hopefully) clearly the logarithm and the inside function is the stuff inside of the logarithm. The derivative is then,

    $$F'\left( y \right) = \frac{1}{{1 - 5{y^2} + {y^3}}}\left( { - 10y + 3{y^2}} \right) = \frac{{ - 10y + 3{y^2}}}{{1 - 5{y^2} + {y^3}}}.$$

    With logarithm problems remember that after differentiating the logarithm (i.e. the outside function) you need to substitute the inside function into the derivative. So, instead of getting just, $\frac{1}{y}$, we get the following (i.e. we plugged the inside function into the derivative),

    $$\frac{1}{{1 - 5{y^2} + {y^3}}}.$$

    Then, we can’t forget of course to multiply by the derivative of the inside function as we follow the chain rule.


  21. $V\left( x \right) = \ln \left( {\sin \left( x \right) - \cot \left( x \right)} \right)$

  22. For this problem the outside function is the logarithm and the inside function is the stuff inside of the logarithm. The derivative is then,

    $$V'\left( x \right) = \frac{1}{{\sin \left( x \right) - \cot \left( x \right)}}\left( {\cos \left( x \right) + {{\csc }^2}\left( x \right)} \right) = \frac{{\cos \left( x \right) + {{\csc }^2}\left( x \right)}}{{\sin \left( x \right) - \cot \left( x \right)}}.$$

  23. $f\left( x \right) = \ln \left( {\sin \left( x \right)} \right) - {\left( {{x^4} - 3x} \right)^{10}}$

  24. For this problem each term will require a separate application of the Chain Rule. The derivative is then,

    $$f'\left( x \right) = \frac{{\cos \left( x \right)}}{{\sin \left( x \right)}} - 10\left( {4{x^3} - 3} \right){\left( {{x^4} - 3x} \right)^9} = \cot \left( x \right) - 10\left( {4{x^3} - 3} \right){{\left( {{x^4} - 3x} \right)}^9}.$$

  25. $q\left( t \right) = {t^2}\ln \left( {{t^5}} \right)$

  26. For this problem we’ll need to do the Product Rule to start off the derivative. In the process we’ll need to use the Chain Rule when we differentiate the second term.

    The derivative is then,

    $$q'\left( t \right) = 2t\ln \left( {{t^5}} \right) + {t^2}\left( {\frac{{5{t^4}}}{{{t^5}}}} \right) = 2t\ln \left( {{t^5}} \right) + 5t.$$

  27. $\displaystyle K\left( x \right) = \frac{{1 + {{\bf{e}}^{ - 2x}}}}{{x + \tan \left( {12x} \right)}}$

  28. For this problem we’ll need to do the Quotient Rule to start off the derivative. In the process we’ll need to use the Chain Rule when we differentiate both the numerator and the denominator. The derivative is then,

    $$K'\left( x \right) = \frac{{ - 2{{\bf{e}}^{ - 2x}}\left( {x + \tan \left( {12x} \right)} \right) - \left( {1 + {{\bf{e}}^{ - 2x}}} \right)\left( {1 + 12{{\sec }^2}\left( {12x} \right)} \right)}}{{{{\left( {x + \tan \left( {12x} \right)} \right)}^2}}}.$$

  29. $f\left( x \right) = \cos \left( {{x^2}{{\bf{e}}^x}} \right)$

  30. For this problem we’ll start off using the Chain Rule, however when we differentiate the inside function we’ll need to do the Product Rule. The derivative is then,

    $$f'\left( x \right) = - \left( {2x{{\bf{e}}^x} + {x^2}{{\bf{e}}^x}} \right)\sin \left( {{x^2}{{\bf{e}}^x}} \right).$$

  31. $f\left( t \right) = {\left( {{{\bf{e}}^{ - 6t}} + \sin \left( {2 - t} \right)} \right)^3}$

  32. This problem will require multiple uses of the Chain Rule and so we’ll step though the derivative process to make each use clear. Here is the first step of the derivative and we’ll need to use the Chain Rule in this step.

    $$f'\left( t \right) = 3{\left( {{{\bf{e}}^{ - 6t}} + \sin \left( {2 - t} \right)} \right)^2}\frac{d}{{dt}}\left[ {{{\bf{e}}^{ - 6t}} + \sin \left( {2 - t} \right)} \right]$$

    In this step we can see that we’ll need to use the Chain Rule on each of the terms. The derivative is then,

    $$f'\left( t \right) = 3{{\left( {{{\bf{e}}^{ - 6t}} + \sin \left( {2 - t} \right)} \right)}^2}\left( { - 6{{\bf{e}}^{ - 6t}} - \cos \left( {2 - t} \right)} \right).$$

  33. $g\left( x \right) = {\left( {\ln \left( {{x^2} + 1} \right) - {\tan }\left( {6x} \right)} \right)^{10}}$

  34. This problem will require multiple uses of the Chain Rule and so we’ll step though the derivative process to make each use clear. Here is the first step of the derivative and we’ll need to use the Chain Rule in this step.

    $$g'\left( x \right) = 10{\left( {\ln \left( {{x^2} + 1} \right) - {{\tan }}\left( {6x} \right)} \right)^9}\frac{d}{{dx}}\left[ {\ln \left( {{x^2} + 1} \right) - {{\tan }}\left( {6x} \right)} \right]$$

    In this step we can see that we’ll need to use the Chain Rule on each of the terms. The derivative is then,

    $$g'(x)=10{\left( {\ln \left( {{x^2} + 1} \right) - {{\tan }}\left( {6x} \right)} \right)^9}\left( \frac{2x}{x^2 + 1} - 6\sec^{2}(6x) \right).$$


  35. Find the tangent line to $f\left( x \right) = {7^x} + 4{{\bf{e}}^x}$ at $x=0$.

  36. We know that the derivative of the function will give us the slope of the tangent line so we’ll need the derivative of the function.

    $$f'\left( x \right) = {7^x}\ln \left( 7 \right) + 4{{\bf{e}}^x}$$

    Now all we need to do is evaluate the function and the derivative at the point in question.

    $$f\left( 0 \right) = 5\hspace{0.25in}\hspace{0.25in}f'\left( 0 \right) = \ln \left( 7 \right) + 4$$

    Lastly, we need to do write down the equation of the tangent line.

    $$y-5=(\ln(7)+4)(x-0)\hspace{1em}\text{OR}\hspace{1em}y=(\ln(7)+4)x+5$$
  37. Find the tangent line to $f\left( x \right) = \ln \left( x \right){\log _2}\left( x \right)$ at $x=2$.

  38. We know that the derivative of the function will give us the slope of the tangent line so we’ll need the derivative of the function.

    $$f'\left( x \right) = \frac{{{{\log }_2}\left( x \right)}}{x} + \frac{{\ln \left( x \right)}}{{x\ln \left( 2 \right)}}$$

    Now all we need to do is evaluate the function and the derivative at the point in question.

    $$f\left( 2 \right) = \ln \left( 2 \right){\log _2}\left( 2 \right) = \ln \left( 2 \right)\hspace{0.25in}\hspace{0.25in}f'\left( 2 \right) = \frac{{{{\log }_2}\left( 2 \right)}}{2} + \frac{{\ln \left( 2 \right)}}{{2\ln \left( 2 \right)}} = 1$$

    Lastly, we need to do write down the equation of the tangent line.

    $$y-\ln(2)=(1)(x-2)\hspace{1em}\text{OR}\hspace{1em}y=x-2+\ln(2)$$
  39. Find the tangent line to $f\left( x \right) = 4\sqrt {2x} - 6{{\bf{e}}^{2 - x}}$ at $x=2$.

  40. We know that the derivative of the function will give us the slope of the tangent line so we’ll need the derivative of the function. Differentiating each term will require the Chain Rule as well.

    $$\begin{align*} f\left( x \right) & = 4{\left( {2x} \right)^{\frac{1}{2}}} - 6{{\bf{e}}^{2 - x}}\\ f'\left( x \right) & = 4\left( {\frac{1}{2}} \right){\left( {2x} \right)^{ - \,\,\frac{1}{2}}}\left( 2 \right) - 6{{\bf{e}}^{2 - x}}\left( { - 1} \right) = 4{\left( {2x} \right)^{ - \,\,\frac{1}{2}}} + 6{{\bf{e}}^{2 - x}} = \frac{4}{{\sqrt {2x} }} + 6{{\bf{e}}^{2 - x}} \end{align*}$$

    Now all we need to do is evaluate the function and the derivative at the point in question.

    $$f\left( 2 \right) = 4\left( 2 \right) - 6{{\bf{e}}^0} = 2\hspace{0.25in}\hspace{0.25in}f'\left( 2 \right) = \frac{4}{2} + 6{{\bf{e}}^0} = 8$$

    Lastly, we need to do write down the equation of the tangent line.

    $$y-2=(8)(x-2)\hspace{1em}\text{OR}\hspace{1em}y=8x-14$$
  41. Determine if $V(t)=\dfrac{t}{e^t}$ is increasing or decreasing at the following points.
    1. $t=-4$

    2. We know that the derivative of the function will give us the rate of change for the function and so we’ll need that.

      $$V'\left( t \right) = \frac{{\left( 1 \right){{\bf{e}}^t} - t\left( {{{\bf{e}}^t}} \right)}}{{{{\left( {{{\bf{e}}^t}} \right)}^2}}} = \frac{{{{\bf{e}}^t} - t{{\bf{e}}^t}}}{{{{\left( {{{\bf{e}}^t}} \right)}^2}}} = \frac{{1 - t}}{{{{\bf{e}}^t}}}$$

      Now, all we need to do is evaluate the derivative at the point in question. So,

      $$V'\left( { - 4} \right) = \frac{5}{{{{\bf{e}}^{ - 4}}}} \approx 272.991 > 0.$$

      $V'\left( { - 4} \right) > 0$and so the function must be increasing at $t=−4$.

      Note that we did not need to find a decimal approximation to answer this question. $V'(-4)=\dfrac{5}{e^{-4}}$ and $e^t$ is positive for all values of $t$, including $-4$. And certainly $5$ is positive. So a positive number divided by a positive number is always positive. Thus $V'(-4)>0$.


    3. $t=0$

    4. We found the derivative of the function in the first part so here all we need to do is the evaluation.

      $$V'\left( 0 \right) = \frac{1}{{{{\bf{e}}^0}}} = 1 > 0$$

      $V'\left( 0 \right) > 0$ and so the function must be increasing at $t=0$.


    5. $t=10$

    6. We found the derivative of the function in the first part so here all we need to do is the evaluation.

      $$V'\left( {10} \right) = \frac{{ - 9}}{{{{\bf{e}}^{10}}}} \approx - 0.0004086 < 0$$

      $V'\left( 10\right) < 0$ and so the function must be decreasing at $t=10$.

      Again, we did not need to find a decimal approximation to answer this question. $V'(10)=\dfrac{-9}{e^{10}}$ and $e^{10}$ is positive. So a negative number divided by a positive number is always negative. Thus $V'(10)<0$.


  42. Determine if $G\left( z \right) = \left( {z - 6} \right)\ln \left( z \right)$ is increasing or decreasing at the following points.
    1. $z=1$

    2. We know that the derivative of the function will give us the rate of change for the function and so we’ll need that. Note that we will need to use the product rule.

      $$G'\left( z \right) = \ln \left( z \right) + \frac{{z - 6}}{z}$$

      Now, all we need to do is evaluate the derivative at the point in question. So,

      $$G'\left( 1 \right) = \ln \left( 1 \right) - 5 = - 5 < 0.$$

      $G'\left( 1 \right) < 0$ and so the function must be decreasing at $z=1$.


    3. $z=5$

    4. We found the derivative of the function in the first part so here all we need to do is the evaluation.

      $$G'\left( 5 \right) = \ln \left( 5 \right) - \frac{1}{5} \approx 1.40944 > 0$$

      $G'\left( 5 \right) > 0$ and so the function must be increasing at $z=5$.


    5. $z=20$

    6. We found the derivative of the function in the first part so here all we need to do is the evaluation.

      $$G'\left( {20} \right) = \ln \left( {20} \right) + \frac{7}{{10}} \approx 3.69573$$

      $G'\left( {20} \right) > 0$ and so the function must be increasing at $z=20$.


  43. Determine where $A\left( t \right) = {t^2}{{\bf{e}}^{5 - t}}$ is increasing and decreasing.

  44. We’ll first need the derivative because we know that the derivative will give us the rate of change of the function. Here is the derivative.

    $$A'\left( t \right) = 2t\,{{\bf{e}}^{5 - t}} - {t^2}{{\bf{e}}^{5 - t}} = t\,{{\bf{e}}^{5 - t}}\left( {2 - t} \right)$$

    Note that we factored the derivative to help with the next step. In general, we don’t need to do this.

    Next, we need to know where the function is not changing and so all we need to do is set the derivative equal to zero and solve. In this case it’s pretty easy to spot where the derivative will be zero since we have our derivative factored. Also note that $e^{5-t}$ is positive for all values of $t$, thus it is never zero.

    $$t\,{{\bf{e}}^{5 - t}}\left( {2 - t} \right) = 0\hspace{0.25in} \Rightarrow \hspace{0.25in}t = 0,\,\,\,\,t = 2$$

    To get the answer to this problem all we need to know is where the derivative is positive (and hence the function is increasing) or negative (and hence the function is decreasing). Because the derivative is continuous we know that the only place it can change sign is where the derivative is zero. A quick number line will give us the sign of the derivative for the various intervals.

    Here is the number line for this problem.

    There is a number line with tick marks starting at -2 and increasing by 1 up to 4. At 0 and 2, vertical dashed lines come up from the number line, separating the number line into three pieces. In the space to the left of the line coming from 0 indicates that the derivative of A at -1 is -3 times e to the sixth power and so the derivative of A is negative here. In the space between the lines coming from 0 and 2 indicates that the derivative of A at 1 is e to the fourth power and so the derivative of A is positive here. Finally, in the space to the right of the line coming from 2 indicates that the derivative of A at 3 is -3 times e to the second power and so the derivatives of A is negative here.

    From this we get the following increasing/decreasing information.

    $$\begin{align*} {\mbox{Increasing :}} & \,0 < t < 2\\ {\mbox{Decreasing :}} & \,\, - \infty < t < 0,\,\,\,\,2 < t < \infty \end{align*}$$
  45. Determine where in the interval $[-1,20]$ the function $f\left( x \right) = \ln \left( {{x^4} + 20{x^3} + 100} \right)$ is increasing and decreasing.

  46. We’ll first need the derivative because we know that the derivative will give us the rate of change of the function. Here is the derivative.

    $$f'\left( x \right) = \frac{{4{x^3} + 60{x^2}}}{{{x^4} + 20{x^3} + 100}} = \frac{{4{x^2}\left( {x + 15} \right)}}{{{x^4} + 20{x^3} + 100}}$$

    Note that we factored the numerator to help with the next step. In general, we don’t need to do this.

    Next, we need to know where the function is not changing and so all we need to do is set the derivative equal to zero and solve.

    $$\frac{{4{x^2}\left( {x + 15} \right)}}{{{x^4} + 20{x^3} + 100}} = 0\hspace{0.25in} \to \hspace{0.25in} 4{x^2}\left( {x + 15} \right) = 0\hspace{0.25in} \Rightarrow \hspace{0.25in} x = 0,\,\,\,\,x = - 15$$

    Note, that in general, we also need to be concerned with where the derivative is not defined as well. Functions can (and often do) change sign where they are not defined. In this case however we’ve restricted the interval down to a range where the function exists and is continuous on the given interval and so this is something we need to worry about for this problem.

    Note as well that we really should at this point step back and recall that we are working on the interval $[−1,20]$. We are only interested in what is happening on this interval and so we should make sure that the points found above are inside the interval.

    In this case only $x=0$ is in the interval and so we’ll need to exclude $x=−15$ from our work for the rest of this problem.

    To get the answer to this problem all we need to know is where the derivative is positive (and hence the function is increasing) or negative (and hence the function is decreasing). Because the derivative is continuous we know that the only place it can change sign is where the derivative is zero. A quick number line will give us the sign of the derivative for the various intervals.

    Here is the number line for this problem.

    There is a number line with tick marks starting at -2 and increasing by 1 up to 20. At 0, a vertical dashed line comes up from the number line, separating the number line into two pieces. In the space to the left of the line coming from 0 indicates that the derivative of f at -1 is 0.69 and so the derivative of A is positive here. Finally, in the space to the right of the line coming from 0 indicates that the derivative of f at 1 is 0.53 and so the derivatives of A is positive here.

    So, we can see that, in this case function is increasing everywhere in the interval $[−1,20]$ except $x=0$. Recall that at this point the derivative was zero and hence the function is not changing (and therefore can’t be increasing).

    So, the formal answer for this problem is,

    $${\mbox{Increasing :}}\, - 1 \le x < 0,\,\,\,\,\,0 < x \le 20$$

    Note that because we’ve only looked at what is happening in the interval $[−1,20]$ we can’t say anything about the increasing/decreasing nature of the function outside of this interval.

  47. Determine the second derivative of $z = \ln \left( {7 - {x^3}} \right)$.

  48. Not much to this problem other than to take two derivatives so each step will show each successive derivative until we get to the second. The first derivative is then,

    $$\frac{{dz}}{{dx}} = \frac{{ - 3{x^2}}}{{7 - {x^3}}}.$$

    Do not forget that often we will end up needing to do a quotient rule in the second derivative even though we did not need to do that in the first derivative. The second derivative is then,

    $$\frac{{{d^2}z}}{{d{x^2}}} = \frac{{ - 6x\left( {7 - {x^3}} \right) - \left( { - 3{x^2}} \right)\left( { - 3{x^2}} \right)}}{{{{\left( {7 - {x^3}} \right)}^2}}} = \frac{{ - 42x - 3{x^4}}}{{{{\left( {7 - {x^3}} \right)}^2}}}.$$
  49. Determine the fourth derivative of $y = {{\bf{e}}^{ - 5z}} + 8\ln \left( {2{z^4}} \right)$.

  50. Not much to this problem other than to take four derivatives so each step will show each successive derivative until we get to the fourth. The first derivative is then,

    $$\frac{{dy}}{{dz}} = - 5{{\bf{e}}^{ - 5z}} + 8\left( {\frac{{8{z^3}}}{{2{z^4}}}} \right) = - 5{{\bf{e}}^{ - 5z}} + 32{z^{ - 1}}.$$

    The second derivative is,

    $$\frac{{{d^2}y}}{{d{z^2}}} = 25{{\bf{e}}^{ - 5z}} - 32{z^{ - 2}}.$$

    The third derivative is,

    $$\frac{{{d^3}y}}{{d{z^3}}} = - 125{{\bf{e}}^{ - 5z}} + 64{z^{ - 3}}.$$

    The fourth, and final derivative for this problem, is,

    $$\frac{{{d^4}y}}{{d{z^4}}} = 625{{\bf{e}}^{ - 5z}} - 192{z^{ - 4}}.$$

Assignment Problems

For problems 1 – 35 differentiate the given function.

  1. $g\left( z \right) = {10^z} - {9^z}$

  2. $f\left( x \right) = 9{\log _4}\left( x \right) + 12{\log _{11}}\left( x \right)$

  3. $h\left( t \right) = {6^t} - 4{{\bf{e}}^t}$

  4. $R\left( x \right) = 20\ln \left( x \right) + {\log _{123}}\left( x \right)$

  5. $Q\left( t \right) = \left( {{t^2} - 6t + 3} \right){{\bf{e}}^t}$

  6. $y = v + {8^v}\,{9^v}$

  7. $U\left( z \right) = {\log _4}\left( z \right) - {z^6}\ln \left( z \right)$

  8. $h\left( x \right) = {\log _3}\left( x \right)\log \left( x \right)$

  9. $\displaystyle f\left( w \right) = \frac{{1 - {{\bf{e}}^w}}}{{1 + 7{{\bf{e}}^w}}}$

  10. $\displaystyle f\left( t \right) = \frac{{1 + 4\ln \left( t \right)}}{{5{t^3}}}$

  11. $\displaystyle g\left( r \right) = \frac{{{r^2} + {{\log }_7}\left( r \right)}}{{{7^r}}}$

  12. $\displaystyle V\left( t \right) = \frac{{{t^4}{{\bf{e}}^t}}}{{\ln \left( t \right)}}$

  13. $f\left( t \right) = {{\bf{e}}^{1 - {t^{\,2}}}}$

  14. $J\left( z \right) = {{\bf{e}}^{12z - {z^{\,6}}}}$

  15. $f\left( z \right) = {{\bf{e}}^{z + \ln \left( z \right)}}$

  16. $B\left( x \right) = {7^{\cos \left( x \right)}}$

  17. $z = {3^{{x^{\,2}} - 9x}}$

  18. $R\left( z \right) = \ln \left( {6z + {{\bf{e}}^z}} \right)$

  19. $h\left( w \right) = \ln \left( {{w^7} - {w^5} + {w^3} - w} \right)$

  20. $g\left( t \right) = \ln \left( {1 - \csc \left( t \right)} \right)$

  21. $H\left( z \right) = \ln \left( {6z} \right) - 4\sec \left( z \right)$

  22. $f\left( u \right) = {{\bf{e}}^{4u}} - 6{{\bf{e}}^{ - u}} + 7{{\bf{e}}^{{u^{\,2}} - 8u}}$

  23. $f\left( x \right) = \sqrt {6 - {x^4}} \,\,\,\ln \left( {10x + 3} \right)$

  24. $h\left( v \right) = \sqrt {5v} + \ln \left( {{v^4}} \right){{\bf{e}}^{6 + 9v}}$

  25. $\displaystyle f\left( x \right) = \frac{{{{\bf{e}}^{{x^{\,2}} + 8x}}}}{{\sqrt {{x^4} + 7} }}$

  26. $\displaystyle g\left( t \right) = \frac{{\csc \left( {1 - t} \right)}}{{1 + {{\bf{e}}^{ - t}}}}$

  27. $U\left( w \right) = \ln \left( {{{\bf{e}}^w}\cos \left( w \right)} \right)$

  28. $h\left( t \right) = \tan \left( {\left( {5 - {t^2}} \right)\ln \left( t \right)} \right)$

  29. $\displaystyle z = \ln \left( {\frac{{3 + x}}{{2 - {x^2}}}} \right)$

  30. $\displaystyle g\left( v \right) = \sqrt {\frac{{{{\bf{e}}^v}}}{{7 + 2v}}}$

  31. $h\left( z \right) = {\left( {7z - {z^2} + {{\bf{e}}^{5{z^{\,2}} + z}}} \right)^{ - 4}}$

  32. $A\left( y \right) = \ln \left( {7{y^3} + {{\sin }^2}\left( y \right)} \right)$

  33. $V\left( w \right) = \sqrt[4]{{\cos \left( {9 - {w^2}} \right) + \ln \left( {6w + 5} \right)}}$

  34. $h\left( t \right) = \sin \left( {{t^3}{{\bf{e}}^{ - 6t}}} \right)$

  35. $B\left( r \right) = {\left( {{{\bf{e}}^{\sin \left( r \right)}} - \sin \left( {{{\bf{e}}^r}} \right)} \right)^8}$


  36. Find the tangent line to $f\left( x \right) = \left( {1 - 8x} \right){{\bf{e}}^x}$ at $x=-1$.
  37. Find the tangent line to $f\left( x \right) = 3{x^2}\ln \left( x \right)$ at $x=1$.
  38. Find the tangent line to $f\left( x \right) = 3{{\bf{e}}^x} + 8\ln \left( x \right)$ at $x=2$.
  39. Find the tangent line to $f\left( x \right) = {{\bf{e}}^{2x + 4}} - 8\ln \left( {{x^2} - 3} \right)$ at $x=-2$.
  40. Determine if $U\left( y \right) = {4^y} - 3{{\bf{e}}^y}$ is increasing or decreasing at the following points.
    1. $y=-2$
    2. $y=0$
    3. $y=3$
  41. Determine if $\displaystyle y\left( z \right) = \frac{{{z^2}}}{{\ln \left( z \right)}}$ is increasing or decreasing at the following points.
    1. $z=\frac{1}{2}$
    2. $z=2$
    3. $z=6$
  42. Determine if $h\left( x \right) = {x^2}{{\bf{e}}^x}$ is increasing or decreasing at the following points.
    1. $x=-1$
    2. $x=0$
    3. $x=2$
  43. Determine where $H\left( w \right) = \left( {{w^2} - 1} \right){{\bf{e}}^{2 - {w^{\,2}}}}$ is increasing and decreasing.
  44. What percentage of $[−3,5]$ is the function $g\left( z \right) = {{\bf{e}}^{{z^2} - 8}} + 3{{\bf{e}}^{1 - 2{z^2}}}$ decreasing?
  45. The position of an object traveling horizontally in a straight line is given by $s\left( t \right) = \ln \left( {2{t^3} - 21{t^2} + 36t + 200} \right)$. During the first 10 hours of motion (assuming the motion starts at $t=0$) what percentage of the time is the object moving to the right?
  46. For the function $\displaystyle f\left( x \right) = 1 - \frac{x}{2} - \ln \left( {2 + 9x - {x^2}} \right)$ determine each of the following.
    1. The interval on which the function is defined.
    2. Where the function is increasing and decreasing.

For problems 47 – 48 determine the fourth derivative of the given function.

  1. $R\left( x \right) = 2{{\bf{e}}^{ - x}} - 3{{\bf{e}}^{1 + 8x}} + 9\ln \left( {6x} \right)$
  2. $f\left( t \right) = \ln \left( {{t^6}} \right) - \cos \left( {4t} \right) + 9\sin \left( {2t} \right) + {{\bf{e}}^{7t}}$

For problems 49 – 52 determine the fourth derivative of the given function.

  1. $f\left( z \right) = \sin \left( {1 + {{\bf{e}}^{2x}}} \right)$
  2. $f\left( u \right) = {{\bf{e}}^{4{u^{\,2}} + 9u}}$
  3. $h\left( x \right) = \ln \left( {{x^2} - 3x} \right)$
  4. $g\left( z \right) = \ln \left( {3 + \cos \left( z \right)} \right)$

  5. Determine the third derivative of $y = {{\bf{e}}^{1 - 2{t^{\,3}}}}$