To find the maximum value of f(x)=(x1)x, we use calculus to find where the derivative equals zero.
Rewrite the function in a simpler form:
f(x)=(x1)x
f(x)=x−x
Taking the natural log of both sides:
lnf(x)=ln(x−x)
lnf(x)=−xlnx
Differentiating both sides:
f(x)f′(x)=−lnx−1
f′(x)=f(x)(−lnx−1)
f′(x)=x−x(−lnx−1)
For critical points, set f′(x)=0:
x−x(−lnx−1)=0
Since x−x is always positive for x>0:
−lnx−1=0
lnx=−1
x=e−1
x=e1
Substituting x=e1 into the original function:
f(e1)=(1/e1)1/e
f(e1)=e1/e
Therefore, the maximum value of f(x)=(x1)x is e1/e.