I have a little question about giving an example for functions that fullfil the condition f(n)∈O(g(n)) ∧ g(n)∈O(f(n)) . From what I know, or think to know: First half of it means that f(n) ≤ c*g(n) and the same for the second half, just visa versa. This would be just to functions which have the same highest exponent, such as f(n) = n^4+2 and g(n) = n^4 +3
Another given condition was f(n)∈O(g(n)) ∧ g(n)∉O(f(n)). Same as above for the first half, but the second tells me that c*f(n) cant be smaller or equal than g(n). And this is were I am really struggling. And I dont even have a clue. Can anyone help? And this is where I am kind of clueless.
