2.7 Derivatives of Exponential and Logarithmic Functions
Exponential and logarithmic functions model continuous growth, radioactive decay, chemical reaction kinetics, and pH/decibel scales. Among all bases b > 0, the natural base e ≈ 2.71828 is uniquely defined as the base for which the exponential function y = e^x is its own derivative.
Core Concept & Mathematical Foundation
For f(x) = b^x, the difference quotient is b^x [(b^h - 1)/h]. The natural base e is defined so that lim (e^h - 1)/h = 1 as h → 0, giving (e^x)' = e^x. Writing any general base as b^x = e^(x ln b) adds the scaling factor ln(b). Since y = ln(x) is the inverse of x = e^y, implicit differentiation gives 1 = e^y (dy/dx) = x (dy/dx), so dy/dx = 1/x.
Exponential and Logarithmic Derivative Formulas
Example 1: Product Rule with Exponentials and Logarithms
Differentiate \(f(x)=x^2 e^x-5\ln x\) for \(x>0\).
Show solution
Apply the Product Rule to \(x^2 e^x\) and differentiate \(-5\ln x\):
Graphical & Numerical Behavior
Comparing a table of numerical values directly alongside the plotted curve reveals how the formula behaves across key points, zeros, and turning points.
| x | f(x) = e^x | f'(x) = e^x | g(x) = ln x (x > 0) | g'(x) = 1/x |
|---|---|---|---|---|
| 0.5 | 1.649 | 1.649 | -0.693 | 2.000 |
| 1.0 | 2.718 | 2.718 | 0.000 | 1.000 |
| 2.0 | 7.389 | 7.389 | 0.693 | 0.500 |
| e ≈ 2.718 | 15.154 | 15.154 | 1.000 | 1/e ≈ 0.368 |
Graph of f(x) = e^x where the height and tangent slope are equal at every point
Example 2: General-Base Exponential and Logarithmic Functions
Find the derivative of \(g(x)=3^x+\log_{10}x\).
Show solution
Apply \((b^x)'=b^x\ln b\) with \(b=3\) and \((\log_b x)'=\frac{1}{x\ln b}\) with \(b=10\):
Companion Function & Advanced Applications
The companion graph below illustrates the secondary curve (graph of g(x) = ln(x) for x > 0 with slope 1/x) and highlights the points where the analytical criterion takes effect.
Graph of g(x) = ln(x) for x > 0 with slope 1/x
Example 3: Using Logarithm Laws Before Differentiating
Simplify \(y=\ln(x^4\sqrt{x})\) using logarithm laws first, then find \(y'\).
Show solution
Write \(x^4\sqrt{x}=x^{9/2}\) and apply \(\ln(x^r)=r\ln x\):
Common Mistakes to Avoid
- Do not apply the Power Rule to \(e^x\) or \(b^x\): The variable \(x\) is in the exponent, not the base! \((b^x)'=b^x\ln b\), never \(x b^{x-1}\).
- Remember the scaling factor \(\ln b\) for non-natural bases: Multiply by \(\ln b\) for \(b^x\), and divide by \(\ln b\) for \(\log_b x\).
- Expand logarithms before differentiating: Using \(\ln(AB)=\ln A+\ln B\) and \(\ln(A^r)=r\ln A\) turns complicated products and powers into simple sums.
Key Takeaways
- Exponential and logarithmic functions model continuous growth, radioactive decay, chemical reaction kinetics, and pH/decibel scales. Among all bases b > 0, the natural base e ≈ 2.71828 is uniquely defined as the base for which the exponential function y = e^x is its own derivative.
- Core Formula: \(\frac{d}{dx}(e^x)=e^x,\qquad \frac{d}{dx}(b^x)=b^x\ln b,\qquad \frac{d}{dx}(\ln x)=\frac{1}{x},\qquad \frac{d}{dx}(\log_b x)=\frac{1}{x\ln b}\).
- For f(x) = b^x, the difference quotient is b^x [(b^h - 1)/h]. The natural base e is defined so that lim (e^h - 1)/h = 1 as h → 0, giving (e^x)' = e^x. Writing any general base as b^x = e^(x ln b) adds the scaling factor ln(b). Since y = ln(x) is the inverse of x = e^y, implicit differentiation gives 1 = e^y (dy/dx) = x (dy/dx), so dy/dx = 1/x.