The exponential function \( e^x \) can be expanded as a power series:
\[ e^x = \sum_{n=0}^{\infty} \frac{x^n}{n!}. \]
By substituting \( x \) with \( \mathrm{i}x \) (where \( \mathrm{i} \) is the imaginary unit), we get:
\[ e^{\mathrm{i} x} = \sum_{n=0}^{\infty}
Show more…