I've tried everything: Taking $\ln$ of both sides, raising to the power $x$, nothing seems to work.
Is there a way to solve this or am I going to have to use numerical methods instead?
I've tried everything: Taking $\ln$ of both sides, raising to the power $x$, nothing seems to work.
Is there a way to solve this or am I going to have to use numerical methods instead?
Do the substitiution $x=e^t$
Then you have
$$(e^t)^{e^{-t}}=y \iff \ln((e^t)^{e^{-t}})=\ln(y) \iff e^{-t} t=\ln(y)$$
Set $t=-z$ then
$$z\cdot e^z = -\ln(y)$$
Now per definition of the Lambert W Function
$$z=W(-\ln(y)) \iff t = -W(-\ln(y))$$
Therefore your solution is
$$x=e^t=e^{-W(-\ln(y))}=\frac{-W(-\ln(y)}{\ln(y)}$$
(the last equality comes from the wikipedia article)
Natural log: $\ln(x^{1/x})=\ln(y)$ so that $\frac{\ln(x)}{x}=\ln(y)$. That's as far as you can get in terms of elementary functions. To finish solving you need something like the "product log" function as mentioned by Wolfram Alpha as it solves the equation.