What was Euler's first proof of his famous formula?
In Euler's book on complex functions he used the following proof. But was this his first proof?
Euler starts with writing down De Moivre's Formula (can be proven by simple induction using some basic trig identities).
$$\cos(nx)+i\sin(nx)=\left( \cos(x)+i\sin(x)\right)^n$$
He says that $n$ is very large ($n \to \infty$) and $x$ is very small ($x\to 0$). The product of both will be a finite number called $\omega =nx$. Then he applies this as substitution for De Moivres Formula: $$\cos(\omega)+i\sin(\omega)=\left( \cos(\frac{\omega}{n})+i\sin(\frac{\omega}{n})\right)^n$$
Euler now applies the limit $n\to \infty$: $$\cos(\omega)+i\sin(\omega)=\lim_{n\to \infty}\left( \cos(\frac{\omega}{n})+i\sin(\frac{\omega}{n})\right)^n$$
using small angle aproximations $\cos(x)\approx 1$ and $\sin(x)\approx x$: $$\cos(\omega)+i\sin(\omega)=\lim_{n\to \infty}\left( 1+\frac{i\omega}{n}\right)^n=e^{i\omega}.$$
In the last line he applied the limit representation $e^x=\lim\limits_{n\to \infty}(1+\frac{x}{n})^n$.