Step 1 of 7

The Complex Plane

Every complex number a + bi is a point: the real part a runs along the horizontal Re axis and the imaginary part b runs up the vertical Im axis. Watch the unit circle draw itself — every point on it sits exactly 1 unit from the origin, and that circle is where e^(iθ) lives.

e^(iθ) Walks the Unit Circle

The orange phasor makes one full turn as θ grows from 0 to 2π. At θ = 0 its tip sits at 1, at θ = π/2 it reaches i, at θ = π it reaches −1, and at 2π it is back at 1. Its length never changes, so e^(iθ) is a pure rotation.

Real Part = cos θ

The green dashed line drops from the tip to the Re axis: that horizontal shadow is cos θ. The upper plot on the right traces the same value against θ from 0 to 2π, and its moving dot is joined to the tip by a dashed link, so the circle and the wave stay in step.

Imaginary Part = sin θ

The red dashed line runs from the tip to the Im axis: that height is sin θ. The lower plot on the right traces sin θ as a wave. One rotating point produces both waves at once, which is exactly what e^(iθ) = cos θ + i·sin θ says.

Worked Example: θ = π/3 and θ = π

Press "θ = π/3 (60°)" to put the tip at 60°. The plots read cos(π/3) = 0.5 and sin(π/3) ≈ 0.866, so e^(iπ/3) = 0.5 + 0.866i, and 0.5² + 0.866² ≈ 1, as every point on the circle must. Now drag the tip to θ = π (180°): cos π = −1 and sin π = 0, so e^(iπ) = −1, which is Euler's identity e^(iπ) + 1 = 0.

Drag the Phasor Tip

Drag the "phasor tip" around the circle, or move the "Angle θ" slider, and both side plots follow your hand. Then press "New Target": an exact number such as −1/2 + (√3/2)i appears as a ring. Find the angle that lands the tip on it — here 120°, since cos 120° = −1/2 and sin 120° = √3/2.

Harmonics and Multiplying

Move the "Harmonic n" slider above 1: e^(inθ) spins n times faster than θ, and each side plot shows n full waves — the building blocks of Fourier series. Toggle "Multiply by a second phasor" to see e^(inθ)·e^(iα) land at angle nθ + α: multiplying unit complex numbers adds their angles, which is a rotation.

How It Works — Step by Step

Step 1 of 7
  1. 1

    The Complex Plane

    Every complex number a + bi is a point: the real part a runs along the horizontal Re axis and the imaginary part b runs up the vertical Im axis. Watch the unit circle draw itself — every point on it sits exactly 1 unit from the origin, and that circle is where e^(iθ) lives.

  2. 2

    e^(iθ) Walks the Unit Circle

    The orange phasor makes one full turn as θ grows from 0 to 2π. At θ = 0 its tip sits at 1, at θ = π/2 it reaches i, at θ = π it reaches −1, and at 2π it is back at 1. Its length never changes, so e^(iθ) is a pure rotation.

  3. 3

    Real Part = cos θ

    The green dashed line drops from the tip to the Re axis: that horizontal shadow is cos θ. The upper plot on the right traces the same value against θ from 0 to 2π, and its moving dot is joined to the tip by a dashed link, so the circle and the wave stay in step.

  4. 4

    Imaginary Part = sin θ

    The red dashed line runs from the tip to the Im axis: that height is sin θ. The lower plot on the right traces sin θ as a wave. One rotating point produces both waves at once, which is exactly what e^(iθ) = cos θ + i·sin θ says.

  5. 5

    Worked Example: θ = π/3 and θ = π

    Press "θ = π/3 (60°)" to put the tip at 60°. The plots read cos(π/3) = 0.5 and sin(π/3) ≈ 0.866, so e^(iπ/3) = 0.5 + 0.866i, and 0.5² + 0.866² ≈ 1, as every point on the circle must. Now drag the tip to θ = π (180°): cos π = −1 and sin π = 0, so e^(iπ) = −1, which is Euler's identity e^(iπ) + 1 = 0.

  6. 6

    Drag the Phasor Tip

    Drag the "phasor tip" around the circle, or move the "Angle θ" slider, and both side plots follow your hand. Then press "New Target": an exact number such as −1/2 + (√3/2)i appears as a ring. Find the angle that lands the tip on it — here 120°, since cos 120° = −1/2 and sin 120° = √3/2.

  7. 7

    Harmonics and Multiplying

    Move the "Harmonic n" slider above 1: e^(inθ) spins n times faster than θ, and each side plot shows n full waves — the building blocks of Fourier series. Toggle "Multiply by a second phasor" to see e^(inθ)·e^(iα) land at angle nθ + α: multiplying unit complex numbers adds their angles, which is a rotation.

Key Takeaways

One Formula, Two Functions

e^(iθ) = cos(θ) + i·sin(θ). The real part gives cosine; the imaginary part gives sine. Two seemingly unrelated functions are faces of the same exponential.

The Most Beautiful Equation

Euler's identity e^(iπ) + 1 = 0 links the five most important constants in mathematics: e, i, π, 1, and 0. It's not a coincidence — it falls directly from the formula.

Rotation in the Complex Plane

Multiplying by e^(iθ) rotates a complex number by θ radians. This makes complex exponentials the natural language for oscillations, waves, and rotations.

Foundation of Signal Processing

The Fourier transform uses e^(−i·2πft) to decompose signals into frequencies. Without Euler's formula, modern communications, audio, and imaging would not exist.

Added
Updated
  • — Drag the phasor tip, linked cosine and sine plots, a worked example at θ = π/3, and steps that follow your pace
  • — Added a multiply-by-e^(iα) what-if mode, a hit-the-target challenge and a new quiz question
  • — Fixed the step highlight so the last step now lights up