Find maximum value of $f(x) = \left(\frac{1}{x}\right)^x$.
Akshit Bhardwaj, AIR 12, 2025
$f(x) = \left(\frac{1}{x}\right)^x$
$\log f(x) = \log\left(\frac{1}{x}\right)^x = x \log\left(\frac{1}{x}\right)$
Let $\log f(x) = g(x)$
since $\log x$ is increasing function, it does not change the shape of the curve
Thus for maxima $g'(x) = 0$
$\rightarrow \log\frac{1}{x} + \frac{x}{\frac{1}{x}} \cdot \frac{-1}{x^2} = 0$
$\Rightarrow \log\frac{1}{x} - 1 = 0$
$\Rightarrow x = \frac{1}{e}$
Also $g''(x) = -\frac{1}{x} \Rightarrow g''(\frac{1}{e}) < 0$
$\Rightarrow x = \frac{1}{e}$ is maxima of $g(x)$ & thus $f(x)$
$\Rightarrow$ Max $f(x) = (e)^{1/e}$