Compute $\lim_{x\to\infty}x-\sqrt{x^2+x+1}\frac {\ln(e^x+x)}{x}$
My attempt with de l'Hôpital:
$$\lim_{x\rightarrow\infty}\frac {x^2-\sqrt{x^2+x+1}\ln(e^x+x)}{x}=\lim_{x\to\infty}\frac {4x\sqrt{x^2+x+1}-(2x+1)\ln(e^x+x)-\frac {(e^x+1)(x^2+x+1)}{e^x+x}}{\sqrt{x^2+x+1}}.$$ I tried to get to the common denominator and then applying de l'Hôpital but it is not getting any easier. Maybe there is something i should do before applying de l'Hôpital?
Check this:
$$\lim_{x \to +\infty} x -\sqrt{x^2+x+1}\cdot \frac{\ln(e^x+x)}{x} = $$ $$\lim_{x \to +\infty} x-\sqrt{1+\frac{1}{x}+\frac{1}{x^2}}\ln\left( e^x\left(1+\frac{x}{e^x} \right)\right) = $$ $$\lim_{x \to +\infty} x -\sqrt{1+\frac{1}{x}+\frac{1}{x^2}}\left(x+\ln \left(1+\frac{x}{e^x} \right) \right) = $$ $$\lim_{x \to +\infty} x\left(1-\sqrt{1+\frac{1}{x}+\frac{1}{x^2}} \right) - \sqrt{1+\frac{1}{x}+\frac{1}{x^2}}\ln \left(1+\frac{x}{e^x} \right). $$ Now, since $a-b = \frac{a^2-b^2}{a+b}$, you get $$\lim_{x \to +\infty} x\frac{1-1-\frac{1}{x}-\frac{1}{x^2}}{1+\sqrt{1+\frac{1}{x}+\frac{1}{x^2}}}-\sqrt{1+\frac{1}{x}+\frac{1}{x^2}}\ln\left(1+\frac{x}{e^x} \right) = -\frac{1}{2}.$$