Steply

Derivative of 3^(x^2 + 1)

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^(x² + 1).

f(x) = 3^(x² + 1)

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 x² + 1 is e to the x² + 1 times ln 3.

3^(x² + 1) = e^((x² + 1) ln 3)

2 The rule

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

ddxe^((x² + 1) ln 3) = e^((x² + 1) ln 3) × 2x × 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) = 2x × 3^(x² + 1) ln 3.

f′(x) = 2x × 3^(x² + 1) 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.81.

Very close to 19.775.

Right!

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

Let's look back.

First: write it with e.

Then: the rule.

Then: tidy up.

Last: check.

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

Your turn

Try this one yourself, then check:

Find the derivative of f(x) = 10^(x² + 4)
Show the answer
f′(x) = 2x × 10^(x² + 4) ln 10

More from Derivatives of bˣ / Derivatives of logarithms

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