Skip to content

Complex exponentials & phasors

Set 3.3's fixed point spinning to meet Euler's formula, phasors, beats and decaying spirals.

Before this3.3
Chapter 3 · Lesson 4 of 4

First, the picture

Drag Angle around the full circle and watch the two readouts, one point written two ways, always agree.

One point, two ways to write it

One point, written two equivalent ways.

The point always lands exactly on the circle: its across value is the cosine of the angle, its up value is the sine.

60 °
Point on the circle
0.50 + 0.87j
Same point, two formulas
cos 60° + j sin 60° = 0.50 + 0.87j
Describe this picture

The complex plane with the unit circle and one point on it. The “Angle” slider runs from 0° to 360° and starts at 60°. The readout “Point on the circle” gives the point as a+jba + jb, and “Same point, two formulas” gives cos⁡θ+jsin⁡θ\cos\theta + j\sin\theta at that angle and its value.

One point, two ways to write it

In 3.3 you multiplied points by rotating and scaling: multiply two complex numbers together and their lengths multiply while their angles add. I want to show you a shorthand for that rule, one you’ve probably already seen written as ”ee to the jθj\theta” without ever being told what it’s shorthand for.

Here’s the idea. Take the point at angle θ\theta on the unit circle, cos⁡θ+jsin⁡θ\cos\theta + j\sin\theta. Multiply it by the point at angle ϕ\phi, and by 3.3’s rule the lengths (both 1) multiply to stay 1, and the angles add: you land on the point at angle θ+ϕ\theta+\phi. That’s exactly how ordinary exponents behave, where multiplying xθx^\theta by xϕx^\phi adds the exponents to give xθ+ϕx^{\theta+\phi}. Because “the point at angle θ\theta” obeys the same adding-exponents rule, mathematicians write it using exponent notation too, with a particular number ee (you may have met it as the base of natural growth) raised to the power jθj\theta:

ejθ=cos⁡θ+jsin⁡θe^{j\theta} = \cos\theta + j\sin\theta

This is Euler’s formula. It earns the name “exponential” honestly, not by analogy: it obeys the one rule that defines what an exponential is, ejθ1⋅ejθ2=ej(θ1+θ2)e^{j\theta_1}\cdot e^{j\theta_2} = e^{j(\theta_1+\theta_2)}, because that’s just 3.3’s rotate-and-scale rule in disguise. Read ejθe^{j\theta}, whenever you meet it, simply as “the point on the unit circle at angle θ\theta.”

At θ=60°=π/3\theta=60°=\pi/3 radians: ejπ/3=cos⁡60°+jsin⁡60°=0.5+0.866je^{j\pi/3} = \cos60° + j\sin60° = 0.5 + 0.866j.

In the picture at the top of the page, the point’s across value is always the cosine of the angle, and its up value is always the sine: ejθe^{j\theta} isn’t a new calculation, it’s the same point you already know how to find.

A point that keeps spinning

Fix an angle and ejθe^{j\theta} sits still. But let the angle grow steadily with time instead, θ=ωt\theta = \omega t, where ω\omega (in radians per second) sets how fast it grows, and the point starts spinning around the circle at a constant rate. A point like this, ejωte^{j\omega t}, is called a phasor. Picture a lighthouse beam sweeping around at a steady rate: the beam itself is the phasor, and the patch of light it casts on a straight wall to the side is one of its shadows.

The phasor’s horizontal shadow, its across value over time, traces cos⁡ωt\cos\omega t. Its vertical shadow, its up value over time, traces sin⁡ωt\sin\omega t. These are exactly the sine and cosine waves from 3.2, now revealed as the two projections of one spinning point.

Drag Spin rate (turns per second) up and down and watch both shadow traces speed up and slow down together.

A point that keeps spinning

Its shadow on each axis is an ordinary sine wave.

0.25
One full turn takes
4.00 seconds
0.00 s
Describe this picture

The unit circle with a point spinning counterclockwise, dashed lines showing its shadow on each axis, and beside it the two shadows over four seconds: the horizontal one, a cosine labelled across, and the vertical one, a sine labelled up. The “Spin rate (turns per second)” slider runs from 0.1 to 1, and the readout “One full turn takes” gives the period in seconds. A transport plays and pauses the spin.

They always keep the same frequency as the spin. Notice cosine (the horizontal shadow) always leads sine (the vertical shadow) by a quarter turn, exactly the phase relationship you saw between them back in 3.2.

Two points spinning opposite ways

e−jωte^{-j\omega t} is the same idea with the angle growing in the other direction: it spins clockwise at the same rate that ejωte^{j\omega t} spins counterclockwise. This second phasor turns out to be exactly what you need to get a real sinusoid, with no leftover imaginary part, out of spinning points.

Add a phasor to its opposite-spinning twin and divide by 2:

ejωt+e−jωt2=cos⁡ωt\frac{e^{j\omega t} + e^{-j\omega t}}{2} = \cos\omega t

Picture two dancers spinning in mirror-image directions at the same speed: at every instant they sit the same height above or below the floor, one on each side, so their heights are always exact opposites and their sideways positions always match. Averaging the two points cancels the vertical parts completely and leaves only the shared horizontal motion, a plain cosine. Check it at θ=60°\theta=60°: (0.5+0.866j+0.5−0.866j)/2=0.5=cos⁡60°(0.5+0.866j + 0.5-0.866j)/2 = 0.5 = \cos60°, exactly.

This is worth sitting with, because it says every real sinusoid you’ve ever measured is secretly two counter-rotating phasors, added together and halved. The “negative frequency” −ω-\omega isn’t a strange negative quantity, it’s just the second point’s spin direction.

Switch Show the mirror pair between Shown and Hidden and watch the second, opposite-spinning point appear and disappear.

Two points spinning opposite ways

Add a phasor to its mirror-image twin: only the horizontal motion survives.

The two points' vertical coordinates are always exact opposites and cancel, leaving only their shared horizontal motion.

Show the mirror pair
Vertical parts
Always exact opposites: they cancel.
What is left
Only the shared horizontal motion, an ordinary cosine.
0.00 s
Describe this picture

The unit circle with a phasor spinning counterclockwise and, when “Show the mirror pair” is set to Shown, its twin spinning clockwise at the same rate. The readout “Vertical parts” says “Always exact opposites: they cancel.” and “What is left” says “Only the shared horizontal motion, an ordinary cosine.” A transport plays and pauses the animation.

Notice, with the pair shown, the two points’ vertical coordinates are always exact opposites: whatever one is above the horizontal axis, the other is exactly as far below it.

Adding two spinning arrows

Two sinusoids at the same frequency ω\omega are two phasors spinning together, rigidly, always the same angle apart. Because they spin together, their sum is also a plain sinusoid at that same frequency, and you can find it without touching time at all: add the two phasors as fixed arrows, the way you added complex numbers in 3.3, and only then let the combined arrow start spinning.

Picture two speakers playing the same pitch, out of step with each other: they combine into one wave at that same pitch, louder or softer depending on how their phases line up.

Take 3cos⁡(ωt)+4sin⁡(ωt)3\cos(\omega t) + 4\sin(\omega t). Writing 4sin⁡(ωt)4\sin(\omega t) as a cosine shifted by a quarter turn, 4cos⁡(ωt−90°)4\cos(\omega t - 90°), gives two phasors, 3∠0°3\angle0° and 4∠−90°4\angle{-90°}, which as rectangular points are 3+0j3+0j and 0−4j0-4j. Adding them:

3+(−4j)=3−4j3 + (-4j) = 3 - 4j

with magnitude 32+42=5\sqrt{3^2+4^2}=5 and an angle of about −53.13°-53.13° (the same 53.13°53.13° as in 3.3, but below the axis this time). So the sum is a single wave, 5cos⁡(ωt−53.13°)5\cos(\omega t - 53.13°).

Drag either arrow and watch all three traces below the plane: phasor 1’s wave, phasor 2’s wave, and their sum.

Adding two spinning arrows

Add the two arrows at one instant; that is the same as adding the two waves at every instant.

Phasor 1
3.00 + 0.00j
Phasor 2
0.00 − 4.00j
Sum
3.00 − 4.00j
As a single wave
5.00 cos(2πt − 53.1°)
Describe this picture

The complex plane with two arrows you can drag and their sum, and below it three waves: arrow 1’s, arrow 2’s, and the sum, once every phasor is set spinning. Three readouts show “Phasor 1”, “Phasor 2” and “Sum”.

Notice the sum trace is always a single clean cosine at the same frequency as the other two, and its amplitude and phase read straight off the combined arrow’s own length and angle.

Two tones that almost match

Phasor addition assumed both arrows spin at exactly the same rate. Let them spin at slightly different rates instead, and the combined arrow stops keeping a fixed shape: it slowly drifts in and out of alignment with itself, so the two tones added together swell louder, then fade softer, over and over. This slow throb is called a beat.

Picture two nearly-in-tune guitar strings, plucked together: instead of one steady pitch you hear a slow “wah-wah” pulsing on top of it. Two tones at 440 Hz and 445 Hz, added together, beat at ∣445−440∣=5\lvert445-440\rvert=5 Hz: five swells and fades every second.

Drag Frequency gap (Hz) down toward zero and watch the outline curve around the wave stretch out, swelling more slowly.

Two tones that almost match

The loud-soft swell repeats at the difference between the two frequencies.

The envelope (the outline around the wave) swells and fades exactly the frequency gap times a second: halve the gap and it swells half as often.

1.00
Tone 1
8.0 Hz
Tone 2
9.00 Hz
Swells and fades
1.00 times a second
Describe this picture

One plot against time in seconds of two tones added together, with the outline around the wave, the envelope, drawn above and below it in a second colour. The “Frequency gap (Hz)” slider runs from 0.5 to 4 and starts at 1. Three readouts show “Tone 1”, “Tone 2” and “Swells and fades”, the number of times a second.

Notice it swells and fades as many times per second as the frequency gap: halve the gap and you hear the throb half as often.

Spinning while shrinking or growing

Everything so far kept the phasor’s length fixed at 1, tracing a perfect circle. Let the exponent pick up a second, real part σ\sigma alongside the spin rate ω\omega:

est=e(σ+jω)t=eσt ejωte^{st} = e^{(\sigma+j\omega)t} = e^{\sigma t}\, e^{j\omega t}

The ejωte^{j\omega t} piece still spins at the same steady rate as before. The new eσte^{\sigma t} piece multiplies the radius at every instant: since it’s an ordinary (real) growth or decay factor, it doesn’t change the angle at all, only the point’s distance from the centre. The path is no longer a circle but a spiral, shrinking inward if σ<0\sigma<0 or growing outward if σ>0\sigma>0.

Picture a plucked guitar string: its actual vibration is a phasor that spins at the string’s pitch while steadily losing energy, a spinning-and-shrinking arrow whose spin rate ω\omega sets the pitch you hear and whose decay rate σ\sigma sets how fast the sound fades.

Drag Decay rate away from zero in either direction and watch the spiral pull inward or push outward, loop by loop.

Spinning while shrinking or growing

The same spin as before, but each loop lands a different distance from the centre.

-0.30
Each loop lands
Closer to the centre than the one before
0.00 s
Describe this picture

The complex plane with a point spinning and, for a nonzero decay rate, shrinking inward or growing outward along a spiral, and beside it the real part over time, a decaying or growing cosine. The “Decay rate” slider runs from −1-1 to 1 and starts at −0.3-0.3; the readout “Each loop lands” says where each loop ends. A transport plays and pauses the spiral.

Notice at a decay rate of exactly zero you’re back to the plain circle from the spinning-point instrument above, a pure, undamped cosine.

Where you’ll meet this

Phasors are the reason the systems of Chapters 4 and 5 turn out to be so easy to analyze: feed a spinning point into one of the well-behaved systems you’ll meet there, and what comes out is the same spinning point, just stretched and turned by one fixed complex number. Chapter 13 measures a signal’s frequencies with exactly this family of spinning points, and the spiral este^{st} you just met returns as the building block of Chapters 9 and 16.

The maths behind it · eigenvectors

Some inputs pass through a well-behaved system with their shape untouched, only scaled. Linear algebra has the same idea for matrices, and gives those special inputs a name (eigenvectors); phasors play exactly that role for the systems in Chapter 5.

Worked example

  1. Euler check. (ejπ/3+e−jπ/3)/2=(0.5+0.866j+0.5−0.866j)/2=0.5=cos⁡(π/3)\left(e^{j\pi/3}+e^{-j\pi/3}\right)/2 = (0.5+0.866j+0.5-0.866j)/2 = 0.5 = \cos(\pi/3), exactly.
  2. Phasor sum. 3cos⁡(ωt)+4sin⁡(ωt)3\cos(\omega t)+4\sin(\omega t): write 4sin⁡(ωt)=4cos⁡(ωt−90°)4\sin(\omega t)=4\cos(\omega t-90°), so the phasors are 3∠0°+4∠−90°=3−4j3\angle0° + 4\angle{-90°} = 3-4j. Magnitude 32+42=5\sqrt{3^2+4^2}=5, angle about −53.13°-53.13°, giving 3cos⁡(ωt)+4sin⁡(ωt)=5cos⁡(ωt−53.13°)3\cos(\omega t)+4\sin(\omega t)=5\cos(\omega t-53.13°).
  3. Beats. 440 Hz and 445 Hz tones added together beat at ∣445−440∣=5\lvert445-440\rvert=5 Hz.

Reference card

QuantityFormulaNotes
Euler’s formulaejθ=cos⁡θ+jsin⁡θe^{j\theta}=\cos\theta+j\sin\thetaa point on the unit circle at angle θ\theta
Phasorejωte^{j\omega t}spins the unit circle at rate ω\omega
Cos/sin from phasorscos⁡ωt=12(ejωt+e−jωt)\cos\omega t=\tfrac12(e^{j\omega t}+e^{-j\omega t}), sin⁡ωt=12j(ejωt−e−jωt)\sin\omega t=\tfrac1{2j}(e^{j\omega t}-e^{-j\omega t})real sinusoid = two counter-rotating phasors
Phasor additionA1ejϕ1+A2ejϕ2=∣sum∣ ejarg⁡(sum)A_1e^{j\phi_1}+A_2e^{j\phi_2} = \lvert\text{sum}\rvert\,e^{j\arg(\text{sum})}equal-frequency sinusoids only
Beat frequency∣f1−f2∣\lvert f_1-f_2\rvertenvelope swell rate of two close tones
Damped exponentialest=eσtejωte^{st}=e^{\sigma t}e^{j\omega t}σ<0\sigma<0 inward spiral, σ>0\sigma>0 outward spiral

End of lesson 3.4

Where to go next.

Phasorium
LibraryEvery lesson, in order

Parts

About Phasorium
Look