Im pretty sure it doesn't, but how can I be sure?
Was thinking by using
$$f(x) = \sin(x) + 2$$ and $$g(x) = \cos(x) + 2$$
Thanks!`
Im pretty sure it doesn't, but how can I be sure?
Was thinking by using
$$f(x) = \sin(x) + 2$$ and $$g(x) = \cos(x) + 2$$
Thanks!`
If you mean $\sin(x)+2$ and $\cos(x)+2$, then those functions are big-O of each other.
A true counterexample would be, $f(n)=1+n^2\sin(n)^2$ and $g(n)=n$.