Came across a book that assumes we understand why this holds:
$\lim \limits_{n \to \infty}(1+\frac rn)^n = \lim \limits_{n \to \infty}(1+\frac1n)^{rn}$
I already verified both sides converge numerically but I'd like to know if there's a more rigorous proof. This probably is a duplicate but I had a hard time figuring out what to look for.
We see that \begin{align} \lim_{n\to\infty}\left(1+\frac{r}{n}\right)^n&=\lim_{rm\to\infty}\left(1+\frac{r}{rm}\right)^{rm}\\ &=\lim_{rm\to\infty}\left(1+\frac{1}{m}\right)^{rm}\\ &=\lim_{m\to\infty}\left(1+\frac{1}{m}\right)^{rm}\\ &=\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^{rn}\\ \end{align} note that the steps from the first line and the second to the third line can only be done if $r>0$; I leave the case $r<0$ and $r=0$ to you (spoilers: case $r=0$ is simply filling in $r=0$ and you're done, and $r<0$ is painfully similar to the $r>0$ case).