# Question Video: Differentiating Natural Exponential Functions Using the Chain Rule Mathematics

Determine the derivative of 𝑔(𝑥) = −5𝑒^(−3𝑥² + 3𝑥).

03:42

### Video Transcript

Determine the derivative of 𝑔 𝑥 equals negative five 𝑒 to the power of negative three 𝑥 squared plus three 𝑥.

Now if you want to actually differentiate this function, we’re first gonna rewrite it. And I have actually written it as the derivative of our function is equal to negative five multiplied by 𝑑 𝑑𝑥 of 𝑒 to the power of negative three 𝑥 squared plus three 𝑥. The reason I’ve done this is because, actually, the negative five is just a common factor. So we can actually deal with that separately.

So now what we need to do is actually differentiate 𝑒 to the power of negative three 𝑥 squared plus three 𝑥. Now in order to actually differentiate this, what we can use is the chain rule. So what the chain rule actually states is that 𝑑𝑦 𝑑𝑥 or our derivative is equal to 𝑑𝑦 𝑑𝑢 multiplied by 𝑑𝑢 𝑑𝑥. And we can use this when 𝑦 is in a function of 𝑢 and 𝑢 is in a function of 𝑥.

So the first thing we need to do is ask ourselves what are 𝑦 and 𝑢. Well, we need to decide what we’re gonna have as our 𝑦 and our 𝑢. Well, first of all, 𝑢 is actually going to be our exponent. So it’s gonna be negative three 𝑥 squared plus three 𝑥. And therefore, 𝑦 is gonna be equal to 𝑒 to the power of 𝑢. So as we said was required to actually use the chain rule, we’ve got 𝑦 in a function of 𝑢 and 𝑢 is a function of 𝑥.

So now what I need to do is actually find 𝑑𝑢 𝑑𝑥 and 𝑑𝑦 𝑑𝑥. We’re gonna start with 𝑑𝑢 𝑑𝑥. So we’re gonna differentiate negative three 𝑥 squared plus three 𝑥. And when we do that, we get negative six 𝑥 plus three. As a quick reminder of how we actually differentiate that, I’m just gonna pick the first term. And we had our exponent two multiplied by coefficient negative three. So it gives us negative six. And we’ve got 𝑥 to the power of two minus one cause we subtract one from the exponent, which just gives us 𝑥 to the power of one, or just 𝑥. So we get negative six 𝑥.

Okay, great! We differentiated that. Now let’s move on and differentiate 𝑦 equals 𝑒 to the power of 𝑢. Well, when we differentiate 𝑒 to the power of 𝑢, we actually just get 𝑒 to the power of 𝑢. And we get that because 𝑒 is a special number for which the gradient of 𝑒 to the power of 𝑥 is just 𝑒 to the power of 𝑥. And therefore, if the gradient of 𝑒 to the power of 𝑥 is 𝑒 to the power of 𝑥, and that means when we differentiate 𝑒 to the power of 𝑥, we’re just going to get 𝑒 to the power of 𝑥.

Okay, great! So we’ve now done that, let’s use the chain rule and put it all together. So therefore, we can say that 𝑑𝑦 𝑑𝑥 is equal to negative five, because that was our constant that we actually took out in the beginning, multiplied by 𝑒 to the power of 𝑢, because that’s 𝑑𝑦 𝑑𝑢, and then multiplied by negative six 𝑥 plus three, because that was our 𝑑𝑢 𝑑𝑥.

Now let’s tidy this up a bit. So when we actually tidy up, we get 30𝑥. And that’s because we had negative five multiplied by negative six 𝑥 and then minus 15, because we had negative five multiplied by three. Then this is multiplied by 𝑒 to the power of 𝑢.

But have we finished? Well, no, we haven’t actually finished because our differential is still in terms of 𝑥 and 𝑢. And we actually just want it in terms of 𝑥. So what we need to do now is substitute back in our value for 𝑢. Well then, therefore, we can say that the derivative of negative five 𝑒 to the power of negative three 𝑥 squared plus three 𝑥 is equal to 30𝑥 minus 15 multiplied by 𝑒 to the power of negative three 𝑥 squared plus three 𝑥.