I am completly blocked trying to prove the solution of the limits below
1) $$ \lim _{m\to\infty}\left(\cos\left(\frac{x}{m}\right)\right)^m\\1 \quad \text{ for } a\to +\infty;\quad 0 \quad \text{ for } \quad a \to -\infty $$
2) $$ \lim _{a\to\infty}\frac{a^x-1}{x}, a>1\\+\infty\, \text{ for }\, x\to +\infty;0\, \text{ for }\, a \to -\infty $$
I believe both limits are related to $\lim_{x\to\infty}(1+\frac{1}{x})^x =e$, but I just can't find a way to get there.
In case 1) I get $(1^+)^\infty$ which I can't simplify and get to a clear limit
In case 2) using the change of variable $y = a^x-1$, I can get to
$$ \lim _{a\to\infty}\frac{a^x-1}{x} = \lim _{a\to\infty}\frac{\ln(a)}{\ln(1+y)^\frac{1}{y}} $$
but I then obtain a $\infty^\frac{1}{\infty}$, which, again, I can't solve.
Can someone give some hints on what I am missing here? Or am I using a completly wrong approach?
For (1), take a logarithm to get $$ \lim_{m \to \infty} \frac{\log \cos\left( \frac{x}{m} \right)}{\frac{1}{m}}, $$ which by L'Hôpital is $$ \lim_{m \to \infty}\frac{-\sin \left( \frac{x}{m} \right)\frac{x}{m^2}}{\cos\left(\frac{x}{m}\right)\frac{1}{m^2}}, $$ which simplifies to $$ \lim_{m \to \infty} -x\tan\left(\frac{x}{m}\right), $$ which is $0$, so the answer is $1$ since we took a logarithm.
For (2), the limit of the given function is clearly infinite, but I suspect there should be an $a$ in the denominator instead of an $x$. Then you can use L'Hôpital directly to get $$ \lim_{a \to \infty} xa^{x-1} $$ which is $1$ if $x = 1$, $0$ if $x < 1$, infinite otherwise.