I want to prove that
$$e^{ab}=\left(e^{a}\right)^{b}$$where
$$a,b \in \mathbb{R}$$ using the infinite series for $$e^{x}$$
My attempt:
$$e^{ab}=\sum_{n=0}^{\infty}\frac{(ab)^{n}}{n!}=\sum_{n=0}^{\infty}\frac{(a)^{n}(b)^{n}}{n!}=\sum_{n=0}^{\infty}\frac{(a)^{n}}{n!}b^{n}=1+(a)b+\left(\frac{a^{2}}{2}\right)b^{2}+\left(\frac{a^{3}}{6}\right)b^{3}+\cdots$$
At this point I don't know how to proceed. I don't see how I could get b out of the series and have it as a power that the series is raised to. I thought that it resembled the geometric series, but that did not seem to lead anywhere.