If f = O(g), is e^f = O(e^g)?

前端 未结 3 1386
小鲜肉
小鲜肉 2020-12-16 23:43

If f = O(g), is e^f = O(e^g)?

I\'m having difficultly figuring out the above question. An example would be welcome. Also, if you use l\'Hôp

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-17 00:21

    The claim is not correct.

    A conterexample is the following: We have no doubt that 2n is element of O(n). But, we can prove that exp(2n) is not an element of O(exp(n)). This can be easily seen by computing the

                     exp(2n)
         lim        -------- = infinity
    n -> infinity     exp(n)
    

    which implies that exp(2n) is not in O(exp(n)).

    Considering your hint about L'Hospital: It is a rule for computing limits using derivatives, more precisely:

                    f(x)                       f'(x)
         lim       ------  =        lim     -----------
    n -> infinity   g(x)      n -> infinity    g'(x)
    

    under certain circumstances (e.g. both f and g tend towards infinity. I do not know the exact criteria to be fulfilled, so I just suggest reading this for more information.

    But, what we can say about functions and their derivatives is the following:

    If f'(x) is element of O(g'(x)), then we have that f(x) is element of O(g(x)). The other direction is not the case.

提交回复
热议问题