Integral of e^x

The integral of e^x equals e^x plus C, the essential antiderivative for solving exponential growth, decay, and differential equations.

exdx=ex+C\int e^{x}\,dx = e^{x} + C

Solve a problem with Integral of e^x

Type the problem. The solver will use Integral of e^x where Integral of e^x is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Integral of e^x takes
xx
CC
ee
Integral of e^x
SymbolMeaning
xxThe variable with respect to which we integrate; it represents the exponent in the function exe^x, and if confused with a multiplicative factor you will completely misunderstand the function being integrated.
CCThe constant of integration representing the arbitrary constant that appears in all antiderivatives; if you forget to include it, you lose the entire family of solutions and are left with just one specific function.
eeEuler's number (approximately 2.718), the unique base of the natural exponential function whose derivative equals itself; confusing it with the variable xx or treating it as just a number multiplied by xx will lead to incorrect integrals.

When to use it

Reach for this formula whenever you need to reverse an exponential function to find its antiderivative or solve a differential equation involving exe^x.

Level

Usually taught in: Calculus I

Worked examples

1. Find the antiderivative of a constant multiple

Problem

Find 3exdx\int 3e^{x}\,dx.
  1. 3exdx=3exdx\int 3e^{x}\,dx = 3 \int e^{x}\,dx

    Factor the constant 3 out of the integral using the constant multiple rule.

  2. 3exdx=3ex3 \int e^{x}\,dx = 3 e^{x}

    Apply the integral formula: exdx=ex\int e^x \,dx = e^x.

  3. 3ex+C3 e^{x} + C

    Add the constant of integration to account for all possible antiderivatives.

Answer: 3ex+C3e^{x} + C

This problem shows that a constant multiplying exe^x comes straight out of the integral sign. You find the antiderivative of exe^x and then multiply by the constant—a direct application of linearity of integration.

2. Integrate a sum involving exponentials and polynomials

Problem

Find (ex+2x)dx\int (e^{x} + 2x)\,dx.
  1. (ex+2x)dx=exdx+2xdx\int (e^{x} + 2x)\,dx = \int e^{x}\,dx + \int 2x\,dx

    Split the sum using linearity: integrate each term separately.

  2. exdx=ex\int e^{x}\,dx = e^{x}

    The integral of exe^x is simply exe^x.

  3. 2xdx=2x22=x2\int 2x\,dx = 2 \cdot \frac{x^2}{2} = x^2

    Integrate 2x2x using the power rule: 2xdx=2x22=x2\int 2x \,dx = 2 \cdot \frac{x^2}{2} = x^2.

  4. ex+x2+Ce^{x} + x^2 + C

    Combine the antiderivatives and add the single constant of integration for the full answer.

Answer: ex+x2+Ce^{x} + x^2 + C

Linearity of integration means you can split a sum and integrate each piece separately. Here, exe^x integrates to itself, while the polynomial term uses the power rule. Summing with a single arbitrary constant gives the complete answer.

3. Apply exponential integration to a gaming scenario

Problem

In a battle simulator game, a super-charged opponent's attack power grows at rate r(t)=5etr(t) = 5e^{t} damage per second, where tt is seconds. If the opponent has already dealt 20 damage before charging up, what is the total damage D(t)D(t) after charging for tt seconds?
  1. D(t)=20+5etdtD(t) = 20 + \int 5e^{t}\,dt

    The total damage is the initial 20 damage plus the accumulation from the charging period.

  2. 5etdt=5etdt=5et+C\int 5e^{t}\,dt = 5 \int e^{t}\,dt = 5 e^{t} + C

    Factor out 5 and integrate: etdt=et\int e^t \,dt = e^t, giving 5et5e^t plus an arbitrary constant.

  3. D(t)=20+5et+CD(t) = 20 + 5 e^{t} + C

    Substitute back: the total damage after tt seconds is the initial damage plus the accumulated damage.

  4. D(0)=20+5e0+C=20+5+C=25+CD(0) = 20 + 5 e^{0} + C = 20 + 5 + C = 25 + C

    At t=0t = 0 (before charging), the damage should be exactly 20, so 25+C=2025 + C = 20, giving C=5C = -5.

  5. D(t)=20+5et5=5et+15D(t) = 20 + 5e^{t} - 5 = 5e^{t} + 15

    Substitute C=5C = -5 to get the final formula relating damage to charge time.

Answer: D(t)=5et+15D(t) = 5e^{t} + 15

This problem uses the integral to accumulate a time-varying quantity: total damage accumulates by integrating the rate. The constant of integration is determined by an initial condition (20 damage at t=0t=0), showing how antiderivatives solve real-world scenarios where you know rates and need totals.

Common mistakes

Where Integral of e^x usually goes wrong
Answer came out wrong
exdx=exx+C\int e^{x}\,dx = \frac{e^{x}}{x} + C
Recognize that exe^x is special—the derivative of exe^x is exe^x itself, so the antiderivative is just ex+Ce^x + C, not divided by anything.
exdx=ex\int e^{x}\,dx = e^{x} (without the constant CC)
Always add the constant of integration: exdx=ex+C\int e^{x}\,dx = e^{x} + C.
Confusing exdx\int e^{x}\,dx with exdx=ex22+Ce \cdot \int x \,dx = e \cdot \frac{x^2}{2} + C
Remember that exe^x means ee raised to the power xx, not ee times xx. The integral is ex+Ce^x + C, not a quadratic.
The mistakeWhy it is wrongThe fix
exdx=exx+C\int e^{x}\,dx = \frac{e^{x}}{x} + CSome students incorrectly apply the power rule to exponentials, treating exe^x as if the exponent were a power and trying to divide by it.Recognize that exe^x is special—the derivative of exe^x is exe^x itself, so the antiderivative is just ex+Ce^x + C, not divided by anything.
exdx=ex\int e^{x}\,dx = e^{x} (without the constant CC)Students forget that antiderivatives are determined only up to a constant, because the derivative of any constant is zero.Always add the constant of integration: exdx=ex+C\int e^{x}\,dx = e^{x} + C.
Confusing exdx\int e^{x}\,dx with exdx=ex22+Ce \cdot \int x \,dx = e \cdot \frac{x^2}{2} + CSome students misread the notation and think ee is multiplied by xx instead of being the base of an exponential.Remember that exe^x means ee raised to the power xx, not ee times xx. The integral is ex+Ce^x + C, not a quadratic.

Tips and when to use something else

  • This formula only works for the base ee. If you see a different base like 2x2^x, use the formula axdx=axlna+C\int a^{x}\,dx = \frac{a^{x}}{\ln a} + C instead.
  • Always include +C+ C in indefinite integrals—it represents the entire family of antiderivatives that all differ by a constant.
  • For exponents like e2xdx\int e^{2x}\,dx, use U-Substitution to handle the chain rule; directly applying the formula won't work for composite functions.
  • When using definite integrals like abexdx\int_a^b e^{x}\,dx, the constant CC cancels out naturally, giving you ebeae^{b} - e^{a}.

Frequently asked questions

Why is the integral of exe^x equal to exe^x itself?
Because ee is uniquely defined as the base whose exponential function has a derivative equal to itself. Therefore ddx(ex)=ex\frac{d}{dx}(e^x) = e^x, which means the antiderivative must also be exe^x.
What does the +C+ C mean in the formula?
The constant CC represents all possible vertical shifts of the antiderivative. Since the derivative of any constant is zero, adding or subtracting any constant to exe^x still gives a valid antiderivative, so CC accounts for this infinite family of solutions.
How do I integrate exe^x with a coefficient, like 2exdx\int 2e^{x}\,dx?
Factor the coefficient out first: 2exdx=2exdx=2ex+C\int 2e^{x}\,dx = 2 \int e^{x}\,dx = 2e^{x} + C. The constant multiple rule lets you pull scalars outside the integral sign, simplifying the problem to the basic case.
Is exdx\int e^{x}\,dx different from exdx\int e^{-x}\,dx?
Yes. For exdx\int e^{-x}\,dx, use U-Substitution with u=xu = -x and du=dxdu = -dx to get exdx=ex+C\int e^{-x}\,dx = -e^{-x} + C. The negative sign in the exponent requires the chain rule's reverse, which substitution handles.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18