### Video Transcript

If π of π₯ equals two π to the power of cos five π₯, what is the value of π prime of zero?

We recall, first of all, that this notation π prime of zero means weβre looking to find the first derivative of π evaluated at π₯ equals zero. So, the first thing we need to do is find a general expression for the first derivative π prime of π₯. Now, looking at our function π of π₯, we can see that itβs fairly complicated. It involves an exponential and then this is raised to a trigonometric power, cos of five π₯. Weβre going to need to recall a number of different rules of differentiation, namely, how to differentiate exponentials, how to differentiate trigonometric terms, but also how to differentiate a composite function; that is a function of another function.

We differentiate composite functions using the chain rule, which tells us that if π is a function of π’ and π’ is itself a function of π₯, then the derivative of π with respect to π₯ is equal to the derivative of π with respect to π’ multiplied by the derivative of π’ with respect to π₯ or dπ by dπ₯ equals dπ by dπ’ times dπ’ by dπ₯. What weβre going to do then is to define the function π’ to be the expression in the exponent. So, π’ is equal to cos of five π₯. π will then be equal to two π to the power of π’. And so, we have π as a function of π’ and π’ as a function of π₯, which means we can apply the chain rule.

First though, we need to find the individual derivatives dπ’ by dπ₯ and dπ by dπ’. Beginning with dπ’ by dπ₯, we recall the standard result for differentiating a cosine function, which is that the derivative with respect to π₯ of cos of ππ₯ for some constant π is equal to negative π multiplied by sin of ππ₯ provided the angle is measured in radians. So, we see that dπ’ by dπ₯ will be equal to negative five sin five π₯. To find dπ by dπ’, we need to recall the standard result for differentiating an exponential. And in fact, we remember that the derivative of π to the power of π₯ is simply π to the power of π₯. So, the derivative of π to the power of π’ with respect to π’ will simply be π to the power of π’. And we have a multiplicative constant of two. So, we found each of our individual derivatives dπ by dπ’ and dπ’ by dπ₯.

The chain rule tells us that to find dπ by dπ₯ or π prime of π₯, we multiply these derivatives together. We have then that π prime of π₯ is equal to two π to the power of π’ multiplied by negative five sin five π₯. Now, remember, weβre later going to evaluate this when π₯ is equal to zero. But before we can do this, we need to make sure our derivative is in terms of π₯ only. So, we need to undo the substitution that we made. We define π’ to be equal to cos of five π₯. So replacing π’ with this expression in π₯ and simplifying the coefficient at the same time, we now have that π prime of π₯ is equal to negative 10π to the power of cos five π₯ sin five π₯. To evaluate this derivative for a particular π₯-value, we just need to substitute that π₯-value throughout.

So, we have that π prime of zero is a equal to negative 10 multiplied by π to the power of cos of five times zero multiplied by sin of five times zero. Of course, five times zero is simply zero. And we then recall that cos of zero is one and sin of zero is zero. So, we have negative 10π to the first power multiplied by zero. But of course, multiplying anything by zero simply results in an answer of zero. By applying the chain rule then and recalling standard results for differentiating trigonometric and exponential functions, we found that for this function π of π₯, its first derivative evaluated at π₯ equals zero is simply zero.

Now, in fact, there is a slight shortcut we could have taken if we recall a more general result for differentiating exponential functions. We recall that if we have an exponential to the power of some function π of π₯, then its derivative with respect to π₯ is equal to π prime of π₯ multiplied by π to the power of π of π₯. In this case then, our function π of π₯ is the exponent. Thatβs cos of five π₯. Its derivative with respect to π₯ we already know itβs negative five multiplied by sin five π₯.

So by applying this standard result for differentiating exponential functions, we see that π prime of π₯ is equal to two multiplied by negative five sin five π₯ multiplied by π to the power of cos five π₯. Simplifying and we get negative 10π to the power of cos five π₯ multiplied by sin five π₯, which we see is what we had for our derivative at this stage here.

So, itβs a slight shortcut. But itβs really just a slightly more informal version of the chain rule. Whichever method you use, we get the same answer. Weβve found that π prime of zero is equal to zero.