# Question Video: Finding the First Derivative of an Exponential Function with an Integer Base Mathematics • Higher Education

If 𝑦 = −3 × 2^𝑥, determine 𝑑𝑦/𝑑𝑥.

03:34

### Video Transcript

If 𝑦 equals negative three times two to the 𝑥, determine 𝑑𝑦 by 𝑑𝑥.

We want to find 𝑑𝑦 by 𝑑𝑥. And as 𝑦 equals negative three times two to the 𝑥, that means differentiating negative three times two to the 𝑥 with respect to 𝑥. As the derivative of a number times a function is that number times the derivative of the function, all we have to do now is differentiate two to the 𝑥 with respect to 𝑥.

How do we differentiate the exponential function with base two, two to the 𝑥? Hopefully, we know about the number 𝑒, whose special property is that the derivative of 𝑒 to the 𝑥 with respect to 𝑥 is 𝑒 to the 𝑥. Whenever we differentiate an expression, where the variable we’re differentiating with respect to — in our case 𝑥 — appears in an exponent, then this is a fact we need to use. This means taking any exponential term that we want to differentiate and rewriting it so its base is 𝑒.

How do we do this with two to the 𝑥? Well, we can rewrite two as 𝑒 to the natural logarithm of two. And then using one of our exponent laws, we get that two to the 𝑥 is 𝑒 to the natural logarithm of two times 𝑥. We’ve made the base 𝑒. Now, how does that help? Well, we can apply the chain rule.

If we let 𝑧 equal the natural logarithm of two times 𝑥, then we need to find negative three times the derivative with respect to 𝑥 of 𝑒 to the 𝑧. Now applying the chain rule with 𝑓 equal to 𝑒 to the 𝑧, we get negative three times 𝑑 by 𝑑𝑧 of 𝑒 to the 𝑧 times 𝑑𝑧 by 𝑑𝑥.

Let’s clear some space. Here, I’ve just copied the last line of working. What is 𝑑 by 𝑑𝑧 of 𝑒 to the 𝑧? Well, just like 𝑑 by 𝑑𝑥 of 𝑒 to the 𝑥 is 𝑒 to the 𝑥 or 𝑑 by 𝑑𝑞 of 𝑒 to the 𝑞 is 𝑒 to the 𝑞, 𝑑 by 𝑑 𝑧 of 𝑒 to the 𝑧 is 𝑒 to the 𝑧. And how about 𝑑𝑧 by 𝑑𝑥? Well, 𝑧 is the natural logarithm of two times 𝑥. So 𝑑𝑧 by 𝑑𝑥 is just the natural logarithm of two.

Are we done? Well, not quite, we have 𝑑𝑦 by 𝑑𝑥 in terms of 𝑧 and would really rather prefer it to be in terms of 𝑥. We can substitute the natural logarithm of two times 𝑥 for 𝑧. And now, we have our answer written in terms of 𝑥. But we can do even better.

Earlier, we showed that we could rewrite two to the 𝑥 with a base of 𝑒 as 𝑒 to the natural logarithm of two times 𝑥. Now, we can do the reverse — rewriting 𝑒 to the natural logarithm of two times 𝑥 as two to the 𝑥. And so our final answer is negative three times two to the 𝑥 times natural logarithm of two.

In general, if you want to differentiate an expression involving two to the 𝑥 or three to the 𝑥 or even as you might see later 𝑥 to the 𝑥, you should first write that exponential with a base of 𝑒. This will probably involve using the natural logarithm function and some laws of exponents. Having written all the exponentials with a base of 𝑒, you can then differentiate using the chain rule.