How to show that $f_2(n)=2^n$ grows faster than $f_1(n)=n^{\log{n}}$

317 Views Asked by At

The graphs of the two functions $f_1(n)=n^{\log{n}}$ and $f_2(n)=2^n$ clearly show that $f_2$ grows faster than $f_1$, but how do we mathematically prove this?

1

There are 1 best solutions below

2
On

$n^{\log n} = e^{(\log n)^2}, 2^n = e^{n \log 2}$. Since $e^x$ is strictly increasing, it suffices to show that $n \log 2$ outgrows $(\log n)^2$. Using the limit $$ \lim_{n \to \infty} \frac{(\log n)^2}{n \log 2} = \frac{1}{\log 2} \left( \lim_{n \to \infty} \frac{\log n}{\sqrt n} \right)^2 = 0 $$ Hence $2^n = e^{n \log 2}$ grows faster than $n^{\log n} = e^{(\log n)^2}$.