The maximum value of x−x is
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(e^{\frac{1}{e}}\)
Let \(y = x^{-x}\), x > 0. The variable is in the power, so use logarithmic differentiation:
\(\log y = -x\log x\)
\( \displaystyle \frac{1}{y}\,\frac{dy}{dx} = -(\log x + 1) \)
\( \displaystyle \frac{dy}{dx} = -x^{-x}(1+\log x) \)
Setting \(\frac{dy}{dx} = 0\):
\(\log x = -1\)
\( \displaystyle x = \frac{1}{e} \)
Since \(x^{-x} \gt 0\), the sign of \(\frac{dy}{dx}\) is the sign of \(-(1+\log x)\): positive for \(x \lt \frac{1}{e}\) and negative for \(x \gt \frac{1}{e}\). So y is maximum at \(x = \frac{1}{e}\):
\( \displaystyle y_{\max} = \left(\frac{1}{e}\right)^{-\frac{1}{e}} = e^{\frac{1}{e}} \)