Problem set — the Fourier transform and convolution
Problem set: the Fourier transform and convolution¶
Exam-style problems. Work them with a pen before touching a computer; the last three are meant to be finished numerically. Solutions and marking rubrics live with the instructor material and are deliberately not on this site.
Throughout, the course convention holds: the forward transform is , and the inverse carries the opposite sign together with the — see the conventions page. RMS widths are second moments of and about their centroids.
Problem 1 — the Gaussian pair, honestly¶
(a) Transform by completing the square in the exponent, and obtain . State clearly where you used the standard Gaussian integral and why the shift into the complex plane is legitimate.
(b) Compute and for this pair. Show that each is smaller than the width of the curve it describes by a factor of , and that their product is exactly .
(c) Explain, without proving it, why equality singles out the Gaussian: what is special about a function whose transform has the same shape?
Problem 2 — the theorems that move things¶
(a) Prove the scaling theorem: if for , then . Say in one sentence what happens to the area under and why that had to be so.
(b) Prove the shift theorem: delaying a signal by multiplies its transform by . Deduce that is completely blind to when a signal happened, and comment on what that implies for reconstructing a signal from its magnitude alone.
(c) Prove the modulation theorem: multiplying by splits the spectrum into two copies at , each at half height. This is amplitude modulation, and it is how the radio stations of the opening puzzle share the air.
(d) Using only the zoo and these three theorems — no integrals — sketch the spectra of: a rectangular pulse of width delayed by ; a Gaussian multiplied by ; and two rectangular pulses of width separated by .
Problem 3 — linewidths and lifetimes¶
(a) For the one-sided exponential , show that is a Lorentzian and that its full width at half maximum is .
(b) An excited atomic state decays with a lifetime of . What is the minimum linewidth of the light it emits, in MHz? Compare this with the Doppler width of a room temperature gas and say which dominates.
(c) Use Parseval to evaluate without contour integration.
(d) A measured line is the true lineshape convolved with the instrument’s response. If both are Lorentzian, what is the shape and width of the result? If both are Gaussian? (One of these answers generalises easily and the other does not — say which.)
Problem 4 — hunting the minimum product, numerically¶
Using wavelab.fourier (in the browser laboratory or locally):
(a) Build the supergaussian family for from 1 to 8, and
compute for each with rms_widths. Plot the
product against .
(b) Confirm the minimum sits at with value , and that every other member of the family is above it. Confirm also that the product does not change when does.
(c) As grows the pulse approaches a rectangle. Explain what happens to the measured product, and why a hard-edged rectangle is a badly behaved member of this family. (Consider how the sinc tails contribute to the second moment of .)
Problem 5 — leakage on trial¶
Using wavelab.fourier:
(a) Take a pure cosine whose frequency lands exactly on a grid frequency of your record, and compute its spectrum. Then shift the frequency by half a grid spacing and recompute. Report the peak height in both cases and describe where the missing energy went.
(b) Repeat with a Hann window applied to the record. Report the sidelobe level and the main-lobe width in both cases, and state the trade in one sentence.
(c) Show that zero-padding the record by a factor of eight makes the plotted spectrum smoother but does not separate two tones that were unresolved before. Then find, by experiment, the record length that does separate two tones 1.5 grid spacings apart, and compare it with .
Problem 6 — challenge: putting the samples back together¶
(a) Implement sinc interpolation: reconstruct a continuous signal from samples taken at spacing by summing functions centred on each sample. Verify that for a signal band-limited below Nyquist the reconstruction is exact to machine precision at points between the samples, not merely at them.
(b) Break it. Feed the same routine a chirp that sweeps up through the Nyquist frequency, and plot reconstruction against truth. Explain the failure in terms of the comb picture, and say precisely at what moment the reconstruction stops being recoverable.
(c) Take any signal, keep , replace every phase by a random one, and invert. Compare with the original. Then do the reverse — keep the phases and flatten every magnitude to one — and compare again. Which reconstruction is more recognisable, and what does the pair of experiments say about where a signal’s information actually sits?