MIT 6.300 — Lecture 2
Sinusoids and Series
§ Lecture: Convergence
Here is the graph of the Fourier series of a square wave, truncated to its first hundred terms.

Notice how the discontinuity of the square wave presents itself in its Fourier series. It turns out that the error shown above never goes away, even as arbitrarily many terms are added!
Theorem. (Gibbs' Phenomenon) Suppose a (sufficiently well-behaved) signal has a “step discontinuity” at ; that is,
Furthermore, let denote the partial sum of the first terms of the Fourier series for . Then the following hold:
Evaluated at , the Fourier series converges to .
Near , the partial sum overshoots and undershoots by an amount converging to (assuming ).
For any , the length of the interval over which shrinks to zero as .
In particular, the Fourier series of a discontinuous function converges pointwise, but not uniformly.
The exact value of the constant is .
§ Lecture: Transforming Fourier Series
Problem. Given the Fourier coefficients for , determine the Fourier coefficients of .
Solution: The only difference between and is in their fundamental frequencies. The Fourier coefficients do not change.
Remark. Think of the Fourier coefficients as describing the quality of a signal. A piano and a trumpet playing 440 Hz will have different qualities, but a piano playing 440 Hz and a piano playing 880 Hz will not (assuming ideal conditions).
Problem. Given the Fourier coefficients of , determine the Fourier coefficients of .
Solution: Just note the following (recalling that always):
Thus, odd-indexed coefficients are negated, and all other coefficients remain unchanged.
§ Recitation: Symmetry in Fourier Series
Recall from Lecture 1 that it's easy to compute the Fourier series of an even or odd function.
Theorem. (Everything is Even/Odd) Every function can be expressed as the sum of an even function and an odd function.
Proof: The proof is in the statement of the theorem itself.
In 6.300, “symmetric” and “antisymmetric” mean “even” and “odd”, respectively—and “asymmetric” means neither.
Thus, if an asymmetric signal can be easily expressed as the sum of a symmetric and antisymmetric signal, then computing its Fourier series might be easier to do in two steps…