AP® Calculus AB · Unit 3 · Topic 3.5
Derivatives of Exponentials and Logarithms with Other Bases
To differentiate ax or log base a of x, rewrite them using base e first. The derivative of ax is ax ln(a), and the derivative of log base a of x is 1/(x ln(a)).
The derivative of ex is just ex, no extra factor needed, because e is defined so that its own growth rate equals its own value. Any other base doesn't have that luxury. When you differentiate 2x, a stray ln(2) shows up because 2 is not e, and the chain rule charges a toll for switching bases.
Here's the mechanism. Rewrite ax as ex ln a, using the identity a = eln a. Now differentiate the right side with the chain rule: the derivative of estuff is estuff times the derivative of stuff. Since stuff = x ln(a) and ln(a) is just a constant, its derivative is ln(a). So you get ex ln a times ln(a), which is just ax ln(a) once you swap back. The same trick handles logs: log base a of x equals ln(x)/ln(a), and since 1/ln(a) is a constant multiplier, the derivative is simply 1/(x ln a).
This topic is really the natural exponential and natural log rules wearing a disguise. Every other base reduces to e and ln once you rewrite it, so nothing new is being invented here, only chain rule and algebra applied to a substitution. That's why this sits right after the rules for ex and ln(x) in this unit: those two are the foundation, and bases other than e are just chain-rule exercises built on top of them. Keep that connection in mind and this topic stops feeling like a new formula to memorize.
Key terms
- Natural exponential
- The function ex, whose derivative is itself with no extra constant.
- Change of base
- Rewriting ax or log base a of x in terms of e and ln so familiar derivative rules apply.
- Chain rule
- The rule for differentiating a function nested inside another, multiplying by the derivative of the inside.
- ln(a)
- The natural log of the base a, which appears as a constant factor when differentiating ax or log base a of x.
Watch it explained
- How it worksHow does rewriting 2x as e raised to x ln 2 explain the extra factor?
- Worked exampleFind the derivative of f(x) = 5x plus log base 3 of x.
- Common mistakeWhy isn't the derivative of 2x found by dropping the exponent in front?
- Ties togetherHow does rewriting a base two exponential using e connect back to the derivative of the natural exponential itself?
Check yourself
End of topic.