I need to evaluate this limit: $$\lim_{x \to +\infty}\frac{x \sqrt{x+2}}{\sqrt{x+1}}-x$$ to calculate the asymptote of this function: $$\frac{x \sqrt{x+2}}{\sqrt{x+1}}$$ which, according to the class notes: $y=x+\frac{1}{2}$ with $a = 1$, $b = \frac{1}{2}$ However, the online math calculators say that currently no steps are available to show for this kind of problem.
I calculated this limit as $x\times \sqrt{1}-x = 1$, but apparently the correct answer is $\frac{1}{2}$.
What is my mistake?
$$ \begin{align}{{x\sqrt{x+2}\over {\sqrt{x+1}}}}-x &=\frac{x\sqrt{x+2}-x\sqrt{x+1}}{\sqrt{x+1}}\\ &=\frac{x\sqrt{x+2}-x\sqrt{x+1}}{\sqrt{x+1}}\left({{{x\sqrt{x+2}+x\sqrt{x+1}}\over {x\sqrt{x+2}+x\sqrt{x+1}}}}\right)\\ &={x\over{\sqrt{x+1}(\sqrt{x+2}+\sqrt{x+1})}}\\ &={1\over{\sqrt{1/x+1}(\sqrt{1+2/x}+\sqrt{1/x+1})}} \end{align}$$
so the limit at $+\infty$ is $1/2$.