Question Video: Finding the Second Derivative of Composite Functions Using the Chain Rule | Nagwa Question Video: Finding the Second Derivative of Composite Functions Using the Chain Rule | Nagwa

Question Video: Finding the Second Derivative of Composite Functions Using the Chain Rule Mathematics • Third Year of Secondary School

Suppose 𝑦 = 𝑧⁸ and 𝑧 = −𝑥 − 1. Find 𝑑²𝑦/𝑑𝑥².

03:39

Video Transcript

Suppose 𝑦 equals 𝑧 to the eight and 𝑧 equals minus 𝑥 minus one. Find 𝑑 squared 𝑦 by 𝑑𝑥 squared.

This 𝑑 squared 𝑦 by 𝑑𝑥 squared is the second derivative of 𝑦 with respect to 𝑥. If you differentiate 𝑦 with respect to 𝑥, you get 𝑑𝑦 by 𝑑𝑥. And if you differentiate again with respect to 𝑥, you get this: 𝑑 squared 𝑦 by 𝑑𝑥 squared. In other words, this is the derivative with respect to 𝑥 of 𝑑𝑦 by 𝑑𝑥.

And so to find this quantity, we first find 𝑑𝑦 by 𝑑𝑥. How do we find 𝑑𝑦 by 𝑑𝑥? Well, we have 𝑦 in terms of another variable 𝑧 and 𝑧 in terms of 𝑥. So it looks like a job for the chain rule. The chain rule tells us that 𝑑𝑦 by 𝑑𝑥 is 𝑑𝑦 by 𝑑𝑧 times 𝑑𝑧 by 𝑑𝑥.

Let’s apply this rule to our problem. 𝑦 equals 𝑧 to the eight and so 𝑑𝑦 by 𝑑𝑧 is eight 𝑧 to the seven. Now, we need to find 𝑑𝑧 by 𝑑𝑥. And this is straightforward because we know that 𝑧 equals minus 𝑥 minus one. The derivative of minus 𝑥 minus one with respect to 𝑥 is negative one. So 𝑑𝑦 by 𝑑𝑥 is negative eight 𝑧 to the seven.

Okay, that’s 𝑑𝑦 by 𝑑𝑥. But remember we’re looking for 𝑑 squared 𝑦 by 𝑑𝑥 squared. And we’d already remarked that this is the derivative with respect to 𝑥 of 𝑑𝑦 by 𝑑𝑥. Now that we’ve found 𝑑𝑦 by 𝑑𝑥 to be negative eight 𝑧 to the seven, we can see that the quantity we’re looking for 𝑑 squared 𝑦 by 𝑑𝑥 squared is the derivative 𝑑 by 𝑑𝑥 of negative eight 𝑧 to the seven.

And the easiest way to find this derivative is again using the chain rule. The easiest way to see this is probably to define another variable 𝑤 to be equal to negative eight 𝑧 to the seven. Then we’re looking for 𝑑𝑤 by 𝑑𝑥. We happen to have written the chain rule so that 𝑑𝑦 by 𝑑𝑥 is the subject. But we can change both 𝑦s, 𝑤s and we’re still expressing the same rule just with different variables. Having written the chain rule in this way, we can just read off that 𝑑𝑤 by 𝑑𝑥 is 𝑑𝑤 by 𝑑𝑧 times 𝑑𝑧 by 𝑑𝑥.

Now, let’s clear some room. So what is 𝑑𝑤 by 𝑑𝑧? Well, 𝑤 is negative eight 𝑧 to the seven. So 𝑑𝑤 by 𝑑𝑧 is negative 56 𝑧 to the six. And 𝑑𝑧 by 𝑑𝑥 we found earlier. Using the fact that 𝑧 equals minus 𝑥 minus one, we found it to be negative one. Simplifying then, we get 56 𝑧 to the six.

But we’re not quite done. We’d like to have 𝑑 squared 𝑦 by 𝑑𝑥 squared written in terms of 𝑥 rather than the auxiliary variable 𝑧. And we can do this because we have an expression for 𝑧 in terms of 𝑥 minus 𝑥 minus one. And we can substitute this expression for 𝑧.

Our final answer is therefore that 𝑑 squared 𝑦 by 𝑑𝑥 squared is 56 minus 𝑥 minus one to the six. We could also have factored out negative one inside the parentheses to get an answer of 56𝑥 plus one to the six. This answer would also be correct.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy