Question Video: Differentiating a Composition of Exponential and Trigonometric Functions Using Logarithmic Differentiation | Nagwa Question Video: Differentiating a Composition of Exponential and Trigonometric Functions Using Logarithmic Differentiation | Nagwa

Question Video: Differentiating a Composition of Exponential and Trigonometric Functions Using Logarithmic Differentiation Mathematics

Given that 𝑦 = 2^(βˆ’9𝑒^(9π‘₯) + sin π‘₯), determine d𝑦/dπ‘₯.

04:19

Video Transcript

Given that 𝑦 is equal to two raised to the power negative nine 𝑒 to the nine π‘₯ plus sin π‘₯, determine d𝑦 by dπ‘₯.

We’re given quite a complicated function 𝑦, where the exponent is a function of π‘₯. It is possible to use the chain rule to differentiate 𝑦, but we’ll use an alternative method. That is logarithmic differentiation. And how does this work? Well, if we have a function 𝑦 which is a function of π‘₯, our first step is to apply the natural logarithm to both sides so that the natural logarithm of 𝑦 is the natural logarithm of 𝑓 of π‘₯, remembering that the natural logarithm means the logarithm to the base 𝑒, where 𝑒 is Euler’s number which is approximately 2.71828 and so on.

In our case, our function 𝑦 is two raised to the power negative nine 𝑒 to the nine π‘₯ plus sin π‘₯. And in order for this first step to be valid, that is, taking natural logarithms, we need to specify that 𝑦 is greater than zero. That’s because the logarithm function doesn’t exist for negative values and the logarithm of zero is undefined. And since two raised to any power is positive, our 𝑦 is indeed greater than zero.

We’ve taken the natural logarithm, but our function looks more complicated than it did to begin with. But this is where the laws of logarithms come in useful. Our second step is to use the laws of logarithms to simplify or expand our right-hand side. And since our original function has a complicated exponent, we can use the power rule for logarithms to simplify this. The power rule says that log to the base π‘Ž of 𝑏 raised to the power 𝑐 is 𝑐 times log to the base π‘Ž of 𝑏. That is, we bring our exponent in front of the logarithm and multiply.

In our problem, our exponent is negative nine 𝑒 to the nine π‘₯ plus sin π‘₯. And applying the power rule, we bring this to the front and multiply by it. And so we have the natural logarithm of 𝑦 is equal to negative nine 𝑒 to the nine π‘₯ plus sin π‘₯ times the natural logarithm of two. So on our right-hand side, we have the constant, the natural logarithm of two, multiplied by negative nine 𝑒 to the nine π‘₯ plus sin π‘₯ which is a function of π‘₯. And we know how to differentiate this.

And this brings us to our third step in logarithmic differentiation, that is, differentiate both sides with respect to π‘₯. Making some room, on our right-hand side, we can take the natural logarithm of two outside since it’s a constant. And since the derivative of a sum is the sum of the derivatives, we have the natural logarithm of two times d by dπ‘₯ of negative nine 𝑒 to the nine π‘₯ plus d by dπ‘₯ of sin π‘₯. And again, since negative nine this time is a constant, we can take this out front. Now, making some room, on our right-hand side, the first thing we want to differentiate is 𝑒 to the power nine π‘₯. And for this, we can use the known result that for 𝑒, a differentiable function of π‘₯, d by dπ‘₯ of 𝑒 to the power 𝑒 is equal to d𝑒 by dπ‘₯ times 𝑒 to the power 𝑒.

In our case, we have 𝑒 is equal to nine π‘₯ and d𝑒 by dπ‘₯ is equal to nine. So we have d by dπ‘₯ of 𝑒 to the power nine π‘₯ is nine, which is d𝑒 by dπ‘₯, times 𝑒 to the power nine π‘₯. Our second term on the right-hand side is d by dπ‘₯ of sin π‘₯. And we know that d by dπ‘₯ of sin π‘₯ is cos π‘₯. On our left-hand side, we have the derivative with respect to π‘₯ of the natural logarithm of 𝑦. But remember that 𝑦 is a function of π‘₯. And again, we can use the known result to differentiate this, since the derivative with respect to π‘₯ of the natural logarithm of 𝑒 where 𝑒 is a differentiable function of π‘₯ is one over 𝑒 times d𝑒 by dπ‘₯ for 𝑒 greater than zero.

On our left-hand side then, we have one over 𝑦 times d𝑦 by dπ‘₯. And that’s equal on our right-hand side to the natural algorithm of two times negative nine times nine 𝑒 to the nine π‘₯ plus cos π‘₯. Negative nine times nine is negative 81, and we’re almost but not quite finished.

Our final step is to solve for d𝑦 by dπ‘₯. We can do this by noting that we have a factor of one over 𝑦 on our left-hand side. And to eliminate this, we can multiply both sides by 𝑦. On our left-hand side, these cancel to one, and on our right-hand side, we’re going to have to reintroduce our original function 𝑦 so that if 𝑦 is equal to two to the power negative nine 𝑒 to the nine π‘₯ plus sin π‘₯, d𝑦 by dπ‘₯ is two raised to the power negative nine 𝑒 to the nine π‘₯ plus sin π‘₯ times negative 81𝑒 to the power nine π‘₯ plus cos π‘₯ all multiplied by the natural logarithm of two.

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