Let $f(n) = (\log_2n)^{\log_2n}$ and $g(n) = 2^{(\log_2n)^2} $
I want to show that $f(n) \in o(g(n))$.
I guess it makes intuitive sense if we perform a a substitution $z = \log_2n$ we get $\lim_{z \to \infty} \frac{z^z}{2^{z^2}}$ which I remember as converging to $0$. But I'm not sure exactly why. How do you prove this rigorously?
I guess taking derivatives comes to mind which gets me $\frac{d}{dz}z^z = z^z(\log z+1)$ and $\frac{d}{dz}2^{z^2} = 2^{z^2}2z\log(2) $ which isn't that helpful for me.