Often on this site there is posed a question about a limit which is hard to resolve using l'Hopital. (I don't mean probelms asking to find a limit without using 'Lhopital, I mean problems where using l'Hopital leads to roadblocks or subtleties.)
I always attack those posed problems using Taylor series. For limit problems involving functions (as opposed to infinite sums or products) this pretty much always allows the limit to be found -- for the problems people pose here.
I'm interested now in problems of the form "find $\lim_{x\to a}f(x)$" that resist solution by l'Hopital's rule and also by Taylor series methods. I have a fairly contrived example:
$$\lim_{x\to 0}\frac{1-\cos\left(\frac{2}{x+e^{-1/x^2}} \right)}{\sin^2\left(\frac{1}{x}\right)} $$ The combination of the topologist's sin curve in the denominator and the infinitely differentiable but non-analytic $e^{-1/x^2}$ as part of the numerator makes this poison to Taylor series methods, and differentiating the numerator or denominator only makes the behavior worse. Yet the answer for this case is fairly obvious.
My question is, can you find that limit (and prove the value you find is indeed the limit).
And can anybody come up with a less contrived function whose limit resists Tayler series, yet can be found by a different technique?
You want $\lim_{x\to 0}\frac{1-\cos\left(\frac{2}{x+e^{-1/x^2}} \right)}{\sin^2\left(\frac{1}{x}\right)} $.
First, $e^{-1/x^2} \to 0$ extremely quickly (since $e^z > z^m/m!$ for any $z > 0$ and $m > 0$ from the power series, $e^{-1/x^2} =\frac1{e^{1/x^2}} < m!x^{2m} = O(x^{2m})$ for any $m > 0$), so it can be ignored, giving us $\lim_{x\to 0}\frac{1-\cos\left(\frac{2}{x } \right)}{\sin^2\left(\frac{1}{x}\right)} $.
Since $\sin^2(z) =\frac12(1-\cos(2z)) $, this becomes $\lim_{x\to 0}\frac{1-\cos\left(\frac{2}{x } \right)}{\frac12\left(1-\cos\left(\frac{2}{x}\right)\right)} =2 $.
And we are done.