Skip to main content
Mathematics LibreTexts

1.4: Derivatives of Exponential and Logarithmic Functions

  • Page ID
    112020
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Preview Video for section 1.4

    ADAPT \(\PageIndex{1}\)

     

    Section 1.4

    Learning Objectives
    • Find the derivative of exponential functions.
    • Find the derivative of logarithmic functions.
    • Use logarithmic differentiation to determine the derivative of a function.

    So far, we have learned how to differentiate a variety of functions, including trigonometric, inverse, and implicit functions. In this section, we explore derivatives of exponential and logarithmic functions. As we discussed in Introduction to Functions and Graphs, exponential functions play an important role in modeling population growth and the decay of radioactive materials. Logarithmic functions can help rescale large quantities and are particularly helpful for rewriting complicated expressions.

    Derivative of the Exponential Function

    Just as when we found the derivatives of other functions, we can find the derivatives of exponential and logarithmic functions using formulas. As we develop these formulas, we need to make certain basic assumptions. The proofs that these assumptions hold are beyond the scope of this course.

    First of all, we begin with the assumption that the function \(B(x)=b^x,\, b>0,\) is defined for every real number and is continuous. In previous courses, the values of exponential functions for all rational numbers were defined—beginning with the definition of \(b^n\), where \(n\) is a positive integer—as the product of \(b\) multiplied by itself \(n\) times. Later, we defined \(b^0=1,b^{−n}=\dfrac{1}{b^n}\), for a positive integer \(n\), and \(b^{s/t}=(\sqrt[t]{b})^s\) for positive integers \(s\) and \(t\). These definitions leave open the question of the value of \(b^r\) where \(r\) is an arbitrary real number. By assuming the continuity of \(B(x)=b^x,b>0\), we may interpret \(b^r\) as \(\displaystyle \lim_{x→r}b^x\) where the values of \(x\) as we take the limit are rational. For example, we may view \(4^π\) as the number satisfying

    \[4^3<4^π<4^4,\quad 4^{3.1}<4^π<4^{3.2},\quad 4^{3.14}<4^π<4^{3.15}, \nonumber \]

    \[4^{3.141}<4^{π}<4^{3.142},\quad 4^{3.1415}<4^{π}<4^{3.1416},\quad …. \nonumber \]

    As we see in the following table, \(4^π≈77.88.\)

    \(x\) \(4^x\) \(x\) \(4^x\)
    \(4^3\) 64 \(4^{3.141593}\) 77.8802710486
    \(4^{3.1}\) 73.5166947198 \(4^{3.1416}\) 77.8810268071
    \(4^{3.14}\) 77.7084726013 \(4^{3.142}\) 77.9242251944
    \(4^{3.141}\) 77.8162741237 \(4^{3.15}\) 78.7932424541
    \(4^{3.1415}\) 77.8702309526 \(4^{3.2}\) 84.4485062895
    \(4^{3.14159}\) 77.8799471543 \(4^{4}\) 256

    Approximating a Value of \(4^π\)

    We also assume that for \(B(x)=b^x,\, b>0\), the value \(B′(0)\) of the derivative exists. In this section, we show that by making this one additional assumption, it is possible to prove that the function \(B(x)\) is differentiable everywhere.

    We make one final assumption: that there is a unique value of \(b>0\) for which \(B′(0)=1\). We define e to be this unique value, as we did in Introduction to Functions and Graphs. Figure \(\PageIndex{1}\) provides graphs of the functions \(y=2^x, \,y=3^x, \,y=2.7^x,\) and \(y=2.8^x\). A visual estimate of the slopes of the tangent lines to these functions at 0 provides evidence that the value of e lies somewhere between 2.7 and 2.8. The function \(E(x)=e^x\) is called the natural exponential function. Its inverse, \(L(x)=\log_e x=\ln x\) is called the natural logarithmic function.

    The graphs of 3x, 2.8x, 2.7x, and 2x are shown. In quadrant I, their order from least to greatest is 2x, 2.7x, 2.8x, and 3x. In quadrant II, this order is reversed. All cross the y-axis at (0, 1).
    Figure \(\PageIndex{1}\): The graph of \(E(x)=e^x\) is between \(y=2^x\) and \(y=3^x\).

    For a better estimate of \(e\), we may construct a table of estimates of \(B′(0)\) for functions of the form \(B(x)=b^x\). Before doing this, recall that

    \[B′(0)=\lim_{x→0}\frac{b^x−b^0}{x−0}=\lim_{x→0}\frac{b^x−1}{x}≈\frac{b^x−1}{x} \nonumber \]

    for values of \(x\) very close to zero. For our estimates, we choose \(x=0.00001\) and \(x=−0.00001\)

    to obtain the estimate

    \[\frac{b^{−0.00001}−1}{−0.00001}<B′(0)<\frac{b^{0.00001}−1}{0.00001}. \nonumber \]

    See the following table.

    Table : Estimating the value of \(e\)
    \(b\) \(\frac{b^{−0.00001}−1}{−0.00001}<B′(0)<\frac{b^{0.00001}−1}{0.00001}.\) \(b\) \(\frac{b^{−0.00001}−1}{−0.00001}<B′(0)<\frac{b^{0.00001}−1}{0.00001}.\)
    2 \(0.693145<B′(0)<0.69315\) 2.7183 \(1.000002<B′(0)<1.000012\)
    2.7 \(0.993247<B′(0)<0.993257\) 2.719 \(1.000259<B′(0)<1.000269\)
    2.71 \(0.996944<B′(0)<0.996954\) 2.72 \(1.000627<B′(0)<1.000637\)
    2.718 \(0.999891<B′(0)<0.999901\) 2.8 \(1.029614<B′(0)<1.029625\)
    2.7182 \(0.999965<B′(0)<0.999975\) 3 \(1.098606<B′(0)<1.098618\)

    The evidence from the table suggests that \(2.7182<e<2.7183.\)

    The graph of \(E(x)=e^x\) together with the line \(y=x+1\) are shown in Figure \(\PageIndex{2}\). This line is tangent to the graph of \(E(x)=e^x\) at \(x=0\).

    Graph of the function ex along with its tangent at (0, 1), x + 1.
    Figure \(\PageIndex{2}\): The tangent line to \(E(x)=e^x\) at \(x=0\) has slope 1.

    Now that we have laid out our basic assumptions, we begin our investigation by exploring the derivative of \(B(x)=b^x, \,b>0\). Recall that we have assumed that \(B′(0)\) exists. By applying the limit definition to the derivative we conclude that

    \[B′(0)=\lim_{h→0}\frac{b^{0+h}−b^0}{h}=\lim_{h→0}\frac{b^h−1}{h} \nonumber \]

    Turning to \(B′(x)\), we obtain the following.

    \(\displaystyle\begin{align*} B′(x)&=\lim_{h→0}\frac{b^{x+h}−b^x}{h} & & \text{Apply the limit definition of the derivative.}\\[4pt]
    &=\lim_{h→0}\frac{b^xb^h−b^x}{h} & & \text{Note that }b^{x+h}=b^xb^h.\\[4pt]
    &=\lim_{h→0}\frac{b^x(b^h−1)}{h} & & \text{Factor out }b^x.\\[4pt]
    &=b^x\lim_{h→0}\frac{b^h−1}{h} & & \text{Apply a property of limits.}\\[4pt]
    &=b^xB′(0) & & \text{Use } B′(0)=\lim_{h→0}\frac{b^{0+h}−b^0}{h}=\lim_{h→0}\frac{b^h−1}{h}.\end{align*}\)

    We see that on the basis of the assumption that \(B(x)=b^x\) is differentiable at \(0,B(x)\) is not only differentiable everywhere, but its derivative is

    \[B′(x)=b^xB′(0).\nonumber \]

    For \(E(x)=e^x, \,E′(0)=1.\) Thus, we have \(E′(x)=e^x\). (The value of \(B′(0)\) for an arbitrary function of the form \(B(x)=b^x, \,b>0,\) will be derived later.)

    Derivative of the Natural Exponential Function

    Let \(E(x)=e^x\) be the natural exponential function. Then

    \[E′(x)=e^x. \nonumber \]

    In general,

    \[\frac{d}{dx}\Big(e^{g(x)}\Big)=e^{g(x)}g′(x) \nonumber \]

    Example \(\PageIndex{1}\): Derivative of an Exponential Function

    Find the derivative of \(f(x)=e^{\tan(2x)}\).

    Solution:

    Using the derivative formula and the chain rule,

    \[f′(x)=e^{\tan(2x)}\frac{d}{dx}\Big(\tan(2x)\Big)=e^{\tan(2x)}\sec^2(2x)⋅2 \nonumber \]

    Example \(\PageIndex{2}\): Combining Differentiation Rules

    Find the derivative of \(y=\dfrac{e^{x^2}}{x}\).

    Solution

    Use the derivative of the natural exponential function, the quotient rule, and the chain rule.

    \(\begin{align*} y′&=\dfrac{(e^{x^2}⋅2)x⋅x−1⋅e^{x^2}}{x^2} & & \text{Apply the quotient rule.}\\[4pt]
    &=\dfrac{e^{x^2}(2x^2−1)}{x^2} & & \text{Simplify.} \end{align*}\)

    Exercise \(\PageIndex{1}\)

    Find the derivative of \(h(x)=xe^{2x}\).

    Hint

    Don’t forget to use the product rule.

    Answer

    \(h′(x)=e^{2x}+2xe^{2x}\)

    Example \(\PageIndex{3}\): Applying the Natural Exponential Function

    A colony of mosquitoes has an initial population of 1000. After \(t\) days, the population is given by \(A(t)=1000e^{0.3t}\). Show that the ratio of the rate of change of the population, \(A′(t)\), to the population, \(A(t)\) is constant.

    Solution

    First find \(A′(t)\). By using the chain rule, we have \(A′(t)=300e^{0.3t}.\) Thus, the ratio of the rate of change of the population to the population is given by

    \[\frac{A′(t)}{A(t)}=\frac{300e^{0.3t}}{1000e^{0.3t}}=0.3. \nonumber \]

    The ratio of the rate of change of the population to the population is the constant 0.3.

    Exercise \(\PageIndex{2}\)

    If \(A(t)=1000e^{0.3t}\) describes the mosquito population after \(t\) days, as in the preceding example, what is the rate of change of \(A(t)\) after 4 days?

    Hint

    Find \(A′(4)\).

    Answer

    \(996\)

    Derivative of the Logarithmic Function

    Now that we have the derivative of the natural exponential function, we can use implicit differentiation to find the derivative of its inverse, the natural logarithmic function.

    Definition: The Derivative of the Natural Logarithmic Function

    If \(x>0\) and \(y=\ln x\), then

    \[\frac{dy}{dx}=\frac{1}{x}. \nonumber \]

    More generally, let \(g(x)\) be a differentiable function. For all values of \(x\) for which \(g′(x)>0\), the derivative of \(h(x)=\ln(g(x))\) is given by

    \[h′(x)=\frac{1}{g(x)}g′(x). \nonumber \]

    Proof

    If \(x>0\) and \(y=\ln x\), then \(e^y=x.\) Differentiating both sides of this equation results in the equation

    \[e^y\frac{dy}{dx}=1. \nonumber \]

    Solving for \(\dfrac{dy}{dx}\) yields

    \[\frac{dy}{dx}=\frac{1}{e^y}. \nonumber \]

    Finally, we substitute \(x=e^y\) to obtain

    \[\frac{dy}{dx}=\frac{1}{x}. \nonumber \]

    We may also derive this result by applying the inverse function theorem, as follows. Since \(y=g(x)=\ln x\)

    is the inverse of \(f(x)=e^x\), by applying the inverse function theorem we have

    \[\frac{dy}{dx}=\frac{1}{f′(g(x))}=\frac{1}{e^{\ln x}}=\frac{1}{x}. \nonumber \]

    Using this result and applying the chain rule to \(h(x)=\ln(g(x))\) yields

    \[h′(x)=\frac{1}{g(x)}g′(x). \label{lnder} \]

    The graph of \(y=\ln x\) and its derivative \(\dfrac{dy}{dx}=\dfrac{1}{x}\) are shown in Figure \(\PageIndex{3}\).

    Graph of the function ln x along with its derivative 1/x. The function ln x is increasing on (0, + ∞). Its derivative is decreasing but greater than 0 on (0, + ∞).
    Figure \(\PageIndex{3}\): The function \(y=\ln x\) is increasing on \((0,+∞)\). Its derivative \(y'=\frac{1}{x}\) is greater than zero on \((0,+∞)\)
    Example \(\PageIndex{4}\): Taking a Derivative of a Natural Logarithm

    Find the derivative of \(f(x)=\ln(x^3+3x−4)\).

    Solution

    Use Equation \ref{lnder} directly.

    \(\begin{align*} f′(x)&=\dfrac{1}{x^3+3x−4}⋅(3x^2+3) & & \text{Use }g(x)=x^3+3x−4\text{ in }h′(x)=\dfrac{1}{g(x)}g′(x).\\[4pt]
    &=\dfrac{3x^2+3}{x^3+3x−4} & & \text{Rewrite.} \end{align*} \)

    Example \(\PageIndex{5}\): Using Properties of Logarithms in a Derivative

    Find the derivative of \(f(x)=\ln\left(\dfrac{x^2\sin x}{2x+1}\right)\).

    Solution

    At first glance, taking this derivative appears rather complicated. However, by using the properties of logarithms prior to finding the derivative, we can make the problem much simpler.

    \(\begin{align*} f(x)&=\ln\left(\frac{x^2\sin x}{2x+1}\right)=2\ln x+\ln(\sin x)−\ln(2x+1) & & \text{Apply properties of logarithms.}\\[4pt]
    f′(x)&=\dfrac{2}{x}+\cot x−\dfrac{2}{2x+1} & & \text{Apply sum rule and }h′(x)=\dfrac{1}{g(x)}g′(x). \end{align*}\)

    Exercise \(\PageIndex{3}\)

    Differentiate: \(f(x)=\ln(3x+2)^5\).

    Hint

    Use a property of logarithms to simplify before taking the derivative.

    Answer

    \(f′(x)=\dfrac{15}{3x+2}\)

    Now that we can differentiate the natural logarithmic function, we can use this result to find the derivatives of \(y=\log_b x\) and \(y=b^x\) for \(b>0, \,b≠1\).

    Derivatives of General Exponential and Logarithmic Functions

    Let \(b>0,b≠1,\) and let \(g(x)\) be a differentiable function.

    i. If \(y=\log_b x\), then

    \[\frac{dy}{dx}=\frac{1}{x\ln b}. \nonumber \]

    More generally, if \(h(x)=\log_b(g(x))\), then for all values of \(x\) for which \(g(x)>0\),

    \[h′(x)=\frac{g′(x)}{g(x)\ln b}. \label{genlogder} \]

    ii. If \(y=b^x,\) then

    \[\frac{dy}{dx}=b^x\ln b. \nonumber \]

    More generally, if \(h(x)=b^{g(x)},\) then

    \[h′(x)=b^{g(x)}g'(x)\ln b \label{genexpder} \]

    Proof

    If \(y=\log_b x,\) then \(b^y=x.\) It follows that \(\ln(b^y)=\ln x\). Thus \(y\ln b=\ln x\). Solving for \(y\), we have \(y=\dfrac{\ln x}{\ln b}\). Differentiating and keeping in mind that \(\ln b\) is a constant, we see that

    \[\frac{dy}{dx}=\frac{1}{x\ln b}. \nonumber \]

    The derivative in Equation \ref{genlogder} now follows from the chain rule.

    If \(y=b^x\). then \(\ln y=x\ln b.\) Using implicit differentiation, again keeping in mind that \(\ln b\) is constant, it follows that \(\dfrac{1}{y}\dfrac{dy}{dx}=\ln b\). Solving for \(\dfrac{dy}{dx}\) and substituting \(y=b^x\), we see that

    \[\frac{dy}{dx}=y\ln b=b^x\ln b. \nonumber \]

    The more general derivative (Equation \ref{genexpder}) follows from the chain rule.

    Example \(\PageIndex{6}\): Applying Derivative Formulas

    Find the derivative of \(h(x)=\dfrac{3^x}{3^x+2}\).

    Solution

    Use the quotient rule and Note.

    \(\begin{align*} h′(x)&=\dfrac{3^x\ln 3(3^x+2)−3^x\ln 3(3^x)}{(3^x+2)^2} & & \text{Apply the quotient rule.}\\[4pt]
    &=\dfrac{2⋅3^x\ln 3}{(3x+2)^2} & & \text{Simplify.} \end{align*}\)

    Example \(\PageIndex{7}\): Finding the Slope of a Tangent Line

    Find the slope of the line tangent to the graph of \(y=\log_2 (3x+1)\) at \(x=1\).

    Solution

    To find the slope, we must evaluate \(\dfrac{dy}{dx}\) at \(x=1\). Using Equation \ref{genlogder}, we see that

    \[\frac{dy}{dx}=\frac{3}{(3x+1)\ln 2}. \nonumber \]

    By evaluating the derivative at \(x=1\), we see that the tangent line has slope

    \[\frac{dy}{dx}\bigg{|}_{x=1}=\frac{3}{4\ln 2}=\frac{3}{\ln 16}. \nonumber \]

    Exercise \(\PageIndex{4}\)

    Find the slope for the line tangent to \(y=3^x\) at \(x=2.\)

    Hint

    Evaluate the derivative at \(x=2.\)

    Answer

    \(9\ln(3)\)

    Logarithmic Differentiation

    At this point, we can take derivatives of functions of the form \(y=(g(x))^n\) for certain values of \(n\), as well as functions of the form \(y=b^{g(x)}\), where \(b>0\) and \(b≠1\). Unfortunately, we still do not know the derivatives of functions such as \(y=x^x\) or \(y=x^π\). These functions require a technique called logarithmic differentiation, which allows us to differentiate any function of the form \(h(x)=g(x)^{f(x)}\). It can also be used to convert a very complex differentiation problem into a simpler one, such as finding the derivative of \(y=\dfrac{x\sqrt{2x+1}}{e^x\sin^3 x}\). We outline this technique in the following problem-solving strategy.

    Problem-Solving Strategy: Using Logarithmic Differentiation
    1. To differentiate \(y=h(x)\) using logarithmic differentiation, take the natural logarithm of both sides of the equation to obtain \(\ln y=\ln(h(x)).\)
    2. Use properties of logarithms to expand \(\ln(h(x))\) as much as possible.
    3. Differentiate both sides of the equation. On the left we will have \(\dfrac{1}{y}\dfrac{dy}{dx}\).
    4. Multiply both sides of the equation by \(y\) to solve for \(\dfrac{dy}{dx}\).
    5. Replace \(y\) by \(h(x)\).
    Example \(\PageIndex{8}\): Using Logarithmic Differentiation

    Find the derivative of \(y=(2x^4+1)^{\tan x}\).

    Solution

    Use logarithmic differentiation to find this derivative.

    \(\begin{align*} \ln y&=\ln(2x^4+1)^{\tan x} & & \text{Step 1. Take the natural logarithm of both sides.}\\[4pt]
    \ln y&=\tan x\ln(2x^4+1) & & \text{Step 2. Expand using properties of logarithms.}\\[4pt]
    \dfrac{1}{y}\dfrac{dy}{dx}&=\sec^2 x\ln(2x^4+1)+\dfrac{8x^3}{2x^4+1}⋅\tan x & & \text{Step 3. Differentiate both sides. Use the product rule on the right.}\\[4pt]
    \dfrac{dy}{dx}&=y⋅(\sec^2 x\ln(2x^4+1)+\dfrac{8x^3}{2x^4+1}⋅\tan x) & & \text{Step 4. Multiply by }y\text{ on both sides.}\\[4pt]
    \dfrac{dy}{dx}&=(2x^4+1)^{\tan x}(\sec^2 x\ln(2x^4+1)+\dfrac{8x^3}{2x^4+1}⋅\tan x) & & \text{Step 5. Substitute }y=(2x^4+1)^{\tan x}. \end{align*}\)

    Example \(\PageIndex{9}\): Extending the Power Rule

    Find the derivative of \(y=\dfrac{x\sqrt{2x+1}}{e^x\sin^3 x}\).

    Solution

    This problem really makes use of the properties of logarithms and the differentiation rules given in this chapter.

    \(\ln y=\ln\dfrac{x\sqrt{2x+1}}{e^x\sin^3 x}\) Step 1. Take the natural logarithm of both sides.
    \(\ln y=\ln x+\frac{1}{2}\ln(2x+1)−x\ln e−3\ln \sin x\) Step 2. Expand using properties of logarithms.
    \(\dfrac{1}{y}\dfrac{dy}{dx}=\dfrac{1}{x}+\dfrac{1}{2x+1}−1−3\dfrac{\cos x}{\sin x}\) Step 3. Differentiate both sides.
    \(\dfrac{dy}{dx}=y\left(\dfrac{1}{x}+\dfrac{1}{2x+1}−1−3\cot x\right)\) Step 4. Multiply by \(y\) on both sides.
    \(\dfrac{dy}{dx}=\dfrac{x\sqrt{2x+1}}{e^x\sin^3 x}\left(\dfrac{1}{x}+\dfrac{1}{2x+1}−1−3\cot x\right)\) Step 5. Substitute \(y=\dfrac{x\sqrt{2x+1}}{e^x\sin^3 x}.\)
    Exercise \(\PageIndex{5}\)

    Use logarithmic differentiation to find the derivative of \(y=x^x\).

    Hint

    Follow the problem solving strategy.

    Answer

    Solution: \(\dfrac{dy}{dx}=x^x(1+\ln x)\)

    Exercise \(\PageIndex{6}\)

    Find the derivative of \(y=(\tan x)^π\).

    Hint

    Use the power rule (since the exponent \(\pi\) is a constant) and the chain rule.

    Answer

    \(y′=π(\tan x)^{π−1}\sec^2 x\)

    Key Concepts

    • On the basis of the assumption that the exponential function \(y=b^x, \,b>0\) is continuous everywhere and differentiable at \(0\), this function is differentiable everywhere and there is a formula for its derivative.
    • We can use a formula to find the derivative of \(y=\ln x\), and the relationship \(\log_b x=\dfrac{\ln x}{\ln b}\) allows us to extend our differentiation formulas to include logarithms with arbitrary bases.
    • Logarithmic differentiation allows us to differentiate functions of the form \(y=g(x)^{f(x)}\) or very complex functions by taking the natural logarithm of both sides and exploiting the properties of logarithms before differentiating.

    Key Equations

    • Derivative of the natural exponential function

    \(\dfrac{d}{dx}\Big(e^{g(x)}\Big)=e^{g(x)}g′(x)\)

    • Derivative of the natural logarithmic function

    \(\dfrac{d}{dx}\Big(\ln g(x)\Big)=\dfrac{1}{g(x)}g′(x)\)

    • Derivative of the general exponential function

    \(\dfrac{d}{dx}\Big(b^{g(x)}\Big)=b^{g(x)}g′(x)\ln b\)

    • Derivative of the general logarithmic function

    \(\dfrac{d}{dx}\Big(\log_b g(x)\Big)=\dfrac{g′(x)}{g(x)\ln b}\)

    Glossary

    logarithmic differentiation
    is a technique that allows us to differentiate a function by first taking the natural logarithm of both sides of an equation, applying properties of logarithms to simplify the equation, and differentiating implicitly

    Supplemental Video for Logarithmic Differentiation

    Homework Exercises 1.4

    In exercises 1 - 15, find \(f′(x)\) for each function.

    1) \(f(x)=x^2e^x\)

    Answer
    \(f'(x) = 2xe^x+x^2e^x\)

    2) \(f(x)=\dfrac{e^{−x}}{x}\)

    3) \(f(x)=e^{x^3\ln x}\)

    Answer
    \(f'(x) = e^{x^3\ln x}\left(3x^2\ln x+x^2\right)\)

    4) \(f(x)=\sqrt{e^{2x}+2x}\)

    5) \(f(x)=\dfrac{e^x−e^{−x}}{e^x+e^{−x}}\)

    Answer
    \(f'(x) = \dfrac{4}{(e^x+e^{−x})^2}\)

    6) \(f(x)=\dfrac{10^x}{\ln 10}\)

    7) \(f(x)=2^{4x}+4x^2\)

    Answer
    \(f'(x) = 2^{4x+2}⋅\ln 2+8x\)

    8) \(f(x)=3^{\sin 3x}\)

    9) \(f(x)=x^π⋅π^x\)

    Answer
    \(f'(x) = πx^{π−1}⋅π^x+x^π⋅π^x\ln π\)

    10) \(f(x)=\ln(4x^3+x)\)

    11) \(f(x)=\ln\sqrt{5x−7}\)

    Answer
    \(f'(x) = \dfrac{5}{2(5x−7)}\)

    12) \(f(x)=x^2\ln 9x\)

    13) \(f(x)=\log(\sec x)\)

    Answer
    \(f'(x) = \dfrac{\tan x}{\ln 10}\)

    14) \(f(x)=\log_7(6x^4+3)^5\)

    15) \(f(x)=2^x⋅\log_37^{x^2−4}\)

    Answer
    \(f'(x) = 2^x⋅\ln 2⋅\log_3 7^{x^2−4}+2^x⋅\dfrac{2x\ln 7}{\ln 3}\)

    For exercises 16 - 23, use logarithmic differentiation to find \(\dfrac{dy}{dx}\).

    16) \(y=x^{\sqrt{x}}\)

    17) \(y=(\sin 2x)^{4x}\)

    Answer
    \(\dfrac{dy}{dx} = (\sin 2x)^{4x}\big[4⋅\ln(\sin 2x)+8x⋅\cot 2x\big]\)

    18) \(y=(\ln x)^{\ln x}\)

    19) \(y=x^{\log_2x}\)

    Answer
    \(\dfrac{dy}{dx} = x^{\log_2x}⋅\dfrac{2\ln x}{x\ln 2}\)

    20) \(y=(x^2−1)^{\ln x}\)

    21) \(y=x^{\cot x}\)

    Answer
    \(\dfrac{dy}{dx} = x^{\cot x}⋅\left[−\csc^2x⋅\ln x+\dfrac{\cot x}{x}\right]\)

    22) \(y=\dfrac{x+11}{\sqrt[3]{x^2−4}}\)

    23) \(y=x^{−1/2}(x^2+3)^{2/3}(3x−4)^4\)

    Answer
    \(\dfrac{dy}{dx} = x^{−1/2}(x^2+3)^{2/3}(3x−4)^4⋅\left[\dfrac{−1}{2x}+\dfrac{4x}{3(x^2+3)}+\dfrac{12}{3x−4}\right]\)

    24) [T] Find an equation of the tangent line to the graph of \(f(x)=4xe^{(x^2−1)}\) at the point where

    \(x=−1.\) Graph both the function and the tangent line.

    25) [T] Find the equation of the line that is normal to the graph of \(f(x)=x⋅5^x\) at the point where \(x=1\). Graph both the function and the normal line.

    Answer
    \(y=\frac{−1}{5+5\ln 5}x+\left(5+\frac{1}{5+5\ln 5}\right)\)
    The function starts at (−3, 0), decreases slightly and then increases through the origin and increases to (1.25, 10). There is a straight line marked T(x) with slope −1/(5 + 5 ln 5) and y intercept 5 + 1/(5 + 5 ln 5).

    26) [T] Find the equation of the tangent line to the graph of \(x^3−x\ln y+y^3=2x+5\) at the point where \(x=2\). (Hint: Use implicit differentiation to find \(\dfrac{dy}{dx}\).) Graph both the curve and the tangent line.

    27) Consider the function \(y=x^{1/x}\) for \(x>0.\)

    a. Determine the points on the graph where the tangent line is horizontal.

    b. Determine the points on the graph where \(y′>0\) and those where \(y′<0\).

    Answer
    a. \(x=e \approx 2.718\)
    b. \(y'>0 \text{ for } (0,e)\) and \(y'<0 \text{ for } (e,∞).\)

    28) The formula \(I(t)=\dfrac{\sin t}{e^t}\) is the formula for a decaying alternating current.

    a. Complete the following table with the appropriate values.

    \(t\) \(\frac{\sin t}{e^t}\)
    0 (i)
    \(π/2\) (ii)
    \(π\) (iii)
    \(3π/2\) (vi)
    \(2π\) (v)
    \(2π\) (vi)
    \(3π\) (vii)

    b. Using only the values in the table, determine where the tangent line to the graph of \(I(t)\) is horizontal.

    29) [T] The population of Toledo, Ohio, in 2000 was approximately 500,000. Assume the population is increasing at a rate of 5% per year.

    a. Write the exponential function that relates the total population as a function of \(t\).

    b. Use part a. to determine the rate at which the population is increasing in \(t\) years.

    c. Use part b. to determine the rate at which the population is increasing in 10 years

    Answer
    a. \(P=500,000(1.05)^t\) individuals
    b. \(P′(t)=24395⋅(1.05)^t\) individuals per year
    c. \(39,737\) individuals per year

    30)[T] An isotope of the element erbium has a half-life of approximately 12 hours. Initially there are 9 grams of the isotope present.

    a. Write the exponential function that relates the amount of substance remaining as a function of \(t\), measured in hours.

    b. Use a. to determine the rate at which the substance is decaying in \(t\) hours.

    c. Use b. to determine the rate of decay at \(t=4\) hours.

    31) [T] The number of cases of influenza in New York City from the beginning of 1960 to the beginning of 1964 is modeled by the function \(N(t)=5.3e^{0.093t^2−0.87t},(0≤t≤4)\), where \(N(t)\) gives the number of cases (in thousands) and \(t\) is measured in years, with \(t=0\) corresponding to the beginning of 1960.

    a. Show work that evaluates \(N(0)\) and \(N(4)\). Briefly describe what these values indicate about the disease in New York City.

    b. Show work that evaluates \(N′(0)\) and \(N′(3)\). Briefly describe what these values indicate about the disease in the United States.

    Answer
    a. At the beginning of 1960 there were 5.3 thousand cases of the disease in New York City. At the beginning of 1963 there were approximately 723 cases of the disease in the United States.
    b. At the beginning of 1960 the number of cases of the disease was decreasing at rate of \(−4.611\) thousand per year; at the beginning of 1963, the number of cases of the disease was decreasing at a rate of \(−0.2808\) thousand per year.

    32) [T] The relative rate of change of a differentiable function \(y=f(x)\) is given by \(\frac{100⋅f′(x)}{f(x)}%.\) One model for population growth is a Gompertz growth function, given by \(P(x)=ae^{−b⋅e^{−cx}}\) where \(a,b\), and \(c\) are constants.

    a. Find the relative rate of change formula for the generic Gompertz function.

    b. Use part a. to find the relative rate of change of a population in \(x=20\) months when \(a=204,\;b=0.0198,\) and \(c=0.15.\)

    c. Briefly interpret what the result of part b. means.

    For exercises 33 - 36, use the population of New York City from 1790 to 1860, given in the following table.

    Year since 1790 Population
    0 33,131
    10 60,515
    20 96,373
    30 123,706
    40 202,300
    50 312,710
    60 515,547
    70 813,669

    New York City Population Over TimeSource: http://en.Wikipedia.org/wiki/Largest..._United_States

    _by_population_by_decade

    33) [T] Using a computer program or a calculator, fit a growth curve to the data of the form \(p=ab^t\).

    Answer
    \(p=35741(1.045)^t\)

    34) [T] Using the exponential best fit for the data, write a table containing the derivatives evaluated at each year.

    35) [T] Using the exponential best fit for the data, write a table containing the second derivatives evaluated at each year.

    Answer
    Year since 1790 \(P"\)
    0 69.25
    10 107.5
    20 167.0
    30 259.4
    40 402.8
    50 625.5
    60 971.4
    70 1508.5

    36) [T] Using the tables of first and second derivatives and the best fit, answer the following questions:

    a. Will the model be accurate in predicting the future population of New York City? Why or why not?

    b. Estimate the population in 2010. Was the prediction correct from part a.?


    This page titled 1.4: Derivatives of Exponential and Logarithmic Functions is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.