Question
Question: Differentiate the expression \[{{x}^{{{x}^{2}}}}\] with respect to x....
Differentiate the expression xx2 with respect to x.
Solution
Hint: We will first assume y equal to xx2 and then take log on both sides and after simplifying we will differentiate it implicitly on left hand side and on the right hand side we will use product rule dxd(uv)=vdxdu+udxdv to differentiate.
Complete step-by-step answer:
Before proceeding with the question. We should understand differentiation and concepts related to it.
Differentiation means ratio of rate of change between two variables. In which the variable in the numerator is dependent on the variable in the denominator. Implicit differentiation is an approach to taking derivatives that uses the chain rule to avoid solving explicitly for one of the variables. For example, if y+3x=8, we can directly take the derivative of each term with respect to x to obtain dxdy+3=0 so dxdy=−3. The product rule of differentiation is dxd(uv)=vdxdu+udxdv.
Let’s consider y=xx2......(1)
Now we will take natural log on both sides of the equation (1), so we get,
logy=logxx2......(2)
Log of power rule is logxy=ylogx. Now applying this rule on the right hand side in equation (2) we get,
logy=x2logx......(3)
We will differentiate both sides in equation (3), on the left hand side we need to differentiate with respect to x so it is an implicit differentiation and on the right hand side we will use the product rule of differentiation.
Differentiation of log(x) is dxd(logx)=x1 and differentiation of x2 is dxdx2=2x
y1dxdy=x2×x1+2xlogx.......(4)
Now rearranging and simplifying equation (4) we get,
dxdy=y(x+2xlogx).......(5)
Now substituting y=xx2 in equation (5) we get,
dxdy=xx2(x+2xlogx)
Hence the differentiation of the expression xx2 with respect to x is xx2(x+2xlogx).
Note: Remembering basic differentiation formulas and logarithmic rules is the key here. Also we need to substitute for y in equation (5) to get the final answer. We can make a mistake in applying the log of power rule in equation (2) and we may also get confused in doing the implicit differentiation of the left hand side of equation (3).