This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.5 Fourier Analysis
All bases are equal, but some are more equal then others.
As we saw already any separable Hilbert space posses an orthonormal
basis (infinitely many of them indeed). Are they equally good?
This depends from our purposes. For solution of differential equation
which arose in mathematical physics (wave, heat, Laplace equations, etc.)
there is a proffered choice. The fundamental formula: d/dx
eax=aeax reduces the derivative to a multiplication by
a. We could benefit from this observation if the orthonormal basis
will be constructed out of exponents. This helps to solve differential
equations as was demonstrated in
Subsection 0.2.
7.40pm Fourier series: Episode II
Today’s TV listing
5.1 Fourier series
Now we wish to address questions stated in
Remark 9. Let us consider the space
L2[−π,π]. As we saw in Example 3
there is an orthonormal sequence en(t)=(2π)−1/2eint in
L2[−π,π]. We will show that it is an orthonormal
basis, i.e.
f(t)∈ L2[−π,π] ⇔
f(t)= | | ⟨ f,ek
⟩ek(t),
|
with convergence in L2 norm. To do this we show that
CLin{ek:k∈ℤ}=L2[−π,π].
Let CP[−π,π] denote the continuous functions
f on [−π,π] such that f(π)=f(−π). We also define
f outside of the interval [−π,π] by periodicity.
Lemma 1
The space CP[−π,π]
is dense in
L2[−π,π]
.
Figure 9: A modification of continuous function to periodic |
Proof.
Let
f∈
L2[−π,π].
Given є>0 there exists
g∈
C[−π,π]
such that ||
f−
g||<є/2. From continuity of
g on a
compact set follows that there is
M such that |
g(
t) |<
M for all
t∈[−π,π].
We can now replace g by periodic g′,
which coincides with g on [−π,π−δ] for an arbitrary
δ>0 and has the same bounds: | g′(t) |<M,
see Figure 9. Then
| ⎪⎪
⎪⎪ | g−g′ | ⎪⎪
⎪⎪ | 22= | | ⎪
⎪ | g(t)−g′(t) | ⎪
⎪ | 2 d t ≤ (2M)2δ.
|
So if δ<є2/(4M)2 then
||g−g′||<є/2 and ||f−g′||<є.
□
Now if we could show that CLin{ek: k ∈ ℤ} includes
CP[−π,π] then it also includes
L2[−π,π].
Notation 2
Let f∈
CP[−π,π]
,write
fn= | | ⟨ f,ek
⟩ ek , for n=0,1,2,…
(24) |
the partial sum of the Fourier series
for f.
We want to show that ||f−fn||2→ 0. To this end we
define nth Fejér sum by the formula
and show that
Then we conclude
| ⎪⎪
⎪⎪ | Fn−f | ⎪⎪
⎪⎪ | 2= | ⎛
⎜
⎜
⎝ | | ⎪
⎪ | Fn(t)−f | ⎪
⎪ | 2 | ⎞
⎟
⎟
⎠ | | ≤ (2π)1/2
| ⎪⎪
⎪⎪ | Fn−f | ⎪⎪
⎪⎪ | ∞→ 0.
|
Since Fn∈Lin((en)) then f∈CLin((en)) and hence
f=∑−∞∞⟨ f,ek
⟩ek.
Exercise 4
Find an example illustrating the above Remark.
The summation method used in (25) us useful not
only in the context of Fourier series but for many other cases as
well. In such a wider framework the method is known as
.
It took 19 years of his life to prove this theorem
5.2 Fejér’s theorem
Proposition 5 (Fejér, age 19)
Let f∈
CP[−π,π]
. Then
is the Fejér kernel.
Proof.
From notation (
24):
Then from (
25):
which finishes the proof.
□
Lemma 6
The Fejér kernel is 2π
-periodic, Kn(0)=
n+1
and can be expressed as:
| | | 1 | | | |
| | z−1 | 1 | z | | |
| z−2 | z−1 | 1 | z | z2 | |
| ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋱
|
Table 1: Counting powers in rows and columns |
Proof.
Let
z=
eit, then:
by switch from counting in rows to counting in columns in
Table
1.
Let
w=
eit/2, i.e.
z=
w2, then
| Kn(t) | = | | (w−2n+2w−2n+2+⋯+(n+1)+nw2+⋯+w2n)
|
| |
| = | | (29) |
| = | | ⎛
⎜
⎜
⎝ | | ⎞
⎟
⎟
⎠ | |
Could you sum a geometric progression?
|
| |
| = | | ⎛
⎜
⎜
⎜
⎜
⎜
⎝ | | ⎞
⎟
⎟
⎟
⎟
⎟
⎠ | | ,
|
| |
|
if
w≠ ± 1. For the value of
Kn(0) we substitute
w=1 into (
29).
□
Figure 10: A family of Fejér kernels with the parameter m running from
0 to 9 is on the left picture. For a comparison
unregularised Fourier kernels are on the right picture. |
The first eleven Fejér kernels are shown on
Figure 10, we could observe that:
Lemma 7
Fejér’s kernel has the following properties:
-
Kn(t)≥0 for all t∈ ℝ and
n∈ℕ.
-
∫−ππKn(t) d t=2π.
-
For any δ∈ (0,π)
Proof.
The
first property immediately
follows from the explicit formula (
28). In
contrast the
second property is
easier to deduce from expression with double
sum (
27):
since the formula (
19).
Finally if | t |>δ then sin2(t/2)≥
sin2(δ/2)>0 by monotonicity of sinus on [0,π/2], so:
implying:
0≤ | | Kn(t)
d t ≤ | |
→ 0 as n→ 0.
|
Therefore the third property follows
from the squeeze rule.
□
Theorem 8 (Fejér Theorem)
Let f∈
CP[−π,π]
. Then its Fejér sums
Fn (25) converges in supremum norm to f
on [−π,π]
and hence in L2 norm as well.
Proof.
Idea of the proof: if in the formula (
26)
t is long way from
x,
Kn is small (see
Lemma
7 and
Figure
10), for
t near
x,
Kn is big
with total “weight” 2π, so the weighted average of
f(
t)
is near
f(
x).
Here are details. Using property 2 and
periodicity of f and Kn we could
express trivially
f(x)= f(x) | | | Kn(x−t)
dt
= | | | f(x) Kn(x−t) d t.
|
Similarly we rewrite (26) as
then
| = | | | ⎪
⎪
⎪
⎪ | | (f(x)−f(t))
Kn(x−t) d t | ⎪
⎪
⎪
⎪ |
|
| ≤ | | | | ⎪
⎪ | f(x)−f(t) | ⎪
⎪ | Kn(x−t) d t.
|
|
|
Given є>0 split into three intervals:
I1=[x−π,x−δ], I2=[x−δ,x+δ],
I3=[x+δ,x+π], where δ is chosen such that
| f(t)−f(x) |<є/2 for t∈ I2, which is
possible by continuity of f. So
| | ∫ | | | ⎪
⎪ | f(x)−f(t) | ⎪
⎪ | Kn(x−t) d t≤
| |
| | ∫ | | Kn(x−t) d t <
| | .
|
And
| | ∫ | | | ⎪
⎪ | f(x)−f(t) | ⎪
⎪ | Kn(x−t)
dt |
| ≤ | 2 | ⎪⎪
⎪⎪ | f | ⎪⎪
⎪⎪ | ∞ | | ∫ | | Kn(x−t)
dt |
|
| = | |
| < | |
|
if n is sufficiently large due to
property 3 of Kn. Hence
| f(x)−Fn(x) |<є for a large n independent
of x.
□
We almost finished the demonstration that en(t)=(2π)−1/2eint
is an orthonormal basis of L2[−π,π]:
Corollary 10 (Fourier series)
Let f∈
L2[−π,π]
, with Fourier series
| | ⟨ f,en
⟩en= | | cneint
where
cn= | | = | | | f(t)e−int d t.
|
Then the series ∑
−∞∞⟨
f,
en
⟩
en=∑
−∞∞cneint converges in L2[−π,π]
to f, i.e
| | | ⎪⎪
⎪⎪
⎪⎪
⎪⎪ | f− | |
cneint | ⎪⎪
⎪⎪
⎪⎪
⎪⎪ | 2=0.
|
5.3 Parseval’s formula
The following result first appeared in the framework of
L2[−π,π] and only later was understood to be a
general property of inner product spaces.
Theorem 12 (Parseval’s formula)
If f, g∈
L2[−π,π]
have Fourier series
f=∑
n=−∞∞cneint and g=∑
n=−∞∞dneint, then
⟨ f,g
⟩= | | f(t)
| | d t=2π | | cn | | .
(30) |
More generally if f and g are two vectors of a Hilbert space H with an
orthonormal basis (en)−∞∞ then
⟨ f,g
⟩= | | cn | | ,
where cn=⟨ f,en
⟩, dn=⟨ g,en
⟩,
|
are the Fourier coefficients of f and g.
Proof.
In fact we could just prove the second, more general,
statement—the first one is its particular realisation. Let
fn=∑
k=−nn ckek and
gn=∑
k=−nn
dkek will be partial sums of the corresponding Fourier
series. Then from orthonormality of (
en) and linearity of the
inner product:
⟨ fn,gn
⟩=⟨ | | ckek, | |
dkek
⟩= | | ck | | .
|
This formula together with the facts that
fk→
f and
gk→
g (following from
Corollary
10) and
Lemma about continuity of the
inner product implies the assertion.
□
Corollary 13
A integrable function f belongs to L2[−π,π]
if and only if its Fourier series is convergent and then
||
f||
2=2π∑
−∞∞|
ck |
2.
Heat and noise but not a fire?
Answer:
5.4 Some Application of Fourier Series
We are going to provide now few examples which demonstrate the
importance of the Fourier series in many questions. The first two
(Example 16 and Theorem 17)
belong to pure mathematics and last two are of more applicable
nature.
Example 16
Let f(
t)=
t on [−π,π]
. Then
⟨ f,en
⟩= | | te−int d t= | ⎧
⎪
⎪
⎨
⎪
⎪
⎩ | |
| (check!),
|
so f(
t)∼ ∑
−∞∞(−1)
n (
i/
n)
eint. By a direct
integration:
On the other hand by the
previous Corollary:
| ⎪⎪
⎪⎪ | f | ⎪⎪
⎪⎪ | 22=2π | | ⎪
⎪
⎪
⎪ | | | ⎪
⎪
⎪
⎪ | 2=4π | | | .
|
Thus we get a beautiful formula
Here is another important result.
Theorem 17 (Weierstrass Approximation Theorem)
For any function f∈
C[
a,
b]
and any є>0
there exists a polynomial p such that
||
f−
p||
∞<є
.
Proof.
Change variable:
t=2π(
x−
a+
b/2)/(
b−
a) this maps
x∈[
a,
b] onto
t∈[−π,π]. Let
P denote
the subspace of polynomials in
C[−π,π]. Then
eint∈
$P_^$ for
any
n∈ℤ since Taylor series converges uniformly in
[−π,π]. Consequently
P contains the closed linear
span in (supremum norm) of
eint, any
n∈ℤ,
which is
CP[−π,π] by the
Fejér theorem. Thus
$P_^$⊇
CP[−π,π] and we
extend that to non-periodic function as follows (why we could not
make use of Lemma
1 here, by the way?).
For any f∈C[−π,π] let
λ=(f(π)−f(−π))/(2π) then f1(t)=f(t)−λ t∈
CP[−π,π] and could be approximated by a polynomial
p1(t) from the above discussion. Then f(t) is approximated
by the polynomial p(t)=p1(t)+λ t.
□
It is easy to see, that the rôle of exponents eint in the
above prove is rather modest: they can be replaced by any functions
which has a Taylor expansion. The real glory of the Fourier analysis
is demonstrated in the two following examples.
Figure 11: The dynamics of a heat
equation: |
x—coordinate on the rod, |
t—time, |
T—temperature. |
Example 18
The modern history of the Fourier analysis starts from the works of
Fourier on the heat equation. As was mentioned in the introduction
to this part, the exceptional role of Fourier coefficients for
differential equations is explained by the simple formula
∂
x einx=
ineinx. We shortly review a solution of
the heat equation to illustrate this.Let we have a rod of the length 2π. The temperature at its
point x∈[−π,π] and a moment t∈[0,∞) is
described by a function u(t,x) on [0,∞)×[−π,π].
The mathematical equation describing a dynamics of the temperature
distribution is:
| | = | | or, equivalently,
| ⎛
⎝ | ∂t−∂x2 | ⎞
⎠ | u(t,x)=0.
(32) |
For any fixed moment t0 the function u(t0,x) depends only
from x∈[−π,π] and according to
Corollary 10 could be represented by its Fourier series:
u(t0,x)= | | ⟨ u,en
⟩en= | | cn(t0)einx,
|
where
cn(t0)= | | =
| | | u(t0,x)e−inx d x,
|
with Fourier coefficients cn(t0) depending from t0. We
substitute that decomposition into the heat equation (32)
to receive:
| | | | | | | | | | | |
| | | | | | | | | | |
| = | | (c′n(t)+n2cn(t))einx=0 .
|
| | | | | | | | | (33) |
|
Since function einx form a basis the last
equation (33) holds if and only if
c′n(t)+n2cn(t)=0 for all n and t.
(34) |
Equations from the system (34) have general
solutions of the form:
cn(t)=cn(0)e−n2t for all t∈[0,∞),
(35) |
producing a general solution of the heat equation (32) in
the form:
u(t,x)= | | cn(0)e−n2teinx
= | | cn(0)e−n2t+inx,
(36) |
where constant cn(0) could be defined from boundary
condition. For example, if it is known that the initial distribution
of temperature was u(0,x)=g(x) for a function
g(x)∈L2[−π,π] then cn(0) is the n-th
Fourier coefficient of g(x).
The general solution (36) helps produce both the
analytical study of the heat equation (32) and
numerical simulation. For example, from (36)
obviously follows that
-
the temperature is rapidly relaxing toward the thermal equilibrium
with the temperature given by c0(0), however never reach it
within a finite time;
- the “higher frequencies” (bigger thermal gradients) have a
bigger speed of relaxation; etc.
The example of numerical simulation for the initial value problem
with g(x)=2cos(2*u) + 1.5sin(u). It is clearly illustrate our
above conclusions.
Figure 12: Two oscillation with
unharmonious frequencies and the appearing dissonance. Click to
listen the blue and green
pure harmonics and red dissonance. |
Figure 13: Graphics of G5 performed
on different musical instruments (click on picture to hear the
sound). Samples are taken from
Sound
Library. |
Figure 14: Fourier
series for G5 performed on different musical instruments
(same order and colour as on the previous Figure) |
(a)
(b)
(c)
Figure 15: Limits of the Fourier analysis: different frequencies
separated in time |
Example 19
Among the oldest periodic functions in human culture are acoustic
waves of musical tones. The mathematical theory of musics (including
rudiments of the Fourier analysis!) is as old
as mathematics itself and was highly respected already in
Pythagoras’ school more 2500 years
ago. The earliest observations are that
-
The musical sounds are made of pure harmonics (see the blue
and green graphs on the Figure 12), in our
language cos and sin functions form a basis;
- Not every two pure harmonics are compatible, to be their
frequencies should make a simple ratio. Otherwise the dissonance
(red graph on Figure 12) appears.
The musical tone, say G5, performed on different instruments clearly
has something in common and different, see
Figure 13 for comparisons. The decomposition into the
pure harmonics, i.e. finding Fourier coefficient for the signal,
could provide the complete characterisation, see
Figure 14.
The Fourier analysis tells that:
-
All sound have the same base (i.e. the lowest) frequencies
which corresponds to the G5 tone, i.e. 788 Gz.
- The higher frequencies, which are necessarily are multiples of
788 Gz to avoid dissonance, appears with different weights for
different instruments.
The Fourier analysis is very useful in the signal processing and
is indeed the fundamental tool. However it is not universal and has
very serious limitations. Consider the simple case of the signals
plotted on the Figure 15(a) and (b). They
are both made out of same two pure harmonics:
-
On the first signal the two harmonics (drawn in blue and
green) follow one after another in
time on Figure 15(a);
- They just blended in equal proportions over the whole interval
on Figure 15(b).
This appear to be two very different signals. However the Fourier
performed over the whole interval does not seems to be very
different, see Figure 15(c). Both
transforms (drawn in blue-green and pink) have two major pikes
corresponding to the pure frequencies. It is not very easy to
extract differences between signals from their Fourier transform
(yet this should be possible according to our study).
Even a better picture could be obtained if we use windowed
Fourier transform, namely use
a sliding “window” of the constant width instead of the
entire interval for the Fourier transform. Yet even better analysis
could be obtained by means of wavelets already mentioned in
Remark 14 in
connection with Plancherel’s formula. Roughly, wavelets correspond to
a sliding window of a variable size—narrow for high frequencies and
wide for low.
Last modified: November 6, 2024.