Say I have a function $f\left(x\right)$ which does not have a limit as $x \to \infty$. My question is whether there is a method for finding another function $g\left(x\right)$ that the function converges to in the sense that the difference $f - g$ goes to $0$ as $x \to \infty$.
I am aware that there may be many such functions, so I am not expecting such a method to give all such functions, but hopefully at least one function $g\left(x\right)$ which is simpler to work with than $f$.
I'll give an example to convey my motivation here. Consider the function $f = {{1}\over{\exp{\left(1\over{x}\right)-1}}}$. If I want to know the behaviour as $x \to \infty$ and I expand the exponential in a power series and just keep the first term I get $f = {{1}\over{1 + {1\over{x}} - 1}}=x$, but when I look at the graph of $f$ it seems to actually converge to the function $y = x - {1\over2}$. I am wondering how I could find that out algebraically (by which I mean without looking at the graph). This is not about showing that $f$ in this example converges to $y = x - {1\over2}$; I am looking for a way by which I could find that function $y$ in the first place.