The Fourier transform as a winding machine
The question
Can a winding dial tell you which tones are in a mixture?
- 1 SeeFind the tones with the winding dial.
- 2 TryChange the observation window.
- 3 ProveDerive the response of one tone.
- 4 ApplyCompute coefficients and frequency offsets.
Before you start · 3 quick checks on complex rotation, coordinates and interval averages
Two ideas before you start
2 ideasMultiply to turn an arrow
A unit arrow turns around the origin as its angle changes.
A complex number is an arrow from the origin. Multiplication by a unit arrow adds an angle and keeps the length.
Exact definition
Write \(i\) for the imaginary unit, with \(i^2=-1\). The number \(x+iy\) has coordinates \((x,y)\) and length \(\sqrt{x^2+y^2}\). By Euler's formula, \(e^{i\theta}=\cos\theta+i\sin\theta\) for a real angle \(\theta\) in radians.
Under complex multiplication, multiplying by \(e^{i\theta}\) rotates an arrow counterclockwise through \(\theta\). A negative angle rotates clockwise. Multiplying successive rotations adds their angles.
Average the coordinates
Two arrows and the midpoint between their tips.
For two equally weighted tips, the average sits halfway between them. Move one tip and watch the dashed arrow to their average.
Exact definition
For a continuous curve \(z(t)\) on an interval of length \(T\gt0\), its average is \(\tfrac1T\int z(t)\,dt\), with the integral taken over that interval. Integrate the real and imaginary coordinates separately.
In the winding plots, time runs at a uniform rate. The center is an average over equal time increments. Spreading equal weights over equal lengths of the drawn curve could give a different center.
Signal, winding speed and transform notation
Time \(t\) is measured in seconds. A tone of frequency \(f_0\) in cycles per second (Hz), positive amplitude \(A\), and zero phase at \(t=0\) is \(A e^{2\pi i f_0 t}\). It has both a real and an imaginary coordinate. Its real trace is a cosine. Here the analyzer uses the full complex signal.
Let \(x(t)\) be integrable over a window of length \(T\gt0\) centered at \(0\). For dial frequency \(\nu\), the wrapped point is \(w(t)=x(t)e^{-2\pi i\nu t}\). Define its average
\[ C_T(\nu)=\frac1T\int_{-T/2}^{T/2} w(t)\,dt. \]The multiplier makes \(\nu\) clockwise turns per second when \(\nu\gt0\). The graph of \(|C_T(\nu)|\) shows how far the center moves from the origin at each dial setting.
The continuous-time Fourier transform used here is
\[ \widehat{x}(\nu)=\int_{\mathbb R}x(t)e^{-2\pi i\nu t}\,dt. \]This integral exists for an absolutely integrable \(x\), since the multiplier has length one. For a windowed signal, the input equals \(x(t)\) in the window and zero outside it. The transform of that input is \(T C_T(\nu)\). The normalized value \(C_T\) makes comparisons of window lengths easier. See improper integrals for how to take limits of integrals with unbounded endpoints.
Find the hidden tones
- Move the frequency dial. The dashed arrow in the complex plane ends at the current center.
- Look for a large displacement. Press Check this frequency to test an exact match, and try nearby settings if a peak is not a tone.
Read the response across the dial
A component that turns through a whole number of nonzero revolutions in the winding frame cancels in the average. A component that turns through a noninteger number of revolutions can leave a residual arrow. In a mixture those residual arrows add as complex numbers, so neighboring responses can reinforce or offset each other. The game grades exact tone frequencies. A nearby peak can be a clue even when it is displaced from a tone.
Change the length of the observation
Use one complex tone now. Its amplitude and frequency stay fixed while you change how long you observe it. An offset is the distance in Hz from the tone frequency to the dial setting. A null is an offset where the center reaches the origin.
- Choose a window length and move the offset dial. The dashed guide marks your current offset.
- For each goal find the first positive offset with a zero response. Offsets farther out can give zeros too.
Why the response can rise again after a null
The distance is zero when the residual rotation makes a nonzero whole number of turns in the window. Between consecutive nulls, it goes to zero at both ends and is positive inside. The smaller humps beyond the first null are called sidelobes.
A longer window puts more turns into the same frequency offset. For a centered rectangular window on a single tone of amplitude \(A\), the distance has the shape of the absolute value of a sinc curve. With \(u\) equal to the signed frequency difference times the window length, define \(\operatorname{sinc}(u)=\sin(\pi u)/(\pi u)\) for \(u\ne0\) and \(\operatorname{sinc}(0)=1\) by continuity. The signed response is \(A\operatorname{sinc}(u)\). Its sign gives the side of the real axis on which the center lies.
Average a single wound tone
Let \(A\gt0\), \(T\gt0\), and let the tone frequency \(f_0\) and dial frequency \(\nu\) be real. Take \(x(t)=A e^{2\pi i f_0 t}\) on the rectangular window \([-T/2,T/2]\). The tone has zero phase at the center. Put \(\Delta=f_0-\nu\). Then \(C_T(\nu)=A\operatorname{sinc}(\Delta T)\), where \(\operatorname{sinc}(u)=\sin(\pi u)/(\pi u)\) for \(u\ne0\) and \(\operatorname{sinc}(0)=1\).
In particular the center is real. Its distance from the origin is \(A|\operatorname{sinc}(\Delta T)|\), with exact zeros at the nonzero integer values of \(\Delta T\).
Write \(w(t)=x(t)e^{-2\pi i\nu t}\) for the wound point, so \(C_T(\nu)\) is the average of \(w\) over the window. Start with the product of the two rotations. Then choose the line for a matching dial, before going back to the case where the frequencies differ.
What changes if the window starts elsewhere?
Keep the tone phase fixed at \(t=0\) and center the window at time \(c\). Substituting \(t=c+s\) pulls out a factor \(e^{2\pi i\Delta c}\). The center becomes \(e^{2\pi i\Delta c} A\operatorname{sinc}(\Delta T)\). The distance for this single tone stays the same while the center can rotate.
In a mixture that factor depends on each component's difference \(\Delta\). Their sum can therefore have a different magnitude when the window moves. The illustrations use a fixed window center for that reason.
From a dial reading to a coefficient
Work in cycles per second. Check whether the question asks for the signed center, its distance, or the unnormalized transform. Each problem has a hint and a worked solution.
Further reading
- A. V. Oppenheim, A. S. Willsky and S. H. Nawab, Signals and Systems, “The Continuous-Time Fourier Transform.”