Steply

Derivatives of bˣ / Derivatives of logarithms

Calculus 1 · 24 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. Write it with e
  2. The rule
  3. Tidy up
  4. Check

The steps for Derivative of 2^x. Every solution names its steps, so you always know what comes next.

Worked examples

Derivative of 2^x Easy

The question

Question: find the derivative of f(x) = 2ˣ.

f(x) = 2ˣ

1 Write it with e

We know how to take the derivative of e to a power.

And any number is e to a power: 2 is e to the ln 2.

2 = e^(ln 2)

So 2 to the x is e to the x times ln 2.

2ˣ = e^(x ln 2)

2 The rule

The derivative of e to a power is itself, times the slope of the power: ln 2.

ddxe^(x ln 2) = e^(x ln 2) × ln 2

The rule: b to the x gives b to the x, times ln b.

bˣ → bˣ ln b

Careful!

The power rule is only for x to a fixed number.

Here x is in the power: use b to the x, times ln b.

Careful: not 2ˣ → x2^(x − 1) ✗

3 Tidy up

Put it back in base 2: f′(x) = 2ˣ ln 2.

f′(x) = 2ˣ ln 2

4 Check

Let's check: the derivative is the slope.

At x = 1, our answer gives 1.3863, with a calculator.

f′(1) = 1.3863

Now the slope between two very close points: x = 1 and x = 1.001.

A calculator gives about 1.39.

Very close to 1.3863.

Right!

f(1.001) − f(1)0.001 ≈ 1.39

Let's look back.

First: write it with e.

Then: the rule.

Then: tidy up.

Last: check.

Answer
f′(x) = 2ˣ ln 2

▶ Watch it solved

Derivative of 3^(2x) Medium

The question

Question: find the derivative of f(x) = 3^(2x).

f(x) = 3^(2x)

1 Write it with e

We know how to take the derivative of e to a power.

And any number is e to a power: 3 is e to the ln 3.

3 = e^(ln 3)

So 3 to the 2x is e to the 2x times ln 3.

3^(2x) = e^((2x) ln 3)

2 The rule

The derivative of e to a power is itself, times the slope of the power: 2 times ln 3.

ddxe^((2x) ln 3) = e^((2x) ln 3) × 2 × ln 3

The rule: b to the x gives b to the x, times ln b.

bˣ → bˣ ln b

Careful!

The power rule is only for x to a fixed number.

Here x is in the power: use b to the x, times ln b.

Careful: not 3ˣ → x3^(x − 1) ✗

3 Tidy up

Put it back in base 3, with the numbers in front: f′(x) = 2 × 3^(2x) ln 3.

f′(x) = 2 × 3^(2x) ln 3

4 Check

Let's check: the derivative is the slope.

At x = 1, our answer gives 19.775, with a calculator.

f′(1) = 19.775

Now the slope between two very close points: x = 1 and x = 1.001.

A calculator gives about 19.8.

Very close to 19.775.

Right!

f(1.001) − f(1)0.001 ≈ 19.8

Let's look back.

First: write it with e.

Then: the rule.

Then: tidy up.

Last: check.

Answer
f′(x) = 2 × 3^(2x) ln 3

▶ Watch it solved

Derivative of 2^(x^2) Harder

The question

Question: find the derivative of f(x) = 2^(x²).

f(x) = 2^(x²)

1 Write it with e

We know how to take the derivative of e to a power.

And any number is e to a power: 2 is e to the ln 2.

2 = e^(ln 2)

So 2 to the x² is e to the x² times ln 2.

2^(x²) = e^((x²) ln 2)

2 The rule

The derivative of e to a power is itself, times the slope of the power: 2x times ln 2.

ddxe^((x²) ln 2) = e^((x²) ln 2) × 2x × ln 2

The rule: b to the x gives b to the x, times ln b.

bˣ → bˣ ln b

Careful!

The power rule is only for x to a fixed number.

Here x is in the power: use b to the x, times ln b.

Careful: not 2ˣ → x2^(x − 1) ✗

3 Tidy up

Put it back in base 2, with the numbers in front: f′(x) = 2x × 2^(x²) ln 2.

f′(x) = 2x × 2^(x²) ln 2

4 Check

Let's check: the derivative is the slope.

At x = 1, our answer gives 2.7726, with a calculator.

f′(1) = 2.7726

Now the slope between two very close points: x = 1 and x = 1.001.

A calculator gives about 2.78.

Very close to 2.7726.

Right!

f(1.001) − f(1)0.001 ≈ 2.78

Let's look back.

First: write it with e.

Then: the rule.

Then: tidy up.

Last: check.

Answer
f′(x) = 2x × 2^(x²) ln 2

▶ Watch it solved

Practice

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

Easy

  1. derivative of 2^x
    Answer
    f′(x) = 2ˣ ln 2
  2. derivative of 3^x
    Answer
    f′(x) = 3ˣ ln 3
  3. derivative of 10^x
    Answer
    f′(x) = 10ˣ ln 10
  4. derivative of 5^x
    Answer
    f′(x) = 5ˣ ln 5
  5. derivative of 4 × 3^x
    Answer
    f′(x) = 4 × 3ˣ ln 3
  6. derivative of 7 × 2^x
    Answer
    f′(x) = 7 × 2ˣ ln 2
  7. derivative of log_2(x)
    Answer
    f′(x) = 1x ln 2
  8. derivative of log_3(x)
    Answer
    f′(x) = 1x ln 3
  9. derivative of log(x)
    Answer
    f′(x) = 1x ln 10
  10. derivative of 5log_2(x)
    Answer
    f′(x) = 5x ln 2

Medium

  1. derivative of 3^(2x)
    Answer
    f′(x) = 2 × 3^(2x) ln 3
  2. derivative of 5^(3x)
    Answer
    f′(x) = 3 × 5^(3x) ln 5
  3. derivative of 2^(4x)
    Answer
    f′(x) = 4 × 2^(4x) ln 2
  4. derivative of 10^(2x)
    Answer
    f′(x) = 2 × 10^(2x) ln 10
  5. derivative of log_2(3x)
    Answer
    f′(x) = 33x ln 2
  6. derivative of log(5x + 1)
    Answer
    f′(x) = 5(5x + 1) ln 10
  7. y = 2^(5x), find dy/dx
    Answer
    dydx = 5 × 2^(5x) ln 2

Harder

  1. derivative of 2^(x^2)
    Answer
    f′(x) = 2x × 2^(x²) ln 2
  2. derivative of 3^(x^2 + 1)
    Answer
    f′(x) = 2x × 3^(x² + 1) ln 3
  3. derivative of log_5(x^2)
    Answer
    f′(x) = 2xx2 ln 5
  4. derivative of log_3(x^2 + 1)
    Answer
    f′(x) = 2x(x2 + 1) ln 3
  5. derivative of log_2(x^2 + 4)
    Answer
    f′(x) = 2x(x2 + 4) ln 2
  6. derivative of 4log_3(2x + 1)
    Answer
    f′(x) = 8(2x + 1) ln 3
  7. y = log_2(x^2 + 3), find dy/dx
    Answer
    dydx = 2x(x2 + 3) ln 2