0
$\begingroup$

Function 1: 2ドル^{\log_*n}$

Function 2: $\log(\log n)$

The first function is 2 to the log-star of $n,ドル the second function is log of log of $n$. What I need to know is which one is Big-Omega of the other one, which means, which one grows faster. How can I figure that out? I know the definition of log-star (iterative logarithm) but I don't know how to apply it in order to compare the given functions. Could you guys give some help?

Thank you in advance.

David Richerby
82.6k26 gold badges146 silver badges240 bronze badges
asked Jan 11, 2015 at 21:06
$\endgroup$
3
  • $\begingroup$ This is not a formal answer (just as a complement to the answer of @D.W.). However it is worth noting that $\log^{\ast} n$ grows at an extremely slow rate: much slower than the logarithm itself. An often-mentioned numerical example is (from Iterated logarithm (wiki)): For all values of $n$ relevant to counting the running times of algorithms implemented in practice (i.e., $n \le 265536,ドル which is far more than the atoms in the known universe), the iterated logarithm with base 2 has a value no more than 5. $\endgroup$ Commented Jan 12, 2015 at 8:23
  • $\begingroup$ Note that functions don't have time complexity. A function is just a map from numbers to numbers and that map can be used to measure any property, such as time complexity, population of an ant colony or Bill Gates's personal fortune. Functions have growth rates, algorithms have running times, problems have time complexity. $\endgroup$ Commented Jan 12, 2015 at 10:43
  • $\begingroup$ possible duplicate of Sorting functions by asymptotic growth $\endgroup$ Commented Jan 12, 2015 at 10:43

1 Answer 1

4
$\begingroup$

Consider $n_k=2^{2^{2^{\cdots}}},ドル $k$ levels. Then $\log\log n_k = 2^{2^{2^{\cdots}}},ドル $k-2$ levels, while 2ドル^{\log^* n_k} = 2^k$. Does this help?

answered Jan 11, 2015 at 21:58
$\endgroup$
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.