Professional Documents
Culture Documents
Bonus Question: Examples 4 and 5
Bonus Question: Examples 4 and 5
Examples 4 and 5
All degree k polynomials are O(nk)
p ( n )=O(n K)
∃ c , no >0 s . t . ∀ no >n
p ( n ) ≤c nk , k ≥1
p (n ) p (n)
k
≤ c , Knowing: lim k =ak
n n→ ∞ n
a k ≤ c ,let c=2 a k
a k ≤ 2 ak , true p ( n ) =O(n K)
n k ≤ c ( nk−1 ) , k ≥ 1
nk
≤c
nk−1
n k−k+1 ≤ c
n ≤ c ,let c=2 , n=1 , k =1
1 ≠2 , contradiction