Section 4.6 Derivatives of Exponential & Logarithmic Functions
ΒΆTheorem 4.58. Derivative Formulas for ex and lnx.
Theorem 4.59. Derivative Formulas for ax and logax.
Example 4.60. Derivative of Exponential Function.
Compute the derivative of f(x)=2x.
Example 4.61. Derivative of Exponential Function.
Compute the derivative of f(x)=2x2=2(x2).
Example 4.62. Proving the General Power Rule.
Recall that we have not justified the Power Rule except when the exponent is a positive or negative integer. We can now show that
where n is any real number.
We can use the exponential function to take care of other exponents.
Example 4.63. Derivative of Exponential Function with Chain Rule.
Find the derivative of
\(g'(t) = e^{2t^{2}+t} \frac{d}{dt}(2t^{2}+t) = (4t+1)e^{2t^{2}+t}\text{.}\)
Example 4.64. Derivative of Exponential Function with Quotient Rule.
Find the derivative of
Using the Quotient Rule, we calculate
Now, using the derivative formula for the exponential function with base \(10\text{,}\) we find
Example 4.65. Derivative of Logarithmic Function with Chain Rule.
Find the derivative of
We use the Chain Rule and the formula for the derivative of a logarithmic function of base \(2\) to find
Note that we must have \(x > 5\text{.}\) Therefore, we need to be careful when we want to simplify the expression on the right side of the equation, and state the restriction as well:
Example 4.66. Derivative of Logarithmic Function with Chain Rule.
Find the derivative of
To save a lot of work, we first simplify the given expression using properties of logarithms. We have
Therefore,
Subsection 4.6.1 The Fundamental Limit of Calculus
In Section 2.3 we defined e to be the base so that the slope of the tangent line to the function y=ax at the point x=0 was equal to 1, i.e. d(ex)dx|x=0=1. We will now see how we can write e in terms of a limit.Theorem 4.67. The Fundamental Limit of Calculus.
Proof.
Let \(f(x) = \ln x\text{,}\) then \(f'(x) = \frac{1}{x}\) and so \(f'(1) = 1\text{.}\) We now write \(f'(1)\) using the definition of derivative:
Taking \(e\) of both sides and using continuity of the exponential function gives:
For the second limit, we let \(n=\frac{1}{h}\text{.}\) Then \(h\to 0 \implies n \to \infty\) and \(h = \frac{1}{n}\text{:}\)
Exercises for Section 4.6.
Exercise 4.6.1.
Find the derivatives of the functions.
-
\(\ds f(x) = 3^{x^2}\)
AnswerSolution\(\ds 2\ln(3)x3^{x^2}\)We rewrite \(f(x)=3^{x^{2}}\) as \(f(x)=e^{\ln 3^{x^{2}}}=e^{x^{2}\ln 3}\text{.}\) \(\begin{aligned}\diff{f}{x} \amp = e^{x^{2}\ln 3} \cdot \ln 3 \cdot 2x \\ \amp =2\ln(3)x3^{x^{2}}. \end{aligned}\)
-
\(\ds f(x) = {\sin x \over e^x}\)
AnswerSolution\(\ds {\cos x-\sin x \over e^x}\)Let \(f(x) = \dfrac{\sin x}{e^{x}} = e^{-x}\sin x\text{.}\) Then its derivative is given by \(\begin{aligned}f'(x)\amp =e^{-x}\cos x - e^{-x}\sin x \amp = \frac{\cos x - \sin x}{e^{x}}\cdot \end{aligned}\)
-
\(\ds f(t) = (e^t)^2\)
AnswerSolution\(\ds 2e^{2t}\)\(\begin{aligned}f'(t) \amp = \diff{}{t} \left(e^t\right)^2 \\ \amp = 2e^t \diff{}{t} e^t \\ \amp = 2\left(e^{t}\right)^2 \\ \amp = 2 e^{2t} \end{aligned}\)
-
\(\ds f(x) = \sin(e^x)\)
AnswerSolution\(\ds e^x\cos(e^x)\)We have \(f(x)=\sin\left(e^{x}\right)\text{.}\) We apply the chain rule, using the trigonometric and exponential derivative formulas to find \(f'(x)=e^{x}\cos\left(e^{x}\right)\text{.}\)
-
\(\ds f(x) = e^{\sin x}\)
AnswerSolution\(\ds \cos (x) e^{\sin x}\)\(\begin{aligned}f'(x) \amp = \diff{}{x} e^{\sin x} \\ \amp = e^{\sin x} \diff{}{x} \sin x \\ \amp = e^{\sin x} \cos x \end{aligned}\)
-
\(\ds h(x) = x^{\sin x}\)
AnswerSolution\(\ds x^{\sin x}\left(\cos x\ln x+{\sin x\over x}\right)\)We first rewrite \(h(x) = x^{\sin x} = e^{\sin x \ln x}\text{.}\) \(\begin{aligned}h'(x) \amp = e^{\sin x \ln x} \diff{}{x} \sin x \ln x\\ \amp = e^{\sin x \ln x} \left(\ln x \cos x + \frac{\sin x}{x}\right) \end{aligned}\)
-
\(\ds f(x) = x^3e^x\)
AnswerSolution\(\ds 3x^2e^x+x^3e^x\)\(\begin{aligned}f'(x) \amp = \diff{}{x} x^3 e^x \\ \amp = e^x \diff{}{x} x^3 + x^3 \diff{}{x} e^x \\ \amp = e^x (3x^2) + x^3 e^x \\ \amp = e^x x^2 \left(3+x\right) \end{aligned}\)
-
\(\ds g(t) = t+2^t\)
AnswerSolution\(\ds 1+2^t\ln(2)\)\(\begin{aligned}g'(t) \amp = \diff{}{t} \left(t+2^t\right)\\ \amp = 1 + 2^t \ln 2 \end{aligned}\)
-
\(\ds g(x) = (1/3)^{x^2}\)
AnswerSolution\(\ds -2x\ln(3)(1/3)^{x^2}\)Let \(g(x) = \left(1/3\right)^{x^2} = e^{x^2\ln(1/3)} = e^{-x^2 \ln(3) }\text{.}\) \(\begin{aligned}g'(x) \amp = \diff{}{x} e^{-x^2 \ln(3) } \\ \amp = e^{-x^2\ln (3)} \diff{}{x} \left(-x^2\ln (3)\right) \\ \amp = -2\ln(3) x e^{-x^2\ln(3)} \end{aligned}\)
-
\(\ds f(s) = e^{4s}/s\)
AnswerSolution\(\ds e^{4s}(4s-1)/s^2\)\(\begin{aligned}f'(s) \amp = \diff{}{s} \frac{e^{4s}}{s} \\ \amp = \frac{s\diff{}{s} e^{4s} - e^{4s} \diff{}{s} s}{s^2}\\ \amp = \frac{s (4e^{4s}) - e^{4s}}{s^2}\\ \amp = \frac{e^{4s} \left(4s-1\right)}{s^2} \end{aligned}\)
-
\(\ds h(x) = \ln(x^3+3x)\)
AnswerSolution\(\ds (3x^2+3)/(x^3+3x)\)\(\begin{aligned}\diff{h}{x} \amp =\diff{}{x}\left(\ln \left(x^{3}+3x\right)\right) \\ \amp = \frac{1}{x^{3}+3x}\cdot \diff{}{x}\left(x^{3}+3x\right) \\ \amp = \frac{3x^{2}+3}{x^{3}+3x} \end{aligned}\)
-
\(\ds f(x) = \ln(\cos(x))\)
AnswerSolution\(\ds -\tan(x)\)\(\begin{aligned}f'(x)\amp =\diff{}{x} \ln\left(\cos x\right)\\ \amp =\frac{1}{\cos x}(-\sin x)\\ \amp = -\tan x \end{aligned}\)
-
\(\ds f(t) = \sqrt{\ln(t^2)}/t\)
AnswerSolution\(\ds (1-\ln(t^2))/(t^2\sqrt{\ln(t^2)})\)Let's first apply the quotient rule. \(\begin{aligned}f'(t) \amp = \diff{}{t} \frac{\sqrt{\ln t^{2}}}{t} \amp = \frac{t\diff{}{t}\left(\sqrt{\ln t^{2}}\right) - \sqrt{\ln t^{2}}}{t^{2}}\cdot \end{aligned}\) Next, apply the chain rule. \(\begin{aligned}f'(t) \amp = \frac{t\cdot\frac{1}{2}(\ln t^{2})^{-1/2}\cdot\frac{2t}{t^{2}} - \sqrt{\ln t^{2}}}{t^{2}} \amp = \frac{1-\ln t^{2}}{t^{2}\sqrt{\ln t^{2}}}\cdot \end{aligned}\)
-
\(\ds f(x) = \ln(\sec(x) + \tan(x))\)
AnswerSolution\(\ds \frac{\tan x \sec x + \sec^2 x}{\sec x + \tan x}\)\(\begin{aligned}f'(x) \amp = \diff{}{x} \ln (\sec x + \tan x) \\ \amp = \frac{1}{\sec x + \tan x} \diff{}{x} \left(\sec x + \tan x\right) \\ \amp = \frac{\tan x \sec x + \sec^2 x}{\sec x + \tan x} \end{aligned}\)
-
\(\ds g(x) = x^{\cos(x)}\)
AnswerSolution\(\ds x^{\cos(x)}(\cos(x)/x-\cos(x)\ln(x))\)\(\begin{aligned}g'(x) \amp = \diff{}{x} x^{\cos x}\\ \amp = \diff{}{x} e^{\cos x \ln x} \\ \amp = e^{\cos x \ln x} \diff{}{x} \cos x \ln x \\ \amp = e^{\cos x \ln x} \left(\frac{\cos x }{x} - \sin x \ln x\right) \end{aligned}\)
-
\(\ds h(s) = s\ln s\)
AnswerSolution\(\ds s \frac{1}{s} + \ln s\)\(\begin{aligned}h'(s) \amp = \diff{}{s} s \ln s \\ \amp = s \frac{1}{s} + \ln s \end{aligned}\)
-
\(\ds f(x) = \ln (\ln (3x) )\)
AnswerSolution\(\ds \frac{3}{3x \ln(3x)}\)\(\begin{aligned}f'(x) \amp = \diff{}{x} \ln(\ln(3x)) \\ \amp = \frac{1}{\ln(3x)} \diff{}{x} \ln(3x)\\ \amp = \frac{1}{\ln (3x)} \cdot \frac{1}{3x} \cdot \diff{}{x} (3x) \\ \amp = \frac{1}{\ln (3x)} \cdot \frac{1}{3x} \cdot 3\\ \amp = \frac{3}{3x \ln(3x)} \end{aligned}\)
-
\(\ds f(t) = {1+\ln (3t^2 )\over 1+ \ln(4t)}\)
AnswerSolution\(\ds\frac{\left(1+\ln(3t^2)\right)\frac{1}{t} - \left(1+\ln(4t)\right) \frac{2}{t}}{\left(1+\ln(4t)\right)^2}\)\(\begin{aligned}f'(t) \amp = \diff{}{t} \left(\frac{1+\ln(3t^2)}{1+\ln(4t)}\right) \\ \amp = \frac{\left(1+\ln(3t^2)\right)\frac{4}{4t} - \left(1+\ln(4t)\right) \frac{6t}{3t^2}}{\left(1+\ln(4t)\right)^2}\\ \amp = \frac{\left(1+\ln(3t^2)\right)\frac{1}{t} - \left(1+\ln(4t)\right) \frac{2}{t}}{\left(1+\ln(4t)\right)^2} \end{aligned}\)
Exercise 4.6.2.
Find the second derivative of the function.
-
\(\ds f(t)=3e^{-2t}-5e^{-t}\)
AnswerSolution\(\ds f''(t)=12e^{-2t}-5e^{-t}\)\(\begin{aligned}f'(t) \amp = \diff{}{t} \left(3e^{-2t} - 5 e^{-t}\right) \\ \amp = 3 e^{-2t} \diff{}{t} (-2t) - 5e^{-t} \diff{}{t} (-t) \\ \amp = -6e^{-2t} +5e^{-t} f''(t) \amp = \diff{}{t} \left( -6e^{-2t} +5e^{-t}\right)\\ \amp = -6e^{-2t} \diff{}{t} (-2t) + 5e^{-t} \diff{}{t} (-t) \\ \amp = 12e^{-2t} - 5e^{-t} \end{aligned}\)
-
\(\ds f(x)=x^{2}e^{-2x}\)
AnswerSolution\(\ds f''(s)=2(2x^{2}-4x+1)e^{-2x}\)\(\begin{aligned}f'(x) \amp = \diff{}{x} x^2e^{-x} \\ \amp = e^{-x} \diff{}{x} x^2 + x^2 \diff{}{x} e^{-x} \\ \amp = 2xe^{-x} + x^2 e^{-x} \diff{}{x} (-x)\\ \amp = 2xe^{-x} - x^2 e^{-x} f''(x) \amp = \diff{}{x} \left(2xe^{-x} - x^2 e^{-x}\right)\\ \amp = \left(2e^{-x} -2xe^{-x}\right) - \left( f'(x)\right) \\ \amp = \left(2e^{-x} -2xe^{-x}\right) - \left( 2xe^{-x} - x^2 e^{-x}\right) \\ \amp = 2e^{-x} -4xe^{-x} - x^2 e^{-x} \end{aligned}\)
-
\(\ds f(t)=(t-5)3^{t}\)
AnswerSolution\(\ds f''(t)=\left(2\ln 3-5(\ln 3)^{2}\right)3^{t}+t(\ln 3)^{2}3^{t}\)\(\begin{aligned}f'(t) \amp = \diff{}{t} (t-5)3^t \\ \amp = 3^t \diff{}{t} (t-5) + (t-5) \diff{}{t} 3^t \\ \amp = 3^t + (t-5) \ln(3) 3^t f''(t) \amp = \diff{}{t} \left(3^t + (t-5) \ln(3) 3^t\right)\\ \amp = \ln(3) 3^t + \ln(3) \left(f'(t)\right) \\ \amp = \ln(3) 3^t + \ln(3) \left(3^t + (t-5) \ln(3) 3^t\right) \\ \amp = \ln(3) 3^t \left(2 +(t-5)\ln(3)\right) \end{aligned}\)
-
\(\ds y=6^{\sqrt{x}}\)
AnswerSolution\(\ds y''(x)=\dfrac{(\ln 6)^{2}\sqrt{x}6^{\sqrt{x}}-(\ln 6)6^{\sqrt{x}}}{4(\sqrt{x})^{3}}\)\(\begin{aligned}y'(x) \amp = \diff{}{x} 6^{\sqrt{x}}\\ \amp = \ln(6) 6^{\sqrt{x}} \diff{}{x} \sqrt{x} \\ \amp = \ln(6) 6^{\sqrt{x}} \frac{1}{2\sqrt{x}} \end{aligned}\)
Exercise 4.6.3.
Find an equation of the tangent line to the graph of \(y=e^{2x-3}\) at the point \(\left(\frac{3}{2},1\right)\text{.}\)
AnswerLet \(f(x) = e^{2x-3}\text{.}\) We first differentiate:
Therefore, at the point \((3/2,1)\text{,}\) the slope of the tangent line is
Hence, an equation of the tangent line is
Exercise 4.6.4.
Find an equation of the tangent line to the graph of \(y=e^{-x^{2}}\) at the point \(\left(1,\frac{1}{e}\right)\text{.}\)
AnswerLet \(f(x) = e^{-x^2}\text{.}\) Then its derivative is
So at the point of tangency \(\left(1, \frac{1}{e}\right)\text{,}\)
Hence, an equation of the tangent line is
Exercise 4.6.5.
Find the value of \(a\) so that the tangent line to \(y=\ln(x)\) at \(x=a\) is a line through the origin. Sketch the resulting situation.
AnswerThe slope of the tangent line to \(y=\ln(x)\) at the point \(x=a\) is
Further, the tangent line passes through the point \((a, \ln(a))\text{.}\) This gives the equation of the tangent line as a function of \(a\text{:}\)
So if we want this tangent line to pass through the point \((0,0)\text{,}\) we must have
We verify with a sketch:
Exercise 4.6.6.
If \(\ds f(x) = \ln(x^3 + 2)\) compute \(\ds f'(e^{1/3})\text{.}\)
AnswerWe are given that \(f(x) = \ln(x^3+2)\text{.}\) Therefore, by the Chain Rule:
And so
Exercise 4.6.7.
The unit selling price \(p\) (in dollars) and the quantity \(x\) demanded (in pairs) of a certain brand of women's gloves is given by the demand equation
-
Find the revenue function \(R\) (Hint: \(R(x) = px\)).
Answer\(R(x) = px = 100xe^{-0.0001x}\text{,}\) for \(0 \leq x \leq 200,000\text{.}\) -
Find the marginal revenue function \(R'\text{.}\)
Answer\(R'(x) = 100\diff{}{x} xe^{-0.0001x} = 100\left(e^{-0.0001x} + x(-0.0001)e^{-0.0001x}\right) = 100e^{-0.0001x}(1-0.0001x)\text{.}\) -
What is the marginal revenue when \(x=10\text{?}\)
Answer\(R'(10) = 100e^{-0.00x}(1-0.001)\text{.}\) Thus, when 10 pairs of gloves are demanded, the marginal revenue is approximately $99.80.
Exercise 4.6.8.
The monthly demand for a certain brand of table wine is given by the demand equation
where \(p\) denotes the wholesale price per case (in dollars) and \(x\) denotes the number of cases demanded.
-
Find the rate of change of the price per case when \(x=1000\text{.}\)
AnswerSolution-$\(0.0168\) per caseWe first differentiate:
\begin{equation*} \begin{split} p'(x) \amp = \diff{}{x} 240 \left(1-\frac{3}{3+e^{-0.0005x}}\right) \\ \amp = -240 \diff{}{x} \left(\frac{3}{3+e^{-0.0005x}}\right) \\ \amp = -720 \diff{}{x} \left(3+e^{-0.0005x}\right)^{-1} \\ \amp = 720 \left(3+e^{-0.0005x}\right)^{-2} \diff{}{x}\left(3+e^{-0.0005x}\right)\\ \amp = -720 \left(3+e^{-0.0005x}\right)^{-2} \left(-0.0005 e^{-0.0005x}\right) \\ \amp = -\frac{9 e^{-0.0005x}}{25 \left(3+e^{-0.0005x}\right)^{2} } \end{split} \end{equation*}And so when 1000 cases are demanded, we have
\begin{equation*} p'(1000) = -\frac{9 e^{-.5}}{25 \left(3+e^{-.5x}\right)^{2} } \approx -0.0168\text{,} \end{equation*}which means that the unit price is decreasing by approximately %0.0168 per case.
-
What is the price per case when \(x=1000\text{?}\)
AnswerSolution$\(40.36\) per case.The unit price when 1000 cases are demanded is given by
\begin{equation*} p(1000) = 240 \left(1-\frac{3}{3+e^{-.5}}\right) \approx 40.36\text{,} \end{equation*}or $40.36.
Exercise 4.6.9.
The price of a certain commodity in dollars per unit time (measured in weeks) is given by
-
What is the price of the commodity at \(t=0\text{?}\)
AnswerSolution$\(12\)/unitAt \(t=0\text{,}\) the unit price of the commodity is \(p=8+4e^{0}+(0)e^{0} = 8+4(1) = 12\text{,}\) or $12.
-
How fast is the price of the commodity changing at \(t=0\text{?}\)
AnswerSolution-$\(7\)/week\(\diff{p}{t} = -8e^{-2t}+e^{-2t}-2te^{-2t}\text{.}\) At \(t=0\text{,}\) \(\diff{p}{t}=-7\text{.}\) Therefore, the price of the commodity is decreasing by $7 per week at this time.
-
Find the equilibrium price of the commodity (Hint: It's given by \(\lim\limits_{t\to\infty}p\text{.}\) Also use the fact that \(\lim\limits_{t\to\infty} te^{-2t} = 0\text{.}\)
AnswerSolution$\(8\)/unit\(\lim\limits_{t\to\infty}p = 8 + 4\lim\limits_{t\to\infty} e^{-2t} + \lim\limits_{t\to\infty}te^{-2t}\text{.}\) We use the fact that \(e^{-2t} \to 0\) as \(t \to \infty\) and the hint to see that \(\lim\limits_{t\to\infty}p = 8\text{.}\)
Exercise 4.6.10.
The percent of households using online banking may be approximated by the formula
where \(t\) is measured in years, with \(t=0\) corresponding to the beginning of \(2000\text{.}\)
-
What is the projected percent of households using online banking at the beginning of \(2003\text{?}\)
AnswerSolution\(14.23\)%Since \(t\) is measured in years since 2000, the beginning of the year 2003 corresponds to \(t=3\text{.}\) Therefore, since
\begin{equation*} f(3) = 1.5e^{0.75(3)} \approx 14.23\text{,} \end{equation*}approximately 14.23% of all households were projected to be using online banking by the beginning of 2003.
-
How fast will the projected percent of households using online banking be changing at the beginning of \(2003\text{?}\)
AnswerSolution\(10.67\)%/yrWe differentiate:
\begin{equation*} f'(t) = 1.5e^{0.75t} (0.75) = 1.125 e^{0.75t}\text{.} \end{equation*}Therefore,
\begin{equation*} f'(3) = 1.125e^{0.75(3)} \approx 10.67\text{.} \end{equation*}Hence, it was projected that the rate of households using online banking by the beginning of 2003 was increasing at a rate of about 10.67% per year.
-
How fast will the rate of the projected percent of households using online banking be changing at the beginning of \(2003\text{?}\) (Hint: we want \(f''(3)\text{.}\) Why?)
AnswerSolution\(8\)%/yr/yrWe differentiate again:
\begin{equation*} f''(t) = 1.125 e^{0.75t} (0.75) = 0.84375 e^{0.75t}\text{.} \end{equation*}And so
\begin{equation*} f''(3) \approx 8.006\text{,} \end{equation*}which means that the rate at which the rate of households using online banking was increasing was projected to be about 8% per year.
Exercise 4.6.11.
The average energy consumption of the typical refrigerator/freezer manufactured by York Industries is approximately
killowatt-hours (kWh) per year, where \(t\) is measured in years, with \(t=0\) corresponding to \(1972\text{.}\)
-
What was the average energy consumption of the York refrigerator/freezer at the beginning of \(1972\text{?}\)
AnswerSolution\(1986\) kWh/yt\(C(0) = 1486e^{0}+500 = 1986\text{.}\) Therefore, the average energy consumption at the beginning of 1972 was 1986 kWh/yr.
-
What is the rate of change of the average energy consumption?
AnswerSolution\(C'(t)=-108.48e^{-0.073t}\)The rate of change of the average energy comsumption at the beginning of year \(t\) is
\begin{equation*} C'(t) = -0.073(1486e^{-0.073t}) = -108.478 e^{-0.073t}\text{.} \end{equation*} -
All refrigerator/freezers manufactured as of Janurary \(1\text{,}\) \(1990\text{,}\) must meet a \(950\)-kWh/yr maximum energy-consumption standard. Show that the York refigerator/freezer satisfies this requirement.
AnswerSolution\(C(18)=899.35 \lt 950\)At the beginning of 1990, the average energy consumption per year was approximately
\begin{equation*} C(18) = 1486e^{-0.073(18)} + 500 \approx 899.352 \end{equation*}kWh/yr, which is less than 950 kWh/yr and so the fridges produced at the beginning of 1990 met the standard. Furthermore, since
\begin{equation*} C'(t) = -108.478 e^{-0.073t} \lt 0 \end{equation*}for all \(t\text{,}\) this means that the average energy consumption per year is decreasing from the years 1990 to 1992. Therefore, all fridges manufactured as of Janurary 1990 meet the standard.