Find $\lim_{x\to\infty} (x-\sqrt{x^2+x+1}\frac{\ln(e^x+x)}{x})$.
I did $\lim_{x\to\infty} (x-\sqrt{x^2+x+1}\frac{\ln(e^x+x)}{x})$=$\lim_{x\to\infty} (\frac{x^2-\sqrt{x^2+x+1}\ln(e^x+x)}{x})$
$(e^x+x)^\frac{1}{x}=e(1+x/e^x)^\frac{1}{x}$. Now making $y=x/e^x$, we obtain $e(1+y)^\frac{e^{-x}}{y}=e((1+y)^\frac{1}{y})^{e^{-x}}$ and as $y(x)\rightarrow{0}$, $\lim_{x\to\infty}\frac{\ln(e^x+x)}{x}=e$ and I think the limit is $-\frac{1}{2}$. However, this is just a quess or a sketch of a proof. Any help please?
Let $L$ be the limit. We split it into two parts $L=L_1+L_2$ with
$$ L_1=\lim_{x\to\infty}\left(x-\ln(\mathrm e^x+x)\right),\qquad L_2=\lim_{x\to\infty}\left(\ln(\mathrm e^x+x)-\sqrt{x^2+x+1}\cdot\frac{\ln(\mathrm e^x+x)}x\right) $$
Then
$$ L_1=\lim_{x\to\infty}\left(x-\ln(\mathrm e^x)-\ln\left(1+\frac x{\mathrm e^x}\right)\right)=-\lim_{x\to\infty}\ln\left(1+\frac x{\mathrm e^x}\right)=0 $$
and
$$ L_2=\lim_{x\to\infty}\underbrace{\frac{\ln(\mathrm e^x+x)}x}_{\to 1}\cdot\underbrace{\left(x-\sqrt{x^2+x+1}\right)}_{\to-\frac 12}=-\frac 12. $$
Hence $L=-\frac 12$.