Fourier 02
Fourier 02
Fourier 02
one term
two terms
three terms
ten terms
• The amplitude spectrum decays as 1/n; this indicates that a square wave can be
well-represented by the fundamental frequency plus the first few harmonics.
• By examining the series for particular values of x, useful summation formulae may
sometimes be found. For example, setting x = L/2 in the Fourier sine series gives
4h π 1 3π 1 5π
f (x = L/2) = h = sin + sin + sin +···
π 2 3 2 5 2
and this leads to a nice (but slowly converging) series representation for π/4:
π
= (1 − 1/3 + 1/5 − 1/7 + 1/9 · · ·).
4
3
f(x)
h
x
-2L -L 0 L 2L 3L
Now f (x) = +f (−x). By symmetry, then, bn = 0 ∀n, and only the an ’s are non-zero.
For these coefficients we find
1 L nπx 2 L nπx
Z Z
an = f (x) cos = f (x) cos
L −L L L 0 L
"Z #
L/2 Z L
2h nπx nπx
= cos dx − cos dx
L 0 L L/2 L
"Z #
nπ/2 Z nπ
2h
= cos t dt − cos t dt
nπ 0 nπ/2
2h h nπ/2
i
= sin t |0 − sin t |nπ
nπ/2
nπ
4h (n−1)/2
= nπ (−1) n odd .
0 n even
Thus it is always simpler to choose an origin so that f (x) has a definite symmetry, so that
it can be represented by either a sin or cosine series
2. Repeated Parabola
This is the periodic extension of the function x2 , in the range [−π, π], to the entire real line.
Given any function defined on the interval [a, b], the periodic extension may be constructed
in a similar fashion. In general, we can Fourier expand any function on a finite range; the
Fourier series will converge to the periodic extension of the function.
4
−3π −π π 3π
bn = 0 ∀n
π
1 2π 2
Z
a0 = x2 dx =
π −π 3
Z π
2 4
an = x2 cos nx dx = (−1)n 2
π 0 n