The derivative of e^3x is 3e^3x

## How to calculate the derivative of e^3x

The chain rule is useful for finding the derivative of a function which could have been differentiated had it been in x, but it is in the form of another expression which could also be differentiated if it stood on its own.

In this case:

- We know how to differentiate ex (the answer is ex)
- We know how to differentiate 3x (the answer is 3)

Because e^3x is a function which is a combination of ex and 3x, it means we can perform the differentiation of e to the 3x by making use of the chain rule.

#### Using the chain rule to find the derivative of e^3x

Although the function e3x contains no parenthesis, we can still view it as a composite function (a function of a function).

If we add parenthesis around the exponent, we get e(3x).

Now the function is in the form of the standard exponential function ex, except it does not have x as an exponent, instead the exponent is another function of x (3x).

Let’s call the function in the exponent g(x), which means:

g(x) = 3x

From this it follows that:

e3x = eg(x)

Let’s set f(x) = ex.

Then, because g(x) = 3x, the function e3x can be written as a composite function of f(x) and g(x).

f(x) = ex

f(g(x)) = eg(x) (but g(x) = 3x)

Therefore, f(g(x)) = e3x

Let’s define this composite function as F(x):

F(x) = f(g(x)) = e3x

We can now find the derivative of F(x) = e^3x, F'(x), by making use of the chain rule.

The Chain Rule:

For two differentiable functions f(x) and g(x)

If F(x) = f(g(x))

Then the derivative of F(x) is F'(x) = f’(g(x)).g’(x)

Now we can just plug f(x) and g(x) into the chain rule to find the derivative of e to the 3x.

How to find the derivative of e^3x using the Chain Rule:

F'(x) | = f'(g(x)).g'(x) | Chain Rule Definition |

= f'(g(x))(3) | g(x) = 3x ⇒ g'(x) = 3 | |

= (e^3x).3 | f(g(x)) = e^3x ⇒ f'(g(x)) = e^3x | |

= 3e^(3x) |

Using the chain rule, the derivative of e^3x is 3e^3x

Finally, just a note on syntax and notation: the exponential function e^3x is sometimes written in the forms shown below (the derivative of each is as per the calculations above). Just be aware that not all of the forms below are mathematically correct.

e3x | ► Derivative of e3x = 3e3x |

e^(3x) | ► Derivative of e^(3x) = 3e3x |

e 3x | ► Derivative of e 3x = 3e3x |

e 3 x | ► Derivative of e 3 x = 3e3x |

e to the 3x | ► Derivative of e to the 3x = 3e3x |

Top Tip

It’s possible to generalize the derivative of expressions in the form e^ax (where a is a constant value):

The derivative of eax = aeax

(Add the constant a to the front of the expression and keep the exponential part the same)

## The Second Derivative of e^3x

To calculate the second derivative of a function, you just differentiate the first derivative.

From above, we found that the first derivative of e^3x = 3e^(3x). So to find the second derivative of e^3x, we just need to differentiate 3e3x

We can use the chain rule to calculate the derivative of 3e3x and get an answer of 9e3x.

► The second derivative of e^3x = 9e^(3x)