Question
Question: How do you differentiate \[y={{x}^{x}}\]?...
How do you differentiate y=xx?
Solution
Take natural log log(loge) on both the sides and in the R.H.S. use the formula: - logam=mloga to simplify. Now, consider the R.H.S. as the product of an algebraic function and a logarithmic function. Apply the product rule of differentiation given as: - dxd(u×v)=udxdv+vdxdu, where u = x and v=logex. In the L.H.S. use chain rule of differentiation given as: - dxdlny=dydlny×dxdy to simplify. Find the value of dxdy by using the formula: - dydlny=y1 and substituting back the value y=xx.
Complete step-by-step solution:
Here, we have been provided with the function y=xx and we are asked to differentiate it, that means we have to find the value of dxdy.
We have y=xx, here in the R.H.S. We have an exponential form of the function where both the base and exponent are variable. So, taking natural log, i.e., log to the base e, both the sides, we get,
⇒logey=loge(xx)
Using the formula: - logam=mloga, we get,
⇒lny=xlnx
Now, we can assume the R.H.S. as the product of an algebraic function (x) and a logarithmic function (lnx). So, we have,
⇒lny=u×v
Differentiating both the sides with respect to x, we get,
⇒dxdlny=dxd(u×v)
Now, applying the product rule of differentiation given as: - dxd(u×v)=udxdv+vdxdu, we get,
⇒dxdlny=udxdv+vdxdu
Substituting the assumed values of u and v, we get,
⇒dxdlny=xdxdlnx+lnxdxdx
We know that dxdlnx=x1, so we have,