Is h(n) - f(n) in o(g(n)) Given f(n) in o(g(n)) and g(n) in O(H(n))?

  • Thread starter Thread starter ammoun
  • Start date Start date
  • Tags Tags
    Complexity
ammoun
Messages
5
Reaction score
0
Hi

When we have f(n) \in o(g(n)) and g(n) \in O(H(n))

Can I proove that h(n)-f(n) \in o(g(n))?

Obviously I don't want you to give me the answer, but some hints and maybe which definitions of O and o I should use.

Thanks
 
Physics news on Phys.org
Ok, I believe I came up with a counter example:

If f(n)=n, g(n)=n^{2} and h(n)=n^{3}

When I looked for the limit of the difference / g(n) it cannot give 0.

Could you please confirm this result?

Thanks
 
ammoun said:
Hi

When we have f(n) \in o(g(n)) and g(n) \in O(H(n))

Can I proove that h(n)-f(n) \in o(g(n))?

Obviously I don't want you to give me the answer, but some hints and maybe which definitions of O and o I should use.

Thanks
What definitions are you talking about? Also how does H(n) relate to h(n). Forgive me for asking but I just don't know what you are referring to.
 
ramsey2879 said:
What definitions are you talking about? Also how does H(n) relate to h(n). Forgive me for asking but I just don't know what you are referring to.

Thank you ramsey, it was the same function h and the definitions I'm talking about are of big O of a function and small o.

For example Big O of g(n) is the set of function f(n), f(n)≤c g(n). (not complete definition)
 
The world of 2\times 2 complex matrices is very colorful. They form a Banach-algebra, they act on spinors, they contain the quaternions, SU(2), su(2), SL(2,\mathbb C), sl(2,\mathbb C). Furthermore, with the determinant as Euclidean or pseudo-Euclidean norm, isu(2) is a 3-dimensional Euclidean space, \mathbb RI\oplus isu(2) is a Minkowski space with signature (1,3), i\mathbb RI\oplus su(2) is a Minkowski space with signature (3,1), SU(2) is the double cover of SO(3), sl(2,\mathbb C) is the...

Similar threads

Replies
14
Views
3K
Replies
6
Views
2K
Replies
7
Views
2K
Replies
1
Views
2K
Replies
4
Views
177
Replies
9
Views
2K
Replies
24
Views
4K
Back
Top