Search code examples
performancebig-ocomplexity-theorydiscrete-mathematics

How to arrange the functions in the order of growth rate? So that f(n) is O(g(n))


I have the below functions that needs to be ordered in their growth rate. But how can we show that the function g(n) immediately follows function f(n) in the list, then it should be the case that f(n) is O(g(n))?

functions

I tried by key-in some values for n (such as 10, 1000, 5000) and it is coming as 5 < 4 < 2 < 1 < 3, from 1000.

How can I prove this order asymptotically?


Solution

  • Please see the answer below, posting in an image due to functions and powers.

    Answer