On Wikipedia, it says that $\lim_{n\to\infty}(1+\frac{1}{n})^n = e$ :
It [e] is approximately equal to 2.71828,[1] and is the limit of (1 + 1/n)n as n approaches infinity, ... (Source)
When I evaluate $(1+\frac{1}{n})^n$ for $n = 10^8$, I get approximately $2.718281798347$ which indeed is pretty close to $e$.
But when I try to "solve" the limit using the laws of limits, I get
$$\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n = \left(\lim_{n\to\infty}\left(1+\frac{1}{n}\right)\right)^n$$
because of the power law
$$ = \left(\lim_{n\to\infty}(1)+\lim_{n\to\infty}\left(\frac{1}{n}\right)\right)^n$$
because of the addition law
$$=\left(1+0\right)^n = 1$$
but that would mean that $e=1$, which is obviously not true.
What am I missing / doing wrong?
Thanks in advance.
This is wrong. The quantity on the left is independent of $n$ while the one on the right is not.
What the power law tells you is for some positive integer $m$, $$ \lim_{n\to\infty}a_n^m=(\lim_{n\to\infty}a_n)^m $$ if $a_n>0$ for all $n$ and $\lim_{n\to\infty}a_n$ exists.
[Added later:] Despite the incorrect reasoning mentioned above, it is worth to note that the limit $\lim_{n\to\infty}(1+1/n)^n$ is sometimes used as a definition of $e$. Therefore, unless you know why the limit is not $1$, it would be "unfair" to say that "e=1" is "obviously not true".
Also, you originally put the
Euler-constanttag to your question, which is also incorrect. Since the constant $e$, sometimes called the "Euler number" is not the same as the Euler's constant.