01 / 21

Exponential & Logarithmic
Derivatives

Master the rules for differentiating exponential and logarithmic functions: the building blocks of growth, decay, and business modeling.

Business Calculus

What Are Exponential Functions?

An exponential function has a constant base raised to a variable exponent. The most important base in calculus is the number \( e \approx 2.71828 \), known as Euler's number.

\( f(x) = e^x \)
Natural exponential: the base case for all exponential derivative rules.
\( g(x) = a^x \)
General exponential: any positive base \( a \neq 1 \), common in business models.

What Are Logarithmic Functions?

A logarithm is the inverse of an exponential. If \( e^y = x \), then \( \ln(x) = y \). Logarithms convert multiplication into addition and are used heavily in economics, finance, and data science.

\( \ln(x) \)
Natural log (base \( e \)): the default in calculus.
\( \log_a(x) \)
General log (base \( a \)): used in pH scales, decibels, and Richter scale.

Visualizing \( e^x \) and \( \ln(x) \)

Core Rule: \( \frac{d}{dx}[e^x] = e^x \)

The derivative of \( e^x \) is simply itself. This is the defining property of the natural exponential function and the reason \( e \) is the preferred base in calculus.

Example
\( \frac{d}{dx}[e^{3x}] = e^{3x} \cdot 3 = 3e^{3x} \)
Example
\( \frac{d}{dx}[e^{x^2}] = e^{x^2} \cdot 2x = 2x\,e^{x^2} \)

General Rule: \( \frac{d}{dx}[a^x] = a^x \ln(a) \)

For any positive constant base \( a \neq 1 \), the derivative introduces a factor of \( \ln(a) \). This arises because \( a^x = e^{x \ln a} \).

Example
\( \frac{d}{dx}[2^x] = 2^x \ln(2) \)
Example
\( \frac{d}{dx}[5^{3x}] = 5^{3x} \cdot \ln(5) \cdot 3 \)

Core Rule: \( \frac{d}{dx}[\ln(x)] = \frac{1}{x} \)

The derivative of the natural logarithm is the reciprocal function. This is one of the most-used rules in business calculus, appearing in marginal analysis and elasticity.

Example
\( \frac{d}{dx}[\ln(3x)] = \frac{3}{3x} = \frac{1}{x} \)
Example
\( \frac{d}{dx}[\ln(x^2+1)] = \frac{2x}{x^2+1} \)

General Rule: \( \frac{d}{dx}[\log_a(x)] \)

For a logarithm with any base \( a > 0, a \neq 1 \), we use the change-of-base formula to derive:

Example
\( \frac{d}{dx}[\log_2(x)] = \frac{1}{x \ln 2} \)
Example
\( \frac{d}{dx}[\log_{10}(5x)] = \frac{5}{5x \cdot \ln 10} = \frac{1}{x \ln 10} \)

\( e^x \) vs \( a^x \): The Key Distinction

Base \( e \) Base \( a \)
Function \( e^x \) \( a^x \)
Derivative \( e^x \) \( a^x \ln(a) \)
Chain Rule \( e^{u} \cdot u' \) \( a^{u} \cdot \ln(a) \cdot u' \)
Extra factor? No (\( \ln e = 1 \)) Yes: \( \ln(a) \)
Derivative of Log Inverse \( \frac{1}{x} \) \( \frac{1}{x \ln a} \)

How to Apply These Rules

1
Identify the form: Is the function \( e^u \), \( a^u \), \( \ln(u) \), or \( \log_a(u) \)?
2
Find the inner function \( u(x) \): What is in the exponent or inside the log?
3
Compute \( u'(x) \): Differentiate the inner function using standard rules.
4
Apply the formula: Write the outer derivative and multiply by \( u'(x) \).
5
Simplify: Combine constants, cancel terms, and write the final answer.

Example 1: Revenue Growth

A company's revenue is modeled by \( R(t) = 5000 \cdot e^{0.08t} \), where \( t \) is years. Find the rate of revenue growth, \( R'(t) \).

1
Identify: Form is \( C \cdot e^{u} \) where \( u = 0.08t \).
2
Inner derivative: \( u'(t) = 0.08 \).
3
Apply formula: \( R'(t) = 5000 \cdot e^{0.08t} \cdot 0.08 \).
4
Simplify: \( R'(t) = 400\,e^{0.08t} \).

Example 2: Marginal Cost Analysis

A firm's cost function is \( C(q) = 200 \ln(q + 1) + 500 \). Find the marginal cost \( C'(q) \).

1
Identify: Form is \( k \cdot \ln(u) + c \) where \( u = q + 1 \).
2
Inner derivative: \( u'(q) = 1 \).
3
Apply formula: \( C'(q) = 200 \cdot \frac{1}{q+1} \cdot 1 + 0 \).
4
Result: \( C'(q) = \frac{200}{q+1} \).

Example 3: Compound Expression

Differentiate \( f(x) = x^2 \cdot e^{-3x} \). This requires the product rule combined with the exponential chain rule.

1
Product rule setup: Let \( u = x^2 \) and \( v = e^{-3x} \).
2
Derivatives: \( u' = 2x \), \( v' = e^{-3x} \cdot (-3) = -3e^{-3x} \).
3
Product rule: \( f'(x) = 2x \cdot e^{-3x} + x^2 \cdot (-3e^{-3x}) \).
4
Factor: \( f'(x) = e^{-3x}(2x - 3x^2) = x\,e^{-3x}(2 - 3x) \).

Visualizing \( \ln(x) \) and Its Derivative \( \frac{1}{x} \)

Common Mistakes to Avoid

✕ Forgetting \( \ln(a) \)
Writing \( \frac{d}{dx}[2^x] = 2^x \) instead of \( 2^x \ln(2) \). The \( \ln(a) \) factor is required for any base other than \( e \).
✕ Dropping the Chain Rule
Writing \( \frac{d}{dx}[e^{5x}] = e^{5x} \) instead of \( 5e^{5x} \). Always multiply by the inner derivative.
✕ Using Power Rule on \( e^x \)
Writing \( \frac{d}{dx}[e^x] = x \cdot e^{x-1} \). That is the power rule for \( x^n \), not exponentials: the variable is in the exponent, not the base.

Complete Summary Table

Function Derivative With Chain Rule
\( e^x \) \( e^x \) \( e^{u} \cdot u' \)
\( a^x \) \( a^x \ln(a) \) \( a^{u} \cdot \ln(a) \cdot u' \)
\( \ln(x) \) \( \frac{1}{x} \) \( \frac{u'}{u} \)
\( \log_a(x) \) \( \frac{1}{x \ln a} \) \( \frac{u'}{u \cdot \ln a} \)

Question 1 of 5

What is \( \frac{d}{dx}[e^{4x}] \)?

Question 2 of 5

What is \( \frac{d}{dx}[\ln(7x)] \)?

Question 3 of 5

What is \( \frac{d}{dx}[3^x] \)?

Question 4 of 5

If \( f(x) = e^{x^2 + 3x} \), what is \( f'(x) \)?

Question 5 of 5

What is \( \frac{d}{dx}[\ln(x^2 + 5)] \)?