The derivative of e^-x is -e^-x

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

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

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

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

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

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

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

g(x) = -x

From this it follows that:

e-x = eg(x)

Let’s set f(x) = ex.

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

f(x) = ex

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

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

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

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

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

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

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

= f'(g(x))(-1) | g(x) = -x ⇒ g'(x) = –1 | |

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

= -e^(-x) |

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

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

e-x | ► Derivative of e-x = -e-x |

e^(-x) | ► Derivative of e^(-x) = -e-x |

e -x | ► Derivative of e -x = -e-x |

e – x | ► Derivative of e – x = -e-x |

e to the negative x | ► Derivative of e to the negative x = -e-x |

e to the -x | ► Derivative of e to the -x = -e-x |

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

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

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

We can use the chain rule to calculate the derivative of -e-x and get an answer of e-x (i.e. the second derivative of e-x is just itself).

► The second derivative of e^-x = e^(-x)