A pulse and its spectrum
Start with a 1 V pulse 1 ms wide, centred on t = 0. Its Fourier transform is X(f) = T·sinc(fT): tallest at 0 Hz, where it equals the pulse's area (1.000 V·ms), and zero at every multiple of 1 kHz.
Shift: a delay turns the angle
Now delay the pulse: slide it right by t0, up to 0.5 ms. Watch the spectrum's size |X(f)|: it does not move at all. A delay changes when the signal happens, not which frequencies it contains or how strong they are.
Each X(f) is a complex number: a size and an angle. A delay multiplies it by e^(−j2πf·t0), turning frequency f by −360°·f·t0: −90° at 0.5 kHz when t0 = 0.5 ms. The real part twists; the size stays.
Scale: short in time, wide in frequency
Now play the pulse twice as fast: x(2t) is only 0.5 ms wide. Its spectrum becomes X(f/2)/2: twice as wide and half as tall. The first zero moves from 1 kHz to 2 kHz. Short events need high frequencies.
Stretch it instead, x(t/2), and the spectrum gets narrower and taller. Width times first-zero frequency stays 1 for every a. No signal is both very short in time and very narrow in frequency.
Convolution becomes multiplication
Now the RC filter, RC = 1 ms. Its impulse response is h(t) = e^(−t/RC)/RC. Its Fourier transform, the frequency response, is H(f) = 1/(1 + j2πf·RC): 1 at 0 Hz, smaller at higher f. Half power at 159 Hz.
Feed the delayed pulse (0 to 1 ms) into the filter. The output is a convolution, y = x ∗ h: each instant of x adds a decaying copy of h. The edges round off; y peaks at 0.632 V at t = 1 ms.
In frequency there is no integral: Y(f) = X(f)·H(f), one multiplication per frequency. At 0.5 kHz, |X| = 0.637 and |H| = 0.303, so |Y| = 0.193 V·ms. The filter keeps low frequencies and shrinks the rest.
Check it in code
numpy samples every 0.002 ms. np.convolve gives y; np.fft.rfft times the step gives spectra. At 0.5 kHz, |FFT of y| = 0.193 and |FFT of x| × |FFT of h| = 0.193: convolution in time is multiplication in frequency.
The working
# step 1/9 · pulse
x(t) = 1 V for |t| < 0.5 ms, else 0
X(f) = ∫ x(t)·e^(−j2πft) dt
= T·sinc(fT), sinc(u) = sin(πu)/(πu)
X(0) = T = 1.000 V·ms (the area)
X(0.5 kHz) = 2/π = 0.637 V·ms
X(f) = 0 at f = ±1, ±2, ±3 kHz
t in ms, f in kHz (1/ms)
the transform itself: "The Fourier transform"
The pulse (1 V, 1 ms), the delay (0.5 ms) and the RC filter (1 kΩ, 1 µF, RC = 1 ms) are chosen example values. Every curve and number in the figure is computed from the formulas in this lesson's model, and the tests check them against separate numerical integrals. Time is in ms and frequency in kHz (cycles per ms), so a spectrum like X(f) has units of V·ms. The convention is X(f) = ∫ x(t)·e^(−j2πft) dt, with f in cycles per unit time; books that use ω = 2πf write the same properties with ω.