Show that g(n) is O(g(n)) for each of the following [closed]

烈酒焚心 提交于 2019-12-01 13:09:12

问题


2^(sqrt(log(n)) is O(n(^4/3))

n^(4/3) is O(n(log(n))^3)

n(log(n))^3) is O(n^(log(n))

n^(log(n)) is O(2^n)

I can do it for them when they have the same base; I can't figure it out when they don't have the same base--I know that these are all true.


回答1:


Take log on both sides, for each of them. This is permitted because log is a monotonically increasing function



来源:https://stackoverflow.com/questions/52547806/show-that-gn-is-ogn-for-each-of-the-following

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!