I want to evaluate the following limit:
$$\lim_{x\rightarrow0}\frac{e^x-e^{-x}}{e^x-1}$$
For $x\rightarrow0$, the denominator is asymptotic to
$$e^x-1\sim x$$
Here's how I simplify the numerator:
$$e^x-e^{-x}\sim 1-e^{-x}=-(e^{-x}-1)\sim-(-x)=x$$
Finally we have
$$f(x)\sim\frac{x}{x}=1$$
My textbook does it another way and the solution is 2. I wonder what I'm doing wrong. Perhaps it's the fact that I have replaced $e^x$ with $1$ but that seemed to make sense to me because $e^x\rightarrow1$ for $x\rightarrow0$. Any hints?
How do you justify $e^x-e^{-x}\sim 1-e^{-x}$?
It is true that $e^x = 1 + o(1)$, but if that is your justification then $\sim$ must mean "up to terms of degree $1$ or more", so when you end up with the numerator being $\sim x$, then this is the same as $\sim 0$ or $\sim 2x$ as far as this meaning of $\sim$ is concerned. You've thrown away the information you need to conclude anything.