retagged by
222 views

1 Answer

1 votes
1 votes

f(n) = O(g(n)) is true... how ? apply log continuously

LHS :- 

after apply 1st LOG :-  $ lg (2^{2^{2^{n}}}) = 2^{2^{n}} . lg 2 $

after apply 2nd LOG :-  $ lg(2^{2^{n}} . lg 2 ) = lg(2^{2^{n}}) + lg (lg2)=2^{n}. ( lg 2) + lg ( lg (2))$ ( consider only dominating terms why because constants can not have any effect )

after apply 3rd LOG :-  $ lg({2^{n}} . lg 2 ) = lg({2^{n}}) + lg (lg2)= {n}. ( lg 2) + lg ( lg (2)) $ 

 

RHS :- 

after apply 1st LOG :-  $ lg (n^{n^{n^{n}}}) = n^{n^{n}} . lg n $

after apply 2nd LOG :-  $ lg(n^{n^{n}} . lg n ) = lg(n^{n^{n}}) + lg (lgn)=n^{n}. ( lg n) + lg ( lg (n))$ ( consider only dominating terms why because lower terms can not have any effect )

after apply 3rd LOG :-  $ lg({n^{n}} . lg n ) = lg({n^{n}}) + lg (lgn)= {n}. ( lg n) + lg ( lg (n)) $ 

 

now compare LHS and RHS ===> RHS have lg n term extra ===> f(n) = O(g(n))

 

Related questions

0 votes
0 votes
2 answers
2
Tanuj Guha Thakurta asked Mar 19, 2019
486 views
O(n-1)+O(n)=O(n)O(n/2)+O(n)=O(n)but O(1)+O(2)+O(3)+...+O(n)=O(n(n+1)/2)=O(n^2)why?
1 votes
1 votes
0 answers
3
Shubhgupta asked Dec 26, 2018
741 views
Kindly verify these and provide answer to others-$\\\Theta (n).O(n) = ?\\ \Theta (n).\Omega (n) = \Omega (n)\\ O(n).\Omega (n) = \Omega (n)\text{when function is non decr...
1 votes
1 votes
0 answers
4
Abhisek Tiwari 4 asked Dec 1, 2018
430 views
A.2^(loglogn)^2,B.(2^(root(logn))Asymptotic Order