Skip to content
Glacius
CalculusConcept reference

Exponential derivatives

An exponential changes at a rate proportional to its current value.

On this page 7 sections
  1. Overview
  2. A rate proportional to the value
  3. Include the inner change
  4. Check the base
  5. Key takeaway
  6. Sources & further reading
  7. Concept connections

01A rate proportional to the value#

An exponential changes at a rate proportional to its current value. This is why exponentials appear in growth models and in the scores that become ML probabilities. The constant base determines the proportionality factor.

For the natural exponential f(x)=exf(x)=e^x, the derivative equals the function: f(x)=exf'(x)=e^x. At x=0x=0, its value and slope are both 11. At a larger input, both are larger.

A different positive base has a different rate. Write ax=exlnaa^x=e^{x\ln a} and use the chain rule. The inner derivative contributes lna\ln a:

ddxax=axlna.\frac{d}{dx}a^x=a^x\ln a.

02Include the inner change#

For f(x)=23xf(x)=2^{3x}, the outer exponential contributes 23xln22^{3x}\ln2, and the inner function 3x3x contributes 33.

f(x)=3ln(2)23x.f'(x)=3\ln(2)\,2^{3x}.

At x=0x=0, the derivative is 3ln23\ln2, not 11.

Check your reasoning

What is the derivative of e3xe^{3x}?

  1. A3e3x3e^{3x}
  2. Be3xe^{3x}
  3. C3xe3x3x e^{3x}
Show answer and explanation
3e3x3e^{3x}

The chain rule multiplies the exponential by the inner derivative 3.

Likewise, e2xe^{-2x} has derivative 2e2x-2e^{-2x}. Its values stay positive but decrease as xx increases. The minus sign describes the direction of change, not the sign of the function.

03Check the base#

For a constant base a>0a>0, the real exponential rule applies for all real inputs. When a=1a=1, the function is constant and the derivative is zero because ln1=0\ln1=0. For 0<a<10<a<1, lna<0\ln a<0 and the function decreases.

Check your reasoning

Which function needs an exponential derivative rule rather than the constant-power rule?

  1. Ax4x^4
  2. B4x4^x
  3. C4x4x
Show answer and explanation
4x4^x

In 4 to the x, the exponent varies and the base stays constant.

Do not use the power rule as if the exponent were a fixed number. In x3x^3, the base varies. In 3x3^x, the exponent varies. That distinction determines which derivative rule you need.

Key takeaway

Differentiate an exponential function with a constant base.

  • Differentiate an exponential function with a constant base.

Sources & further reading

  1. [1]

Reference this concept

Link to this page, a section, or an individual figure.

Glacius. “Exponential derivatives.” Math behind ML. /learn/c-exp