Visualize Euler's Identity

This simulation illustrates why the famous Euler's Identity

$$e^{i\pi} = -1$$

holds, by utilizing the following equation: $$e^x = \lim_{n\to\infty} (1 + \frac{x}{n})^n$$, which holds for any complex number $x$.

Check out the results for different values of $n$, or simply click on "Animate to n = 128".

As you will see, as $n$ gets larger and larger, $(1 + \frac{i\pi}{n})^n$ gets closer and closer to -1.

Created with Gemini
© 2025 Computer Science Visualized