Solveeit Logo

Question

Question: If \(y={{x}^{x}}\), find \(\dfrac{dy}{dx}\)?...

If y=xxy={{x}^{x}}, find dydx\dfrac{dy}{dx}?

Explanation

Solution

We take logarithm on both sides of the equation y=xxy={{x}^{x}}. Then we define the multiplication rule and how the differentiation of function works. We take addition of these two different differentiated values. We take the dydx\dfrac{dy}{dx} altogether. We keep one function and differentiate the other one and then do the same thing with the other function. Then we take the addition to complete the formula.

Complete step by step answer:
Taking logarithm on both sides of the equation y=xxy={{x}^{x}}, we get lny=ln(xx)=xlnx\ln y=\ln \left( {{x}^{x}} \right)=x\ln x.
We now discuss the multiplication process of two functions where f(x)=u(x)v(x)f\left( x \right)=u\left( x \right)v\left( x \right)
Differentiating f(x)=uvf\left( x \right)=uv, we get ddx[f(x)]=ddx[uv]=udvdx+vdudx\dfrac{d}{dx}\left[ f\left( x \right) \right]=\dfrac{d}{dx}\left[ uv \right]=u\dfrac{dv}{dx}+v\dfrac{du}{dx}.
The above-mentioned rule is the multiplication rule. We apply that on lny=xlnx\ln y=x\ln x. We assume the functions where u(x)=x,v(x)=lnxu\left( x \right)=x,v\left( x \right)=\ln x
We know that differentiation of u(x)=xu\left( x \right)=x is u(x)=1{{u}^{'}}\left( x \right)=1 and differentiation of v(x)=lnxv\left( x \right)=\ln x is v(x)=1x{{v}^{'}}\left( x \right)=\dfrac{1}{x}. We now take differentiation on both parts of lny=xlnx\ln y=x\ln x and get ddx[lny]=ddx[xlnx] 1y×dydx=ddx[xlnx] \begin{aligned} & \dfrac{d}{dx}\left[ \ln y \right]=\dfrac{d}{dx}\left[ x\ln x \right] \\\ & \Rightarrow \dfrac{1}{y}\times \dfrac{dy}{dx}=\dfrac{d}{dx}\left[ x\ln x \right] \\\ \end{aligned}.
We place the values of u(x)=1{{u}^{'}}\left( x \right)=1 and v(x)=1x{{v}^{'}}\left( x \right)=\dfrac{1}{x} to get
1y×dydx=xddx(lnx)+(lnx)ddx(x)\dfrac{1}{y}\times \dfrac{dy}{dx}=x\dfrac{d}{dx}\left( \ln x \right)+\left( \ln x \right)\dfrac{d}{dx}\left( x \right).
We take all the dydx\dfrac{dy}{dx} forms altogether to get

& \dfrac{d}{dx}\left[ \ln y \right]=\dfrac{d}{dx}\left[ x\ln x \right] \\\ & \Rightarrow \dfrac{dy}{dx}=y\left[ x\times \dfrac{1}{x}+\left( \ln x \right) \right]=y\left( 1+\ln x \right) \\\ & \Rightarrow \dfrac{dy}{dx}={{x}^{x}}\left( \ln x+1 \right) \\\ \end{aligned}$$ **Therefore, differentiation of $f\left( x \right)={{x}^{x}}$ is $${{x}^{x}}\left( \ln x+1 \right)$$.** **Note:** We need remember that in the chain rule $$\dfrac{d}{d\left[ h\left( x \right) \right]}\left[ goh\left( x \right) \right]\times \dfrac{d\left[ h\left( x \right) \right]}{dx}$$, we aren’t cancelling out the part $$d\left[ h\left( x \right) \right]$$. Cancelation of the base differentiation is never possible. It’s just a notation to understand the function which is used as a base to differentiate. The rule may be extended or generalized to many other situations, including to products of multiple functions, to a rule for higher-order derivatives of a product, and to other contexts.