386 views
0 votes
0 votes
f(n) + o(f(n)) = thetha(f(n))

Does this hold? o is small -oh notation.

2 Answers

Best answer
1 votes
1 votes

o(f(n)) suggests that some function  g(n)  which is strictly smaller than f(n)..

Hence in f(n) + o(g(n)) , we need to see the dominating term which is f(n) here as g(n) is stricty less than f(n)..

We know

f(n)  = Theta(f(n)) 

As f(n) + o(f(n)) will result to f(n) only ..Hence 

f(n)  + o(f(n))  =   Theta(f(n))

selected by
1 votes
1 votes

True

$f(n)+o(f(n))=\Theta (f(n))$

let $g(n)=o(f(n))$$\Rightarrow c*f(n)> g(n)......................(1)$

We can write the Above question as-:

$f(n)+g(n)=\Theta (f(n))$

Now ,from $(1)$

we have ,

$f(n)>g(n)\Rightarrow f(n)+f(n)>g(n)+f(n)\Rightarrow f(n)+g(n)= O(f(n))$

$\Rightarrow f(n)+o(f(n))=O(f(n)).........................(2)$


$f(n)+g(n)=\Theta (f(n))$

$\Rightarrow f(n)+g(n)>f(n)\Rightarrow f(n)+g(n)=\Omega (f(n))$

$\Rightarrow f(n)+o(f(n))=\Omega (f(n)).....................(3)$

from$(2)$ & $(3)$,

$f(n)+o(f(n))=\Theta (f(n))$

Related questions

5 votes
5 votes
1 answer
1
rahul sharma 5 asked Oct 18, 2017
698 views
T(n) = 4T(n/2) + n2.$\sqrt{2}$In thetha notation?
0 votes
0 votes
2 answers
2
srestha asked May 6, 2019
1,283 views
$1)n^{2019}=O\left (n^{2020} \right )$$2)O(n^{2019})=O\left (n^{2020} \right )$Which one is correct??If $1)$ is correct, why $2)$ not correct?
0 votes
0 votes
2 answers
3
junaid ahmad asked Dec 24, 2017
375 views
Let f (n) = Ο(n), g(n) = Ο(n) and h(n) = θ(n).Then [f (n) . g(n)] + h(n) is : a) Ο(n) b)θ(n)I think it must be 0(n)
3 votes
3 votes
0 answers
4