I was playing around with recurrence relations and noticed that $\sqrt x$ has the fun property that $$\frac{x}{f(x)} = f(x)$$ ($\sqrt{x}$ and its negation are the only functions $f(x)$ that satisfy this it).
That got me thinking about what functions satisfy $$\sqrt[f(x)]{x} = f(x).$$
These functions need to satisfy $$x = f(x)^{f(x)}.$$
If we let $y = f(x)$, this boils down to solving $$y^y = x.$$
I am having trouble seeing how to solve this. My initial thought was to take the log of both sides, giving
$$y \log y = \log x,$$
and then tried seeing if the change-of-basis formula would help, since the above statement implies that
$$y = \log_y x,$$
but this didn't seem to offer any clarity.
Is there a nice way to solve this equation? Or is there a known name for a function of $x$ that's specifically designed to have this property?
The Lambert W function $W$ is defined to be the inverse of the map $z \mapsto z e^z$ (or more precisely, its restriction to $[0, \infty)$). A little algebra shows that a solution $x$ to $x^x = y$ is (for suitable $y$) $$x = e^{W(\log y)} = \frac{\log y}{W(\log y)} .$$