I found this in an asymptote example question but it only has an answer. $$f(x)=x-\sqrt{x^2+5}$$ I solved the $x\to+\infty$ where $\displaystyle\lim_{x\to+\infty}{x-\sqrt{x^2+5}}=\frac{-5}{2}$ so that it has $y=\dfrac{-5}{2}$ for a horizontal asymptote.
It says here that when $x\to-\infty$, it has an oblique asymptote.
How do I find the oblique asymptote of this function when $x\to-\infty$?


$$\lim_{x\rightarrow+\infty}f(x)=\lim_{x\rightarrow+\infty}\frac{-5}{x+\sqrt{x^2+5}}=0,$$ which says that $y=0$ is a horizontal asymptote for $x\rightarrow+\infty$.
Now, $\lim\limits_{x\rightarrow-\infty}f(x)=-\infty$ and $$\lim_{x\rightarrow-\infty}\frac{f(x)}{x}=1+\lim_{x\rightarrow-\infty}\sqrt{1+\frac{5}{x^2}}=2$$ and it's enough to calculate $\lim\limits_{x\rightarrow-\infty}(f(x)-2x).$
Indeed, $$\lim\limits_{x\rightarrow-\infty}(f(x)-2x)=\lim\limits_{x\rightarrow-\infty}(-x-\sqrt{x^2+5})=\lim_{x\rightarrow+\infty}\frac{-5}{-x-\sqrt{x^2+5}}=0,$$ which says that $y=2x$ is an asymptote of $f$ for $x\rightarrow-\infty$.