I have a function of the form
$$f(n)=\dfrac{n}{2\sqrt{n}-1}.$$
I would like to find the big-O of this function (or big-Theta). How can I find these?
I tried this method: Multiply both the denominator and the numerator by $\sqrt{n}$. I get:
$$f(n)=\dfrac{n\sqrt{n}}{2n-\sqrt{n}}.$$ Now, as $n$ goes large, we get $f(n)=\sqrt{n}/2$. Can I say that $f(n)=\Theta(\sqrt{n})$?
Recall the definition and note that for $n\to \infty$
$$\frac{\dfrac{n}{2\sqrt{n}-1}}{\sqrt n}=\dfrac{n}{2n-\sqrt{n}}\to \frac 12$$