Euler’s formula in this visualization
Euler’s formula says for every real measured in radians. To give a meaning, use either of the two ways is defined for real : the compound-interest limit , or the series . Both work just as well when . In the picture the blue point is on the unit circle and the red path builds it: with , 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 turns by and stretches by . After factors the accumulated turn is , which tends to , and the total stretch is , which tends to 1: a small turn is almost free of stretch, and of them add up to the angle but not to any growth. For a fixed and large the end of the path misses by about , so doubling 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 the powers of run , so each term turns 90° from the one before (anticlockwise for , clockwise for ). Its length is multiplied by from one term to the next: when the first terms grow, but once they shrink, soon faster than any fixed ratio, and the partial sums spiral in on one point. Sorting the terms gives the real part and the imaginary part , the Taylor series of and : the two coordinates of the point at angle on the unit circle.
Half a turn
At the point is half way round: , often written . Because multiplying turns, angles add: , and .
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.