1. Home
  2. Explore
  3. Mathematics
  4. Fourier Transform Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Fourier Transform Introduction

🎶 Understanding the Fourier Transform

The Fourier Transform is a powerful mathematical tool for decomposing complex signals into their constituent frequencies. It allows us to understand the underlying components of a signal, moving beyond its representation over time.

🎧 Decomposing Frequencies from Sound

The classic application of the Fourier Transform involves analyzing sound.

🌊 Sound Waves and Superposition

  • Pure Tones: A pure musical note, like an A (440 beats per second), corresponds to a sine wave where air pressure oscillates up and down around equilibrium. A lower pitch note, like a D, has the same sine wave structure but with fewer oscillations per second.

  • Combined Sounds: When multiple pure notes are played simultaneously, their individual pressure waves sum up at each point in time.

    This superposition creates a more complicated wave-ish pressure vs. time graph that is no longer a pure sine wave.

  • Peaks and valleys can align, causing higher pressures, or cancel out, leading to lower pressures.

  • As more notes (frequencies) are added, the resulting waveform becomes increasingly complex.

The Problem: A microphone records only the final, summed air pressure over time. The central challenge is to decompose this complex signal back into the pure frequencies that compose it, much like unmixing paint colors.

🌀 The Winding Machine: Visualizing Frequency Decomposition

The core strategy is to build a mathematical "machine" that treats signals with specific frequencies differently from others.

  1. Signal Representation:

    Start with a pure signal, for example, a sine wave with 3 beats per second.

  2. Consider a finite portion of this signal, e.g., from 0 to 4.5 seconds.

  3. Wrapping Around a Circle:

    Imagine a rotating vector whose length at any given time t is equal to the height (intensity) of the signal at that t.

  4. This vector rotates around a circle. The speed at which it rotates is called the winding frequency.

  5. As the vector rotates and its length changes, it "draws" a wound-up graph on the 2D plane.

  6. Key Insight: There are two distinct frequencies:

    The signal's frequency (e.g., 3 beats per second).

  7. The winding frequency (how fast we wrap the graph around the circle). We can adjust this winding frequency.

  8. Center of Mass (Centroid):

    Imagine the wound-up graph as a metal wire with mass.

  9. We track the center of mass of this wire.

  10. For most winding frequencies, the peaks and valleys of the signal are spread out around the circle, causing the center of mass to stay close to the origin.

  11. The "Aha!" Moment: When the winding frequency matches the signal's frequency (e.g., 3 cycles per second for a 3 beats/second signal), all the high points (peaks) of the signal align on one side of the circle (e.g., the right), and all the low points (valleys) align on the opposite side (e.g., the left).

  12. This alignment causes the center of mass to be unusually far from the origin in a specific direction (e.g., far to the right).

  13. Plotting the Center of Mass (x-coordinate):

    To capture this, we plot the x-coordinate of the center of mass against various winding frequencies.

  14. For a signal with a frequency of 3 beats per second:

    At a winding frequency of zero (everything bunched on the right if the signal is shifted up), the x-coordinate is high.

  15. As winding frequency increases, the x-coordinate wobbles near zero.

  16. At 3 beats per second, there is a distinct spike in the x-coordinate, indicating strong alignment.

  17. If the original signal oscillates around zero (dipping into negative values), the spike around zero winding frequency disappears, leaving only the spike at the signal's actual frequency. This initial spike around zero corresponds to the signal's vertical shift.


🔬 The "Almost" Fourier Transform

This plot of the center of mass's x-coordinate versus winding frequency is what we call the "almost" Fourier Transform.

  • It acts as a frequency unmixing machine, allowing us to pick out the dominant frequency of a signal.

  • For a different pure signal (e.g., 2 beats per second), the "almost" Fourier Transform would show a spike at 2 cycles per second.

➕ Linearity: Unmixing Multiple Frequencies

The power of this machine becomes evident when dealing with signals composed of multiple frequencies.

  • If you take two signals (e.g., 2 beats/second and 3 beats/second) and add them, the resulting waveform is complex.

  • However, when this combined signal is fed into the winding frequency machine:

    The wound-up graph appears chaotic for most winding frequencies.

  • But at 2 cycles per second, things align nicely, creating a prominent center of mass.

  • Similarly, at 3 cycles per second, another distinct alignment occurs, producing another prominent center of mass.

Key Property: The "almost" Fourier Transform is linear. Applying it to the sum of two signals gives the same result as applying it to each signal individually and then adding their transforms.

  • Transform(Signal1 + Signal2) = Transform(Signal1) + Transform(Signal2)

This means that the transform of a sum of pure frequencies will simply show peaks at each of the original frequencies, effectively "unmixing" them.

🔊 Practical Application: Sound Editing

  • Noise Filtering: In sound editing, if a recording has an annoying high-pitched noise, this noise will appear as a spike at a high frequency in its Fourier Transform.

  • Filtering Process:

    Take the Fourier Transform of the original intensity vs. time signal.

  • "Smush down" (reduce or eliminate) the spike corresponding to the unwanted high frequency.

  • Use the Inverse Fourier Transform (which will be discussed in more detail in subsequent content) to convert this modified frequency-domain representation back into a time-domain signal.

  • The result is a sound recording similar to the original, but without the annoying high frequency.


📐 The Actual Fourier Transform: Complex Numbers and Integration

The "almost" Fourier Transform, using only the x-coordinate of the center of mass, is a simplification. The actual Fourier Transform is more precise and elegant.

ℂ Complex Plane and Euler's Formula

  • Two Dimensions: The center of mass of the wound-up graph is a two-dimensional quantity (x and y coordinates).

  • Complex Numbers: In mathematics, dealing with 2D quantities is often elegantly handled using the complex plane, where a point is represented by a complex number with a real part (x-coordinate) and an imaginary part (y-coordinate).

  • Euler's Formula: This formula, e^(iθ) = cos(θ) + i sin(θ), provides a powerful link between exponentials and rotation.

    e^(iθ) represents a point on the unit circle in the complex plane, reached by walking θ units counterclockwise from (1,0).

  • To describe rotation at f cycles per second, we use e^(2πift). Here:

    2π accounts for the full circumference of a unit circle.

  • f is the frequency.

  • t is time.

For Fourier Transforms, the convention is clockwise rotation, so the exponent becomes e^(-2πift).

✍️ The Fourier Transform Formula

  1. Winding the Graph (Complex Multiplication):

    Let g(t) be the original signal intensity vs. time function.

  2. Multiplying g(t) by the rotating complex number e^(-2πift):
    g(t) * e^(-2πift)

  3. This expression elegantly encapsulates the idea of a rotating vector whose length is scaled by g(t), effectively drawing the wound-up graph on the complex plane with a winding frequency f.

  4. Center of Mass (Integration):

    To find the center of mass of this wound-up graph, we would sum up all the complex numbers drawn by g(t) * e^(-2πift) over a time interval and divide by the number of points (for discrete samples).

  5. In the continuous limit, this sum becomes an integral:
    ∫ g(t) * e^(-2πift) dt

  6. This integral of a complex-valued function directly represents the center of mass of the wound-up graph over the given time interval.

  7. The Final Distinction: Scaling by Time Interval:

    The actual Fourier Transform is simply the integral part, without dividing by the time interval.

  8. G(f) = ∫ g(t) * e^(-2πift) dt (often with bounds from -∞ to ∞)

  9. This means the Fourier Transform output is the center of mass scaled up by the length of the time interval.

  10. Physical Implication: If a certain frequency persists for a longer duration, the magnitude of the Fourier Transform at that frequency will be larger. This is because the alignment of peaks and valleys at that matching frequency has more time to contribute coherently, while contributions from other frequencies tend to cancel out over longer intervals.

📊 Notation and Interpretation

  • The Fourier Transform of g(t) is typically denoted as G(f) or ĝ(f) (g-hat).

  • It is a new function that takes a frequency (f) as input, not time.

  • The output ĝ(f) is a complex number, representing a point in the 2D complex plane.

    Its magnitude indicates the strength or amplitude of that frequency in the original signal.

  • Its argument (angle) indicates the phase of that frequency.

The previous plots of the "almost" Fourier Transform were only showing the real component (x-coordinate) of this complex output. The imaginary component (y-coordinate) provides additional information.

🌌 Theoretical vs. Practical Bounds

  • In practical applications like sound editing, the integral is performed over a finite time interval.

  • The theoretical definition of the Fourier Transform often uses integral bounds from negative infinity to positive infinity. This implies considering the limit as the time interval grows infinitely large.


🚀 Beyond Sound: The Ubiquity of the Fourier Transform

The Fourier Transform extends far beyond decomposing frequencies from sound signals. It is a fundamental concept used in various fields:

  • Image Processing: Analyzing spatial frequencies to detect edges, blur images, or compress data.

  • Quantum Mechanics: Describing wave functions and momentum.

  • Signal Processing: Filtering, compression, and analysis of various types of signals (e.g., radio waves, seismic data).

  • Partial Differential Equations: Solving complex equations by transforming them into a simpler domain.

The rich intuitive meaning behind the formula, connecting exponentials to rotation, multiplication to drawing wound-up graphs, and integration to center of mass, makes this initially daunting mathematical expression profoundly understandable and applicable.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent