Calculus II · Real Analysis
Fourier Series
Explanation
Intuition: "The DNA of Waves"
Imagine listening to a chord played by an entire orchestra. The human ear hears the unified, complex sound wave but can simultaneously distinguish the individual instruments—the violin, the trumpet, and the piano.
Fourier Series do exactly this mathematically: they decompose any periodic function (no matter how complex, sharp, or "ugly") into its most fundamental building blocks—pure sine and cosine waves at different frequencies.
Every periodic function is essentially a superposition (sum) of harmonics. Fourier series give us the tools to find the "weight" (amplitude) of each frequency within the original function.
Formal Definition and Euler-Fourier Formulas
Let be a periodic function with period (i.e., ), defined on the interval .
The Fourier series of the function is defined as:
Fourier Coefficients are calculated using integrals, which act as frequency filters:
- The Average (DC Offset):
- Cosine Coefficients (The even part):
- Sine Coefficients (The odd part):
*(Note: We often work in the interval for simplicity, where and formulas simplify to and ).*
The Magic Secret: Orthogonal System (Proof of Coefficients)
How were these formulas discovered? The secret lies in the orthogonality of trigonometric functions.
If we multiply two basis functions of different frequencies and integrate over a full period, the area always cancels out to zero. For positive integers :
But when it is the exact same frequency ():
If we take the full series of , multiply both sides by , and integrate from to , every single term in the infinite series becomes zero except the one where . This elegantly "extracts" exactly the coefficient !
Convergence, Dirichlet's Theorem, and Gibbs Phenomenon
Does the series actually equal the function?
Dirichlet's Theorem: If is a periodic, piecewise continuous function with a finite number of extrema in one period, then its Fourier series converges:
1. At every point of continuity – the series converges to .
2. At every jump discontinuity – the series converges to the average of the right and left limits:
Gibbs Phenomenon: At jump discontinuities, the series (even with thousands of terms) struggles to "connect" the broken points, creating a sharp oscillation (overshoot). This oscillation never disappears, and its peak remains around of the jump's height.
Parseval's Identity
The Pythagorean theorem in infinite-dimensional space! The total energy of the original function equals the sum of the energies of its harmonics:
This identity is a tremendously powerful tool for calculating the sums of complicated numerical series (like the sum of inverse squares).
Interactive Visualization
Loading visualization
Worked Examples
Practice
Exercise 1 of 5
1
For an even function, which of the Fourier coefficients must definitively all be zero?
★Quiz
Test your knowledge from this lesson
A mix of questions from the lesson — each attempt varies slightly
Answer at least 4 out of 5 questions correctly to pass (70%)