Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 4.03 KB

3.2.md

File metadata and controls

76 lines (47 loc) · 4.03 KB

Exercises 3.2-1


Show that if f(n) and g(n) are monotonically increasing functions, then so are the functions f(n) + g(n) and f (g(n)), and if f(n) and g(n) are in addition nonnegative, then f(n) · g(n) is monotonically increasing.

Answer

求导即可

Exercises 3.2-2


Prove equation (3.15).

Answer

Exercises 3.2-3


Prove equation (3.18). Also prove that n! = ω(2^n) and n! = o(n^n).

Answer

采用暴力方法,直接证明极限在一个常数区间内

Exercises 3.2-4


Is the function polynomially bounded? Is the function polynomially bounded?

Answer

多项式边界也就是函数

两边取对数得到

所以,如果一个函数f(n)是有多项式边界,就满足

Exercises 3.2-5


Which is asymptotically larger: lg(lg n)* or lg(lg n)*?

Answer

第2个大. Suppose log star of n is k, then the first one is log(k) while the second one is k - 1.

...表示多重对数函数的逆操作

Exercises 3.2-6


Prove by induction that the ith Fibonacci number satisfies the equality

Answer

Exercises 3.2-7


Prove that for i ≥ 0, the (i + 2)nd Fibonacci number satisfies Fi+2 ≥ φi.

Answer


Follow @louis1992 on github to help finish this task.