Euler's formula from the Taylor series
About this app
Proof of Euler's formula in eight steps: the Taylor series of eˣ only needs plus and times and therefore also works for complex numbers. With z = iφ every term turns another 90°, and the arrows form a spiral towards the unit circle. Sorted into terms without and with i, they become the series of cosine and sine, shown on a helix with cos and sin shadows. De Moivre's theorem follows at the end.
The idea
Euler’s formula states e^{iφ} = cos φ + i sin φ. One proof uses the Taylor series eˣ = ∑ xᵏ/k!. It only needs addition and multiplication, so it also defines e^z for complex z. Substituting z = iφ, the powers of i cycle through 1, i, −1, −i. Terms with even k are real and give 1 − φ²/2! + φ⁴/4! − …, which is cos φ. Terms with odd k carry an i and give φ − φ³/3! + …, which is i sin φ. Rearranging is allowed because the series converges absolutely. For φ = π this yields e^{iπ} + 1 = 0.
What the app shows
Eight steps lead through the proof. First the Taylor polynomials T_N hug the curve eˣ. Then the plane folds into the complex plane, and the terms zᵏ/k! are laid head to tail as arrows. With z = iφ each arrow turns a further 90°, and the chain forms a spiral that ends on the unit circle. Next the arrows are sorted by even and odd k. In 3D a helix appears whose shadows on the walls are cosine and sine. The last step derives de Moivre’s theorem.
Things to try
Increase the number of terms N and watch the partial sum approach the point e^{iφ}. Drag the point on the unit circle or set φ = π. In the last step you set the power n; for n = 2 you get cos 2φ = cos²φ − sin²φ and sin 2φ = 2 sin φ cos φ. Dragging rotates the 3D view, and the arrow keys step through the proof.
Frequently asked questions
- How do you prove Euler’s formula?
- Substitute iφ into the Taylor series of the exponential function: e^{iφ} = ∑ (iφ)ᵏ/k!. Because i² = −1, the terms with even k are real and those with odd k are imaginary. Regrouping the absolutely convergent series accordingly gives exactly the series for cos φ and i sin φ.
- Why does e^{iφ} lie on the unit circle?
- By Euler’s formula, e^{iφ} = cos φ + i sin φ, and cos²φ + sin²φ = 1. So its magnitude is always 1. The angle φ in radians is the length of the arc from the point 1 to e^{iφ}.
- What does e^{iπ} + 1 = 0 mean?
- Setting φ = π in Euler’s formula gives e^{iπ} = cos π + i sin π = −1. Rearranged, this is Euler’s identity e^{iπ} + 1 = 0, which links the numbers e, i, π, 1 and 0. Geometrically, e^{iπ} is the point reached after half a turn around the unit circle.
- What does this Euler’s formula app show?
- It takes you in eight steps from the Taylor series of eˣ to Euler’s formula and on to de Moivre’s theorem. You can set the number of series terms, the angle φ and, in the last step, the power n, and rotate the 3D view.
Subject: Complex numbers
More from Complex numbers
- Complex addition
- Complex division
- Complex multiplication
- Complex numbers workshop
- n-th roots
- Powers of complex numbers
- Number system ladder: from ℕ to ℂ
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps