Proof (Euler's formula)
By the definition of the exponential function, $$\begin{align*} e^{iz} &= \sum_{k=0}^\infty \frac{i^kz^k}{k!} \\ &= \underbrace{\sum_{k=0}^\infty\frac{i^{2k}z^{2k}}{(2k)!}}_\text{even terms} + \underbrace{\sum_{k=0}^\infty\frac{i^{2k+1}z^{2k+1}}{(2k+1)!}}_\text{odd terms} \\ &= \sum_{k=0}^\infty \frac{(-1)^k z^{2k}}{(2k)!}+ \sum_{k=0}^\infty \frac{i(-1)^kz^{2k+1}}{(2k+1)!} \\ &= \cos z + i\sin z \end{align*}$$ where the last step uses the definition of sin and cos.