# The Derivative of e^-2x The derivative of e^-2x is -2e^-2x

## How to calculate the derivative of e^-2x

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 -2x (the answer is -2)

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

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

Although the function e-2x 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(-2x).

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 (-2x).

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

g(x) = -2x

From this it follows that:

e-2x = eg(x)

Let’s set f(x) = ex.

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

f(x) = ex

f(g(x)) = eg(x) (but g(x) = -2x)

Therefore, f(g(x)) = e-2x

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

F(x) = f(g(x)) = e-2x

We can now find the derivative of F(x) = e^-2x, 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 -2x.

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

Using the chain rule, the derivative of e^-2x is -2e^-2x

Finally, just a note on syntax and notation: the exponential function e^-2x 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.

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^-2x

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

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

We can use the chain rule to calculate the derivative of -2e-2x and get an answer of 4e-2x.

The second derivative of e^-2x = 4e^(-2x)