Could someone explain to me which function grows faster?
$f(n)=\log(\log^an)$ or $g(n)=\log^a(\log n)$
Could someone explain to me which function grows faster?
$f(n)=\log(\log^an)$ or $g(n)=\log^a(\log n)$
Assuming $\log^a n$ means $\log n$, raised to the power $a$:
Let $t = \log \log n$, then the first expression equals $t·a$, while the second expression equals $t^a$. For $a > 1$ the latter grows faster, for $a < 1$ the former is faster, and for $a = 1$ they are identical.