Study guide
4.2 Derivatives of Exponential & Logarithmic Functions
CLEP Calculus Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Introduction & Exam Overview
1.1 About the CLEP Calculus Exam
2 Chapter 2: Limits and Continuity
2.1 Limit Concepts and Limit Laws 2.2 Algebraic Evaluation of Limits & Indeterminate Forms 2.3 Limits Involving Infinity and Asymptotes 2.4 Continuity and the Intermediate Value Theorem
3 Chapter 3: Foundations of Derivatives
3.1 The Derivative Definition and Rates of Change 3.2 Basic Differentiation Rules & Rectilinear Motion 3.3 The Product and Quotient Rules 3.4 Derivatives of Trigonometric Functions
4 Chapter 4: Advanced Differentiation Techniques
4.1 The Chain Rule 4.2 Derivatives of Exponential & Logarithmic Functions 4.3 Derivatives of Inverse Trigonometric Functions 4.4 Derivatives of Inverse Functions 4.5 Implicit Differentiation 4.6 L'Hôpital's Rule and Indeterminate Forms
5 Chapter 5: Applications of Differential Calculus
5.1 Tangent Lines, Normal Lines & Linear Approximation 5.2 Rolle's Theorem & The Mean Value Theorem 5.3 Curve Analysis & The First Derivative Test 5.4 Concavity and the Second Derivative Test 5.5 Applied Optimization Problems 5.6 Related Rates of Change
6 Chapter 6: Foundations of Integral Calculus
6.1 Antiderivatives and Indefinite Integrals 6.2 Integration by Substitution (Indefinite) 6.3 Riemann Sums and the Definite Integral 6.4 Properties of the Definite Integral
7 Chapter 7: Fundamental Theorem of Calculus & Net Change
7.1 The Fundamental Theorem of Calculus 7.2 Definite Integrals via Substitution 7.3 The Net Change Theorem & Rectilinear Particle Motion
8 Chapter 8: Applications of Integrals & Differential Equations
8.1 Area Between Curves 8.2 Volumes of Solids of Revolution 8.3 Average Value of a Function & The Mean Value Theorem for Integrals 8.4 Separable Differential Equations & Growth/Decay Models
4.2 Derivatives of Exponential & Logarithmic Functions
Key Takeaways Explain This Topic AI
The natural exponential function is its own derivative: d/dx[e^x] = e^x, and with the Chain Rule, d/dx[e^(g(x))] = e^(g(x)) * g'(x).
General base exponential derivatives require a natural log factor: d/dx[a^x] = a^x * ln(a) and d/dx[a^(g(x))] = a^(g(x)) * ln(a) * g'(x) for a > 0, a ≠ 1.
The natural logarithm derivative is d/dx[ln x] = 1/x (for x > 0) and d/dx[ln|x|] = 1/x (for x ≠ 0); with the Chain Rule, d/dx[ln(g(x))] = g'(x) / g(x).
Expanding complex algebraic arguments using logarithm properties (product, quotient, power laws) BEFORE differentiating avoids unwieldy quotient and chain rule calculations.
Logarithmic differentiation is essential for variable-base variable-exponent expressions y = [u(x)]^(v(x)) and multi-factor rational products: take ln of both sides, differentiate implicitly, and multiply by y.
Last updated: August 2026
4.2 Derivatives of Exponential & Logarithmic Functions
Quick Answer: The derivative of the natural exponential function is d d x [ e x ] = e x \frac{d}{dx}[e^x] = e^x d x d [ e x ] = e x , and by the Chain Rule, d d x [ e g ( x ) ] = e g ( x ) ⋅ g ′ ( x ) \frac{d}{dx}[e^{g(x)}] = e^{g(x)} \cdot g'(x) d x d [ e g ( x ) ] = e g ( x ) ⋅ g ′ ( x ) . For base a > 0 a > 0 a > 0 , d d x [ a x ] = a x ln a \frac{d}{dx}[a^x] = a^x \ln a d x d [ a x ] = a x ln a . The derivative of the natural logarithm is d d x [ ln ∣ x ∣ ] = 1 x \frac{d}{dx}[\ln|x|] = \frac{1}{x} d x d [ ln ∣ x ∣ ] = x 1 , and for composites, d d x [ ln ( g ( x ) ) ] = g ′ ( x ) g ( x ) \frac{d}{dx}[\ln(g(x))] = \frac{g'(x)}{g(x)} d x d [ ln ( g ( x ))] = g ( x ) g ′ ( x ) . Functions with variable bases and variable exponents ( y = x x y = x^x y = x x or y = [ u ( x ) ] v ( x ) y = [u(x)]^{v(x)} y = [ u ( x ) ] v ( x ) ) cannot be differentiated with the power rule or exponential rule; they require logarithmic differentiation .
1. The Natural Exponential Function
The mathematical constant e ≈ 2.71828 e \approx 2.71828 e ≈ 2.71828 is defined uniquely such that the exponential function f ( x ) = e x f(x) = e^x f ( x ) = e x has a tangent line slope of exactly 1 1 1 at its y y y -intercept ( 0 , 1 ) (0, 1) ( 0 , 1 ) : lim h → 0 e h − 1 h = 1 \lim_{h \to 0} \frac{e^h - 1}{h} = 1 h → 0 lim h e h − 1 = 1
Applying the limit definition of the derivative: d d x [ e x ] = lim h → 0 e x + h − e x h = lim h → 0 e x ( e h − 1 ) h = e x ⋅ lim h → 0 e h − 1 h = e x ⋅ 1 = e x \frac{d}{dx}[e^x] = \lim_{h \to 0} \frac{e^{x+h} - e^x}{h} = \lim_{h \to 0} \frac{e^x(e^h - 1)}{h} = e^x \cdot \lim_{h \to 0} \frac{e^h - 1}{h} = e^x \cdot 1 = e^x d x d [ e x ] = h → 0 lim h e x + h − e x = h → 0 lim h e x ( e h − 1 ) = e x ⋅ h → 0 lim h e h − 1 = e x ⋅ 1 = e x
The Chain Rule for Natural Exponentials
When the exponent is a differentiable function u = g ( x ) u = g(x) u = g ( x ) : d d x [ e g ( x ) ] = e g ( x ) ⋅ g ′ ( x ) \frac{d}{dx}\left[ e^{g(x)} \right] = e^{g(x)} \cdot g'(x) d x d [ e g ( x ) ] = e g ( x ) ⋅ g ′ ( x )
Worked Examples
Example A: d d x [ e − 4 x ] = e − 4 x ⋅ ( − 4 ) = − 4 e − 4 x \frac{d}{dx}[e^{-4x}] = e^{-4x} \cdot (-4) = -4e^{-4x} d x d [ e − 4 x ] = e − 4 x ⋅ ( − 4 ) = − 4 e − 4 x
Example B: d d x [ e x 3 − 2 x ] = e x 3 − 2 x ⋅ ( 3 x 2 − 2 ) = ( 3 x 2 − 2 ) e x 3 − 2 x \frac{d}{dx}[e^{x^3 - 2x}] = e^{x^3 - 2x} \cdot (3x^2 - 2) = (3x^2 - 2)e^{x^3 - 2x} d x d [ e x 3 − 2 x ] = e x 3 − 2 x ⋅ ( 3 x 2 − 2 ) = ( 3 x 2 − 2 ) e x 3 − 2 x
Example C (Product Rule combination): Differentiate f ( x ) = x 3 e 2 x f(x) = x^3 e^{2x} f ( x ) = x 3 e 2 x . f ′ ( x ) = d d x [ x 3 ] ⋅ e 2 x + x 3 ⋅ d d x [ e 2 x ] = 3 x 2 e 2 x + x 3 ( 2 e 2 x ) = x 2 e 2 x ( 3 + 2 x ) f'(x) = \frac{d}{dx}[x^3] \cdot e^{2x} + x^3 \cdot \frac{d}{dx}[e^{2x}] = 3x^2 e^{2x} + x^3(2e^{2x}) = x^2 e^{2x}(3 + 2x) f ′ ( x ) = d x d [ x 3 ] ⋅ e 2 x + x 3 ⋅ d x d [ e 2 x ] = 3 x 2 e 2 x + x 3 ( 2 e 2 x ) = x 2 e 2 x ( 3 + 2 x )
2. General Base Exponential Functions ( a x a^x a x )
For any constant base a > 0 a > 0 a > 0 with a ≠ 1 a \neq 1 a = 1 , we convert to base e e e using the logarithmic identity a x = e ln ( a x ) = e x ln a a^x = e^{\ln(a^x)} = e^{x \ln a} a x = e l n ( a x ) = e x l n a . Differentiating via the Chain Rule: d d x [ a x ] = d d x [ e x ln a ] = e x ln a ⋅ d d x [ x ln a ] = a x ⋅ ln a \frac{d}{dx}[a^x] = \frac{d}{dx}\left[ e^{x \ln a} \right] = e^{x \ln a} \cdot \frac{d}{dx}[x \ln a] = a^x \cdot \ln a d x d [ a x ] = d x d [ e x l n a ] = e x l n a ⋅ d x d [ x ln a ] = a x ⋅ ln a
General Chain Rule Formula for Base a a a d d x [ a g ( x ) ] = a g ( x ) ⋅ ( ln a ) ⋅ g ′ ( x ) \frac{d}{dx}\left[ a^{g(x)} \right] = a^{g(x)} \cdot (\ln a) \cdot g'(x) d x d [ a g ( x ) ] = a g ( x ) ⋅ ( ln a ) ⋅ g ′ ( x )
Function Type General Formula Concrete Example Derivative
Natural Exponential d d x [ e g ( x ) ] = e g ( x ) g ′ ( x ) \frac{d}{dx}[e^{g(x)}] = e^{g(x)} g'(x) d x d [ e g ( x ) ] = e g ( x ) g ′ ( x ) y = e 5 x 2 y = e^{5x^2} y = e 5 x 2 y ′ = 10 x e 5 x 2 y' = 10x e^{5x^2} y ′ = 10 x e 5 x 2
General Base Exponential d d x [ a g ( x ) ] = a g ( x ) ( ln a ) g ′ ( x ) \frac{d}{dx}[a^{g(x)}] = a^{g(x)} (\ln a) g'(x) d x d [ a g ( x ) ] = a g ( x ) ( ln a ) g ′ ( x ) y = 3 4 x y = 3^{4x} y = 3 4 x y ′ = 3 4 x ( ln 3 ) ( 4 ) = 4 ( ln 3 ) 3 4 x y' = 3^{4x} (\ln 3)(4) = 4(\ln 3)3^{4x} y ′ = 3 4 x ( ln 3 ) ( 4 ) = 4 ( ln 3 ) 3 4 x
Composite General Base d d x [ a g ( x ) ] \frac{d}{dx}[a^{g(x)}] d x d [ a g ( x ) ] y = 2 sin x y = 2^{\sin x} y = 2 s i n x y ′ = 2 sin x ( ln 2 ) cos x y' = 2^{\sin x} (\ln 2) \cos x y ′ = 2 s i n x ( ln 2 ) cos x
3. The Natural Logarithm and Absolute Values
The natural logarithm y = ln x y = \ln x y = ln x is the inverse of x = e y x = e^y x = e y . Differentiating implicitly with respect to x x x : ≠ y ⋅ d y d x = 1 ⟹ d y d x = 1 e y = 1 x \ne^y \cdot \frac{dy}{dx} = 1 \implies \frac{dy}{dx} = \frac{1}{e^y} = \frac{1}{x} = y ⋅ d x d y = 1 ⟹ d x d y = e y 1 = x 1
The Absolute Value Extension ln ∣ x ∣ \ln|x| ln ∣ x ∣
In calculus, logarithms often appear with absolute values to accommodate negative domain arguments ( x ≠ 0 x \neq 0 x = 0 ):
For x > 0 x > 0 x > 0 : ln ∣ x ∣ = ln ( x ) ⟹ d d x [ ln x ] = 1 x \ln|x| = \ln(x) \implies \frac{d}{dx}[\ln x] = \frac{1}{x} ln ∣ x ∣ = ln ( x ) ⟹ d x d [ ln x ] = x 1 .
For x < 0 x < 0 x < 0 : ln ∣ x ∣ = ln ( − x ) ⟹ d d x [ ln ( − x ) ] = 1 − x ⋅ ( − 1 ) = 1 x \ln|x| = \ln(-x) \implies \frac{d}{dx}[\ln(-x)] = \frac{1}{-x} \cdot (-1) = \frac{1}{x} ln ∣ x ∣ = ln ( − x ) ⟹ d x d [ ln ( − x )] = − x 1 ⋅ ( − 1 ) = x 1 . d d x [ ln ∣ x ∣ ] = 1 x ( x ≠ 0 ) \frac{d}{dx}[\ln|x|] = \frac{1}{x} \quad (x \neq 0) d x d [ ln ∣ x ∣ ] = x 1 ( x = 0 )
The Chain Rule for Logarithms ("Derivative Over Function")
When differentiating the logarithm of a composite function u = g ( x ) u = g(x) u = g ( x ) : d d x [ ln ( g ( x ) ) ] = g ′ ( x ) g ( x ) \frac{d}{dx}[\ln(g(x))] = \frac{g'(x)}{g(x)} d x d [ ln ( g ( x ))] = g ( x ) g ′ ( x )
General Base Logarithms ( log a x \log_a x lo g a x )
Using the change-of-base formula log a x = ln x ln a \log_a x = \frac{\ln x}{\ln a} lo g a x = l n a l n x : d d x [ log a x ] = 1 x ln a and d d x [ log a ( g ( x ) ) ] = g ′ ( x ) g ( x ) ln a \frac{d}{dx}[\log_a x] = \frac{1}{x \ln a} \qquad \text{and} \qquad \frac{d}{dx}[\log_a(g(x))] = \frac{g'(x)}{g(x) \ln a} d x d [ lo g a x ] = x ln a 1 and d x d [ lo g a ( g ( x ))] = g ( x ) ln a g ′ ( x )
4. Logarithmic Properties as Pre-Differentiation Tools
When faced with the derivative of a logarithm containing complicated products, quotients, or powers, always expand the logarithm using algebraic properties before differentiating . Logarithmic Expansion Strategy
- Complex Logarithm: ln [ (x³ · √(x²+1)) / (2x+5)⁴ ]
- │
- ▼ Apply Log Laws
- 3 ln(x) + (1/2) ln(x²+1) - 4 ln(2x+5)
- │
- ▼ Differentiate Term-by-Term (No massive quotient rule!)
- 3/x + (1/2) · [2x / (x²+1)] - 4 · [2 / (2x+5)]
- The Three Fundamental Log Laws
- Product Law: ln ( u ⋅ v ) = ln u + ln v \ln(u \cdot v) = \ln u + \ln v ln ( u ⋅ v ) = ln u + ln v
Quotient Law: ln ( u v ) = ln u − ln v \ln\left(\frac{u}{v}\right) = \ln u - \ln v ln ( v u ) = ln u − ln v
- Power Law: ln ( u k ) = k ln u \ln(u^k) = k \ln u ln ( u k ) = k ln u
- Worked Comparison: Expanding vs. Blind Differentiation
Problem: Find f ′ ( x ) f'(x) f ′ ( x ) for f ( x ) = ln ( x 4 3 x − 1 ( x 2 + 2 ) 5 ) f(x) = \ln\left( \frac{x^4 \sqrt{3x - 1}}{(x^2 + 2)^5} \right) f ( x ) = ln ( ( x 2 + 2 ) 5 x 4 3 x − 1 ) .
Inefficient Method (Blind Chain Rule): Applying g ′ ( x ) g ( x ) \frac{g'(x)}{g(x)} g ( x ) g ′ ( x ) directly requires applying the Quotient Rule to two composite product factors—a recipe for catastrophic algebra mistakes.
Efficient Method (Pre-Expansion First):
Expand using log properties: f ( x ) = ln ( x 4 ) + ln ( ( 3 x − 1 ) 1 / 2 ) − ln ( ( x 2 + 2 ) 5 ) f(x) = \ln(x^4) + \ln\left((3x - 1)^{1/2}\right) - \ln\left((x^2 + 2)^5\right) f ( x ) = ln ( x 4 ) + ln ( ( 3 x − 1 ) 1/2 ) − ln ( ( x 2 + 2 ) 5 ) f ( x ) = 4 ln ( x ) + 1 2 ln ( 3 x − 1 ) − 5 ln ( x 2 + 2 ) f(x) = 4\ln(x) + \frac{1}{2}\ln(3x - 1) - 5\ln(x^2 + 2) f ( x ) = 4 ln ( x ) + 2 1 ln ( 3 x − 1 ) − 5 ln ( x 2 + 2 )
Differentiate term-by-term instantly: f ′ ( x ) = 4 ( 1 x ) + 1 2 ( 3 3 x − 1 ) − 5 ( 2 x x 2 + 2 ) f'(x) = 4\left(\frac{1}{x}\right) + \frac{1}{2}\left(\frac{3}{3x - 1}\right) - 5\left(\frac{2x}{x^2 + 2}\right) f ′ ( x ) = 4 ( x 1 ) + 2 1 ( 3 x − 1 3 ) − 5 ( x 2 + 2 2 x ) f ′ ( x ) = 4 x + 3 2 ( 3 x − 1 ) − 10 x x 2 + 2 f'(x) = \frac{4}{x} + \frac{3}{2(3x - 1)} - \frac{10x}{x^2 + 2} f ′ ( x ) = x 4 + 2 ( 3 x − 1 ) 3 − x 2 + 2 10 x
5. Logarithmic Differentiation: Variable Base and Variable Exponent
Standard rules fail when BOTH the base and the exponent contain variables: y = [ u ( x ) ] v ( x ) y = [u(x)]^{v(x)} y = [ u ( x ) ] v ( x ) .
Power Rule fails because the exponent is not a constant.
Exponential Rule fails because the base is not a constant.
The 4-Step Logarithmic Differentiation Protocol
Take the natural logarithm of both sides: ln y = ln ( [ u ( x ) ] v ( x ) ) = v ( x ) ln ( u ( x ) ) \ln y = \ln\left([u(x)]^{v(x)}\right) = v(x) \ln(u(x)) ln y = ln ( [ u ( x ) ] v ( x ) ) = v ( x ) ln ( u ( x )) .
Differentiate implicitly with respect to x x x : 1 y d y d x = d d x [ v ( x ) ln ( u ( x ) ) ] \frac{1}{y} \frac{dy}{dx} = \frac{d}{dx}[v(x) \ln(u(x))] y 1 d x d y = d x d [ v ( x ) ln ( u ( x ))]
Isolate d y d x \frac{dy}{dx} d x d y by multiplying by y y y : d y d x = y ⋅ d d x [ v ( x ) ln ( u ( x ) ) ] \frac{dy}{dx} = y \cdot \frac{d}{dx}[v(x) \ln(u(x))] d x d y = y ⋅ d x d [ v ( x ) ln ( u ( x ))]
Substitute the original expression back for y y y so the final answer is purely in terms of x x x .
Classic Example: Differentiating y = x x y = x^x y = x x for x > 0 x > 0 x > 0
Take natural logs: ln y = ln ( x x ) = x ln x \ln y = \ln(x^x) = x \ln x ln y = ln ( x x ) = x ln x .
Differentiate implicitly using Product Rule: 1 y d y d x = ( 1 ) ( ln x ) + x ( 1 x ) = ln x + 1 \frac{1}{y} \frac{dy}{dx} = (1)(\ln x) + x\left(\frac{1}{x}\right) = \ln x + 1 y 1 d x d y = ( 1 ) ( ln x ) + x ( x 1 ) = ln x + 1
Multiply by y y y : d y d x = y ( ln x + 1 ) \frac{dy}{dx} = y(\ln x + 1) d x d y = y ( ln x + 1 )
Back-substitute y = x x y = x^x y = x x : d d x [ x x ] = x x ( ln x + 1 ) \frac{d}{dx}[x^x] = x^x(\ln x + 1) d x d [ x x ] = x x ( ln x + 1 )
- Example 2: Differentiating y = ( sin x ) x y = (\sin x)^x y = ( sin x ) x on ( 0 , π ) (0, \pi) ( 0 , π )
- ln y = x ln ( sin x ) \ln y = x \ln(\sin x) ln y = x ln ( sin x )
y ′ y = ( 1 ) ln ( sin x ) + x ⋅ cos x sin x = ln ( sin x ) + x cot x \frac{y'}{y} = (1)\ln(\sin x) + x \cdot \frac{\cos x}{\sin x} = \ln(\sin x) + x \cot x y y ′ = ( 1 ) ln ( sin x ) + x ⋅ s i n x c o s x = ln ( sin x ) + x cot x
y ′ = ( sin x ) x [ ln ( sin x ) + x cot x ] y' = (\sin x)^x [\ln(\sin x) + x \cot x] y ′ = ( sin x ) x [ ln ( sin x ) + x cot x ]
6. CLEP Traps and Exam Strategies
Trap 1: Misapplying Power Rule to Exponentials. A common error is writing d d x [ e x ] = x e x − 1 \frac{d}{dx}[e^x] = x e^{x-1} d x d [ e x ] = x e x − 1 or d d x [ 2 x ] = x 2 x − 1 \frac{d}{dx}[2^x] = x 2^{x-1} d x d [ 2 x ] = x 2 x − 1 . The Power Rule is strictly for ( variable ) constant (\text{variable})^{\text{constant}} ( variable ) constant , never ( constant ) variable (\text{constant})^{\text{variable}} ( constant ) variable .
Trap 2: Forgetting ln a \ln a ln a in Base a a a Exponential and Logarithmic Derivatives. On multiple-choice questions, options omitting ln a \ln a ln a or putting ln a \ln a ln a in the numerator instead of denominator for logarithms are classic distractor traps.
Trap 3: Forgetting to Back-Substitute y y y in Logarithmic Differentiation. Do not leave your final answer as y ′ y = … \frac{y'}{y} = \dots y y ′ = … . Always multiply across by y y y and replace y y y with its original formula in terms of x x x .