### Video Transcript

Find the first derivative of the function π¦ is equal to negative two times the sin of nine π₯ minus four multiplied by the cos of nine π₯ minus four.

In this question, weβre asked to find the first derivative of a function given in terms of the variable π₯. This means we need to differentiate our function with respect to π₯. And we can do this in two different ways. We could start by noticing that our function contains the product of two functions with respect to π₯, the sin of nine π₯ minus four and the cos of nine π₯ minus four. Both of these are differentiable functions and we know how to differentiate them. So we could differentiate this by using the product rule.

However, since each of our products is the composition of two functions, a trigonometric function and a linear function, this means we would also need to use the chain rule to differentiate each of our factors. And this is the first method we could use to evaluate this derivative. However, thereβs actually an easier method. We can notice the argument of both of these functions is the same. And this can remind us of a useful identity, the double angle formula for sin. The sin of two π is equal to two sin π multiplied by cos π. We can then simplify this function by using the double angle formula for sine. Weβll set our value of π equal to nine π₯ minus four.

We then have two π is two multiplied by nine π₯ minus four, which, if we distribute the two over our parentheses, is 18π₯ minus eight. Substituting the expressions for π and two π into our double angle formula, we have the sin of 18π₯ minus eight is equal to two sin of nine π₯ minus four multiplied by the cos of nine π₯ minus four. And this is the negative of the function weβre asked to differentiate. In other words, by using the double angle formula for sine, weβve shown that π¦ is equal to negative the sin of 18π₯ minus eight. And now our function is just the composition of two differentiable functions.

So we can differentiate this by using the chain rule. And we recall the chain rule tells us the derivative of π of π₯ composed of π of π₯ is equal to π prime of π₯ multiplied by π prime evaluated at π of π₯. And this holds provided π of π₯ is differentiable at π₯ and π of π₯ is differentiable at π of π₯. Therefore, to apply the chain rule, weβll set our inner function π of π₯ to be 18π₯ minus eight. And weβll set our outer function π to be negative the sine function. And in the chain rule, weβre using the substitution π’ is equal to 18π₯ minus eight. In fact, we could call this anything. We could even call this π₯.

However, for clarity, weβll give this a different label π’. To apply the chain rule, we need to differentiate both of these functions, π and π. Letβs start with π of π₯. π of π₯ is a linear function. So weβll differentiate this term by term by using the power rule for differentiation. The derivative of a linear function is just the coefficient of π₯. π prime of π₯ is 18. We then need to differentiate our function π. And we can do this by recalling the derivative of the sine function is equal to the cosine function. So the derivative of negative sin of π’ with respect to π’ is negative cos of π’.

We can now substitute our functions π prime of π₯ and π prime of π’ and π of π₯ into our chain rule to evaluate the derivative of π¦ with respect to π₯. We have the derivative of π¦ with respect to π₯ is equal to π prime of π₯ multiplied by π prime evaluated at π of π₯. We have that π prime of π₯ is equal to 18. We have π prime is negative cos of π’. And we need to evaluate this at π of π₯, which is 18π₯ minus eight. Therefore, π¦ prime is equal to 18 multiplied by negative the cos of 18π₯ minus eight. And then distributing 18 over our parentheses, we get our final answer. The derivative of π¦ is equal to negative two times the sin of nine π₯ minus four multiplied by the cos of nine π₯ minus four with respect to π₯ is equal to negative 18 multiplied by the cos of 18π₯ minus eight.