This question might be very simple, but I'm having a hard time understanding it.
Suppose $$f(n) = \frac{O(n)}{1+O(1/n^2)}.$$
How can I "simplify" the fraction so that I get $f(n) = O($something$)$?
I think it should be $f(n) = O(n)$ ...
My problem is that when I see $O(1/n^2)$ in the denominator, I can only say something about an upper bound (whereas I would like a lower bound, I think). For me it would make more sense to "simplify" $f$ if in the denominator was instead $1 + \Omega(1/n^2)$. Or is it the same?
A different question would be if $f(n) = \frac{O(n)}{O(1/n^2)}$. Notice that $\frac{O(g(n))}{O(h(n))} \neq O\left(\frac{g(n)}{h(n)}\right)$.