Play a piano note. Your ear hears one sound, but the air may be vibrating at many frequencies at once. How can mathematics separate those vibrations? The Fourier transform provides an answer: it translates a signal from a description in time into a description in frequency.
1. One sound, several vibrations
Consider an idealized sound signal (with time measured in seconds):
Since a sine wave at frequency f hertz has the form \sin(2\pi f t), this signal combines a 200 Hz vibration with a 400 Hz vibration. The second has half the amplitude of the first. The graph of the sum can look complicated, but the two ingredients are simple.
The question is whether we can discover those ingredients from the combined waveform alone.
2. Why frequency is useful
Time-domain graphs show how air pressure changes from moment to moment. A frequency-domain description instead tells us which oscillations contribute to the sound. A frequency spectrum can help distinguish a low note from a high note, reveal harmonics, and identify persistent hums.
Amplitude is not the same as perceived loudness: human hearing also depends on frequency, duration, and other factors.
3. The Fourier transform
For a sufficiently well-behaved signal, such as an absolutely integrable function, define the Fourier transform by
Here t denotes time in seconds, f denotes frequency in hertz,
and i^2=-1. Euler’s identity gives
Thus the transform measures how strongly the signal matches cosine and sine oscillations at each frequency. The magnitude |\widehat{s}(f)|
describes spectral strength; the complex argument contains phase information. For many signals, an inverse transform reconstructs the original waveform:
A mathematical distinction. An infinitely long pure sine wave is not absolutely integrable, so the ordinary integral above does not converge for it. Ideal pure tones are represented by spectral impulses in the generalized-function sense. Real recordings have finite duration, and their Fourier transforms are ordinary functions.
4. Worked example: two notes in one signal
Return to the 200 Hz and 400 Hz signal. Euler’s formula rewrites a sine wave as
In the idealized infinite-duration model, this corresponds to spectral contributions at positive and negative frequencies. The two-sided spectrum of our example has peaks at
The 400 Hz component has half the amplitude of the 200 Hz component. Negative frequencies arise naturally from the complex-exponential representation; they are not additional audible pitches. For real-valued signals, the negative-frequency spectrum mirrors the positive-frequency spectrum.

5. Worked example: a recording of finite duration
Suppose a 200 Hz tone is recorded for exactly
T=0.10\ \text{s}. Model the recorded signal by
Using the exponential form of cosine and integrating gives
where \operatorname{sinc}(u)=\frac{\sin(\pi u)}{\pi u} for nonzero u, and \operatorname{sinc}(0)=1.
Instead of infinitely sharp lines, the spectrum now has broadened peaks around 200 Hz and −200 Hz. This is spectral leakage: cutting off a tone in time spreads its frequency content.
The characteristic spacing of the zeros of each sinc contribution is
\frac1T=10\ \text{Hz}.
A longer recording produces narrower peaks and makes nearby frequencies easier to distinguish.
6. From integrals to recorded audio: the DFT
A computer works with samples, not a continuous function. For N equally spaced samples x_0,x_1,\ldots,x_{N-1}, the discrete Fourier transform (DFT) is
At sampling rate f_s samples per second, frequency bin k
corresponds to f_k=\frac{k f_s}{N} hertz before accounting for the periodic wrapping of negative frequencies. The bin spacing is
For example, at 8,000 samples per second with 8,000 samples, the bin spacing is 1 Hz. The fast Fourier transform (FFT) is an efficient algorithm for computing the DFT; it is not a different mathematical transform.
Sampling introduces a separate limitation: to avoid aliasing for a band-limited signal, the sampling rate must exceed twice its highest frequency component (with appropriate anti-alias filtering in practice).
7. How does Fourier analysis help remove noise?
Suppose a recording contains speech together with a steady electrical hum at 60 Hz. Its spectrum may show a narrow concentration near 60 Hz. A notch filter can suppress that frequency band, and an inverse transform can reconstruct a modified signal.
Filtering requires care: useful sound may also occupy the removed frequencies, and abrupt changes in the spectrum can introduce time-domain artifacts. A transform reveals frequency content; it does not automatically distinguish noise from music or speech.
8. Fourier transform versus Fourier series
A Fourier series represents a periodic signal as a sum of discrete harmonics. A Fourier transform describes the frequency content of more general signals, including finite recordings. The next article in this series will use Fourier series to build a square wave from sine waves.
The larger theme of our Mathematical Transforms and Their Applications series is that a change of representation can simplify a problem. The Z-transform article on Fibonacci numbers converts recurrences into algebra, while the Fourier transform reveals hidden frequencies.
Continue exploring: For the periodic case, see How Can Sine Waves Create a Square Wave? The Mathematics of Fourier Series. Noise removal with a digital filter is worked out in the Z-transform digital filter article.
9. Try it yourself
Exercise 1. Identify the frequencies
A signal is given by y(t)=3\sin(600\pi t)+2\cos(1000\pi t). Find its positive frequencies and the corresponding amplitudes.
Show solution
The angular frequencies are 600\pi and 1000\pi radians per second. Dividing by 2\pi gives 300 Hz and 500 Hz, with amplitudes 3 and 2.
Exercise 2. Frequency-bin spacing
An audio recording has 4,096 samples taken at 8,192 samples per second. Find its duration and DFT bin spacing.
Show solution
The duration is T=4096/8192=0.5 seconds, so \Delta f=1/T=2 Hz.
Exercise 3. Why does recording length matter?
A 0.25-second recording and a 2-second recording are sampled at the same rate. Compare their DFT bin spacings.
Show solution
The bin spacings are 1/0.25=4 Hz and 1/2=0.5 Hz. The longer recording has eight times finer frequency-bin spacing.
Exercise 4. Challenge: recognize aliasing
A 900 Hz sine wave is sampled at 1,000 samples per second. Which lower positive frequency produces the same sample sequence up to a sign or phase choice?
Show solution
Since 900=1000-100, the sampled sine satisfies \sin(2\pi\cdot900n/1000)=-\sin(2\pi\cdot100n/1000) for integer n. Thus the aliased frequency is 100 Hz.
10. Takeaway
One waveform can hide many frequencies. Fourier analysis separates them, makes periodic structure visible, and gives engineers a practical language for recording, filtering, and studying sound. The same mathematical idea appears in imaging, communications, and the analysis of differential equations.
Further reading
- Joseph Fourier, Théorie analytique de la chaleur (1822). Historical origin of Fourier analysis in heat conduction.
- Alan V. Oppenheim and Ronald W. Schafer, Discrete-Time Signal Processing, 3rd ed., Pearson (2010). A standard reference for discrete Fourier analysis and filtering.

Leave a Reply