1. Home
  2. Explore
  3. Mathematics
  4. Derivatives of Exponential Functions

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Derivatives of Exponential Functions

Derivatives of Exponential Functions and Their Applications

Exponential functions and their derivatives

An exponential function has a constant base and a variable in the exponent. For a positive constant bbb, the function is

f(x)=bx.f(x)=b^x.f(x)=bx.

The base is conventionally taken to satisfy b>0b>0b>0. The case b=1b=1b=1 is allowed, but it is uninteresting for differentiation because 1x=11^x=11x=1 is a constant function with derivative zero.

The key derivative rule is

ddxbx=(ln⁡b)bx,\frac{d}{dx}b^x=(\ln b)b^x,dxd​bx=(lnb)bx,

where ln⁡b\ln blnb denotes the natural logarithm of bbb. Thus, the derivative of an exponential function is a constant multiple of the original function. The constant multiplier depends on the base.

Deriving the rule using the limit definition

By the definition of a derivative,

f′(x)=lim⁡h→0f(x+h)−f(x)h.f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}.f′(x)=limh→0​hf(x+h)−f(x)​.

For f(x)=bxf(x)=b^xf(x)=bx, this becomes

f′(x)=lim⁡h→0bx+h−bxh.f'(x)=\lim_{h\to 0}\frac{b^{x+h}-b^x}{h}.f′(x)=limh→0​hbx+h−bx​.

Use the exponent rule bx+h=bxbhb^{x+h}=b^x b^hbx+h=bxbh to factor out bxb^xbx:

f′(x)=lim⁡h→0bxbh−bxh=bxlim⁡h→0bh−1h.f'(x) =\lim_{h\to 0}\frac{b^x b^h-b^x}{h} =b^x\lim_{h\to 0}\frac{b^h-1}{h}.f′(x)=limh→0​hbxbh−bx​=bxlimh→0​hbh−1​.

In this limit, xxx is fixed while hhh approaches zero, so bxb^xbx is constant with respect to the limit. The remaining limit depends only on bbb, not on xxx. It is a constant:

lim⁡h→0bh−1h=ln⁡b.\lim_{h\to 0}\frac{b^h-1}{h}=\ln b.limh→0​hbh−1​=lnb.

Therefore,

ddxbx=(ln⁡b)bx.\boxed{\frac{d}{dx}b^x=(\ln b)b^x.}dxd​bx=(lnb)bx.​

The limit’s value is a fundamental result; its proof requires additional ideas about logarithms.

The derivative of bxb^xbx is the original function bxb^xbx multiplied by the fixed number ln⁡b\ln blnb.

The special case exe^xex

The number e≈2.71828e\approx 2.71828e≈2.71828 is the base of the natural logarithm. Since ln⁡e=1\ln e=1lne=1,

ddxex=(ln⁡e)ex=ex.\frac{d}{dx}e^x=(\ln e)e^x=e^x.dxd​ex=(lne)ex=ex.

Thus, exe^xex is its own derivative. This makes it a particularly important function in calculus.


Applying derivative rules to exponential and power functions

The exponential derivative rule must be distinguished from the power rule:

ddxxn=nxn−1,\frac{d}{dx}x^n=nx^{n-1},dxd​xn=nxn−1,

where nnn is constant. The power rule applies when the variable is the base; the exponential rule applies when the variable is in the exponent.

The linearity of differentiation allows sums and constant multiples to be differentiated term by term:

ddx(cf(x)+g(x))=cf′(x)+g′(x),\frac{d}{dx}\bigl(c f(x)+g(x)\bigr) =c f'(x)+g'(x),dxd​(cf(x)+g(x))=cf′(x)+g′(x),

where ccc is constant.

A sum of a power function and an exponential function

Consider

f(x)=xπ2+(π2)x.f(x)=x^{\pi^2}+(\pi^2)^x.f(x)=xπ2+(π2)x.

In xπ2x^{\pi^2}xπ2, the variable is the base and π2\pi^2π2 is a constant exponent, so the power rule applies. In (π2)x(\pi^2)^x(π2)x, the base is constant and the variable is in the exponent, so the exponential derivative rule applies.

f′(x)=π2xπ2−1+(ln⁡(π2))(π2)x.\begin{aligned} f'(x) &=\pi^2x^{\pi^2-1} +\bigl(\ln(\pi^2)\bigr)(\pi^2)^x. \end{aligned}f′(x)​=π2xπ2−1+(ln(π2))(π2)x.​

The constant π2\pi^2π2 is the exponent in the first term and the base in the second term. Those roles determine which derivative rule is used.

Rewriting an exponential with a more complicated exponent

Consider

f(x)=23x+5.f(x)=2^{3x+5}.f(x)=23x+5.

The exponent contains a linear expression rather than just xxx. Before differentiating, exponent rules can rewrite the function:

23x+5=23x25=32(23)x=32⋅8x.2^{3x+5}=2^{3x}2^5=32(2^3)^x=32\cdot 8^x.23x+5=23x25=32(23)x=32⋅8x.

Now the expression is a constant multiple of an exponential function with exponent xxx. By linearity and the exponential derivative rule,

f′(x)=32(ln⁡8)8x.f'(x)=32(\ln 8)8^x.f′(x)=32(ln8)8x.

This method works because the exponent 3x+53x+53x+5 can be separated and rewritten using exponent laws.

A variable exponent that cannot yet be differentiated with these rules

Consider

f(x)=3x2.f(x)=3^{x^2}.f(x)=3x2.

The variable appears in a nonlinear exponent. This expression cannot be rewritten as a constant multiple of bxb^xbx for a fixed base bbb, so the exponential derivative rule and linearity alone are not enough to differentiate it. A further rule—the chain rule—is needed.

The chain rule does make it possible to differentiate such expressions. For example, it gives

ddx3x2=2x(ln⁡3)3x2.\frac{d}{dx}3^{x^2} =2x(\ln 3)3^{x^2}.dxd​3x2=2x(ln3)3x2.

The important distinction is that differentiating 3x23^{x^2}3x2 requires more than the basic rule for bxb^xbx.


Differentiating a combination of exponential functions

Exponent laws can sometimes turn products of exponential functions into a single exponential function. This can make differentiation possible without using the product rule.

For example, consider

f(x)=2x3−7⋅3x+(2x)(5x)+4e2x+e−x+πx+e.f(x)=2x^3-7\cdot 3^x+(2^x)(5^x)+4e^{2x}+e^{-x}+\pi^x+e.f(x)=2x3−7⋅3x+(2x)(5x)+4e2x+e−x+πx+e.

Some terms can be differentiated directly with the rules already introduced:

  • 2x32x^32x3 uses the power rule.

  • −7⋅3x-7\cdot 3^x−7⋅3x uses the exponential rule and carries the constant −7-7−7 along.

  • πx\pi^xπx uses the exponential rule.

  • eee is a constant, so its derivative is zero.

The product (2x)(5x)(2^x)(5^x)(2x)(5x) can be combined:

(2x)(5x)=(2⋅5)x=10x.(2^x)(5^x)=(2\cdot 5)^x=10^x.(2x)(5x)=(2⋅5)x=10x.

The other exponential terms can also be rewritten with constant bases raised to xxx:

e2x=(e2)x,e−x=(e−1)x.e^{2x}=(e^2)^x, \qquad e^{-x}=(e^{-1})^x.e2x=(e2)x,e−x=(e−1)x.

Applying linearity and the exponential derivative rule gives

f′(x)=6x2−7(ln⁡3)3x+(ln⁡10)10x+4(ln⁡(e2))(e2)x+(ln⁡(e−1))(e−1)x+(ln⁡π)πx.\begin{aligned} f'(x) ={}&6x^2 -7(\ln 3)3^x +(\ln 10)10^x\\ &+4\bigl(\ln(e^2)\bigr)(e^2)^x +\bigl(\ln(e^{-1})\bigr)(e^{-1})^x +(\ln\pi)\pi^x. \end{aligned}f′(x)=​6x2−7(ln3)3x+(ln10)10x+4(ln(e2))(e2)x+(ln(e−1))(e−1)x+(lnπ)πx.​

Since ln⁡(e2)=2\ln(e^2)=2ln(e2)=2 and ln⁡(e−1)=−1\ln(e^{-1})=-1ln(e−1)=−1, this simplifies to

f′(x)=6x2−7(ln⁡3)3x+(ln⁡10)10x+8e2x−e−x+(ln⁡π)πx.f'(x) =6x^2 -7(\ln 3)3^x +(\ln 10)10^x +8e^{2x} -e^{-x} +(\ln\pi)\pi^x.f′(x)=6x2−7(ln3)3x+(ln10)10x+8e2x−e−x+(lnπ)πx.

The final constant term eee contributes zero. Rewriting expressions before differentiating can expose a form to which known rules apply.


Quadratic approximation near a point

A polynomial can approximate a function near a chosen input by matching the function’s value, slope, and curvature there. For a quadratic approximation to a function fff at x=0x=0x=0, write

g(x)=ax2+bx+c.g(x)=ax^2+bx+c.g(x)=ax2+bx+c.

To make ggg match fff at zero, require

g(0)=f(0),g′(0)=f′(0),g′′(0)=f′′(0).g(0)=f(0),\qquad g'(0)=f'(0),\qquad g''(0)=f''(0).g(0)=f(0),g′(0)=f′(0),g′′(0)=f′′(0).

These conditions match the functions’ values, first derivatives, and second derivatives at the chosen point.

Fitting a quadratic to e2xe^{2x}e2x at zero

Let

f(x)=e2x,g(x)=ax2+bx+c.f(x)=e^{2x}, \qquad g(x)=ax^2+bx+c.f(x)=e2x,g(x)=ax2+bx+c.

First, match the function values:

g(0)=c,f(0)=e0=1.g(0)=c, \qquad f(0)=e^0=1.g(0)=c,f(0)=e0=1.

Therefore, c=1c=1c=1.

Next, differentiate both functions. For the quadratic,

g′(x)=2ax+b.g'(x)=2ax+b.g′(x)=2ax+b.

For the exponential, rewrite e2xe^{2x}e2x as (e2)x(e^2)^x(e2)x and use the exponential derivative rule:

f′(x)=(ln⁡(e2))e2x=2e2x.f'(x)=\bigl(\ln(e^2)\bigr)e^{2x}=2e^{2x}.f′(x)=(ln(e2))e2x=2e2x.

At zero,

g′(0)=b,f′(0)=2.g'(0)=b, \qquad f'(0)=2.g′(0)=b,f′(0)=2.

Thus, b=2b=2b=2.

For the second derivatives,

g′′(x)=2a,f′′(x)=4e2x.g''(x)=2a, \qquad f''(x)=4e^{2x}.g′′(x)=2a,f′′(x)=4e2x.

At zero, g′′(0)=2ag''(0)=2ag′′(0)=2a and f′′(0)=4f''(0)=4f′′(0)=4. Matching them gives 2a=42a=42a=4, so a=2a=2a=2.

The resulting quadratic is

g(x)=2x2+2x+1.\boxed{g(x)=2x^2+2x+1.}g(x)=2x2+2x+1.​

Near x=0x=0x=0, this quadratic has the same value, slope, and second derivative as e2xe^{2x}e2x. Consequently, its graph closely follows the exponential graph near zero. Away from zero, the two functions need not remain close.

Matching function values, first derivatives, and second derivatives produces a local quadratic approximation; it does not make the functions identical everywhere.


Exponential decay and car depreciation

A car’s value can be modeled by an exponential decay function:

V(t)=35(0.88)t,V(t)=35(0.88)^t,V(t)=35(0.88)t,

where ttt is the number of years since purchase and V(t)V(t)V(t) is measured in thousands of dollars. The factor 0.880.880.88 is between zero and one, so the model represents exponential decay: the value decreases as time increases.

Evaluating the value at a particular time

After two years,

V(2)=35(0.88)2=35(0.7744)=27.104.V(2)=35(0.88)^2=35(0.7744)=27.104.V(2)=35(0.88)2=35(0.7744)=27.104.

Because the output is in thousands of dollars, this corresponds to approximately \27{,}100$. It is a model-based estimate, not necessarily the exact market value.

Finding the rate of change

Differentiate using the exponential derivative rule:

V′(t)=35(ln⁡0.88)(0.88)t.V'(t)=35\bigl(\ln 0.88\bigr)(0.88)^t.V′(t)=35(ln0.88)(0.88)t.

Since 0.880.880.88 is between zero and one, ln⁡(0.88)<0\ln(0.88)<0ln(0.88)<0. Therefore, V′(t)V'(t)V′(t) is negative, confirming that the modeled value is decreasing.

At two years,

V′(2)=35(ln⁡0.88)(0.88)2≈−3.465.V'(2)=35\bigl(\ln 0.88\bigr)(0.88)^2\approx -3.465.V′(2)=35(ln0.88)(0.88)2≈−3.465.

The units are thousands of dollars per year. This derivative is the instantaneous rate of change of the car’s value at t=2t=2t=2. It means that, at that moment, the value is decreasing at approximately \3{,}465$ per year.

Using the derivative for a linear estimate

A derivative gives the slope of the tangent line, which can be used to estimate nearby function values. Starting from V(2)=27.104V(2)=27.104V(2)=27.104 thousand dollars and using the rate V′(2)≈−3.465V'(2)\approx-3.465V′(2)≈−3.465 thousand dollars per year, a linear estimate one year later is

V(3)≈27.104−3.465=23.639V(3)\approx 27.104-3.465=23.639V(3)≈27.104−3.465=23.639

thousand dollars, or about \23{,}639$.

The exact model value is

V(3)=35(0.88)3≈23.851V(3)=35(0.88)^3\approx 23.851V(3)=35(0.88)3≈23.851

thousand dollars. The linear estimate is slightly low. This is consistent with the graph being concave up: its slope is negative but becomes less negative over time, so the tangent-line estimate lies below the curve for nearby inputs to the right.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent