Academy

Euler's Formula

The most important formula connecting exponential and trigonometric functions. Derived by substituting iθ into the Taylor series of eˣ and separating real and imaginary parts. The special case θ = π gives Euler's identity: e^(iπ) + 1 = 0.
Derivation

Three functions — exe^x, cosθ\cos\theta, sinθ\sin\theta — look entirely unrelated when first encountered. Euler's formula reveals they are the same object, viewed from different angles.

The Taylor Series of exe^x

For any real number xx:

ex=1+x+x22!+x33!+x44!+x55!+e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \frac{x^4}{4!} + \frac{x^5}{5!} + \cdots

This series converges for all xRx \in \mathbb{R}. We now ask: what happens if we substitute x=iθx = i\theta, where θ\theta is real?

Substituting x=iθx = i\theta

eiθ=1+iθ+(iθ)22!+(iθ)33!+(iθ)44!+(iθ)55!+e^{i\theta} = 1 + i\theta + \frac{(i\theta)^2}{2!} + \frac{(i\theta)^3}{3!} + \frac{(i\theta)^4}{4!} + \frac{(i\theta)^5}{5!} + \cdots

Each power of iθi\theta simplifies using the cycle i1=i,  i2=1,  i3=i,  i4=1i^1 = i,\; i^2 = -1,\; i^3 = -i,\; i^4 = 1:

(iθ)1=iθ,(iθ)2=θ2,(iθ)3=iθ3,(iθ)4=θ4,(iθ)5=iθ5,(i\theta)^1 = i\theta, \quad (i\theta)^2 = -\theta^2, \quad (i\theta)^3 = -i\theta^3, \quad (i\theta)^4 = \theta^4, \quad (i\theta)^5 = i\theta^5, \quad \ldots

Substituting:

eiθ=1+iθθ22!iθ33!+θ44!+iθ55!e^{i\theta} = 1 + i\theta - \frac{\theta^2}{2!} - \frac{i\theta^3}{3!} + \frac{\theta^4}{4!} + \frac{i\theta^5}{5!} - \cdots

Separating Real and Imaginary Parts

Collect terms without ii (real part) and terms with ii (imaginary part):

eiθ=(1θ22!+θ44!θ66!+)real part+  i(θθ33!+θ55!)imaginary parte^{i\theta} = \underbrace{\left(1 - \frac{\theta^2}{2!} + \frac{\theta^4}{4!} - \frac{\theta^6}{6!} + \cdots\right)}_{\text{real part}} + \; i\underbrace{\left(\theta - \frac{\theta^3}{3!} + \frac{\theta^5}{5!} - \cdots\right)}_{\text{imaginary part}}

These two series are exactly the Taylor expansions of cosθ\cos\theta and sinθ\sin\theta:

cosθ=1θ22!+θ44!sinθ=θθ33!+θ55!\cos\theta = 1 - \frac{\theta^2}{2!} + \frac{\theta^4}{4!} - \cdots \qquad \sin\theta = \theta - \frac{\theta^3}{3!} + \frac{\theta^5}{5!} - \cdots

Therefore:

eiθ=cosθ+isinθ\boxed{e^{i\theta} = \cos\theta + i\sin\theta}

Euler's Identity

Setting θ=π\theta = \pi:

eiπ=cosπ+isinπ=1+0=1e^{i\pi} = \cos\pi + i\sin\pi = -1 + 0 = -1 eiπ+1=0e^{i\pi} + 1 = 0

Five fundamental constants — ee, ii, π\pi, 11, 00 — in a single equation. This is not a coincidence or a trick. It is the direct consequence of the series expansion above.

What the Formula Is Really Saying

Writing z=eiθz = e^{i\theta} means z=1|z| = 1 and arg(z)=θ\arg(z) = \theta. The exponential eiθe^{i\theta} is simply the point on the unit circle at angle θ\theta. As θ\theta increases from 00 to 2π2\pi, eiθe^{i\theta} traces the unit circle exactly once anticlockwise.

This is why multiplying any complex number reiϕr e^{i\phi} by eiαe^{i\alpha} rotates it by α\alpha — you are adding angles in the exponent.