Integration of Exponential Functions: Rules & Examples

#Calculus
TL;DR
Integration of exponential functions reverses differentiation for bases like ee and aa. The base result is ∫ex,dx=ex+C\int e^x,dx = e^x + C, because exe^x is its own derivative and its own antiderivative. When the exponent is scaled, divide by the scale: ∫ekx,dx=1kekx+C\int e^{kx},dx = \frac{1}{k}e^{kx} + C and ∫ax,dx=axln⁡a+C\int a^x,dx = \frac{a^x}{\ln a} + C. Every answer carries +C+C, and you can confirm each by differentiating it back.
BT
Bhanzu TeamLast updated on September 28, 202611 min read

What Is The Integration Of Exponential Functions?

Integration of exponential functions is the process of finding an antiderivative of a function whose variable sits in the exponent, such as exe^x, ekxe^{kx}, or axa^x. Geometrically, the definite integral is the signed area under the exponential curve; algebraically, it is the reverse of differentiation. The four rules you need fit on one line each.

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

∫ekx,dx=1kekx+C(k≠0)\int e^{kx},dx = \frac{1}{k}e^{kx} + C \qquad (k \neq 0)

∫ax,dx=axln⁡a+C(a>0,;a≠1)\int a^x,dx = \frac{a^x}{\ln a} + C \qquad (a > 0,; a \neq 1)

∫akx,dx=akxkln⁡a+C\int a^{kx},dx = \frac{a^{kx}}{k\ln a} + C

Each rule is just the matching derivative read backwards. Because ddxex=ex\dfrac{d}{dx}e^x = e^x, the function exe^x is the rare case that is its own antiderivative, which is why the base rule looks so clean. The scaling factors 1k\frac{1}{k} and 1ln⁡a\frac{1}{\ln a} are exactly what the chain rule leaves behind when you differentiate the answer, so they are not optional decorations. The natural logarithm that appears here is the same natural logarithm that undoes exe^x.

Why Is The Integral Of exe^x Just exe^x?

The exponential exe^x is the one function equal to its own rate of change: its slope at every point equals its height at that point. Reverse that statement and you get the integral. If differentiating exe^x returns exe^x, then an antiderivative of exe^x must be exe^x (plus a constant). The base e≈2.7183e \approx 2.7183 is defined precisely so that this self-matching happens, which is what makes it "natural." For the differentiation side of the same coin, see the derivatives of exponential functions.

The picture is just as direct. The graph of y=exy = e^x climbs faster as it rises, and the area accumulated beneath it climbs at exactly the same pace as the height of the curve. Rate of area growth equal to height is the geometric reading of "the integral of exe^x is exe^x."

How Do You Integrate ekxe^{kx} And akxa^{kx}?

When the exponent is scaled by a constant kk, a single factor appears. To integrate ekxe^{kx}, integrate as if it were exe^x, then divide by kk.

∫ekx,dx=1kekx+C\int e^{kx},dx = \frac{1}{k}e^{kx} + C

The reason is the chain rule working in reverse. If you guess the antiderivative is ekxe^{kx} and differentiate it, you get k,ekxk,e^{kx}, which is kk times too big. Dividing by kk cancels that surplus. The same logic gives the general-base rule: integrating akxa^{kx} divides by both kk and ln⁡a\ln a.

∫akx,dx=akxkln⁡a+C\int a^{kx},dx = \frac{a^{kx}}{k\ln a} + C

A special sign case is worth pinning down now, because it trips up more students than any other: with k=−1k = -1,

∫e−x,dx=−e−x+C.\int e^{-x},dx = -e^{-x} + C.

The 1k=1−1=−1\frac{1}{k} = \frac{1}{-1} = -1 is where the minus sign comes from. Forgetting it is one of the ranked errors in the mistakes section below.

How Do You Integrate Exponential Functions With Substitution?

When the exponent is a whole expression rather than a plain multiple of xx, integration by substitution turns the problem back into the base rule. The move is to name the exponent (or the awkward inside piece) uu, differentiate to get dudu, and check that the rest of the integrand supplies exactly that dudu.

Two clean cases appear again and again, and in both the messy-looking integrand collapses to eue^u.

Example: ∫x,ex2,dx\displaystyle\int x,e^{x^2},dx.

Let u=x2u = x^2, so dudx=2x\dfrac{du}{dx} = 2x and x,dx=12,dux,dx = \tfrac{1}{2},du. Substituting,

∫x,ex2,dx=∫eu⋅12,du=12eu+C=12ex2+C.\int x,e^{x^2},dx = \int e^{u}\cdot \tfrac{1}{2},du = \tfrac{1}{2}e^{u} + C = \tfrac{1}{2}e^{x^2} + C.

Check by differentiating back: ddx(12ex2)=12⋅2x⋅ex2=x,ex2\dfrac{d}{dx}\left(\tfrac{1}{2}e^{x^2}\right) = \tfrac{1}{2}\cdot 2x\cdot e^{x^2} = x,e^{x^2}, the original integrand.

Final answer: ∫x,ex2,dx=12ex2+C\displaystyle\int x,e^{x^2},dx = \tfrac{1}{2}e^{x^2} + C.

Example: ∫esin⁡xcos⁡x,dx\displaystyle\int e^{\sin x}\cos x,dx.

Let u=sin⁡xu = \sin x, so du=cos⁡x,dxdu = \cos x,dx, which is already sitting in the integrand. Then

∫esin⁡xcos⁡x,dx=∫eu,du=eu+C=esin⁡x+C.\int e^{\sin x}\cos x,dx = \int e^{u},du = e^{u} + C = e^{\sin x} + C.

Check: ddx(esin⁡x)=cos⁡x,esin⁡x\dfrac{d}{dx}\left(e^{\sin x}\right) = \cos x,e^{\sin x}, the integrand.

Final answer: ∫esin⁡xcos⁡x,dx=esin⁡x+C\displaystyle\int e^{\sin x}\cos x,dx = e^{\sin x} + C.

What Are Some Worked Examples Of Integration Of Exponential Functions?

Each example is fully stepped, and every antiderivative is verified by differentiating it back to the integrand.

Example 1: A scaled exponent (the ekxe^{kx} rule).

Evaluate ∫e3x,dx\displaystyle\int e^{3x},dx.

Here k=3k = 3, so divide by 33:

∫e3x,dx=13e3x+C.\int e^{3x},dx = \frac{1}{3}e^{3x} + C.

Check: ddx(13e3x)=13⋅3,e3x=e3x\dfrac{d}{dx}\left(\tfrac{1}{3}e^{3x}\right) = \tfrac{1}{3}\cdot 3,e^{3x} = e^{3x}.

Final answer: 13e3x+C\dfrac{1}{3}e^{3x} + C.

Example 2: A general base (the axa^x rule).

Evaluate ∫2x,dx\displaystyle\int 2^{x},dx.

Apply ∫ax,dx=axln⁡a\int a^x,dx = \dfrac{a^x}{\ln a} with a=2a = 2:

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

Check: ddx(2xln⁡2)=2xln⁡2ln⁡2=2x\dfrac{d}{dx}\left(\dfrac{2^{x}}{\ln 2}\right) = \dfrac{2^{x}\ln 2}{\ln 2} = 2^{x}.

Final answer: 2xln⁡2+C\dfrac{2^{x}}{\ln 2} + C.

Example 3: A definite integral.

Evaluate ∫01ex,dx\displaystyle\int_0^1 e^{x},dx.

An antiderivative is F(x)=exF(x) = e^x, so by the definite integrals rule apply it at the two limits:

∫01ex,dx=[ex]01=e1−e0=e−1≈1.7183.\int_0^1 e^{x},dx = \big[e^{x}\big]_0^1 = e^{1} - e^{0} = e - 1 \approx 1.7183.

The +C+C is dropped for a definite integral because it cancels in the subtraction.

Final answer: e−1≈1.7183e - 1 \approx 1.7183.

Example 4: A negative exponent.

Evaluate ∫e−2x,dx\displaystyle\int e^{-2x},dx.

Here k=−2k = -2, so divide by −2-2:

∫e−2x,dx=−12e−2x+C.\int e^{-2x},dx = -\frac{1}{2}e^{-2x} + C.

Check: ddx(−12e−2x)=−12⋅(−2),e−2x=e−2x\dfrac{d}{dx}\left(-\tfrac{1}{2}e^{-2x}\right) = -\tfrac{1}{2}\cdot(-2),e^{-2x} = e^{-2x}.

Final answer: −12e−2x+C-\dfrac{1}{2}e^{-2x} + C.

What Is A Handy Table Of Exponential Integrals?

These standard forms cover almost every exponential integral in a first calculus course. Each is an indefinite integral, so each carries +C+C.

Table: Standard results for the integration of exponential functions.

Integral

Result

Why

∫ex,dx\int e^x,dx

ex+Ce^x + C

exe^x is its own antiderivative

∫ekx,dx\int e^{kx},dx

1kekx+C\dfrac{1}{k}e^{kx} + C

divide by the exponent's scale kk

∫e−x,dx\int e^{-x},dx

−e−x+C-e^{-x} + C

the k=−1k = -1 sign case

∫ax,dx\int a^x,dx

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

divide by ln⁡a\ln a

∫akx,dx\int a^{kx},dx

akxkln⁡a+C\dfrac{a^{kx}}{k\ln a} + C

divide by kk and by ln⁡a\ln a

∫e−x2,dx\int e^{-x^2},dx

no elementary form

needs the error function (see below)

The last row is not a gap in your knowledge. It is a genuine feature of the mathematics, and the next section explains it honestly.

Can Every Exponential Function Be Integrated Into A Formula?

No, and this is worth stating plainly because textbooks often dodge it. The Gaussian integrand e−x2e^{-x^2} has no antiderivative expressible with the usual functions (polynomials, roots, exponentials, logs, and trig). There is no clever substitution waiting to be found; a theorem of Liouville proves that no elementary antiderivative exists.

Mathematicians handle it by defining a new function, the error function, to name the accumulated area:

erf⁡(x)=2π∫0xe−t2,dt.\operatorname{erf}(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{-t^2},dt.

So ∫e−x2,dx\int e^{-x^2},dx is written in terms of erf⁡\operatorname{erf}, and definite versions are found numerically. If a problem asks you to integrate e−x2e^{-x^2} into elementary functions, the honest answer is that it cannot be done. That same curve is the heart of the normal distribution in statistics, which is why the error function has a name at all.

Why Does The Integration Of Exponential Functions Work This Way?

The rules are not arbitrary. Every one of them is a differentiation rule read in reverse, and the geometry makes the "why" visible.

  • Self-matching slope. The number ee is chosen so that y=exy = e^x has slope equal to its own height everywhere. Reversing differentiation therefore leaves exe^x unchanged, which is the base rule.

  • The scale factor is bookkeeping from the chain rule. Differentiating ekxe^{kx} multiplies by kk; integrating must undo that by dividing by kk. The 1k\frac{1}{k} is not a trick, it is the exact counterweight.

  • The ln⁡a\ln a converts a general base to base ee. Because ax=exln⁡aa^x = e^{x\ln a}, integrating axa^x is really integrating e(ln⁡a)xe^{(\ln a)x}, and the scale here is ln⁡a\ln a. Dividing by ln⁡a\ln a is the same 1k\frac{1}{k} rule wearing a different coat.

Read together, all four rules are one idea: integration undoes differentiation, so whatever the chain rule multiplied on the way down has to be divided out on the way back up.

Who Discovered The Exponential Function And Its Integral?

The exponential curve grew out of a very practical question about money before it became a pillar of calculus.

Two more figures set the stage:

  • John Napier (1550–1617, Scotland) invented logarithms in 1614, giving mathematics the inverse tool that makes ln⁡a\ln a meaningful, the very factor that appears in ∫ax,dx\int a^x,dx.

  • Leonhard Euler (1707–1783, Switzerland) fixed the symbol ee, the notation f(x)f(x), and the identity that binds the exponential functions to trigonometry.

Where Is The Integration Of Exponential Functions Used In The Real World?

Any quantity whose rate is proportional to its current size is governed by an exponential, so integrating one is how you recover the total.

  • Population and financial growth: the size of a colony, or the balance of a continuously compounded account, is the integral of an exponential growth rate, the reverse of exponential growth and decay.

  • Radioactive decay and cooling: the amount of material remaining, or heat lost, integrates a negative-exponent rate e−kte^{-kt}, which is why the answer carries the tell-tale minus sign.

  • Probability and statistics: the normal (bell) curve is built from e−x2e^{-x^2}, and the area under it, computed through the error function, gives the probability of an outcome falling in a range.

  • Electronics (RC circuits): the charge building up on a capacitor is the integral of a current that decays like e−t/RCe^{-t/RC}, so the charging curve is an exponential approach to full charge.

  • Medicine and pharmacology: the total drug exposure over time integrates a concentration that falls exponentially as the body clears the dose.

One rule set (divide by kk, divide by ln⁡a\ln a) quietly runs banking, nuclear physics, statistics, and circuit design, which is why it earns a full lesson.

What Are The Most Common Mistakes With Integration Of Exponential Functions?

These four errors account for most lost marks, and each matches a documented student slip from course error guides and the OpenStax and Lumen cautions.

Forgetting the 1k\frac{1}{k} factor on ekxe^{kx}.

Where it slips in:

A student writes ∫e5x,dx=e5x+C\int e^{5x},dx = e^{5x} + C, treating the scaled exponent like a bare xx.

Don't do this:

Do not copy ekxe^{kx} straight through. Differentiating e5xe^{5x} gives 5e5x5e^{5x}, so an unscaled answer is five times too large.

The correct way:

Divide by the scale: ∫e5x,dx=15e5x+C\int e^{5x},dx = \tfrac{1}{5}e^{5x} + C, and confirm by differentiating back to e5xe^{5x}.

Dividing by ln⁡a\ln a in the wrong direction (or on exe^x).

Where it slips in:

A student multiplies by ln⁡a\ln a instead of dividing, writing ∫2x,dx=2xln⁡2+C\int 2^x,dx = 2^x\ln 2 + C, or drags a stray ln⁡\ln onto ∫ex,dx\int e^x,dx.

Don't do this:

Do not multiply by ln⁡a\ln a, and do not apply the ln⁡a\ln a rule to base ee. Since ln⁡e=1\ln e = 1, the base-ee case has no logarithm factor at all.

The correct way:

For a general base, divide: ∫ax,dx=axln⁡a+C\int a^x,dx = \dfrac{a^x}{\ln a} + C. For base ee, the factor is 11, so ∫ex,dx=ex+C\int e^x,dx = e^x + C.

Losing the sign on a negative exponent.

Where it slips in:

A student writes ∫e−x,dx=e−x+C\int e^{-x},dx = e^{-x} + C, dropping the minus that the 1k\frac{1}{k} rule produces.

Don't do this:

Do not ignore the sign of kk. With k=−1k = -1, the factor is 1−1=−1\frac{1}{-1} = -1.

The correct way:

Write ∫e−x,dx=−e−x+C\int e^{-x},dx = -e^{-x} + C; differentiating −e−x-e^{-x} returns e−xe^{-x}, confirming the sign.

Dropping the constant of integration.

Where it slips in:

A student finishes an indefinite integral as exe^{x} with no +C+C, or leaves a substitution answer in terms of uu.

Don't do this:

Do not omit +C+C on an indefinite integral, and do not stop at eue^u; the answer must return to the original variable.

The correct way:

Add +C+C every time, and back-substitute so the final line is in xx, as in 12ex2+C\tfrac{1}{2}e^{x^2} + C.

Practice Problems On Integration Of Exponential Functions

Work each one, then check against the verified answer.

  1. Evaluate ∫e4x,dx\displaystyle\int e^{4x},dx.
    (Answer: 14e4x+C\tfrac{1}{4}e^{4x} + C.)

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

  3. Evaluate ∫e−5x,dx\displaystyle\int e^{-5x},dx.
    (Answer: −15e−5x+C-\tfrac{1}{5}e^{-5x} + C.)

  4. Evaluate ∫x,ex2,dx\displaystyle\int x,e^{x^2},dx.
    (Answer: 12ex2+C\tfrac{1}{2}e^{x^2} + C, by u=x2u = x^2.)

  5. Evaluate ∫01e2x,dx\displaystyle\int_0^1 e^{2x},dx.
    (Answer: [12e2x]01=12(e2−1)≈3.1945\big[\tfrac{1}{2}e^{2x}\big]_0^1 = \tfrac{1}{2}(e^2 - 1) \approx 3.1945.)

  6. Evaluate ∫ecos⁡xsin⁡x,dx\displaystyle\int e^{\cos x}\sin x,dx.
    (Answer: −ecos⁡x+C-e^{\cos x} + C, by u=cos⁡xu = \cos x.)

Where Should You Go Next After Integration Of Exponential Functions?

Exponential integration sits between differentiation and the wider integration toolkit, and several natural doors open from here.

  1. Integration by substitution. The one technique that turns composite exponents like ex2e^{x^2} and esin⁡xe^{\sin x} back into the base rule.

  2. Methods of integration. See where exponential rules fit alongside parts, partial fractions, and trigonometric substitution.

  3. Derivatives of exponential functions. Strengthen the differentiation side that every one of these integrals reverses.

If your child is meeting exponential integration for the first time, a live Bhanzu trainer teaches it from the self-matching-slope idea up, so the four rules feel like one, in the Bhanzu math program.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the integration of exponential functions?
It is finding an antiderivative of a function with the variable in the exponent. The core results are ∫ex,dx=ex+C\int e^x,dx = e^x + C, ∫ekx,dx=1kekx+C\int e^{kx},dx = \tfrac{1}{k}e^{kx} + C, and ∫ax,dx=axln⁡a+C\int a^x,dx = \dfrac{a^x}{\ln a} + C, each verified by differentiating back.
What is the integral of exe^x?
It is ex+Ce^x + C. The function exe^x equals its own derivative, so it is also its own antiderivative, which makes it the simplest case in the whole topic.
How do you integrate axa^x for a general base?
Divide by the natural logarithm of the base: ∫ax,dx=axln⁡a+C\int a^x,dx = \dfrac{a^x}{\ln a} + C, valid for a>0a > 0 and a≠1a \neq 1. For example, ∫2x,dx=2xln⁡2+C\int 2^x,dx = \dfrac{2^x}{\ln 2} + C.
Why is there a 1k\frac{1}{k} when you integrate ekxe^{kx}?
Because differentiating ekxe^{kx} multiplies by kk through the chain rule, integration has to divide by kk to undo it. Skipping the factor makes the answer kk times too big.
Can you integrate e−x2e^{-x^2}?
Not into elementary functions. The integral ∫e−x2,dx\int e^{-x^2},dx has no closed form in the usual functions and is expressed with the error function erf⁡(x)\operatorname{erf}(x), then evaluated numerically. This curve underlies the normal distribution.
Do you add +C+C in the integration of exponential functions?
Yes, for every indefinite integral, because any constant differentiates to zero and so any antiderivative is valid up to a constant. For a definite integral the +C+C cancels in the subtraction and is left out.
✍️ 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 →