Steply

Integrals with e and ln

Calculus 2 · 22 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. The rules
  2. Integrate
  3. Check

The steps for Integrate ∫ e^(3x) dx. Every solution names its steps, so you always know what comes next.

Worked examples

Integrate ∫ e^(3x) dx Easy

The question

Question: find the integral of e³ˣ.

∫ e3x dx =

1 The rules

First, e to the x.

Its derivative is eˣ itself: its slope equals its height.

So its integral is eˣ + C too.

∫ ex dx = ex + C

With e³ˣ: its derivative is 3 times e³ˣ, by the chain rule.

That 3 must not be there.

So we divide by 3.

∫ e3x dx = 13e3x + C

Careful!

The derivative of e³ˣ is 3 times e³ˣ.

So e³ˣ alone is not the answer: divide by 3.

Careful: not ∫ e3x dx = e3x ✗

2 Integrate

Divide by 3: we get 1/3 times e³ˣ.

Add C: the slope cannot tell us a number added on the end.

So the answer is 1/3 × e³ˣ + C.

∫ e3x dx = 13e3x + C

3 Check

Let's check: take the derivative of our answer.

e to the kx gives k times e to the kx.

derivative: 13 × 3e3x

The numbers cancel, and we get e³ˣ: the question again.

Right!

= e3x

Let's look back.

First: the rules.

Then: integrate.

Last: check.

Answer
∫ e3x dx = 13e3x + C

▶ Watch it solved

Integrate ∫ (e^x + 3/x) dx Medium

The question

Question: find the integral of eˣ + 3 over x.

∫ (ex + 3x) dx =

1 The rules

First, e to the x.

Its derivative is eˣ itself: its slope equals its height.

So its integral is eˣ + C too.

∫ ex dx = ex + C

Now 1 over x.

The power rule cannot do it: x to the −1 would become x to the 0, over 0.

Instead: the derivative of ln x is 1 over x.

So the integral of 1/x is ln|x| + C.

∫ 1x dx = ln|x| + C

The bars mean the size of x.

ln only takes positive numbers, and x may be negative.

|x|: ln needs a number > 0

Careful!

The power rule fails for 1/x: the new power would be 0, and we cannot divide by 0.

Use ln.

Careful: not x00 ✗

2 Each term

e to the x stays e to the x.

∫ ex dx = ex

3 times 1 over the bottom gives 3 ln|x|.

∫ 3x dx = 3ln|x|

Put the terms together, and add C: the slope cannot tell us a number added on the end.

So the answer is eˣ + 3 ln|x| + C.

= ex + 3ln|x| + C

3 Check

Let's check: take the derivative of our answer.

ln of the bottom gives its slope over the bottom.

derivative: ex + 3 × 1x

The numbers cancel, and we get eˣ + 3/x: the question again.

Right!

= ex + 3x

Let's look back.

First: the rules.

Then: each term.

Last: check.

Answer
= ex + 3ln|x| + C

▶ Watch it solved

Integrate ∫ (8e^(-2x) + 3/x - 6x^2) dx Harder

The question

Question: find the integral of 8e⁻²ˣ + 3/x − 6x².

∫ (8e−2x + 3x − 6x2) dx =

1 The rules

First, e to the x.

Its derivative is eˣ itself: its slope equals its height.

So its integral is eˣ + C too.

∫ ex dx = ex + C

With e⁻²ˣ: its derivative is −2 times e⁻²ˣ, by the chain rule.

That −2 must not be there.

So we divide by −2.

∫ e−2x dx = 1−2e−2x + C

Now 1 over x.

The power rule cannot do it: x to the −1 would become x to the 0, over 0.

Instead: the derivative of ln x is 1 over x.

So the integral of 1/x is ln|x| + C.

∫ 1x dx = ln|x| + C

The bars mean the size of x.

ln only takes positive numbers, and x may be negative.

|x|: ln needs a number > 0

Powers of x use the power rule: add 1 to the power, divide by the new power.

xn → xn + 1n + 1

Careful!

The derivative of e⁻²ˣ is −2 times e⁻²ˣ.

So e⁻²ˣ alone is not the answer: divide by −2.

Careful: not ∫ e−2x dx = e−2x ✗

2 Each term

Divide by −2: 8 over −2 is −4.

∫ 8e−2x dx = −4e−2x

3 times 1 over the bottom gives 3 ln|x|.

∫ 3x dx = 3ln|x|

The power rule.

∫ −6x2 dx = −2x3

Put the terms together, and add C: the slope cannot tell us a number added on the end.

So the answer is −4e⁻²ˣ + 3 ln|x| − 2x³ + C.

= −4e−2x + 3ln|x| − 2x3 + C

3 Check

Let's check: take the derivative of our answer.

e to the kx gives k times e to the kx.

ln of the bottom gives its slope over the bottom.

derivative: −4 × −2e−2x + 3 × 1x − 6x2

The numbers cancel, and we get 8e⁻²ˣ + 3/x − 6x²: the question again.

Right!

= 8e−2x + 3x − 6x2

Let's look back.

First: the rules.

Then: each term.

Last: check.

Answer
= −4e−2x + 3ln|x| − 2x3 + C

▶ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. ∫ e^(3x) dx
    Answer
    ∫ e3x dx = 13e3x + C
  2. ∫ 5/x dx
    Answer
    ∫ 5x dx = 5ln|x| + C
  3. ∫ 4e^x dx
    Answer
    ∫ 4ex dx = 4ex + C
  4. ∫ e^(-x) dx
    Answer
    ∫ e−x dx = −e−x + C
  5. ∫ e^(5x) dx
    Answer
    ∫ e5x dx = 15e5x + C
  6. ∫ 3e^(2x) dx
    Answer
    ∫ 3e2x dx = 32e2x + C
  7. ∫ -6/x dx
    Answer
    ∫ −6x dx = −6ln|x| + C
  8. ∫ e^(-4x) dx
    Answer
    ∫ e−4x dx = −14e−4x + C

Medium

  1. ∫ (e^x + 3/x) dx
    Answer
    = ex + 3ln|x| + C
  2. ∫ (2e^x - 1/x + 4x) dx
    Answer
    = 2ex − ln|x| + 2x2 + C
  3. ∫ 6/(2x + 1) dx
    Answer
    ∫ 62x + 1 dx = 3ln|2x + 1| + C
  4. ∫ 4/(x - 3) dx
    Answer
    ∫ 4x − 3 dx = 4ln|x − 3| + C
  5. ∫ (6e^(2x) - 2/x) dx
    Answer
    = 3e2x − 2ln|x| + C
  6. ∫ (x^2 + 5/x) dx
    Answer
    = x33 + 5ln|x| + C
  7. ∫ 10/(5x + 2) dx
    Answer
    ∫ 105x + 2 dx = 2ln|5x + 2| + C
  8. ∫ from 1 to 3 of 2/x dx
    Answer
    = 2ln 3 ≈ 2.197
  9. ∫ from 0 to 1 of e^(2x) dx
    Answer
    = 12(e2 − 1) ≈ 3.195

Harder

  1. ∫ (8e^(-2x) + 3/x - 6x^2) dx
    Answer
    = −4e−2x + 3ln|x| − 2x3 + C
  2. ∫ from 2 to 6 of 3/x dx
    Answer
    = 3ln 3 ≈ 3.296
  3. ∫ from 0 to 1 of 6e^(3x) dx
    Answer
    = 2(e3 − 1) ≈ 38.171
  4. ∫ from 1 to 4 of 6/(2x + 1) dx
    Answer
    = 3ln 3 ≈ 3.296
  5. ∫ (3/(x + 2) - 4e^(2x)) dx
    Answer
    = 3ln|x + 2| − 2e2x + C