Show that n1000000 O1000001n based on the formal definition

Show that n^1000000 = O(1.000001^n) based on the formal definition of big-0 (see below). Defintion [Asymptotic upper bound] We say T(n) = O(f(n)) if there exist constants c greaterthan 0 and n_0 greaterthan 0 such that T(n) lessthanorequalto c f(n) holds for all n greaterthan n_0. It suffices to present the values of c and n0 and explain how you obtained them. A complete proof (i.e., that it holds for all n greaterthanorequalto n_0) is not required.

Solution

1. n1000000 = O(1.000001n)
Let us find the breakeven point n0 . Point where both the functions T(n) and f(n) are equal.
Now when can n1000000 = 1.000001n = > Take Log both the sides
1000000 log n0 = n0 log 1.000001
=> (log n0) / n0 = 1.000001 / 1000000
=> (log n0) = n0 *(1.000001 / 1000000)
Take derivatives boith the sides [log n derivative is 1/n and n is 1]
1/ n0 = (1.000001 / 1000000)
So n0 = 1000000/1.000001

So Breakeven Point is found i.e At this point both T(n) and f(n) are same.

So Let c be 1000000/1.000000 , decreasing the denominator increases its values and its more than n0
Hence Now cf(n) >= T(n) for all n>=n0

n1000000 = c * (1.000001n )

where c = 1000000/1.000000 = 1000000     ,

Therefore we can say that n1000000 = O(1.000001n) for any n >= n0      i.e n >= 1000000/1.000001


Hence Proved.

Let me know if there is any concern.

 Show that n^1000000 = O(1.000001^n) based on the formal definition of big-0 (see below). Defintion [Asymptotic upper bound] We say T(n) = O(f(n)) if there exis

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site