Exponential Functions: Derivatives And Integrals

#Calculus
TL;DR
Exponential functions have the form f(x)=axf(x) = a^x with a>0a > 0 and a≠1a \neq 1, and the star of calculus is the natural exponential f(x)=exf(x) = e^x, the one function that is its own derivative: ddx(ex)=ex\frac{d}{dx}(e^x) = e^x. For a general base, ddx(ax)=axln⁡a\frac{d}{dx}(a^x) = a^x \ln a and ∫ax,dx=axln⁡a+C\int a^x , dx = \frac{a^x}{\ln a} + C, while the growth-and-decay model y=y0ekty = y_0 e^{kt} describes anything whose rate of change is proportional to its current size.
BT
Bhanzu TeamLast updated on September 22, 202612 min read

What Are Exponential Functions?

Exponential functions are functions in which the variable sits in the exponent, written f(x)=axf(x) = a^x where the base aa is a positive constant with a>0a > 0 and a≠1a \neq 1. The base is fixed and the input xx moves in the exponent, which is the reverse of a power function like x2x^2 where the base moves and the exponent is fixed.

One base matters more than all the others in calculus: the natural exponential function f(x)=exf(x) = e^x, whose base is the constant e≈2.7183e \approx 2.7183. It earns its place because of a single property that no other base shares exactly, and that property is the reason exponential functions run through every calculus course.

The whole family shares a fixed set of features:

  • Domain: all real numbers, so axa^x is defined for every xx.

  • Range: all positive numbers, ax>0a^x > 0 for every xx, so the curve never touches or crosses the xx-axis.

  • Anchor point: every curve passes through (0,1)(0, 1), since a0=1a^0 = 1.

  • Horizontal asymptote: the line y=0y = 0, which the curve approaches on one side without ever reaching it.

How Do You Differentiate An Exponential Function?

The derivative of the natural exponential function is the headline result of the whole topic: it gives itself back.

ddx(ex)=ex\frac{d}{dx}(e^x) = e^x

Geometrically this says something striking. The derivative is the slope of the tangent line, so at every point on y=exy = e^x the slope of the curve equals the height of the curve at that point. Where the graph is at height 77, it is also climbing at a rate of 77. That self-matching slope is what "its own derivative" means, and it is the fact the rest of calculus leans on.

For a general base, the derivative carries an extra constant factor:

ddx(ax)=axln⁡a\frac{d}{dx}(a^x) = a^x \ln a

Here is why the natural logarithm appears. Rewrite any base through ee using a=eln⁡aa = e^{\ln a}, so ax=exln⁡aa^x = e^{x \ln a}. Differentiating with the chain rule multiplies by the derivative of the inside, ln⁡a\ln a:

ddx(ax)=ddx(exln⁡a)=exln⁡a⋅ln⁡a=axln⁡a\frac{d}{dx}(a^x) = \frac{d}{dx}\big(e^{x \ln a}\big) = e^{x \ln a} \cdot \ln a = a^x \ln a

When a=ea = e the factor ln⁡e=1\ln e = 1, so the general rule collapses back to ddx(ex)=ex\frac{d}{dx}(e^x) = e^x. The natural base is precisely the base whose extra factor is 11.

The self-derivative fact also follows straight from the limit definition of a derivative:

ddx(ex)=lim⁡h→0ex+h−exh=exlim⁡h→0eh−1h=ex⋅1=ex\frac{d}{dx}(e^x) = \lim_{h \to 0} \frac{e^{x+h} - e^x}{h} = e^x \lim_{h \to 0} \frac{e^h - 1}{h} = e^x \cdot 1 = e^x

The number ee is defined so that lim⁡h→0eh−1h=1\lim_{h \to 0} \frac{e^h - 1}{h} = 1, which is exactly the limit that makes this line work.

Example 1: Differentiate y=3xy = 3^x.

Apply the general-base rule with a=3a = 3:

ddx(3x)=3xln⁡3\frac{d}{dx}(3^x) = 3^x \ln 3

Final answer: dydx=3xln⁡3≈1.0986⋅3x\dfrac{dy}{dx} = 3^x \ln 3 \approx 1.0986 \cdot 3^x.

Example 2: Differentiate y=e−x2y = e^{-x^2}.

The exponent is now a function, so the chain rule applies: differentiate the outside e□e^{\square} and multiply by the derivative of the inside −x2-x^2, which is −2x-2x.

ddx(e−x2)=e−x2⋅(−2x)=−2x,e−x2\frac{d}{dx}\big(e^{-x^2}\big) = e^{-x^2} \cdot (-2x) = -2x,e^{-x^2}

Final answer: dydx=−2x,e−x2\dfrac{dy}{dx} = -2x,e^{-x^2}.

How Do You Integrate An Exponential Function?

Because exe^x differentiates to itself, it also integrates to itself, up to the constant of integration:

∫ex,dx=ex+C\int e^x , dx = e^x + C

Check it by differentiating the antiderivative back: ddx(ex+C)=ex\frac{d}{dx}(e^x + C) = e^x, which is the original integrand. For a general base, undo the ln⁡a\ln a factor from the derivative by dividing:

∫ax,dx=axln⁡a+C\int a^x , dx = \frac{a^x}{\ln a} + C

Differentiating the right side returns axln⁡aln⁡a=ax\frac{a^x \ln a}{\ln a} = a^x, so the formula is correct. The geometric reading is the partner of the derivative: an integral is the area under the curve. A clean fact makes this vivid for the natural base, since the area beneath y=exy = e^x from far left up to a point x=bx = b equals the height there:

∫−∞bex,dx=[ex]−∞b=eb−0=eb\int_{-\infty}^{b} e^x , dx = \big[e^x\big]_{-\infty}^{b} = e^b - 0 = e^b

So exe^x is the rare curve whose slope, whose height, and whose accumulated area all read the same number at any point.

Example 3: Evaluate ∫2x,dx\int 2^x , dx.

Use the general-base rule with a=2a = 2:

∫2x,dx=2xln⁡2+C\int 2^x , dx = \frac{2^x}{\ln 2} + C

Verify by differentiating back: ddx(2xln⁡2)=2xln⁡2ln⁡2=2x\frac{d}{dx}\left(\frac{2^x}{\ln 2}\right) = \frac{2^x \ln 2}{\ln 2} = 2^x.

Final answer: 2xln⁡2+C≈1.4427⋅2x+C\dfrac{2^x}{\ln 2} + C \approx 1.4427 \cdot 2^x + C.

Not every exponential integral has such a tidy answer. The Gaussian integrand e−x2e^{-x^2}, the bell curve behind statistics, has no antiderivative expressible with elementary functions. Its integral is defined instead through the special error function erf⁡(x)\operatorname{erf}(x), and definite versions are found numerically or by series. Being honest about this matters: writing a fake closed form for ∫e−x2,dx\int e^{-x^2}, dx is a real error, not a shortcut.

Table: Derivatives and integrals of the exponential functions.

Function

Derivative

Integral

exe^x

exe^x

ex+Ce^x + C

axa^x

axln⁡aa^x \ln a

axln⁡a+C\dfrac{a^x}{\ln a} + C

ekxe^{kx}

k,ekxk,e^{kx}

1k,ekx+C\dfrac{1}{k},e^{kx} + C

The third row is the workhorse of growth and decay, and it also follows from the chain rule and its reverse.

What Are The Properties Of Exponential Functions?

The shape of the graph is decided by one thing: whether the base is bigger or smaller than 11.

  • Growth (a>1a > 1): the curve rises, and it rises faster the higher it gets, because the slope tracks the height. Examples are 2x2^x and exe^x.

  • Decay (0<a<10 < a < 1): the curve falls toward the xx-axis, halving repeatedly without reaching zero. Examples are (12)x\left(\tfrac{1}{2}\right)^x and e−xe^{-x}.

Table: How the base decides growth versus decay.

Case

Base

Behaviour as xx increases

Sign of kk in ekxe^{kx}

Growth

a>1a > 1

Rises, steeper over time

k>0k > 0

Decay

0<a<10 < a < 1

Falls toward zero

k<0k < 0

A decay curve is just a growth curve read backwards, since (12)x=2−x\left(\tfrac{1}{2}\right)^x = 2^{-x}. The two cases are one family reflected across the vertical axis.

What Is The Number e?

The constant e≈2.7183e \approx 2.7183 is the natural base of exponential functions, an irrational number like π\pi. It first showed up in a very practical place: compound interest. If one unit of money earns 100% interest split into nn equal steps across the year, the year-end total is (1+1n)n\left(1 + \tfrac{1}{n}\right)^n, and squeezing the steps to be continuous drives that total to a limit:

e=lim⁡n→∞(1+1n)n≈2.71828e = \lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n \approx 2.71828

The same constant has a series form, where each term is a power of xx divided by that power's factorial:

ex=1+x+x22+x36+x424+x5120+⋯e^x = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \frac{x^4}{24} + \frac{x^5}{120} + \cdots

Setting x=1x = 1 recovers e=1+1+12+16+124+⋯e = 1 + 1 + \tfrac{1}{2} + \tfrac{1}{6} + \tfrac{1}{24} + \cdots. This series is also the quickest proof that exe^x is its own derivative: differentiate it term by term and every term shifts down onto the one before it, reproducing the same series.

How Do You Model Exponential Growth And Decay?

Whenever a quantity changes at a rate proportional to how much of it there is, it follows an exponential model. In calculus that sentence is a differential equation:

dydt=ky⟹y=y0ekt\frac{dy}{dt} = k y \quad \Longrightarrow \quad y = y_0 e^{kt}

Here y0y_0 is the starting amount at t=0t = 0 and kk is the growth constant. You can confirm the solution by differentiating it: dydt=y0kekt=k,(y0ekt)=ky\frac{dy}{dt} = y_0 k e^{kt} = k,(y_0 e^{kt}) = k y, and at t=0t = 0 it gives y0e0=y0y_0 e^{0} = y_0. When k>0k > 0 the quantity grows; when k<0k < 0 it decays.

Two constants describe the speed of the process:

  • Doubling time (growth): set 2y0=y0ekt2 y_0 = y_0 e^{kt}, so ln⁡2=kt\ln 2 = kt and tdouble=ln⁡2kt_{\text{double}} = \dfrac{\ln 2}{k}.

  • Half-life (decay): set 12y0=y0ekt\tfrac{1}{2} y_0 = y_0 e^{kt}, so t1/2=ln⁡2∣k∣t_{1/2} = \dfrac{\ln 2}{|k|}.

Example 4: A culture starts at 500 cells and doubles every 3 hours. How many cells are there after 10 hours?

The doubling time gives the constant: k=ln⁡23≈0.2310k = \dfrac{\ln 2}{3} \approx 0.2310 per hour. Substitute into the model:

y=500,e(0.2310)(10)=500,e2.3105≈500×10.0794y = 500, e^{(0.2310)(10)} = 500, e^{2.3105} \approx 500 \times 10.0794

Final answer: about 5,0405{,}040 cells. The same result comes from the base-2 form y=500⋅210/3≈5,040y = 500 \cdot 2^{10/3} \approx 5{,}040, a useful cross-check.

Why Do Exponential Functions Work?

The behaviour is not a coincidence of the formula. It comes from one idea: growth feeding on itself.

  • Proportional change. In an exponential process the rate of change is a fixed multiple of the current amount. More money earns more interest, more cells divide into more cells, so the increments get bigger exactly as the total gets bigger.

  • Self-similar shape. Scaling the input by a constant multiplies the output by a constant, so the curve looks the same at every zoom level. This is why the graph has no flat stretch and no sudden corner.

  • Why ee is special. Among all bases, ee is the one where the proportionality constant is exactly 11: the curve's slope equals its value with no correction factor. Every other base carries the correction ln⁡a\ln a, which is the price of not using the natural base.

The natural exponential is the fixed point of differentiation, the function calculus keeps returning to because operating on it changes nothing.

Who Discovered The Number e And Exponential Functions?

Exponential functions were used long before the constant behind them was named, and the naming came from the study of continuous growth.

The derivative and integral machinery that acts on these functions came from Isaac Newton (1643–1727, England) and Gottfried Wilhelm Leibniz (1646–1716, Germany), whose calculus gave a way to measure exactly how fast an exponential rises and how much area it sweeps.

Where Are Exponential Functions Used In The Real World?

The same y=y0ekty = y_0 e^{kt} model, and the derivatives and integrals that go with it, run under a wide range of fields.

  • Biology and medicine: populations of cells and bacteria grow exponentially while resources last, and drug concentrations in the bloodstream decay exponentially, which sets dosing schedules.

  • Physics: radioactive material decays as y0e−kty_0 e^{-kt}, and carbon dating reads an object's age from how much has decayed.

  • Finance and economics: continuously compounded interest and inflation both follow the exponential model, with ee built into the formula.

  • Engineering: the voltage across a discharging capacitor and the cooling of a hot object (Newton's law of cooling) are exponential decays solved with the same integral.

  • Machine learning: the sigmoid and softmax functions at the heart of neural networks are built from exe^x, and their derivatives drive how the models learn.

One curve, differentiated and integrated the same way each time, describes cells, atoms, money, circuits, and learning machines.

What Are The Most Common Mistakes With Exponential Functions?

These four errors account for most lost marks, verified against MIT OpenCourseWare calculus notes, Purdue's MA161 differentiation lesson, and the OpenStax treatment of growth and decay.

Applying the power rule to an exponential.

Where it slips in:

A student sees axa^x and reaches for ddx(xn)=nxn−1\frac{d}{dx}(x^n) = n x^{n-1}, writing something like ddx(3x)=x⋅3x−1\frac{d}{dx}(3^x) = x \cdot 3^{x-1}.

Don't do this:

Do not use the power rule when the variable is in the exponent. The power rule is for a variable base with a constant exponent, which is the opposite setup.

The correct way:

Use the exponential rule ddx(ax)=axln⁡a\frac{d}{dx}(a^x) = a^x \ln a. For base three, ddx(3x)=3xln⁡3\frac{d}{dx}(3^x) = 3^x \ln 3.

Dropping the ln⁡a\ln a factor.

Where it slips in:

A student remembers that exe^x differentiates to itself and assumes every base does the same, writing ddx(ax)=ax\frac{d}{dx}(a^x) = a^x.

Don't do this:

Do not omit the natural-log factor. Only the base ee has a factor of 11; every other base carries ln⁡a\ln a.

The correct way:

Attach ln⁡a\ln a on differentiation and divide by ln⁡a\ln a on integration: ddx(ax)=axln⁡a\frac{d}{dx}(a^x) = a^x \ln a and ∫ax,dx=axln⁡a+C\int a^x , dx = \frac{a^x}{\ln a} + C.

Forgetting the constant of integration.

Where it slips in:

A student writes ∫ex,dx=ex\int e^x , dx = e^x and moves on, losing the family of antiderivatives that differ by a constant.

Don't do this:

Do not leave off the +C+C on any indefinite integral, and do not multiply by ln⁡a\ln a when you should divide.

The correct way:

Write ∫ex,dx=ex+C\int e^x , dx = e^x + C and ∫ax,dx=axln⁡a+C\int a^x , dx = \frac{a^x}{\ln a} + C. Divide by ln⁡a\ln a, never multiply.

Confusing growth with decay through the sign of kk.

Where it slips in:

A student sets up a decay problem, such as radioactive material, with a positive kk, and the model grows without bound instead of fading.

Don't do this:

Do not assume kk is positive. A decaying quantity needs k<0k < 0 (or the explicit e−kte^{-kt} form with k>0k > 0).

The correct way:

Read the situation first. Growth uses k>0k > 0; decay uses k<0k < 0. A half-life is ln⁡2∣k∣\frac{\ln 2}{|k|}, so a negative sign there is a signal, not an error.

Practice Problems On Exponential Functions

Answers follow each problem. Verify each derivative or integral by reversing the operation.

  1. Differentiate y=ex+x2y = e^x + x^2.
    (Answer: ex+2xe^x + 2x.)

  2. Differentiate y=5xy = 5^x.
    (Answer: 5xln⁡55^x \ln 5.)

  3. Differentiate y=e4xy = e^{4x}.
    (Answer: 4e4x4 e^{4x}.)

  4. Evaluate ∫ex,dx\int e^x , dx.
    (Answer: ex+Ce^x + C.)

  5. Evaluate ∫3x,dx\int 3^x , dx.
    (Answer: 3xln⁡3+C\dfrac{3^x}{\ln 3} + C.)

  6. A 200 mg sample has a half-life of 5 years. How much remains after 15 years?
    (Answer: 15÷5=315 \div 5 = 3 half-lives, so 200×(12)3=25200 \times \left(\tfrac{1}{2}\right)^3 = 25 mg.)

Where Should You Go Next After Exponential Functions?

Exponential functions sit at a crossroads between algebra and calculus, and several natural doors open from here.

  1. Logarithmic functions. The inverse of the exponential, and the source of the ln⁡a\ln a factor in every general-base derivative.

  2. Derivative formulas. A reference for the differentiation rules, including the chain rule used on e−x2e^{-x^2} and ekxe^{kx}.

  3. Integration formulas. The reverse operations, where the area-under-the-curve reading of ∫ex,dx\int e^x , dx comes to life.

  4. Calculus overview. How derivatives and integrals fit together across the whole subject.

If your child is meeting exponential functions for the first time, a live Bhanzu trainer builds them from the "why", the self-matching slope and the growth model, through Bhanzu's online math tutoring.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the derivative of an exponential function?
For the natural base, ddx(ex)=ex\frac{d}{dx}(e^x) = e^x, so it is its own derivative. For a general base aa, the derivative is ddx(ax)=axln⁡a\frac{d}{dx}(a^x) = a^x \ln a, the same function times the natural log of the base.
Why is exe^x its own derivative?
Because ee is defined so that lim⁡h→0eh−1h=1\lim_{h \to 0} \frac{e^h - 1}{h} = 1. Feeding that into the limit definition leaves ddx(ex)=ex⋅1=ex\frac{d}{dx}(e^x) = e^x \cdot 1 = e^x. Geometrically, the slope of exe^x at any point equals its height.
What is the integral of an exponential function?
∫ex,dx=ex+C\int e^x , dx = e^x + C, and ∫ax,dx=axln⁡a+C\int a^x , dx = \frac{a^x}{\ln a} + C. Always include the constant of integration, and divide by ln⁡a\ln a for a general base rather than multiplying.
How are exponential functions and logarithmic functions related?
They are inverses. The logarithmic function undoes what the exponential function does, so ln⁡(ex)=x\ln(e^x) = x and eln⁡x=xe^{\ln x} = x. This inverse link is exactly why the factor ln⁡a\ln a appears when you differentiate axa^x.
What is the number e in exponential functions?
It is the natural base, e≈2.7183e \approx 2.7183, the limit of (1+1n)n\left(1 + \tfrac{1}{n}\right)^n as nn grows without bound. It is the one base for which the exponential function equals its own derivative with no extra factor.
Can every exponential integral be written in closed form?
No. Simple cases like ∫ex,dx\int e^x , dx and ∫ax,dx\int a^x , dx have neat answers, but ∫e−x2,dx\int e^{-x^2} , dx, the Gaussian integrand, has no elementary antiderivative and is expressed through the error function or evaluated numerically.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →