I have this limit to calculate :
$$\lim_{x\rightarrow 0}\frac{x \cos (x) - \sin (x)}{e^{x} - e^{-x} - 2x} $$
I need to know if my solution were true, I explain
- I use the second order of taylor expansion of $$ \cos(x) = 1 - \frac{x^2}{2} $$
I use the first order of taylor expansion of $$ \sin(x) = x $$
$$ \exp(x) = 1 $$
$$ \exp(-x) = 1 $$
So I get
$$\lim_{x\rightarrow 0}\frac{x \cos (x) - \sin (x)}{e^{x} - e^{-x} - 2x} = \lim_{x\rightarrow 0}\frac{ \frac{-x^3}{2}}{ - 2x} = 0 $$
We have
$$x\cos(x)-\sin(x)=x(1-\frac{x^2}{2})-x+\frac{x^3}{6}+x^3\epsilon_1(x)$$
$$=x^3\left(\frac{-1}{3}+\epsilon_1(x)\right).$$
and
$$e^x-e^{-x}-2x=1+x+\frac{x^2}{2}+\frac{x^3}{6}-1+x-\frac{x^2}{2}+\frac{x^3}{6}+x^3\epsilon_2(x)-2x$$
$$=x^3\left(\frac{1}{3}+\epsilon_2(x)\right).$$
thus the limit is $-1$.