Show that there exist two non-negative functions $\,f,g: \mathbb{N} \rightarrow \mathbb{R}$ such that $\,f \not\in \mathcal O(g)$ and $ g \not\in \mathcal O(\,f)$.
It would be easy two find two such functions for which one can also take negative values, but I can't seem to find two non-negative functions. Can anybody help please?
Just choose $$ f(n)=\frac{1}{|\sin n|}, \quad g(n)=\frac{1}{|\cos n|}.$$ You have that $$ \frac{f(n)}{g(n)}= |\textrm{cotg } n|,\quad \frac{g(n)}{f(n)}=|\tan n|, $$ and none of those are bounded.