I usually follow approach of taking logs and putting arbitrary large powers of $2$ for $n$ and reducing the given function to some constant value for large value of $n$. So in this case I did it as follows:
$\log{n}$
Putting $n=2^{2^{2^{16}}}$ and taking $\log$
$\log{\log(2^{2^{2^{16}}})}={2^{16}}$
$(\log{n})^c$
Putting $n=2^{2^{2^{16}}}$, $c=2$ and taking $\log$
$\log({(\log{2^{2^{2^{16}}}})^2})=\log({2\times(\log{2^{2^{2^{16}}}})})=\log({2\times(2^{2^{16}})})=\log{2}\times\log{2^{2^{16}}}$
$=1+2^{16}$
$\sqrt{n}$
Putting $n=2^{2^{2^{16}}}$ and taking $\log$
$\log{\sqrt{2^{2^{2^{16}}}}}=\log{2^{2^{2^{{16}^{\frac{1}{2}}}}}}=\log{2^{2^{2^8}}}=2^{2^8}=2^{16}$
So it looks like:
$\log{n}=\sqrt{n}<(\log {n})^c$
However I checked that $\log{8}>\sqrt{8}$. But, $\log{(2^{2^{2^{16}}})}=64$, whereas $\sqrt{2^{2^{2^{16}}}}$ is much larger number making equality between the two unlikely.
- So where I am making mistakes in above calculations?
- How above three functions compare asymptotically?