Skip to main content
Create your own
Lesson illustration

Introduction to the Continuous Fourier Transform

Hello! Welcome to the first lesson of our second module, "Spectral Analysis of Audio Signals."

In the previous module, we established a solid foundation in digital audio, focusing entirely on the time domain. We learned how to represent sound as a waveform—a sequence of amplitude values over time. We manipulated these waveforms, visualized them, and even normalized them based on their temporal characteristics like peak, RMS, and perceived loudness (LUFS).

However, a time-domain view only tells us when a signal's amplitude changes. It doesn't tell us what frequencies are present in the signal. To an audio AI system, a complex vocal sound and a car engine noise are just two complicated squiggly lines. To understand what makes them different, we need to look at their frequency content.

This lesson begins our journey into the frequency domain. Our learning outcome is to define the Continuous Fourier Transform and its role in decomposing signals into frequency components. This transform is one of the most important mathematical tools in engineering and science, and it is the theoretical bedrock for almost all modern audio processing.

Time-Domain Signal and its Frequency-Domain Representation
This image illustrates the core purpose of the Fourier Transform. It takes a complex signal in the time domain (top) and decomposes it into the simple sine waves that make it up, represented as spikes in the frequency domain (bottom).

1. The Core Idea: Unmixing a Signal

At its heart, the Fourier Transform is a mathematical prism for signals. Just as a glass prism separates white light into a rainbow of individual colors (frequencies), the Fourier Transform separates a complex signal, like a sound wave, into its constituent pure frequencies.

Imagine you hear a musical chord. Your ear and brain instantly recognize it as multiple notes played together. A microphone, however, just records a single, complex pressure wave. The central question of Fourier analysis is: given that final, jumbled-up wave, how can we figure out the original notes that were played?

To build a powerful intuition for how this "unmixing" is possible, we'll start with a brilliant visual explanation.

But what is the Fourier Transform? A visual introduction.

The YouTube channel 3Blue1Brown provides one of the best visual introductions to the Fourier Transform. This first clip sets up the problem of decomposing a signal into its constituent frequencies.

Watch the beginning of the video, from 00:04 to 02:29. Focus on the core problem: how to take a complex, summed-up waveform and recover the individual pure frequencies that created it.


2. A "Frequency-Detecting" Machine

To solve the unmixing problem, we need to build a mathematical machine that can detect the presence of a specific frequency within a complex signal. The ingenious method behind the Fourier Transform involves wrapping the signal around a circle.

Let's continue with the 3Blue1Brown video to see how this works. The key insight is that if you wrap a signal around a circle at a "winding frequency" that matches a frequency present in the signal, something special happens.

But what is the Fourier Transform? A visual introduction.

This segment explains the core mechanism of the Fourier Transform: the 'winding machine'. Pay close attention to the concept of the 'center of mass' and how it changes as the winding frequency is adjusted.

Watch from 02:29 to 11:44. This is the most crucial part for building intuition. Observe how the center of mass of the wound-up graph spikes when the winding frequency matches a frequency component in the original signal. This 'spike' is how the transform detects a frequency.

To summarize the key idea:

  1. You have an input signal, .
  2. You pick a "test frequency," , that you want to search for in the signal.
  3. You "wind" your signal around a circle at this test frequency .
  4. You calculate the center of mass of this new, wound-up shape.
  5. If the signal contains a strong component at frequency , the wound-up shape will be lopsided, and its center of mass will be far from the origin. If it contains little or no component at frequency , the shape will be balanced, and its center of mass will be close to the origin.
  6. By doing this for every possible test frequency , you build a new plot that shows the "strength" of each frequency in the original signal. This new plot is the Fourier Transform.

3. From Visual Intuition to a Mathematical Formula

This "winding machine" analogy is powerful, but to use it, we need to express it mathematically. This is where complex numbers become incredibly elegant. Given your background, you'll recognize the power of using Euler's formula to describe rotation.

A point rotating clockwise around the complex plane at a frequency (in Hz) can be described by the expression .

Let's see how this single expression allows us to formalize the entire winding process.

But what is the Fourier Transform? A visual introduction.

The text version of the 3Blue1Brown lesson walks through the process of translating the visual analogy into the formal integral equation for the Fourier Transform.

Read the sections 'Mathematical Formalism' and 'Summary'. Focus on how each part of the final formula corresponds to an element of the visual analogy: g(t) for the signal, e^(-2πift) for the rotation, and the integral for calculating the scaled center of mass.

This leads us to the formal definition of the Continuous-Time Fourier Transform (CTFT). Given a time-domain signal , its Fourier Transform is a new function of frequency:

Let's break this down:

  • is our original signal as a function of time .
  • is the angular frequency in radians per second. It's the "test frequency" we're looking for. It's related to frequency in Hertz by . You will see both conventions used widely.
  • is the complex exponential representing the clockwise rotation (the "winding"). The is the imaginary unit, equivalent to .
  • is the value of our signal scaled by the rotation at time . It represents a point on the "wound-up" graph.
  • The integral sums up all these points over all time, effectively finding the (scaled) center of mass.
  • is the result: a new function that, for any given frequency , gives us a complex number telling us the magnitude and phase of that frequency component in the original signal.

4. A More Formal Derivation: From Periodic to Aperiodic

The winding analogy is a brilliant way to build intuition. The standard academic approach, common in signal processing, arrives at the same formula from a different starting point: by extending the Fourier Series.

The basic idea is:

  1. The Fourier Series is a tool for decomposing periodic signals into a sum of discrete, harmonically related sine waves. The resulting spectrum is a set of spikes at integer multiples of a fundamental frequency.
  2. An aperiodic signal (one that doesn't repeat) can be thought of as a periodic signal with a period that approaches infinity.
  3. As the period , the fundamental frequency . This means the discrete harmonic spikes in the spectrum get closer and closer together.
  4. In the limit, as becomes infinite, the spikes merge to form a continuous spectrum. The formula describing this continuous spectrum is exactly the Fourier Transform integral.

This approach provides a rigorous mathematical bridge from representing periodic signals to representing any signal.

Lecture 8, Continuous-Time Fourier Transform | MIT RES.6.007 Signals and Systems, Spring 2011

In this classic lecture from MIT OpenCourseWare, Prof. Alan Oppenheim provides the formal derivation of the CTFT by taking the limit of the Fourier Series.

Watch from 02:29 to 13:36. You don't need to be an expert on Fourier Series; focus on the conceptual leap. Observe how he treats an aperiodic signal as a periodic one with an ever-increasing period, and watch how the discrete spectral lines in the visualization become a continuous envelope—the Fourier Transform.


5. Understanding the Output: Magnitude and Phase

The result of the Fourier Transform, , is a complex-valued function. For any frequency , it gives you a complex number . In practice, we usually don't look at the real and imaginary parts directly. Instead, we convert them to polar coordinates: magnitude and phase.

  • Magnitude Spectrum : This tells you the "amount" or "strength" of each frequency in the original signal. This is what we usually visualize when we plot a "spectrum."
  • Phase Spectrum : This tells you the initial phase (the starting offset) of the sinusoid for each frequency . While less intuitive, phase information is critical for perfectly reconstructing the original signal.
Continuous Fourier Transform Example: Cosine Wave
This image shows the Fourier Transform of a simple cosine wave, \(f(t) = \cos(3t)\). In the time domain, it's a smooth wave. The magnitude of its Fourier Transform, |F(ω)|, shows two sharp peaks at ω = +3 and ω = -3. This indicates that the signal is composed purely of a frequency component at 3 rad/s. The imaginary part is zero because the input signal is real and even.

A quick note on negative frequencies: They might seem strange, but they are a natural mathematical result of using complex exponentials to represent oscillations. You can think of as a counter-clockwise rotation and as a clockwise rotation. A real-valued sine or cosine wave is actually a combination of both, which is why its transform is symmetric around zero. For real signals, the negative frequency part is redundant, but mathematically it's always there.


Conclusion

In this lesson, we have defined the Continuous-Time Fourier Transform and explored its profound role in signal analysis.

Key Takeaways:

  • The Fourier Transform is a mathematical tool that decomposes a signal from the time domain (amplitude vs. time) into the frequency domain (magnitude/phase vs. frequency).
  • The intuitive idea behind it is to "wind" the signal around a circle at various test frequencies and measure how "lopsided" the result is to detect the strength of each frequency.
  • Mathematically, this is captured by the CTFT integral: .
  • The output is a complex function. We typically analyze its magnitude spectrum, which shows the strength of each frequency, and its phase spectrum.

The CTFT is a powerful theoretical tool that works on continuous, infinitely long signals. However, our computers work with finite, sampled audio. In our next lesson, we will bridge this gap by deriving the Discrete Fourier Transform (DFT) from the CTFT. The DFT is the practical, algorithmic version that we can actually implement in code to analyze real-world digital audio.

Can't find a good explanation? Sign up and we'll make it for you

Sign up