### Video Transcript

Let π be the function defined by π of π₯ equals two sin of three π₯ plus π to the power of cos π₯. Let π be a differentiable function. The table shown gives values of π and its derivative π prime at selected values of π₯. Let π¦ be the function whose graph, consisting of five line segments, is shown in the given figure. Part one, find the slope of the line tangent to the graph of π at π₯ equals π by two.

In other words, weβre looking for the derivative π prime evaluated at π by two. To find this, we first have to find π prime of π₯, which we do by using the expression we have for π of π₯. We differentiate this term by term. The derivative of two sin three π₯ is six cos three π₯. We see this by using the chain rule. Setting three π₯ equal to π’ and applying the chain rule gives us dπ’ by dπ₯ times d by dπ’ of two sin π’. π’ is three π₯. And so dπ’ by dπ₯ is just three. And d by dπ’ of two sin π’ as sine differentiates to cosine is two cos π’. As three times two is six and π’ is three π₯, we get the answer six cos three π₯.

Now we just need to differentiate the other term, π to the power of cos π₯. This is a slightly more tricky application of the chain rule. This time, we set π’ to be cos π₯. And so we want to find d by dπ₯ of π to the power of π’. And by the chain rule, this is dπ’ by dπ₯ times d by dπ’ of π to the π’. What is dπ’ by dπ₯? Well, π’ is cos π₯. And differentiating this, we find that it is negative sin π₯. Cos differentiates to negative sine. Now what about d by dπ’ of π to the π’? Well, the derivative of the exponential function is itself. So we get π to the π’. Using the fact that π’ is cos π₯, we find the derivative in terms of π₯ alone. Itβs negative sin π₯ times π to the cos π₯. We therefore see that π prime of π₯ is six cos three π₯ minus sin π₯ times π to the cos π₯.

We want π prime of π by two. So we have to substitute π by two for π₯. Now we can evaluate using the fact that cos of three π by two is zero. Sin of π by two is one. And cos of π by two is zero. This is just negative one times π to the zero. And as anything to the power of zero is one, this is just negative one. So the slope of the line tangent to the graph of π at π₯ equals π by two is negative one.

Part two of the question says let β be the function defined by β of π₯ equals π¦ of π of π₯. Find β prime of π by two.

What is β prime of π₯? Well, β is this composition of functions. And how do we differentiate a composition of functions? We use the chain rule. For any two functions π¦ and π, the derivative of π¦ of π of π₯ is π prime of π₯ times π¦ of π prime of π₯. We want to find β prime of π by two. So we substitute π by two for π₯. Our answer involves π prime of π by two, which is good news. Because in part one, we found that π prime of π by two was negative one. β prime of π by two is therefore negative one times π¦ of negative one. And we can read off the value of π¦ of negative one from the graph of π¦. This graph is piecewise linear. And so itβs not too hard to see that π¦ of negative one is negative a third. β prime of π by two, which is negative one times this, is therefore a third. We move on to part three.

Let π be the function defined by π of π₯ equals π of three π₯ times π¦ of π₯. Find π prime of negative one.

π of π₯ is the product of two functions. And so to differentiate it, we have to use the product rule. The derivative of π of π₯ times π of π₯ is π prime of π₯ times π of π₯ plus π of π₯ times π prime of π₯. And now we have to be slightly careful because the derivative of π of three π₯ is not the same thing as the derivative of π evaluated at three π₯. We have to use the chain rule here. Setting π’ equal to three π₯ and applying the chain rule, dπ’ by dπ₯ is three. And the derivative of π is π prime. Recall that π’ is three π₯. And so our derivative is three times π prime evaluated at three π₯.

And to drive the point home, this is not π prime of three π₯, but three times this value. So we substitute this. And the first term becomes three π prime of three π₯ times π¦ of π₯. The second term is more straightforward. The derivative of π¦ of π₯ really is just π¦ prime of π₯. We donβt have to apply the chain rule.

And so now weβre ready to substitute. So we substitute and use the fact that three times negative one is negative three to simplify. Now we can read off the value of π prime of negative three from the table. Itβs negative two. And similarly, we can find the value of π¦ of negative one using our graph. In fact, we found it to be negative a third in the previous part of the question. We can read off π of negative three as well from the table. Itβs negative eight. And finally, what is π¦ prime of negative one? Well, itβs the slope of the graph of π¦ at negative one. And that graph is piecewise linear. We can calculate the slope using rise over run, taking the points negative three, negative one and zero, zero. The slope is the change in π¦ over the change in π₯, which simplifies to a third. So π¦ prime of negative one is a third. Doing the arithmetic, we find that π prime of negative one is therefore negative two-thirds.

Part four asks us, is there a number π in the closed interval from negative four to negative two such that π prime of π is negative five. Justify your answer.

Looking at our table of values, we donβt see a value of π for which π prime of π is negative five. And you might think, looking at the pattern in π prime of π₯, that π prime of π₯ is increasing by two each time from negative four. And so will never be negative five in the interval required. However, the answer is yes. There is a number π in that closed interval such that π prime of π is negative five. The mean value theorem states that if π is differentiable on the closed interval π, π as our function is differentiable on the closed interval negative four, negative two. Then there exists a number π in this closed interval such that π prime of π is the average rate of change of the function over this closed interval. Thatβs π of π minus π of π all over π minus π.

Applying this theorem to our function and the interval negative four, negative two. We see that there exists π such that π prime of π is π of negative two minus π of negative four all over negative two minus negative four. Now we can read off the values of π of negative two and π of negative four. They are negative nine and one. So the numerator becomes negative nine minus one, which is negative 10. And of course, in the denominator, negative two minus negative four is just two. Negative 10 over two is negative five. And so there exists a number π such that π prime of π is equal to negative five. This number π is in the closed interval from negative four to negative two. And thereβs nothing special about the letter π. We can call it π instead. And so we have justified our positive answer to part four of this question.

Perhaps we should also write down that π is differentiable on the closed interval from negative four to negative two, which we need for the mean value theorem to apply. We were told in the question that π is differentiable. Period. So this is fine.