Section Derivatives of the Exponential and Logarithmic Functions
We know how to take the derivative of \(f(x) = x^2,\) but what about \(g(x) = 2^x\) or \(h(x) = e^x?\) We wish to be able to differentiate exponential and logarithmic functions. If you need a review of these functions, then work through the problems in the appendix Exponential and Logarithmic Functions .
Problem 2.74.
Sketch graphs of \(f(x) = 2^x\) and \(g(x) = 3^x\) on the same coordinate axes labeling several points and being very careful to show which function is above the other at various points on the graph.
Example 2.75.
Defining \(e\) and finding the derivative of the function \(e^x\text{.}\)
Consider finding the derivative of \(f(x) = 2^x.\) Using limits to compute the derivative, we have:
Consider finding the derivative of \(f(x) = 2^x.\) Using limits to compute the derivative, we have:
We would now know the derivative of the function \(2^x\) if only we could determine \(f'(0) = \dsp{\lim_{h \rightarrow 0} \frac{2^{h}-1}{h}}.\) We can approximate \(f'(0) = \dsp{\lim_{h \rightarrow 0} \frac{2^{h}-1}{h}} \approx .69\) by using a limit table. Similarly, if we went through the same process for \(g(x) = 3^x\) we would see that \(g'(0) = \dsp{\lim_{h \rightarrow 0} \frac{3^{h}-1}{h}} \approx 1.09\) by using a limit table. Since the slope of \(f\) at 0 is less than 1 and the slope of \(g\) at 0 is greater than one, it makes sense that there should be an exponential function which has slope exactly 1 at 0. We define a number, called \(e\text{,}\) to be the number (between 2 and 3) so that \(\dsp{\lim_{h \rightarrow 0} \frac{e^{h}-1}{h}} = 1.\) Now, if we let \(j(x) = e^x\) then we have
This work results in a definition and a theorem.
Definition 2.76.
Let \(e\) be the number that satisfies \(\dsp \lim_{h \to 0} \frac{e^h-1}{h} = 1\text{.}\)
Theorem 2.77.
Exponential Derivative Theorem. If \(f(x) = e^x\text{,}\) then \(f'(x) = e^x\text{.}\)
Definition 2.78.
Let \(g(x)=\ln(x)\) be the function that is the inverse of the function \(f(x) = e^x\text{.}\)
Algebra Reminders
\(f(x)=e^x\) has domain all \(x \in \re\) and range all \(x > 0\)
\(g(x)=\ln(x)\) has domain all \(x > 0\) and range all \(x \in \re\)
\(e^{x+y} = e^x e^y\) and \({(e^x)}^{^y} = e^{xy}\) for all \(x,y \in \re\)
\(\ln(xy) = \ln(x) + \ln(y)\) for all \(x>0\text{,}\) \(y>0\)
\(\ln(x^y) = y\ln(x)\) for all \(y \in \re\) and \(x>0\)
\(e^{\ln(x)} = x\) for all \(x > 0\)
\(\ln(e^x)=x\) for all \(x \in \re\)
\(\log_b(x) = \ln(x)/ln(b)\) for all \(b \in \re\) (except \(b\)=1) and for all \(x>0\)
Problem 2.79.
Compute and simplify the derivatives of the following functions:
\(g(x) = e^x + x^2 + 2x\)
\(f(x) = xe^x\)
\(h(x) = x^3/e^x\)
\(f(x) = e^{x^2}\)
\(f(x) = 3x^2e^{x^4}\)
Problem 2.80.
Prove that if the graph of \(h(x) = f(x) - g(x)\) has a horizontal tangent line at \((c,h(c))\text{,}\) then the tangent line to f at \((c,f(c))\) is parallel to the tangent line to g at \((c,g(c))\text{.}\)
Problem 2.81.
Let \(g(x) = \ln(x)\text{.}\) Here are two clever ways to compute the derivative of \(g\text{;}\) do which ever you like better!
Since we know that \(g(e^x)=x,\) differentiate both sides of this equation using the Chain Rule and then solve for \(g'(x).\)
Apply the exponential function to both sides of the equations \(g(x)=\ln(x)\text{,}\) differentiate, and then solve for \(g'(x).\)
Problem 2.82.
Compute and simplify the derivative of the following functions:
\(g(x) = \ln(7x-8)\)
\(f(x) = x^2\ln(x)\)
\(h(x) = x^3/\ln(3x^2 - x^{1/3})\)
Problem 2.83.
Let \(h(x) = 2^x\) and compute \(h'\) first by taking the natural log of both sides and then taking the derivative of both sides.
Problem 2.84.
Compute and simplify the derivative of the following functions:
\(g(x) = 2^{7x-8}\)
\(f(x) = 2^x - x^2\)
\(h(x) = 3^{x^2}\)
Problem 2.85.
Use the change-of-base formula, \(\log_b(x) = \ln(x)/\ln(b)\text{,}\) to compute the derivative of \(L(x) = \log_3(x^5-2x).\)