Calculus I › Differentiation rules › full formula sheet
The derivative of ax
Any exponential’s derivative is itself times ln a — the rewrite ax = ex ln a makes the ln a appear.
Notation: a > 0 is a fixed base (2, 10, 1/2 …). ln a is the natural log of the base — just a number.
Before this lesson: Derivative of ex · Chain rule
Where it comes from
We know d/dx [ex] = ex because e was defined for that. But 2x? Run the definition’s factorization: d/dx [2x] = 2x · limh→0(2h−1)/h. That limit is some number — numerically about 0.693. And 0.693 ≈ ln 2. Coincidence? No: it’s the chain rule waiting to happen.
The power-rule trap must die first: d/dx [2x] = x·2x−1??
Before reading on: ax = ex ln a. Chain-ruling eu with u = x ln a — what extra factor must appear next to ax, and why doesn’t ex need one?
The key insight: ax = ex ln a (since eln a = a). Every exponential is ex wearing a linear disguise — and the disguise’s slope, ln a, becomes the chain factor.
Derivation
Rewrite the base-a exponential as a base-e exponential, then chain:
Consistency check: for a = e, the rule gives ex·ln e = ex·1 = ex — exactly the ex rule. The general rule contains the special one.
How to use it
The procedure:
- Plain ax → ax ln a. Copy the exponential, append ×ln(base).
- Something in the exponent? Chain again: d/dx [au] = au ln a·u′. Example: d/dx [23x] = 23x ln 2·3.
- Base between 0 and 1? ln a is negative — the derivative flips sign, matching exponential decay: d/dx [(1/2)x] = (1/2)x ln(1/2) = −(1/2)x ln 2.
- Base 1? ln 1 = 0 — and indeed 1x = 1 is constant. The rule agrees with the constant rule.
The three exponential lookalikes
2x (this rule: 2x ln 2) vs. x2 (power rule: 2x) vs. xx (neither — needs logarithmic differentiation, a later topic). Ask: is the x in the exponent, the base, or both?
Worked examples
Four problems, easiest first. Copy the exponential, append ×ln(base).
Example 1 — d/dx [2x]
- Copy the exponential: 2x.
- Append ×ln(base): = 2x ln 2. (Why ln 2? From the ex ln 2 rewrite’s chain factor.)
- Check at 0: ln 2 ≈ 0.693 — matches the numerical limit from the definition. ✓
Your turn: d/dx [3x]
Answer: 3x ln 3
Copy the exponential, append ×ln(base): 3x ln 3. Check at 0: ln 3 ≈ 1.099 — the true slope of 3x at the origin.
Example 2 — d/dx [103x] (double chain)
- Outer (au rule): 103x ln 10.
- Inner’s derivative: d/dx [3x] = 3.
- Multiply: = 3·103x ln 10. (Why two factors? The ln 10 comes from the base rewrite; the 3 from the 3x inside.)
Your turn: d/dx [5−2x] (double chain)
Answer: −2·5−2x ln 5
Outer (au rule): 5−2x ln 5. Inner’s derivative: −2. Multiply: −2·5−2x ln 5.
Example 3 — d/dx [(1/2)x] (decay)
- Copy + ln(base): = (1/2)x ln(1/2).
- Simplify the log: ln(1/2) = −ln 2, so = −(1/2)x ln 2. (Why negative? The function decays — falling means negative slope.)
Your turn: d/dx [(1/3)x] (decay)
Answer: −(1/3)x ln 3
Copy + ln(base): (1/3)x ln(1/3). Simplify: ln(1/3) = −ln 3, so −(1/3)x ln 3. Negative — the function decays.
Example 4 — d/dx [x·2x] (product)
- Structure: multiplied — product rule: f = x, g = 2x.
- Derivatives: f′ = 1, g′ = 2x ln 2.
- Assemble: = 1·2x + x·2x ln 2 = 2x(1 + x ln 2). (Why factor? 2x is never zero — always safe.)
Your turn: d/dx [x·3x] (product)
Answer: 3x(1 + x ln 3)
Product rule: f = x, g = 3x. f′ = 1, g′ = 3x ln 3. Assemble: 3x + x·3x ln 3 = 3x(1 + x ln 3).
Memorization tips
- Copy, then ×ln(base): 2x → 2x ln 2. Two pen strokes — the ln a is the whole rule.
- The ln a is a chain factor: from ax = ex ln a. It’s not decoration; it’s the disguise’s slope.
- Mirror of the power rule: power = variable base, constant exponent; ax = constant base, variable exponent. Say which mirror you’re in before writing.
- Decay means negative: base < 1 → ln a < 0 → negative slopes. If your decaying exponential has positive slope, the sign died.
- a = e collapses: ex ln e = ex. If your general rule doesn’t reproduce the ex rule, it’s wrong.
- a = 1 collapses: ln 1 = 0, and 1x = 1 is constant. Both rules agree — a free consistency check.
Final challenge
Five mixed questions — the ln a factor, chains, and the power-rule trap. Score 5/5 and it’s yours.
← Back to the Calculus I formula sheet
How to learn a formula here
- Read each section in order — every section ends with a short quiz. Take it before moving on; the questions test exactly what you just read.
- Work the examples with the answers covered, then uncover one step at a time and compare.
- Finish with the final challenge — five mixed questions including the classic traps.
- Retake what you miss — every quiz reshuffles each attempt, and every answer explains itself.
Frequently asked questions
What is the derivative of aˣ?
d/dx[aˣ] = aˣ·ln a. Rewrite aˣ = e^(x·ln a), then the chain rule gives e^(x·ln a)·ln a = aˣ·ln a. The ln a is the chain factor from the base change.
Where does the ln a come from?
From writing aˣ as e^(x·ln a): differentiating e^(x·ln a) by the chain rule multiplies by d/dx[x·ln a] = ln a. It’s not an extra rule — it’s the eˣ rule plus the chain rule.
Why can’t I use the power rule on 2ˣ?
The power rule needs a variable base with a constant exponent (xⁿ). In 2ˣ the base is constant and the exponent varies — the mirror image. Test at x = 0: power rule gives 0, but the true slope is ln 2 ≈ 0.693.
What if the base is less than 1?
Then ln a is negative, so the derivative is negative — matching exponential decay. Example: d/dx[(1/2)ˣ] = (1/2)ˣ·ln(1/2) = −(1/2)ˣ·ln 2.
What is d/dx[2^(3x)]?
3·2^(3x)·ln 2. Two chain factors: ln 2 from the base-a rule, and 3 from the 3x inside the exponent.
More from the codex
Support the codex
This page is free, with no account and no ads. If it helped you learn, consider supporting the indie dev behind it.
Questions or a bug to report? Email [email protected].