Showing that $\exp(\sum_{n=1}^\infty a_nX^n)=\prod_{n=1}^\infty\exp(a_nX^n)$ for formal power series I've just come across formal power series and am not very fluent with them yet.
I'd like to show that $\exp(\sum_{n=1}^\infty a_nX^n)=\prod_{n=1}^\infty\exp(a_nX^n)$.
Can anybody help?

$$\exp\left(\sum\limits_{n=0}^{+\infty}a_n X^n\right)=\exp\left({\lim\limits_{n\to 
+\infty}\sum\limits_{k=0}^{n}a_k X^k}\right)=\lim\limits_{n \to +\infty}\exp \left(\sum\limits_{k=0}^{n}a_k X^k\right)=\lim\limits_{n \to \infty}\prod\limits_{k=0}^{n}\exp \left(a_k X^k\right)=\\=\prod\limits_{n=0}^{+\infty}\exp \left(a_n X^n\right)  $$
We changed $\lim$ and $\exp$ because of the fact that $\exp x$ is continuous
