Calculus I › Integrals › full formula sheet

∫ ex dx = ex + C
Say it: the integral of e to the x with respect to x equals e to the x, plus C

The exponential integral

ex is its own derivative — so it is also its own antiderivative. The easiest integral on the sheet, with the sneakiest impostors.

Notation on this page: e ≈ 2.718 is Euler’s number, and C is the constant of integration.

Before this lesson: Derivative of ex

Where it comes from

The problem is the reverse of a fact you already know: d/dx [ex] = ex. The function reproduces itself under differentiation — so running the film backwards, it must reproduce itself under integration too.

Why is e the special base? For a general base a, the derivative rule is d/dx [ax] = ax·ln a — an extra factor of ln a appears. The number e is defined as the base where that factor equals 1 (since ln e = 1), so the extra factor vanishes and ex stands alone.

The tempting over-generalization:

Before reading on: d/dx [2x] = 2x·ln 2, so differentiation tacks on an extra ln 2. Running that backwards, what must you do to ∫ 2x dx to cancel the extra factor? Take a guess before the reveal.

∫ 2x dx = 2x + C  ??the tempting — and wrong — guess

Kill it by differentiating the claimed answer: d/dx [2x + C] = 2x·ln 2 ≠ 2x. The derivative dragged in a factor of ln 2 ≈ 0.693, so the guess is only ~69% of what it should be. The repair — divide by ln 2:

d/dx [2x/ln 2]
=
(2x·ln 2)/ln 2 = 2x
The ln 2 from the derivative cancels the ln 2 we divided by. So ∫ 2x dx = 2x/ln 2 + C — and for ex, ln e = 1, so the division is invisible.

Intuition: ex is the unique function (up to a constant multiple) that is its own rate of change — which is why it models unrestricted population growth and continuous compounding. Integrating it just hands you back the same growth curve, shifted by C.

Derivation

Again the guess-and-verify strategy: propose F(x) = ex and differentiate to check. Then we generalize to any base a > 0.

F(x)
=
ex
Step 1 — the guess. Since differentiating ex reproduces it, ex is the natural candidate for its own antiderivative.
F′(x)
=
ex
Step 2 — verify. d/dx [ex] = ex, the defining property of e. So F′ = ex: F is an antiderivative, and ∫ ex dx = ex + C. ∎
G(x)
=
ax/ln a
Step 3 — generalize. For base a > 0, a ≠ 1, guess G(x) = ax/ln a.
G′(x)
=
(ax·ln a)/ln a = ax
Step 4 — verify. The derivative contributes ×ln a, which cancels the ÷ln a. Hence ∫ ax dx = ax/ln a + C. Setting a = e recovers the hero formula, since ln e = 1.

Why +C is the whole story: any two antiderivatives of ex differ by a constant (their difference has zero derivative), so ex + C captures every one of them.

How to use it

Before reading on: ex with exponent exactly x is the easy case. What do you think happens with e2x — and which differentiation rule’s fingerprint should warn you that a plain ex-style answer is wrong?

The procedure, every time:

  1. Confirm the exponent is exactly x. The rule fires only for ex alone (times constants). If the exponent is 2x, x², or −x, the chain rule left a fingerprint — see the traps below.
  2. Write down ex + C. That is genuinely the whole computation.
  3. Other bases: ∫ ax dx = ax/ln a + C. Check by differentiating — the ln a cancels.
  4. Constants factor out: ∫ 5ex dx = 5ex + C.

The two impostors

Impostor 1 — e2x: ∫ e2x dx is not e2x + C. Differentiating e2x gives 2e2x (chain rule), so you must divide by 2: ∫ e2x dx = e2x/2 + C. This is u-substitution in disguise (u = 2x). Impostor 2 — x·ex: there is no product rule for integrals — ∫ x·ex dx ≠ ex·(x²/2). That one needs integration by parts, a later technique. And ∫ ex² dx has no elementary antiderivative at all.

Common mistake: writing ∫ e3x dx = e3x + C. Differentiate to check: 3e3x ≠ e3x. Whenever anything sits next to x in the exponent, expect a division — here ÷3.

Worked examples

Four problems, easiest first. In each one, read every step — the why of each move is the lesson.

Example 1 — the basic move: ∫ ex dx

  1. Recognize the self-reproducing function. The integrand is ex with exponent exactly x.
  2. Write the answer: ex + C. (Why so short? Because d/dx [ex] = ex — the check is the proof.)
Common mistake: “doing something” to ex — multiplying by x, adding an exponent. Resist the urge: the whole point of e is that nothing needs doing.
Your turn: Compute ∫ 2ex dx.

Answer: 2ex + C

The constant 2 factors out: 2·∫ ex dx = 2ex + C. Check: d/dx [2ex] = 2ex. ✓

Example 2 — term by term: ∫ (ex + x²) dx

  1. Split: ∫ex dx + ∫x² dx.
  2. First term: ex (self-reproducing). Second term: x³/3 (power rule).
  3. Combine with one +C: ex + x³/3 + C.
  4. Check: d/dx gives ex + x². Matches ✓
Your turn: Compute ∫ (ex + x4) dx.

Answer: ex + x5/5 + C

Split: ∫ ex dx + ∫ x4 dx = ex + x5/5, one +C. Check: d/dx gives ex + x4. ✓

Example 3 — definite: ∫01 ex dx

  1. Antiderivative: ex. (No +C needed for definite integrals — it would cancel.)
  2. Evaluate: e1 − e0 = e − 1 ≈ 1.718.
  3. Sanity check: on [0,1], ex runs from 1 to ≈2.718, so the area should be between 1·1 = 1 and 2.718·1 = 2.718. 1.718 sits inside. ✓
Common mistake: writing e1 − e0 = e − 0. But e0 = 1, not 0 — anything to the power 0 is 1.
Your turn: Compute ∫02 ex dx.

Answer: e2 − 1 ≈ 6.389

Antiderivative ex; evaluate e2 − e0 = e2 − 1. Sanity: on [0,2], ex runs 1→≈7.39, so the area sits between 2 and ≈14.8. 6.389 fits. ✓

Example 4 — another base: ∫ 3x dx

  1. Not base e, so expect a ÷ln 3 correction. Guess: 3x/ln 3.
  2. Verify: d/dx [3x/ln 3] = (3x·ln 3)/ln 3 = 3x. Matches ✓
  3. Answer: 3x/ln 3 + C.
Common mistake: writing 3x + C and skipping the ÷ln 3. The ex rule is the special case ln e = 1 — every other base keeps its logarithm.
Your turn: Compute ∫ 5x dx.

Answer: 5x/ln 5 + C

Not base e, so pay the log tax: guess 5x/ln 5. Verify: d/dx [5x/ln 5] = (5x·ln 5)/ln 5 = 5x. ✓

Memorization tips

  • Say it aloud: “e to the x integrates to e to the x.” The sentence has no moving parts — that is the memory trick.
  • The ln a tax: every other base pays it — ∫ ax dx = ax/ln a + C. e is the base where the tax is 1, i.e. invisible.
  • The exponent test: before writing the answer, glance at the exponent. Exactly x? Fire the rule. Anything else (2x, −x, x²)? Stop — chain-rule fingerprints need u-substitution.
  • Pair with its derivative: d/dx [ex] = ex and ∫ ex dx = ex + C are the same fact read in two directions. Learn one, get the other free.
  • No product rule: x·ex is not ex·(x²/2). If you catch yourself “integrating each factor,” stop.

Final challenge

Five mixed questions — bases, traps, and a rewrite. Score 5/5 and the exponential is yours.

← Back to the Calculus I formula sheet

How to learn a formula here

  1. Read each section in order — every section ends with a short quiz. Take it before moving on; the questions test exactly what you just read.
  2. Work the examples with the answers covered, then uncover one step at a time and compare.
  3. Finish with the final challenge — five mixed questions including the classic traps.
  4. Retake what you miss — every quiz reshuffles each attempt, and every answer explains itself.

Frequently asked questions

What is the integral of ex?

∫ ex dx = ex + C. Since ex is its own derivative, it is also its own antiderivative — the function reproduces itself.

Why is e special for integration?

e is defined as the base with d/dx [ax] = ax·ln a collapsing to exactly ax, because ln e = 1. For any other base a, ∫ ax dx = ax/ln a + C.

What is ∫ 2x dx?

∫ 2x dx = 2x/ln 2 + C. Differentiating 2x gives an extra factor of ln 2, so the antiderivative must divide by ln 2 to cancel it.

Is ∫ e2x dx just e2x + C?

No — the chain rule strikes back. ∫ e2x dx = e2x/2 + C (via u-substitution with u = 2x). Differentiating e2x gives 2e2x, so the ÷2 is required.

Can I integrate x·ex with the exponential rule?

No — there is no product rule for integrals. ∫ x·ex dx is not ex·(x²/2); it needs integration by parts, a later technique.

More from the codex