Skip to content

Transforms of common signals

See why signals that never end have spikes in their spectrum, read a spike by its area, and build the standard transform table.

Before this7.3 · 8.1 · 8.2 · 5 more
Chapter 8 · Lesson 3 of 4

First, the picture

Take a pulse of height 1 and widen it, from 2 s to 40 s, until it looks like a level that never ends. Watch its spectrum grow taller and narrower while the area under the whole curve stays put.

Stretch to a spike

A unit pulse widens from 2 s to 40 s.

A pulse 2 s wide: the whole curve, dips and tails included, has area 2π = 6.283.

area of the whole curve
6.283
0.00 / 13.50 s
Describe this picture

The pulse in time on top and its spectrum under it, on a fixed axis from −8-8 to 88 rad/s; the picture has no control. The clip lasts 13.5 s: it holds the first frame for 1.2 s, then the width grows from 2 s to 40 s over 10 s, and the last frames hold. The whole signed curve is filled, parts above zero in one tone and dips below zero in a second tone that counts as negative. One readout, “area of the whole curve”, counts the dips and the tails that run past the edges of the plot; the central hump alone would read 7.417.41. A curve taller than the axis is cut with a break mark, and its height readout continues. Halfway, at 6.2 s, the pulse is 8.94 s wide. At the end the height reads “height 40”, and the fill shrinks into an arrow at 0 labelled 2π2\pi.

Signals that never end

The pairs on From series to transform (8.1) all belonged to signals that die out: a pulse, a decaying exponential. Most signals you meet in practice do not die out. A steady voltage, a hum, a switch left on: none of them ends. By How big is a signal (1.3) they have infinite energy, so the transform integral cannot be computed for them in the usual way.

Their spectra still exist, and they contain spikes. This page shows where a spike comes from and fixes how you read one. Together with the rules of Properties of the Fourier transform (8.2), a short list of pairs gives you every transform an exam asks for.

Here is the convention, stated once. A spike is drawn as an arrow. The number beside it is its area, and its height means nothing. It is the same convention as for δ(t)\delta(t) on Impulse, step and ramp (3.1), now drawn against frequency.

To get the first area, put t=0t=0 into the inverse transform of 8.1. Every ejω⋅0e^{j\omega\cdot0} is 1, so

x(0)=12π∫−∞∞X(jω) dω.x(0)=\frac1{2\pi}\int_{-\infty}^{\infty}X(j\omega)\,d\omega.

The area under a spectrum is therefore 2π x(0)2\pi\,x(0). This line decides the spikes of the next two sections.

A constant is a spike at zero

I will take a unit-height pulse, 1 for ∣t∣<W/2\lvert t\rvert<W/2 and 0 elsewhere, and widen it. By 8.1 and the scaling rule of 8.2, its spectrum is

X(jω)=W sin⁡(ωW/2)ωW/2.X(j\omega)=W\,\frac{\sin(\omega W/2)}{\omega W/2}.

It is WW at ω=0\omega=0 and first reaches zero at 2π/W2\pi/W rad/s. So a wider pulse gives a taller, narrower spectrum. The line above says its area is 2π2\pi for every WW, because x(0)=1x(0)=1.

That is the picture at the top of the page. A pulse 2 s wide has height 2 and first zero π\pi rad/s, and the whole curve, dips and tails included, has area 2π=6.2832\pi=6.283. Inside the plot the fill holds 6.2976.297; the tails beyond take back the difference. The central hump alone would hold more, and the dips take that back too.

Wider in time is narrower in frequency. At 8.948.94 s wide, the height is 8.948.94 and the first zero is 0.700.70 rad/s, and the area still reads 6.2836.283. At 40 s the height is 40 and the first zero is 0.1570.157 rad/s. Then the fill shrinks into an arrow at 0 labelled 2π2\pi: a level that never ends is one spike at zero frequency, of area 2π2\pi.

That is the first pair, which you can read off the end frame:

1 ↔ 2π δ(ω).1\ \leftrightarrow\ 2\pi\,\delta(\omega).

Check it with the line from the start of the page: 12π∫2π δ(ω) dω=1=x(0)\tfrac1{2\pi}\int2\pi\,\delta(\omega)\,d\omega=1=x(0). A steady level on a meter has all of its content at zero frequency, and that spike is the picture of it.

A tone is a pair of spikes

A cosine is two half-size arrows, one spinning each way, as on Complex exponentials and phasors (3.4). So I expect two spikes, each half of the 2π2\pi above. To see it, I cut a burst of cos⁡5t\cos5t and make it longer.

By the modulation rule of 8.2, a burst has two half copies of its window’s spectrum, centred at +5+5 and −5-5 rad/s. The same instrument shows them, while the burst lengthens from four to forty cycles of cos⁡5t\cos5t. Watch the area of each copy.

Stretch to a spike

A burst of cos 5t lengthens from four to forty cycles.

Four cycles of a tone: two lobes, each of area π.

area of the whole curve, copy at −5 rad/s
3.142
area of the whole curve, copy at +5 rad/s
3.142
0.00 / 13.50 s
Describe this picture

The same two panels on the same 13.5 s timeline, with no control and a held last frame. Each copy is filled as a whole signed curve on its own, with its own readout: “area of the whole curve, copy at −5 rad/s” and “area of the whole curve, copy at +5 rad/s”. The copy’s central hump alone would read more, 3.703.70, and its dips take the rest back. Halfway, at 6.2 s, the burst has about 12.65 cycles. At the end, forty cycles, 50.3 s, the heights are 25.1, cut at the axis with the readout continuing, and the fills shrink into two arrows at ±5\pm5 rad/s, each labelled π\pi.

Four cycles of the tone give two lobes, each of area π\pi. The burst is 5.035.03 s long, the lobes are 2.512.51 high, and their first zeros are 1.251.25 rad/s from each centre. Each whole-curve area reads 3.1423.142. A longer tone gives thinner, taller lobes with the same area: at about 12.6512.65 cycles the heights are 7.957.95, the first zeros are 0.400.40 rad/s from each centre, and the areas read 3.1423.142. A tone that never ends gives two spikes at ±5\pm5 rad/s, each of area π\pi.

Writing ω1\omega_1 for the frequency of a tone, the pairs are

ejω1t ↔ 2π δ(ω−ω1),cos⁡ω1t ↔ π[δ(ω−ω1)+δ(ω+ω1)],sin⁡ω1t ↔ πj[δ(ω−ω1)−δ(ω+ω1)].\begin{aligned} e^{j\omega_1t}&\ \leftrightarrow\ 2\pi\,\delta(\omega-\omega_1),\\ \cos\omega_1t&\ \leftrightarrow\ \pi\bigl[\delta(\omega-\omega_1)+\delta(\omega+\omega_1)\bigr],\\ \sin\omega_1t&\ \leftrightarrow\ \frac{\pi}{j}\bigl[\delta(\omega-\omega_1)-\delta(\omega+\omega_1)\bigr]. \end{aligned}

One spinning arrow alone gives one spike of area 2π2\pi. The cosine is two half arrows, so it gives two spikes of area π\pi. The sine is (ejω1t−e−jω1t)/2j\bigl(e^{j\omega_1t}-e^{-j\omega_1t}\bigr)/2j, which gives the factor π/j\pi/j and the opposite signs. A pure tone on a spectrum analyser is a single line, and now you know what the line stands for.

The same step covers any periodic signal. If x(t)=∑kckejkω0tx(t)=\sum_kc_ke^{jk\omega_0t} with ω0=2π/T\omega_0=2\pi/T, as on Fourier series coefficients (7.2), then each term gives a spike, and X(jω)=∑k2πck δ(ω−kω0)X(j\omega)=\sum_k2\pi c_k\,\delta(\omega-k\omega_0).

The step: a spike plus 1/(jω)

The step u(t)u(t) is also a signal that never ends. I get it as a limit: e−atu(t)e^{-at}u(t) with aa shrinking toward 0. By 8.1 its transform is 1a+jω\dfrac1{a+j\omega}.

This is complex, so I will split it. Multiply top and bottom by the conjugate a−jωa-j\omega, as on Complex numbers for signals (3.3). The product zz∗=∣z∣2zz^*=\lvert z\rvert^2 turns the bottom into a2+ω2a^2+\omega^2:

1a+jω=aa2+ω2−j ωa2+ω2.\frac1{a+j\omega}=\frac{a}{a^2+\omega^2}-j\,\frac{\omega}{a^2+\omega^2}.

The first term is the real part and the second is the imaginary part. From here I draw them as two curves against ω\omega.

In the next clip e−atu(t)e^{-at}u(t) lasts longer and longer, as aa falls from 2 to 0.02. Watch the real part narrow while its whole area stays, and the imaginary part settle onto −1/ω-1/\omega.

Stretch to a spike

The decay e⁻ᵃᵗu(t) slows from a = 2 to a = 0.02.

A fast decay: a low, wide real part. Its whole area, tails included, is π.

area of the whole real-part curve
3.142
0.00 / 13.50 s
Describe this picture

The time panel shows e−atu(t)e^{-at}u(t), with aa falling from 2 to 0.02 over 10 s. The spectrum panel shows the real part as a filled whole curve and the imaginary part as a line, with a faint curve −1/ω-1/\omega for reference. The readout is “area of the whole real-part curve”, which counts the long tails of the real part past the edges of the plot. Halfway, at 6.2 s, a=0.2a=0.2. At the end the real part peaks at 50, cut at the axis, and the fill shrinks into an arrow at 0 labelled π\pi.

A fast decay, a=2a=2, has a low, wide real part. It peaks at 0.50.5, and the imaginary part at ω=1\omega=1 is −0.2-0.2. Its whole area, tails included, is π\pi, read as 3.1423.142, though only 2.6522.652 of it lies inside the plot. A slower decay, a=0.2a=0.2, has a narrower real part peaking at 5, and the imaginary part at ω=1\omega=1 is −0.962-0.962, moving onto −1/ω-1/\omega. At a=0.02a=0.02 the real part peaks at 50 and the imaginary part at ω=1\omega=1 is −0.9996-0.9996. A step is a spike of area π\pi at zero, plus 1/(jω)1/(j\omega).

The area of the real part is π\pi for every a>0a>0, which you can check from ∫aa2+ω2 dω=π\int\frac{a}{a^2+\omega^2}\,d\omega=\pi. As aa shrinks, the area stays and the curve collapses to a spike. The imaginary part settles onto −1/ω=1/(jω)-1/\omega=1/(j\omega) away from zero. So

u(t) ↔ π δ(ω)+1jω.u(t)\ \leftrightarrow\ \pi\,\delta(\omega)+\frac1{j\omega}.

Two consequences. First, sgn(t)\mathrm{sgn}(t) is +1+1 for t>0t>0 and −1-1 for t<0t<0. It equals 2u(t)−12u(t)-1, so its transform is 2[πδ(ω)+1jω]−2πδ(ω)=2jω2\bigl[\pi\delta(\omega)+\tfrac1{j\omega}\bigr]-2\pi\delta(\omega)=\dfrac2{j\omega}. The spikes cancel, because sgn\mathrm{sgn} has no level.

Second, the integration rule that 8.2 left open. The step is the integral of δ\delta, and δ(t)↔1\delta(t)\leftrightarrow1. Integrating divides by jωj\omega, the reverse of the differentiation rule, and the spike repairs the division at ω=0\omega=0:

∫−∞tx(τ) dτ ↔ X(jω)jω+πX(0) δ(ω).\int_{-\infty}^{t}x(\tau)\,d\tau\ \leftrightarrow\ \frac{X(j\omega)}{j\omega}+\pi X(0)\,\delta(\omega).

Put x=δx=\delta, so X(0)=1X(0)=1, and you get the step’s pair again. The spike is there whenever the signal has a nonzero total area, X(0)≠0X(0)\neq0.

A Gaussian keeps its shape

The bell curve with half-width aa is x(t)=e−t2/2a2x(t)=e^{-t^2/2a^2}. Its transform is a2π e−a2ω2/2a\sqrt{2\pi}\,e^{-a^2\omega^2/2}. Working the integral out needs a calculus step this page does not teach, so take this pair on trust; the clip checks it numerically, frame by frame.

The next instrument squeezes the bell from half-width 2 s to 0.50.5 s. Each width is the half-width where the curve has fallen to 0.610.61 of its peak, which is e−1/2e^{-1/2}. Watch the shape of the spectrum, and the product of the two half-widths.

Gaussian

A bell curve squeezes from half-width 2 s to 0.5 s.

A wide bell in time, a narrow bell in frequency.

time half-width
2.00 s
frequency half-width
0.50 rad/s
product
1.00
0.00 / 8.00 s
Describe this picture

The bell in time and its spectrum under it; the picture has no control. The bell squeezes over 8 s from half-width 2 s to 0.50.5 s, and brackets mark the half-widths. The readouts are “time half-width”, “frequency half-width” and “product”, which reads 1.00 throughout. The spectrum’s peak goes from 5.0135.013 to 2.5072.507 halfway and 1.2531.253 at the end.

A wide bell in time is a narrow bell in frequency: half-widths of 2 s and 0.50.5 rad/s, with the spectrum peaking at 5.0135.013, and a product of 1.00. Squeezed to 1 s, it is still a bell, wider in frequency, 1 rad/s, with peak 2.5072.507. The product is still 1. At 0.50.5 s and 2 rad/s the peak is 1.2531.253. It is the same shape every time: no ripples, no negative parts.

The half-widths are aa in time and 1/a1/a in frequency, so their product is 1 for every Gaussian. This is the time–bandwidth trade of 8.2 again. Notice what differs from the pulse of 8.1: the spectrum is a bell too, and it never dips below zero. A short laser pulse has a broad spread of colours for the same reason.

With spread measured another way, as on the card of 8.2, the product of the two spreads can never be below 12\tfrac12. Only the Gaussian reaches that bound.

A comb in time is a comb in frequency

The impulse train ∑mδ(t−mT)\sum_m\delta(t-mT), with mm counting the spikes, is a spike every TT seconds. It is periodic, so it has a Fourier series, and by sifting every coefficient is the same:

ck=1T∫−T/2T/2δ(t) e−jkω0t dt=1T.c_k=\frac1T\int_{-T/2}^{T/2}\delta(t)\,e^{-jk\omega_0t}\,dt=\frac1T.

Here ω0=2π/T\omega_0=2\pi/T. So the series is equal arrows at every harmonic. Each term ejkω0te^{jk\omega_0t} is a spike of area 2πck=2π/T2\pi c_k=2\pi/T in frequency, by the rule for periodic signals above.

The next instrument adds the harmonics in pairs, for T=1T=1 s. Its time panel shows the partial sum SK(t)=1+2∑k=1Kcos⁡2πktS_K(t)=1+2\sum_{k=1}^{K}\cos2\pi kt, as on Convergence and the Gibbs phenomenon (7.3). Watch the peaks in time as more arrows join.

Comb

An impulse train, one spike a second (T = 1 s), built from its harmonics in pairs.

Three equal arrows: the time signal already peaks once a second.

0.00 / 10.00 s
Describe this picture

The partial sum in time above, and equal arrows at k⋅2πk\cdot2\pi rad/s below, each labelled with area 2π2\pi; the picture has no control. Over 10 s the number of pairs KK grows as max⁡(1,⌈2t⌉)\max(1,\lceil2t\rceil) with tt the clip time in seconds, so K=1K=1, 1010, 2020 at the start, halfway (t=5t=5 s) and the end. The first caption shows only while K=1K=1, which is the first 0.50.5 s. At the end 41 arrows run from −40π-40\pi to 40π40\pi rad/s.

With three equal arrows, K=1K=1, the time signal already peaks once a second: the peak is 3 at t=0,±1t=0,\pm1 and the value is −1-1 at t=12t=\tfrac12. With twenty-one arrows, K=10K=10, the peaks are thin and tall, 21, and still 1 s apart. With 41 arrows, K=20K=20, the peak is 41. A comb in time is a comb in frequency: teeth 1 s apart become teeth 2π2\pi rad/s apart.

The partial sum has a closed form, SK(t)=sin⁡((2K+1)πt)sin⁡πtS_K(t)=\dfrac{\sin\bigl((2K+1)\pi t\bigr)}{\sin\pi t}. Its peak is 2K+12K+1 at every whole tt, and it is (−1)K(-1)^K at t=12t=\tfrac12. So the more equal lines you add, the thinner and taller the time spikes become, always one period apart. A strobe light is such a train. Sampling in Sampling and aliasing (10.1) multiplies a signal by one, and this pair is the reason it copies the spectrum.

∑mδ(t−mT) ↔ 2πT∑kδ(ω−kω0).\sum_{m}\delta(t-mT)\ \leftrightarrow\ \frac{2\pi}{T}\sum_{k}\delta(\omega-k\omega_0).

Halve TT and the frequency teeth move twice as far apart, each with twice the area.

The maths behind it · a basis

A signal can be built from shifted spikes δ(t−t0)\delta(t-t_0), one per instant, or from arrows ejωte^{j\omega t}, one per frequency. A set of building blocks like this is a basis. The table on this page translates the most useful signals from one set of blocks to the other.

The maths behind it · the central limit theorem

The bell curve is also the most common curve of likelihoods, the normal distribution. Because it transforms to a bell, adding independent bell-shaped quantities gives a bell again. Adding many independent quantities of any shape also tends to a bell, which is the central limit theorem. That is repeated convolution, seen in frequency as repeated multiplication.

Worked example

A new pair, step by step. Find the transform of e−atcos⁡(ω1t) u(t)e^{-at}\cos(\omega_1t)\,u(t). Look up: e−atu(t)↔1a+jωe^{-at}u(t)\leftrightarrow\dfrac1{a+j\omega} (8.1). Apply modulation (8.2), which makes two half copies at ±ω1\pm\omega_1:

12[1a+j(ω−ω1)+1a+j(ω+ω1)].\tfrac12\left[\frac1{a+j(\omega-\omega_1)}+\frac1{a+j(\omega+\omega_1)}\right].

Substitute a=3a=3, ω1=2\omega_1=2, ω=2\omega=2:

12[13+13+4j]=12 [0.33333+0.12−0.16j]=0.22667−0.08j.\tfrac12\left[\tfrac13+\tfrac1{3+4j}\right]=\tfrac12\,[0.33333+0.12-0.16j]=0.22667-0.08j.

Check: the size is 0.240370.24037 and the angle is −19.44°-19.44°. Reading a spike. The signal 3cos⁡(5t)3\cos(5t) has two spikes at ±5\pm5 rad/s, each of area 3π=9.4253\pi=9.425. Their height means nothing; the area carries the amplitude. Spacing. A train with T=0.1T=0.1 s has spikes 2π/0.1=62.832\pi/0.1=62.83 rad/s apart, which is 10 Hz. Each has area 62.8362.83.

Where you’ll meet this

A spike in a spectrum is how a tone, a hum or a DC level shows up in every analyser. When you read one, read its area: it holds the amplitude, as the clips showed. The integration rule is why a step input to a system has a spike at zero frequency, and why a plain division by jωj\omega cannot be the whole answer.

The impulse train is the heart of sampling, which comes back in Sampling and aliasing (10.1) and The sampling theorem (10.2). The ideal low-pass on the card below is the subject of Frequency response and Bode plots (8.4). The pairs for uu and sgn\mathrm{sgn} return in The Hilbert transform and the analytic signal (27.2).

Reference card

SignalTransformNotes
Spike conventionan arrow labelled AA is A δA\,\delta at that frequencyread by area; height means nothing
δ(t)\delta(t)118.1
112π δ(ω)2\pi\,\delta(\omega)
ejω1te^{j\omega_1t}2π δ(ω−ω1)2\pi\,\delta(\omega-\omega_1)
cos⁡ω1t\cos\omega_1tπ[δ(ω−ω1)+δ(ω+ω1)]\pi[\delta(\omega-\omega_1)+\delta(\omega+\omega_1)]two half arrows
sin⁡ω1t\sin\omega_1tπj[δ(ω−ω1)−δ(ω+ω1)]\dfrac\pi j[\delta(\omega-\omega_1)-\delta(\omega+\omega_1)]
Periodic signal∑kckejkω0t↔∑k2πck δ(ω−kω0)\sum_kc_ke^{jk\omega_0t}\leftrightarrow\sum_k2\pi c_k\,\delta(\omega-k\omega_0)ω0=2π/T\omega_0=2\pi/T
u(t)u(t)π δ(ω)+1jω\pi\,\delta(\omega)+\dfrac1{j\omega}
sgn(t)\mathrm{sgn}(t)2jω\dfrac2{j\omega}sgn=2u−1\mathrm{sgn}=2u-1
Integration∫−∞tx↔X(jω)jω+πX(0) δ(ω)\displaystyle\int_{-\infty}^tx\leftrightarrow\dfrac{X(j\omega)}{j\omega}+\pi X(0)\,\delta(\omega)the spike is the step’s
e−atu(t)e^{-at}u(t), a>0a>01a+jω\dfrac1{a+j\omega}8.1
rect(t/W)\mathrm{rect}(t/W)Wsin⁡(ωW/2)ωW/2W\dfrac{\sin(\omega W/2)}{\omega W/2}8.1, 8.2
sin⁡ωctπt\dfrac{\sin\omega_ct}{\pi t}11 for ∣ω∣<ωc\lvert\omega\rvert<\omega_c, else 00the ideal low-pass (8.4)
Gaussian e−t2/4σt2e^{-t^2/4\sigma_t^2}2σtπ e−σt2ω22\sigma_t\sqrt\pi\,e^{-\sigma_t^2\omega^2}same shape; σtσω=12\sigma_t\sigma_\omega=\tfrac12, the smallest possible
Gaussian e−t2/2a2e^{-t^2/2a^2}a2π e−a2ω2/2a\sqrt{2\pi}\,e^{-a^2\omega^2/2}half-width aa in time, 1/a1/a in frequency
∑mδ(t−mT)\sum_m\delta(t-mT)2πT∑kδ(ω−kω0)\dfrac{2\pi}T\sum_k\delta(\omega-k\omega_0)ω0=2π/T\omega_0=2\pi/T
Area under a spectrum∫X dω=2π x(0)\displaystyle\int X\,d\omega=2\pi\,x(0)from the inverse transform at t=0t=0

End of lesson 8.3

Where to go next.

Phasorium
LibraryEvery lesson, in order

Parts

About Phasorium
Look