A function decreases when its derivative is negative, so we need to find where f′(x)<0.
Given f(x)=xx, take the natural logarithm of both sides:
lnf(x)=ln(xx)
lnf(x)=xlnx
Differentiate both sides:
f(x)f′(x)=dxd[xlnx]
Using the product rule on the right side:
f(x)f′(x)=1⋅lnx+x⋅x1
f(x)f′(x)=lnx+1
f′(x)=f(x)⋅(lnx+1)
f′(x)=xx(lnx+1)
For f′(x)<0:
xx(lnx+1)<0
Since x>0, we have xx>0 always.
Therefore:
lnx+1<0
lnx<−1
x<e−1
x<e1
Combined with the condition x>0, the function decreases on the interval (0,e1).