4

Calculate$$\lim_{x\to0}\frac{e^{\cos x}-e}{x^2}$$without L'Hôpital.

I tried changing $e$ to $(1+x)^{1/x}$, tried using $\frac{1-\cos x}{x^2} = \frac{1}{2}$, tried converting $\cos x$ to $1-2\left(\sin \frac{x}{2}\right)^2$ but I always got stuck at some point, and would really appreciate help.

Lorago
  • 9,239
  • It was a good idea to use that $\lim_{x\to0}\frac{1-\cos x}{x^2} = \frac12$ (you forgot "$\lim_{x\to0}$"!), i.e. to replace $\cos x$ by $1-\frac{x^2}2+o(x^2).$ – Anne Bauval Dec 16 '22 at 17:29
  • 2
    do you have access to the definition of $e^x$ as a series? – ZKe Dec 16 '22 at 17:34
  • i should be able to use use that – Adam Dobry Dec 16 '22 at 17:39
  • Sorry, I intended to continue my comment so that it would have been sufficient for you to find the solution by yourself but I have been interrupted. Here was the rest: After that, simply use that $\lim_{y\to0}\frac{e^y-1}y=1.$ – Anne Bauval Dec 16 '22 at 18:33

3 Answers3

6

Hint:

For $x(\cos x-1)\ne0,$ $$\dfrac{e^{\cos x}-e}{x^2}=-e\cdot\dfrac{e^{(\cos x-1)}-1}{\cos x-1}\cdot\dfrac{1-\cos x}{x^2}$$

Now $\lim_{h\to0}\dfrac{e^h-1}h=?$

4

Not as elegant as @lab bhattacharjee's solution, but still a pretty short solution. Set

$$L=\lim_{x\to0}\frac{e^{\cos x}-e}{x^2}=e\cdot\lim_{x\to0}\frac{e^{\cos x-1}-1}{x^2}.$$

Now using that

$$e^t=1+t+\mathcal{O}(t^2)$$

and

$$\cos t=1-\frac{t^2}{2}+\mathcal{O}(t^4)$$

as $t\to0$, we have that

$$L=e\cdot\lim_{x\to0}\frac{-\frac{x^2}{2}+\mathcal{O}(x^4)}{x^2}=-\frac{e}{2}.$$

Lorago
  • 9,239
  • 1
    @AdamDobry (not @ Lorago because I know he knows): these $\mathcal O$ are useless precision. You reach the same result by simply writing $e^t=1+t+o(t)$ and $\cos x=1-\frac{x^2}2+o(x^2)$ hence $L=e\cdot\lim_{x\to0}\frac{-\frac{x^2}2+o(x^2)}{x^2}=-\frac e2.$ – Anne Bauval Dec 16 '22 at 18:39
2

Let $f(t)=e^{\cos\sqrt t}.$ $$\lim_{t\to0^+}f'(t)=\lim_{t\to0^+}\left(-\frac{f(t)}2\frac{\sin\sqrt t}{\sqrt t}\right)=-\frac{f(0)}2\cdot1=-\frac e2$$ hence $$\lim_{x\to0}\frac{e^{\cos x}-e}{x^2}=\lim_{x\to0^+}\frac{e^{\cos x}-e}{x^2}=\lim_{t\to0^+}\frac{f(t)-f(0)}t=f'(0)=-\frac e2.$$

Anne Bauval
  • 34,650