---
title: Fourier transform pairs
heading: The handful of transforms everyone memorizes
eyebrow: A10 · Lesson 9 · Transform pairs
xp: 40
---

::: hook
An engineer looking at a pulse on a scope can sketch its spectrum in their head, and a filter's frequency response suggests its ringing in time. That fluency comes from knowing a few transform pairs by heart: the rectangular pulse, the decaying exponential, the Gaussian, the impulse and the sinusoid. Nearly every signal you meet is built from these, and the properties of lesson 10 do the rest.
:::

::: play
- The curve is the amplitude spectrum $|X(f)|$ of a rectangular pulse of height 1 V and width $T$.
- Make the pulse shorter. The spectrum gets lower and wider. Where is the first null?
- The area under the pulse is $T$; compare it with the spectrum's height at $f = 0$.
:::
:::

```sim plot
view: graph
x: f = 0..5000 Hz
y: X = 0..1.2 mV/Hz
slider: T = 0.2..1 step 0.05 = 1 ms
plot: T*abs(sinc(f*T*1e-3)) | label: |X(f)| | samples: 1500
marker: x = 1000/T | label: first null
readout: X(0), the pulse's area, in mV·s = T | digits: 3
readout: first null, Hz = 1000/T | digits: 4
```

::: predict
## A pulse is made 10 times shorter, keeping its height. What happens to its spectrum?

- [x] 10 times wider and 10 times lower
- [ ] 10 times narrower and taller
- [ ] It doesn't change
- [ ] Only its phase changes

::: reveal
Ten times wider and ten times lower. The rectangular pulse's transform is $T\,\text{sinc}(fT)$: its height at zero frequency is the pulse's area $T$, and its first null is at $1/T$. Short in time means wide in frequency, the time-bandwidth tradeoff of lesson 13.
:::
:::

::: nameit
## The transform

$$X(f) = \int_{-\infty}^\infty x(t)e^{-j2\pi ft}\,dt \qquad x(t) = \int_{-\infty}^\infty X(f)e^{j2\pi ft}\,df$$

$X(0) = \int x(t)\,dt$, the signal's area.

## The pairs

| Signal | Transform | Notes |
|---|---|---|
| rectangle, height 1, width $T$ | $T\,\text{sinc}(fT)$ | first null at $1/T$ |
| $e^{-t/\tau}$ for $t \ge 0$ | $\frac{\tau}{1 + j2\pi f\tau}$ | half power at $\frac{1}{2\pi\tau}$ |
| Gaussian $e^{-\pi t^2}$ | $e^{-\pi f^2}$ | its own transform |
| impulse $\delta(t)$ | 1 | every frequency equally |
| constant 1 | $\delta(f)$ | all at zero frequency |
| $\cos(2\pi f_0t)$ | $\frac{1}{2}[\delta(f - f_0) + \delta(f + f_0)]$ | two lines |

Here $\text{sinc}(x) = \frac{\sin\pi x}{\pi x}$.

## Duality

The forward and inverse transforms are nearly the same, so swapping the roles of time and frequency gives new pairs: a sinc in time has a rectangular spectrum. That's the ideal low-pass filter's impulse response (lesson 14): a sinc that rings forever in both directions, which no real circuit can produce.

## Reading the exponential

$e^{-t/\tau}$ is the impulse response of an RC low-pass with $\tau = RC$. Its transform, $\frac{\tau}{1 + j2\pi f\tau}$, is $\tau$ times the filter's frequency response, and $|X|$ falls to $\frac{1}{\sqrt2}$ of its peak at the corner, $f_c = \frac{1}{2\pi\tau}$.
:::

::: example
## A 1 V pulse lasts 1 ms. Describe its spectrum.

::: solution
1. **The transform.**
   $$X(f) = 10^{-3}\,\text{sinc}(f \times 10^{-3})$$
2. **Its height.** At $f = 0$ it's $10^{-3}$ V·s, the area.
3. **Its nulls.** They fall at 1, 2, 3 kHz.
4. **Its side lobes.** They fall as $\frac{1}{f}$, so most of its energy is below 1 kHz.

**Answer:** a sinc $10^{-3}$ V·s high at 0 Hz, with nulls at 1, 2, 3 kHz and side lobes falling as $\frac{1}{f}$; most of the energy is below 1 kHz.
:::
:::

::: example
## An exponential pulse $e^{-t/\tau}$ has $\tau$ = 1 ms. Where does its spectrum fall to $\frac{1}{\sqrt 2}$ of its peak?

::: solution
1. **The magnitude.**
   $$|X(f)| = \frac{\tau}{\sqrt{1 + (2\pi f\tau)^2}}$$
2. **Set it to $\frac{\tau}{\sqrt2}$.** That happens when $2\pi f\tau = 1$:
   $$\begin{aligned} f &= \frac{1}{2\pi \times 10^{-3}\ \text{s}} \\ &= 159\ \text{Hz} \end{aligned}$$
3. **Compare with RC.** That's exactly the corner of an RC filter with that time constant.

**Answer:** at 159 Hz, the corner of an RC filter with the same time constant.
:::
:::

::: example
## Describe the spectrum of a decaying cosine $e^{-at}\cos(2\pi f_0t)$ for $t \ge 0$, with $a$ = 100 s⁻¹.

::: solution
1. **Two peaks.** The cosine shifts the exponential's transform, $\frac{1}{a + j2\pi f}$, to $\pm f_0$, giving two peaks.
2. **The width of each.** Each falls to $\frac{1}{\sqrt2}$ of its height at
   $$\begin{aligned} \pm\frac{a}{2\pi} &= \pm\frac{100}{2\pi}\ \text{Hz} \\ &= \pm15.9\ \text{Hz} \end{aligned}$$
   from its center, a 3 dB bandwidth of 31.8 Hz.
3. **What it means.** A ringing that dies quickly has a broad spectral line; one that rings for a long time has a narrow one. That's the time-bandwidth trade, and the origin of a resonator's $Q$.

**Answer:** two peaks at $\pm f_0$, each with a 3 dB bandwidth of 31.8 Hz.
:::
:::

::: check
given: A = 1 | 5; T = 0.5 | 2
answer: A*T
unit: mV/Hz
tolerance: 0.5%

## A pulse of height {A} V lasts {T} ms. What is $X(0)$, in mV·s (which is mV/Hz)?

::: right
Right. The area, $AT$ = {answer}.
:::

::: misses
- [A] $X(0)$ is the area under the signal, not its height.
- [any] Not yet. $X(0) = \int x(t)\,dt$.
:::
:::

::: check
given: T = 0.1 | 2 | 0.5
answer: 1/T
unit: kHz
tolerance: 0.5%

## A rectangular pulse lasts {T} ms. Where is the first null in its spectrum?

::: right
Right. $\text{sinc}(fT) = 0$ first at $f = 1/T$ = {answer}.
:::

::: misses
- [1/(2*T)] The first zero of $\text{sinc}(x)$ is at $x = 1$.
- [T] Shorter pulses have wider spectra: $1/T$.
- [any] Not yet. Where is $\sin(\pi fT)$ first zero?
:::
:::

::: check
given: tau = 1 | 0.1; f = 100 | 1000
answer: tau*1e-3/sqrt(1 + (2*pi*f*tau*1e-3)^2)*1000
unit: mV/Hz
tolerance: 0.5%

## What is $|X(f)|$ at $f$ = {f} Hz for $x(t) = e^{-t/\tau}$ (1 V, $t \ge 0$) with $\tau$ = {tau} ms?

::: right
Right. $\frac{\tau}{\sqrt{1 + (2\pi f\tau)^2}}$ = {answer}.
:::

::: misses
- [tau*1e-3/(1 + 2*pi*f*tau*1e-3)*1000] Take the magnitude of $1 + j2\pi f\tau$: $\sqrt{1 + (2\pi f\tau)^2}$.
- [any] Not yet. $X(f) = \frac{\tau}{1 + j2\pi f\tau}$.
:::
:::

::: check
given: tau = 0.5 | 1 | 2 | 5 | 10 | 20
answer: 1/(2*pi*tau*1e-3)
unit: Hz
tolerance: 0.5%

## At what frequency is the spectrum of $e^{-t/\tau}$, $\tau$ = {tau} ms, down to $\frac{1}{\sqrt 2}$ of its peak?

::: right
Right. $\frac{1}{2\pi\tau}$ = {answer}.
:::

::: misses
- [1/(tau*1e-3)] That's in rad/s; divide by $2\pi$.
- [any] Not yet. Where $2\pi f\tau = 1$.
:::
:::

::: check
given: A = 2 | 6; f0 = 1 | 50
answer: A/2

## $x(t) = \given{A}\cos(2\pi \cdot \given{f0}\text{ kHz}\cdot t)$. What is the weight of the impulse in its transform at $f = +\given{f0}$ kHz?

::: right
Right. A cosine splits into two impulses of weight $A/2$ = {answer}, at $\pm f_0$.
:::

::: misses
- [A] Half goes to $-f_0$: each line carries $A/2$.
- [any] Not yet. $\cos\theta = \frac{e^{j\theta} + e^{-j\theta}}{2}$.
:::
:::

::: check
kind: choice

## What is the impulse response of an ideal low-pass filter that passes everything below $B$ and nothing above?

- [x] A sinc that rings on forever in both directions of time
- [ ] A decaying exponential
- [ ] A rectangular pulse
- [ ] An impulse

::: right
Right. By duality, a rectangular spectrum comes from a sinc in time, which starts before $t = 0$: no real, causal filter can be ideal.
:::

::: misses
- [2] That's an RC filter, whose spectrum rolls off gently.
- [3] A rectangle in time has a sinc spectrum; this is the reverse.
- [any] Use duality with the rectangle-sinc pair.
:::
:::

::: check
kind: parts
given: a = 50 | 500; f0 = 1 | 5

## A decaying cosine $e^{-\given{a}t}\cos(2\pi f_0t)$ with $f_0$ = {f0} kHz.

::: part
answer: a/pi
unit: Hz
tolerance: 0.5%

### What is the 3 dB width of its spectral peak?

::: misses
- [a/(2*pi)] That's the half-width; the full width is twice it.
- [any] $\pm\frac{a}{2\pi}$ around $f_0$.
:::
:::

::: part
answer: pi*f0*1000/a
tolerance: 0.5%

### What is its $Q$, $f_0$ over that width?

::: misses
- [any] $\frac{f_0}{a/\pi}$.
:::
:::
:::

::: check
kind: derivation
vars: a = 0.5..5, f = 0..2

## The one-sided exponential $e^{-at}$, $t \ge 0$.

::: step
answer: 1/sqrt(a^2 + (2*pi*f)^2)

### What is $|X(f)|$?
:::

::: step
answer: a/(2*pi)

### At what $f$ is $|X|$ down to $\frac{1}{\sqrt2}$ of $|X(0)|$?
:::

::: right
Right. A first-order spectrum, flat out to $\frac{a}{2\pi}$ and falling as $\frac1f$ beyond.
:::
:::

::: explain
## Why is a signal's spectrum at zero frequency equal to the signal's area?

::: model
At $f = 0$ the factor $e^{-j2\pi ft}$ is 1 for all $t$, so the transform integral becomes $\int x(t)\,dt$, the area under the signal. Zero frequency is the steady, unchanging part, and the area measures how much of the signal is "the same sign all the time". A pulse with equal positive and negative lobes has zero area and no DC content, whatever its shape.
:::
:::

::: practice

::: check
given: T = 0.5 | 1 | 2 | 4 | 5 | 10
answer: 2/T
unit: kHz
tolerance: 0.5%

## Where is the second null of a {T} ms rectangular pulse's spectrum?

::: misses
- [1/T] That's the first.
- [any] $f = 2/T$.
:::
:::

::: check
given: tau = 1..20 int
answer: tau
unit: mV/Hz
tolerance: 0.5%

## What is $X(0)$ for $e^{-t/\tau}$ (1 V, $t \ge 0$), $\tau$ = {tau} ms?

::: misses
- [any] The area, $\tau$.
:::
:::

::: check
given: B = 1..20 int
answer: 2*B
unit: kHz

## An ideal low-pass filter passes up to {B} kHz. Its impulse response is $2B\,\text{sinc}(2Bt)$. What is its height at $t = 0$, in thousands per second?

::: misses
- [B] The transform pair gives height $2B$.
- [any] $\text{sinc}(0) = 1$.
:::
:::
:::
