Calculus · Euler’s formula

Euler’s formula

Euler’s formula says eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta: an imaginary exponent gives the point of the unit circle at angle θ\theta (in radians). It comes from the same limit that defines ee: in (1+iθ/n)n(1 + i\theta/n)^n each factor turns and stretches a little, and as n→∞n \to \infty the turns add up to θ\theta while the stretch goes to 1. At θ=π\theta = \pi it gives eiπ=−1e^{i\pi} = -1.

Euler’s formula in this visualization

Euler’s formula says eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta for every real θ\theta measured in radians. To give eiθe^{i\theta} a meaning, use either of the two ways exe^x is defined for real xx: the compound-interest limit (1+x/n)n(1 + x/n)^n, or the series ∑xk/k!\sum x^k/k!. Both work just as well when x=iθx = i\theta. In the picture the blue point is eiθe^{i\theta} on the unit circle and the red path builds it: 1,z,z2,…,zn1, z, z^2, \dots, z^n with z=1+iθ/nz = 1 + i\theta/n, or the partial sums of the series.

Why it lands on the unit circle at angle θ

Multiplying by a complex number turns by its angle and stretches by its length. So each factor z=1+iθ/nz = 1 + i\theta/n turns by arctan⁡(θ/n)\arctan(\theta/n) and stretches by 1+θ2/n2\sqrt{1 + \theta^2/n^2}. After nn factors the accumulated turn is narctan⁡(θ/n)n\arctan(\theta/n), which tends to θ\theta, and the total stretch is (1+θ2/n2)n/2(1 + \theta^2/n^2)^{n/2}, which tends to 1: a small turn is almost free of stretch, and nn of them add up to the angle but not to any growth. For a fixed θ≠0\theta \ne 0 and large nn the end of the path misses eiθe^{i\theta} by about θ2/(2n)\theta^2/(2n), so doubling nn about halves the gap. With few steps the stretch is large and the path ends well outside the circle, and a few more steps do not always bring it closer.

The series, and cos and sin

In the series ∑(iθ)k/k!\sum (i\theta)^k/k! the powers of ii run 1,i,−1,−i,1,…1, i, -1, -i, 1, \dots, so each term turns 90° from the one before (anticlockwise for θ>0\theta > 0, clockwise for θ<0\theta < 0). Its length ∣θ∣k/k!|\theta|^k/k! is multiplied by ∣θ∣/(k+1)|\theta|/(k+1) from one term to the next: when ∣θ∣>1|\theta| > 1 the first terms grow, but once k+1>∣θ∣k + 1 > |\theta| they shrink, soon faster than any fixed ratio, and the partial sums spiral in on one point. Sorting the terms gives the real part 1−θ2/2!+θ4/4!−⋯1 - \theta^2/2! + \theta^4/4! - \cdots and the imaginary part θ−θ3/3!+⋯\theta - \theta^3/3! + \cdots, the Taylor series of cos⁡θ\cos\theta and sin⁡θ\sin\theta: the two coordinates of the point at angle θ\theta on the unit circle.

Half a turn

At θ=π\theta = \pi the point is half way round: eiπ=−1e^{i\pi} = -1, often written eiπ+1=0e^{i\pi} + 1 = 0. Because multiplying turns, angles add: eiαeiβ=ei(α+β)e^{i\alpha}e^{i\beta} = e^{i(\alpha + \beta)}, and e2πi=1e^{2\pi i} = 1.

Things to notice

  • θ is in radians: θ = 360 is about 57 turns, not one.
  • For θ ≠ 0 and finite n, (1 + iθ/n)ⁿ lies outside the unit circle. At θ = 0 it equals 1 for every n.

Controls

  • Drag the blue point round the circle to change θ; it snaps to the multiples of π/2.

Related