Question
Question: The maximum value of $x^{-x}$ is....
The maximum value of x−x is.

e−e
e1/e
e−1/e
e
e1/e
Solution
To find the maximum value of the function f(x)=x−x, we use calculus, specifically differentiation.
-
Define the function:
Let y=x−x.
For the function to be well-defined and differentiable using logarithms, we consider x>0. -
Apply Natural Logarithm:
Taking the natural logarithm on both sides simplifies the exponent:
lny=ln(x−x)
Using the logarithm property ln(ab)=blna:
lny=−xlnx -
Differentiate with respect to x:
Differentiate both sides implicitly with respect to x. Use the product rule for the right side: (uv)′=u′v+uv′.
y1dxdy=−(dxd(x)⋅lnx+x⋅dxd(lnx))
y1dxdy=−(1⋅lnx+x⋅x1)
y1dxdy=−(lnx+1) -
Solve for dxdy:
Multiply both sides by y:
dxdy=−y(lnx+1)
Substitute y=x−x back into the equation:
dxdy=−x−x(lnx+1) -
Find Critical Points:
To find the maximum or minimum values, set the first derivative equal to zero:
dxdy=0
−x−x(lnx+1)=0
Since x−x=xx1 is always positive for x>0, we must have:
lnx+1=0
lnx=−1
To solve for x, exponentiate both sides with base e:
x=e−1
x=e1 -
Determine if it's a Maximum:
We use the first derivative test. We examine the sign of dxdy around x=e1.
Recall dxdy=−x−x(lnx+1). The term −x−x is always negative. The sign of dxdy depends on the sign of (lnx+1).-
For x<e1 (e.g., x=e21):
lnx<ln(e1)⟹lnx<−1.
So, lnx+1<0.
Then dxdy=(negative)×(negative)=positive.
This means f(x) is increasing for x<e1. -
For x>e1 (e.g., x=e):
lnx>ln(e)⟹lnx>1.
So, lnx+1>0.
Then dxdy=(negative)×(positive)=negative.
This means f(x) is decreasing for x>e1.
-
Since the function changes from increasing to decreasing at x=e1, this point corresponds to a local maximum.
- Calculate the Maximum Value:
Substitute x=e1 back into the original function f(x)=x−x:
f(e1)=(e1)−e1
Since e1=e−1, we have:
f(e1)=(e−1)−e1
Using the exponent rule (ab)c=abc:
f(e1)=e(−1)⋅(−e1)
f(e1)=ee1
The maximum value of x−x is e1/e.