Question
Question: The derivative of \(y = {x^{{2^x}}}\) with respect to \(x\) is: A. \({x^{{2^x}}}{2^x}\left( {\dfra...
The derivative of y=x2x with respect to x is:
A. x2x2x(x1+lnxln2)
B. x2x(x1lnxln2)
C. x2x2x(x1lnx)
D. x2x2x(x1+ln2lnx)
Solution
Hint: We will first take logs on both sides and then simplify the equation. Then, differentiate the equation using product rule of derivative and formulas of derivative such as, dxd(lnx)=x1 and dxd(ax)=axlna. At last substitute the value of y from the given equation.
Complete step by step answer:
Whenever we have an expression with power as x and we have to find its derivative, we will first take ln of both sides.
On taking ln both of equation y=x2x , we get,
lny=lnx2x
Now, simplify the equation using the properties of log.
As, we know, ln(am)=mlna, thus, we can write lny=lnx2x as,
lny=2xlnx
Now, differentiate both sides with respect to x, using the formulas of derivatives such as,
dxd(lnx)=x1, dxd(ax)=axlna
We will use product rule, dxd(f(x)g(x))=(dxdf(x))g(x)+(dxdg(x))f(x) to find its derivative.
y1dxdy=2xln2(lnx)+x2x y1dxdy=2x(ln2(lnx)+x1) dxdy=y2x(ln2(lnx)+x1)
Substitute the value of y from the given equation.
dxdy=x2x2x(ln2(lnx)+x1)
Hence, option A is correct.
Note: Properties of log used in this question is ln(am)=mlna. The product rule of derivative states that, dxd(f(x)g(x))=(dxdf(x))g(x)+(dxdg(x))f(x). The derivative of dxd(lnx)=x1 and dxd(ax)=axlna.