Calculus I › Differentiation rules › full formula sheet

d/dx [ax] = ax · ln aSay it: the derivative of a to the x is a to the x times the natural log of a.

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 guess at x = 0
=
0·2−1 = 0
The power rule applied to 2x as if x were a constant exponent.
the true slope
=
2⁰·ln 2 = ln 2 ≈ 0.693
0 ≠ 0.693 — dead on arrival. The power rule needs a constant exponent; here the base is constant and the exponent moves.

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:

ax
=
eln(ax) = ex ln a
Step 1 — the rewrite. a = eln a (for a > 0), so ax = (eln a)x = ex ln a. Log power law.
d/dx [ax]
=
d/dx [ex ln a]
Step 2 — differentiate the rewrite. Now it’s eu with u = x ln a.
=
ex ln a · ln a
Step 3 — chain rule. d/du [eu] = eu; d/dx [x ln a] = ln a (it’s just a constant slope).
=
ax · ln a
Step 4 — rewrite back. ex ln a = ax. ∎

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:

  1. Plain ax → ax ln a. Copy the exponential, append ×ln(base).
  2. Something in the exponent? Chain again: d/dx [au] = au ln a·u′. Example: d/dx [23x] = 23x ln 2·3.
  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.
  4. 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?

Common mistake: writing d/dx [2x] = x·2x−1 (power rule). Power rule = variable base, constant exponent. ax = constant base, variable exponent — the mirror image needs its own rule.

Worked examples

Four problems, easiest first. Copy the exponential, append ×ln(base).

Example 1 — d/dx [2x]

  1. Copy the exponential: 2x.
  2. Append ×ln(base): = 2x ln 2. (Why ln 2? From the ex ln 2 rewrite’s chain factor.)
  3. Check at 0: ln 2 ≈ 0.693 — matches the numerical limit from the definition. ✓
Common mistake: x·2x−1. At x = 0 that gives 0; the true slope is 0.693. Power rule on an exponential is always wrong.
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)

  1. Outer (au rule): 103x ln 10.
  2. Inner’s derivative: d/dx [3x] = 3.
  3. Multiply: = 3·103x ln 10. (Why two factors? The ln 10 comes from the base rewrite; the 3 from the 3x inside.)
Common mistake: 103x ln 10 without the ×3, or 3·103x without the ln 10. Both chain factors are mandatory.
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)

  1. Copy + ln(base): = (1/2)x ln(1/2).
  2. Simplify the log: ln(1/2) = −ln 2, so = −(1/2)x ln 2. (Why negative? The function decays — falling means negative slope.)
Common mistake: dropping the sign and writing +(1/2)x ln 2. A decaying exponential can’t have positive slope — the graph convicts it.
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)

  1. Structure: multiplied — product rule: f = x, g = 2x.
  2. Derivatives: f′ = 1, g′ = 2x ln 2.
  3. Assemble: = 1·2x + x·2x ln 2 = 2x(1 + x ln 2). (Why factor? 2x is never zero — always safe.)
Common mistake: 2x + x·2x — using the ex rule (no ln 2) on a base-2 exponential. Only base e reproduces cleanly.
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

  1. 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.
  2. Work the examples with the answers covered, then uncover one step at a time and compare.
  3. Finish with the final challenge — five mixed questions including the classic traps.
  4. 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