I'm prepping for this entrance exam called the JEE Advanced(An Exam in India) and I found this in the previous year papers. I've noticed that the L'Hopital rule doesn't work here nor expanding $\cos x$ or $e$, nor could I factorise or use the sandwich theorem. I just couldn't get anywhere. Would really appreciate if you gave me some tips on the thought process of solving limits questions and how to proceed when you see a limits question.
The question: $$\lim_{x\to 0} \frac{e^{\cos{x^n}} - e}{x^m}= -\frac{e}{2}$$ Then find $\frac{m}{n}$. Thanks in advance!
PS: I didn't know how to use mathmetical symbols here. Hope you understand the question.
I suppose $n,m$ are positive integers.
As $x \to 0$ we have: \begin{align} \cos(x^n) &= 1 - \frac{x^{2n}}{2} + O(x^{4n}) \\ e^{\cos(x^n)} &= e e^{-x^{2n}/2+O(x^{4n})} = e\left(1-\frac{x^{2n}}{2}+O(x^{4n})\right) = e-\frac{e x^{2n}}{2}+O(x^{4n}) \\ e^{\cos(x^n)} - e &= -\frac{e x^{2n}}{2}+O(x^{4n}) \\ \frac{e^{\cos(x^n)} - e}{x^m} &= -\frac{e x^{2n-m}}{2}+O(x^{4n-m}) \end{align} So to get limit $-e/2$ we need $2n-m = 0$. That is: $m=2n$ so $\frac{m}{n} = 2$.