According to this source (and many others):
If $r$ is a positive rational number and $c$ is any real number, then
$$\lim_{x\to \infty} \frac{c}{x^r} = 0$$
Consider some basic limit problem, for example:
$$\lim_{x\to \infty} 5 + \frac{1}{x}$$
If I get this correctly, it solves like this: $$5 + 0 = 5$$
And now coming back to my main question:
$$\lim_{x \to \infty} (1 + \frac{1}{x})^x$$
Since $\lim_{x\to \infty} \frac{1}{x} = 0$, then
$$\lim_{x \to \infty} (1 + \frac{1}{x})^x = (1+0)^{\infty}$$
Now, although I'm not sure what $(1)^{\infty}$ means, but it definitely doesn't look like anything close to 2.71828
So the question is, why $\lim_{x \to \infty} (1 + \frac{1}{x})^x = e$?
I understand that you can just plug large numbers into $(1 + \frac{1}{x})^x$ and see that result approaches ~2.71828, but I'm more interested in mathematical derivation.