Question Video: Using Logarithmic Differentiation to Differentiate a Function Where the Exponent Is an Exponential Function | Nagwa Question Video: Using Logarithmic Differentiation to Differentiate a Function Where the Exponent Is an Exponential Function | Nagwa

Question Video: Using Logarithmic Differentiation to Differentiate a Function Where the Exponent Is an Exponential Function Mathematics

Given that 𝑦 = π‘₯^(2)^(π‘₯), determine d𝑦/dπ‘₯.

06:16

Video Transcript

Given that 𝑦 is equal to π‘₯ raised to the power two, which is itself raised to the power π‘₯, determine d𝑦 by dπ‘₯.

We’re given a function 𝑦, which has an exponential function two raised to the power π‘₯ as its exponent. And to find d𝑦 by dπ‘₯, we can use the technique of logarithmic differentiation. How this works is that for a function 𝑦 is equal to 𝑓 of π‘₯ we first apply the natural logarithms to both sides so that the natural logarithm of 𝑦 is equal to the natural algorithm of 𝑓 of π‘₯. For this to be valid, we need to specify that 𝑦 is greater than zero. This is because the logarithm doesn’t exist for negative values and the logarithm of zero is undefined. Recall also that the natural logarithm is actually the log to the base 𝑒. And that’s where 𝑒 is Euler’s number, which is 2.71828 and so on.

Note also that we’ll sometimes use the abbreviation ln, that’s L-N, for the natural logarithm. So, for example, ln 𝑦 is ln 𝑓 of π‘₯. So we first apply the natural logarithm to both sides, which in our case gives us ln 𝑦 is equal to ln π‘₯ raised to the power two raised to the power π‘₯, and that’s for 𝑦 greater than zero. Our second step in logarithmic differentiation is to use the laws of logarithms to simplify or expand our right-hand side. In our case, in the argument of our logarithm, we have an exponent; that’s two raised to the power π‘₯. This means we can use the power rule for logarithms to bring our exponent to the front. The power rule tells us that the logarithm to the base π‘Ž of 𝑏 raised to the power 𝑐 is equal to 𝑐 times the logarithm to the base π‘Ž of 𝑏. This means that the exponent is brought to the front and multiplies the logarithm.

Applying this to our right-hand side then, we bring two raised to the power π‘₯ to the front, which gives us ln 𝑦 is two raised to the power π‘₯ times ln π‘₯. Now, remember our goal is to find d𝑦 by dπ‘₯. And the third step in logarithmic differentiation is to differentiate both sides with respect to π‘₯. Since we have an exponential function on our right-hand side multiplying the natural logarithm, there are a couple of ways to approach this. We could apply our first two steps again for logarithmic differentiation. This means we’d have to differentiate the logarithm of a logarithm. This can be done, but it’s slightly labor-intensive. A quicker method is to use the product rule to differentiate the right-hand side, so let’s do this.

Differentiating both sides with respect to π‘₯, we have d by dπ‘₯ of ln 𝑦 is d by dπ‘₯ of two raised to the power π‘₯ multiplied by ln π‘₯. For our right-hand side, the product rule tells us that for the product 𝑒𝑣, where 𝑒 and 𝑣 are functions of π‘₯, d by dπ‘₯ of the product 𝑒𝑣 is 𝑒 multiplied by d𝑣 by dπ‘₯ plus 𝑣 multiplied by d𝑒 by dπ‘₯. So now, letting 𝑒 equal two raised to the power π‘₯ and 𝑣 equal ln π‘₯, we can straightaway apply the known result for 𝑣 that d by dπ‘₯ of ln π‘₯ is one over π‘₯ if π‘₯ is greater than zero. And so we have d𝑣 by dπ‘₯ is one over π‘₯.

Now, to find d𝑒 by dπ‘₯, that’s d𝑒 by dπ‘₯ if 𝑒 is two raised to the power π‘₯, we can use the fact that logarithms and exponentials are inverses of one another. And this means that 𝑒 raised to the power ln 𝑐 is equal to 𝑐. This means we can write 𝑒 raised to the power ln two as two. And now, raising both sides to the power π‘₯, we have 𝑒 raised to the power ln two to the power π‘₯ is two to the power π‘₯. So in fact, we can rewrite two raised to the power π‘₯ as 𝑒 raised to the power π‘₯ ln two. And this gives us something we can easily differentiate. That’s 𝑒 raised to the power π‘₯ ln two. So now, making some space, if two raised to the power π‘₯ is 𝑒 to the power π‘₯ ln two, then d by dπ‘₯ of two raised to the power π‘₯, that’s d𝑒 by dπ‘₯, is d by dπ‘₯ of 𝑒 to the π‘₯ ln two.

Now, we know that d by dπ‘₯ of 𝑒 raised to the power 𝑀 where 𝑀 is a function of π‘₯ is d𝑀 by dπ‘₯ multiplied by 𝑒 to the power 𝑀. In our case, 𝑀 is equal to π‘₯ ln two. Differentiating this with respect to π‘₯ results in ln two, since our function is simply a constant multiplied by π‘₯. So now, applying our rule for exponentials, we have d by dπ‘₯ of 𝑒 to the power π‘₯ ln two is ln two multiplied by 𝑒 to the power π‘₯ ln two. But remember, 𝑒 to the power π‘₯ ln two is two to the power π‘₯. So with 𝑒 is equal to two to the power π‘₯, d𝑒 by dπ‘₯ is ln two multiplied by two to the power π‘₯. And we have everything we need to apply the product rule for differentiation to our right-hand side.

So now, making some space and rewriting our various terms, we have d by dπ‘₯ of the natural logarithm of 𝑦 is equal to two raised to the power π‘₯, which is 𝑒, multiplied by one over π‘₯, which is 𝑣 prime, that’s d𝑣 by dπ‘₯, plus the natural logarithm of π‘₯, that’s 𝑣, multiplied by ln two times two raised to the power π‘₯, which is d𝑒 by dπ‘₯. Taking two raised to the power π‘₯ outside some parentheses then, we have two raised to the power π‘₯ multiplied by one over π‘₯ plus ln two multiplied by ln π‘₯. So this is the derivative of the right-hand side. And we next need to differentiate the left-hand side with respect to π‘₯.

Now, since 𝑦 is a function of π‘₯, we can use the known result that the derivative with respect to π‘₯ of ln 𝑒 is one over 𝑒 d𝑒 by dπ‘₯, where 𝑒 is a function of π‘₯ and greater than zero. In our case, we simply have 𝑒 equal to 𝑦. And so applying this rule, we have one over 𝑦 d𝑦 by dπ‘₯ on the left-hand side. This then brings us to our final step in logarithmic differentiation, which is to solve for d𝑦 by dπ‘₯. And to do this, we multiply both sides by 𝑦, where on our left-hand side, we’re left with d𝑦 by dπ‘₯. And on our right-hand side, we can substitute in our function 𝑦 is equal to π‘₯ raised to the power two raised to the power π‘₯.

And rewriting this slightly, if 𝑦 is equal to π‘₯ raised to the power two raised to the power π‘₯, using logarithmic differentiation, we find that d𝑦 by dπ‘₯ is equal to two raised to the power π‘₯ multiplied by π‘₯ raised to the power two raised to the power π‘₯ all multiplied by the natural logarithm of two times the natural logarithm of π‘₯ plus one over π‘₯.

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