The limit becomes $$\lim_{x\to 0} \frac{x-\sin x -0}{x^2}$$ $$=\lim_{x\to 0} \frac{1-\cos x}{2x}$$ $$=0$$
$0$ is not the right answer. I think my mistake was in the first step, but I couldn’t think of anything else.
The limit becomes $$\lim_{x\to 0} \frac{x-\sin x -0}{x^2}$$ $$=\lim_{x\to 0} \frac{1-\cos x}{2x}$$ $$=0$$
$0$ is not the right answer. I think my mistake was in the first step, but I couldn’t think of anything else.
We have that as $x\to 0^+$
$$\cos^{-1} (e^{-\frac x2})=\sqrt x -\frac1{12}x^{\frac32}+o(x^2)$$
therefore the right limit is $-\infty$.
The left limit doesn’t exist since $e^{-x/2}\to 1^+$.
Refer to the related
As an alternative since
$$\frac{x-\sin x}{x^2}\to 0$$
by $-\frac x2=\log(\cos y)$ as $y\to 0^+$ we have
$$\frac{-\cos^{-1}\left(e^{-\frac x2}\right)}{x^2}=-\frac{y}{4\log^2\cos y}$$
which can be easily solved by l’Hospital.