# Video: Differentiating Composite Functions Involving Trigonometric Ratios Using the Chain Rule

If 𝑦 = sin 𝑥 + 9𝑥 , and 𝑥 = 6𝜋𝑧, find d𝑦 / d𝑧 at 𝑧 = 4.

04:53

### Video Transcript

If 𝑦 equals sin 𝑥 plus nine sec 𝑥 and 𝑥 equals six 𝜋𝑧, find d𝑦 by d𝑧 at 𝑧 equals four.

Let’s have a closer look at what we’ve been given here. Firstly, we have 𝑦, which is a function of 𝑥. And then, we have 𝑥, which is itself a function of 𝑧. And we’re asked to find d𝑦 by d𝑧 for a given value of 𝑧. In order to answer this question then, we need to apply the chain rule, which tells us that if 𝑦 is a function of 𝑥 and 𝑥 is a function of 𝑧 — so that’s exactly the setup we have here — then d𝑦 by d𝑧 is equal to d𝑦 by d𝑥 multiplied by d𝑥 by d𝑧. We therefore need to find expressions for these two derivatives, d𝑦 by d𝑥 and d𝑥 by d𝑧. And we can then multiply them together.

Let’s begin with d𝑥 by d𝑧 as it’s more straightforward. Now, remember, 𝜋 is just a constant. So so it’s six 𝜋. And using the power rule of differentiation, we then find that the derivative of 𝑥 with the respect to 𝑧 is simply six 𝜋. You may see that more easily if you think of 𝑧 as 𝑧 to the first power. So when we apply the power rule of differentiation — that’s multiplying by the exponent and reducing the exponent by one — we get six 𝜋 multiplied by one multiplied by 𝑧 to the power of zero. But 𝑧 to the power of zero is simply one. So this is six 𝜋 multiplied by one multiplied by one, which is just six 𝜋.

Next, let’s find d𝑦 by d𝑥. And we see that 𝑦 is the sum of a trigonometric term and also a reciprocal trigonometric term. So we’re going to need to recall the standard results for differentiating each of these. Firstly, we recall that the derivative with respect to 𝑥 of sin 𝑥 is cos 𝑥. And in order to see this, we’d need to go all the way back to first principles. So we can simply quote this result. But we must remember that it’s only valid when the angle is measured in radians.

Secondly, we recall that the derivative with respect to 𝑥 of the reciprocal trigonometric function sec 𝑥 is sec 𝑥 tan 𝑥. Now, we can just quote this standard result. But in order to remind ourselves where it comes from, we can recall that sec 𝑥 is equal to one over cos 𝑥. And we can then apply the quotient rule to differentiating this fraction, with our function 𝑢 in the numerator equal to one and our function 𝑣 in the denominator equal to cos of 𝑥.

So, differentiating term by term then, we find that d𝑦 by d𝑥 is equal to cos 𝑥 plus nine sec 𝑥 tan 𝑥. Then, to find an expression for d𝑦 by d𝑧, we apply the chain rule. And we multiply these two derivatives together, giving six 𝜋 multiplied by cos 𝑥 plus nine sec 𝑥 tan 𝑥. Now, remember, we’re asked to evaluate this derivative at a particular point. It’s when 𝑧 is equal to four. But our derivative is in terms of 𝑥. Before we can do this then, we need to know what 𝑥 is equal to when 𝑧 is equal to four.

This is relatively straightforward though because we have a simple equation relating 𝑥 and 𝑧. 𝑥 is equal to six 𝜋𝑧. So when 𝑧 is equal to four, 𝑥 is equal to six 𝜋 multiplied by four, which is 24𝜋. Substituting this value for 𝑥 then gives that d𝑦 by d𝑧, evaluated when 𝑧 equals four or when 𝑥 equals 24𝜋, is equal to six 𝜋 multiplied by cos of 24𝜋 plus nine sec of 24𝜋 tan of 24𝜋.

Now, either using a calculator or recalling the shape of our trigonometric graphs or the general properties of our cosine and tangent functions, we should recall that cos of 24𝜋 is equal to one. And tan of 24𝜋 is equal to zero. Sec of 24𝜋, which remember is one over cos of 24𝜋, is one over one, which is also equal to one. So we have six 𝜋 multiplied by one plus nine multiplied by one multiplied by zero. And of course, that second term inside the parentheses just simplifies to zero. We’re left with six 𝜋 multiplied by one, which is simply six 𝜋.

So by applying the chain rule and by recalling the standard results for differentiating trigonometric and reciprocal trigonometric functions, we found that if 𝑦 equals sin 𝑥 plus nine sec 𝑥 and if 𝑥 equals six 𝜋𝑧, then d𝑦 by d𝑧 when 𝑧 equals four is six 𝜋.