Steply

Derivative of 3^(2x)

Step by step, with the reason for every step · Derivatives of bˣ / Derivatives of logarithms · Calculus 1

Step by step

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

Your turn

Try this one yourself, then check:

Find the derivative of f(x) = 2ˣ
Show the answer
f′(x) = 2ˣ ln 2

More from Derivatives of bˣ / Derivatives of logarithms

The whole lesson: Derivatives of bˣ / Derivatives of logarithms →