EngMath4 Chapter11
EngMath4 Chapter11
Fourier Analysis 1
[Fourier Series]
Suppose that f (x) is a function of period 2π.
Assume that it can be represented by a trigonometric series
(that is, the series converges and has the sum f (x).)
∑∞
( )
f (x) = a0 + an cos nx + bn sin nx .
n=1
What are a0, an, bn and how to find them?
Integrating on both sides from −π to π, by Theorem 1
∫ π
f (x)dx = 2πa0,
−π
and so ∫ π
1
a0 = f (x)dx.
2π −π
To determine an, multiplying on both sides by cos mx and in-
tegrating on both sides from −π to π, by Theorem 1
∫ π ∫ π
f (x) cos mxdx = a0 cos mxdx
−π −π
∞
∑ π( ∫
)
+ an cos nx + bn sin nx cos mxdx = πam,
n=1 −π
and so (m → n)
∫ π
1
an = f (x) cos nxdx.
π −π
Similarly, ∫ π
1
bn = f (x) sin nxdx.
π −π
Example 1
Find the Fourier series of the periodic function f (x),
{
−k if − π < x < 0
f (x) = , f (x + 2π) = f (x).
k if 0<x<π
Sol.
[∫ 0 ∫ π ]
1
a0 = −k dx + k dx = 0
2π −π
[∫ 0 0
∫ π ]
1
an = −k cos nx dx + k cos nx dx = 0
π −π
[∫ 0 ∫ 0π ]
1
bn = −k sin nxdx + k sin nx dx
π −π 0
2k 2k
= (1 − cos nπ) = (1 − (−1)n) ,
nπ nπ
Fourier series of f (x)
∑∞
2k 4k ( 1 )
(1 − (−1) ) sin nx =
n
sin x + sin 3x + · · · .
n=1
nπ π 3
Theorem 2
Let f (x) be periodic with period 2π and piecewise continuous
in [−π, π], and have a left-hand derivative and a right-hand
derivative at each point of that interval.
Then the Fourier series of f (x) is convergent and
the sum of the series
{
f (x ) ] if f is continuous at x = x0,
= 1[ 0
2 f (x0 + 0) + f (x0 − 0) if f is discontinuous at x = x0 .
Ex. {
x2 if x<1
f (x) =
x/2 if x≥1
left-hand limit: f (1 − 0) = 1
right-hand limit: f (1 + 0) = 1/2
(b) f is discontinuous at x = 0.
sum of the series = 0 [ ] 1[ ]
1
= 2 f (0+0)+f (0−0) = 2 k +(−k) .
Definition
Fourier series f (x) of period p = 2L
∞
∑ ( nπx nπx )
f (x) = a0 + an cos + bn sin
n=1
L L
with the Fourier coefficients given by the Euler formulas
∫ L
1
a0 = f (x)dx,
2L −L
∫ L
1 nπx
an = f (x) cos dx,
L −L L
∫ L
1 nπx
bn = f (x) sin dx.
L −L L
Sol.
∫
ω π/ω E
a0 = E sin ωtdt = ,
2π 0 π
∫ π/ω
ω
an = E sin ωt cos nωtdt
π
{ 0
a1 = 0
= E − cos[(1+n)π]+1 − cos[(1−n)π]+1
a2 = · · · = 2π ( + )
{ 1+n 1−n
a1 = a3 = · · · = 0
= ,
a2 = a4 = · · · = − (n−1)(n+1)π
2E
∫
ω π/ω
bn = E sin ωt sin nωtdt
π
{ 0 E
b1 = 2
= ,
b2 = · · · = 0
If f is even, that is, f (−x) = f (x) for all x, its Fourier series
reduces to a Fourier cosine∞series
∑ nπx
f (x) = a0 + an cos
L
∫ L
n=1
1
with coefficients a0 = f (x)dx,
L ∫0
2 L nπx
an = f (x) cos dx
L 0 L
If f is odd, that is, f (−x) = f (x) for all x, its Fourier series
reduces to a Fourier sine series
∞
∑ nπx
f (x) = bn cos
L
∫ L
n=1
2 nπx
with coefficients an = f (x) sin dx
L 0 L
3. Half-Range Expansions
Definition (Half Range Expansion of f (x), 0 ≤ x ≤ L)
[Even extension and periodic extension of period p = 2L]
f (x) extended as an even periodic function of period 2L
∑∞
nπx
f (x) = a0 + an cos
L
∫
1 L
n=1
∫
2 L
with a0 = L 0 f (x)dx, an = L 0 f (x) cos nπx L dx.
⇐ even periodic extension(Fourier cosine series)
[Odd extension and periodic extension of period p = 2L]
f (x) extended as an odd periodic function of period 2L
∑ ∞
nπx
f (x) = bn sin
n=1
L
∫
2 L
with bn = L 0 f (x) sin nπx
L dx.
⇐ odd periodic extension(Fourier sine series)
Example 6
Find the two half-range expansions of the function
{ 2k L
L x if 0 < x < 2 ,
f (x) = 2k
L (L − x) if L
2 < x < L.
Sol.
(a) even periodic expansion of f (x)
k 16k ( 1 2π 1 6π )
f (x) = − 2 2 cos x + 2 cos x + · · · .
2 π 2 L 6 L
Clearly, E ≥ 0.
and so
{ }
∑
N
[ ]
E − E∗ = π 2(a0 − A0)2 + (an − An) + (bn − Bn)
2 2
n=1
≥ 0.
Thus E ≥ E ∗ and
E = E ∗ iff A0 = a0, · · · , BN = bN .
Theorem 1 (Minimum Square Error)
The total square error of a trigonometric polynomial F of de-
gree N relative to f on [−π, π] is minimum if and only if the
coefficients of F are the Fourier coefficients of f .
In this case,
∫ π [ ]
∑N
∗
0≤E = |f (x)| dx − π 2a0 +
2 2
(a2n + b2n) .
−π n=1
Hence
∑N ∫ π
1
2a20 + (a2n + b2n) ≤ |f (x)|2dx,
n=1
π −π
and
∞
∑ ∫ π
1
2
2a0 + (an + bn) ≤
2 2
|f (x)|2dx, Bessel’s inequality.
n=1
π −π
In fact,
∑∞ ∫ π
1
2a20 + (a2n + b2n) = |f (x)|2dx, Parseval’s identity.
n=1
π −π
′′ ν2
=⇒ [xy ] + (− x − λx)y = 0 (x̃ = kx, λ = k 2)
[Eigenvlaues, Eigenfunctions]
The nonzero solutions of the Sturm-Liouville equation satisfying
the Sturm-Liouville boundary conditions is called eigenfunc-
tions and λ is called an eigenvalue.
Existence of eigenvalues : Eigenvalues of the a Sturm-
Liouville problem exist under some condition on p, q, r.
Reality of eigenvalues : If p, q, r, and p′ are real-valued
and continuous, r(x) > 0(or r(x) < 0) on a ≤ x ≤ b, then all
the eigenvalues of Sturm-Liouville problem are real.
Department of Mathematics V. Choi
Chapter 11. Fourier Analysis 20
[Orthogonal Functions]
Definition (Orthogonality)
Functions y1(x), y2(x), · · · on [a, b] are called orthogonal on
[a, b] w.r.t. the weight function r(x) > 0 if
∫ b
r(x)ym(x)yn(x)dx = 0 (m ̸= n).
a
The norm ∥ym∥ of ym is defined by
√
∫ b
∥ym∥ = r(x)|ym(x)|2dx.
a
Proof. By assumption,
′ ′
(pym ) + (q + λmr)ym = 0,
(pyn′ )′ + (q + λnr)yn = 0.
and
∞
∑ (f, ym)
f (x) = ym (generalized Fourier series).
m=0
∥ym ∥2
Department of Mathematics V. Choi
Chapter 11. Fourier Analysis 27
bn = 0,
∫ 1
1 1
a0 = dx = ,
2L −1 L
∫
1 1 nπx 2 sin(nπ/L)
an = cos dx = .
L −1 L L nπ/L
This sequence of Fourier coefficients is called the amplitude
spectrum of fL because |an| is the maximum amplitude of the
wave an cos(nπx/L).
For increasing L these amplitudes become more and more dense
on the positive wn-axis, where wn = nπ/L, and will eventually
be everywhere dense on the positive wn-axis(and will decrease
to zero).
Department of Mathematics V. Choi
Chapter 11. Fourier Analysis 31
Fourier series of fL :
∑∞
( ) nπ
fL(x) = a0 + an cos wnx + bn sin wnx (wn = )
L
∫ n=1
L
1
= fL(v)dv
2L −L
∞ ∫ L
1 ∑[
+ cos wnx fL(v) cos wnvdv
L n=1 −L
∫ L
]
+ sin wnx fL(v) sin wnvdv .
−L
Setting △wn = wn+1 − wn = Lπ ,
∫ L
1
fL(x) = fL(v)dv
2L −L
∑∞ ∫ L
1 [
+ (cos wnx)△w fL(v) cos wnvdv
π n=1 −L
∫ L
]
+ (sin wnx)△w fL(v) sin wn vdv .
−L
Let L → ∞ (△w → 0).
Then the Fourier series of fL converges to the Fourier integral
of f .
Department of Mathematics V. Choi
Chapter 11. Fourier Analysis 33
Theorem 1
If f (x) is piecewise continuous in every finite interval and has
a left-hand
∫ ∞ derivative and right-hand derivative at every point,
and −∞ |f (x)|dx < ∞, then f (x) can be represented by a
Fourier integral of f (x) and
Fourier integral
{
f (x0) if f is continuous at x = x0,
=
2 [f (x0 +) + f (x0 −)] if f is discontinuous at x = x0 .
1
If f (x) is an even
∫ ∞ function, then B(w) = 0,
f (x) = A(w) cos wxdw, Fourier cosine integral
0 ∫
2 ∞
where A(w) = f (v) cos wvdv.
π 0
If f (x) is an odd∫ function, then A(w) = 0,
∞
f (x) = B(w) sin wxdw, Fourier sine integral
0∫
2 ∞
where B(w) = f (v) sin wvdv.
π 0
Fig. 283. The approximation integral for a = 8, 16, and 32, illustrating the development of the
Gibbs phenomenon
Definition
Complex Fourier Integral
∫ ∞∫ ∞
1
f (x) = f (v)eiw(x−v)dvdw.
2π −∞ −∞
Note: ∫ ∞ ∫ ∞
1 [ 1 −iwv
] iwx
f (x) = √ √ f (v)e dv e dw.
2π −∞ 2π −∞
Definition
Fourier transform of f (x)
∫ ∞
1
F(f ) = fˆ(w) = √ f (x)e−iwxdx.
2π −∞
inverse Fourier transform of fˆ(w)
∫ ∞
1
f (x) = F −1(fˆ) = √ fˆ(w)eiwxdw.
2π −∞
Example 1
{
1 if − 1 < x < 1
Find the Fourier transform of f (x) = .
0 if otherwise
Sol.
1∫
1
fˆ(w) = √ e−iwxdx
2π −1
[ −iwx ]1
1 e
= √
2π −iw −1
√
2 sin w
= .
π w
Department of Mathematics V. Choi
Chapter 11. Fourier Analysis 38
Theorem 2 (Linearity)
The Fourier transform is a linear operation: if F(f ) and F(g)
exist, then for any constants a and b, F(af + bg) exists, and
F(af + bg) = aF(f ) + bF(g).
Sol.
−x2 1 −x2 ′ 1 −x2 iw − w2
F(xe ) = F(− (e ) ) = − iwF(e ) = − √ e 4 .
2 2 2 2
Definition
convolution of f and g
∫ ∞
(f ∗ g)(x) = f (p)g(x − p) dp
−∞
Note: f ∗ g = g ∗ f.
Theorem 4 (Convolution Theorem)
Suppose that f (x) and g(x) are piecewise continuous, bounded,
and absolutely integrable on the x−axis. Then
√
F(f ∗ g) = 2πF(f )F(g).
Proof
∫ ∞
1
F(f ∗ g)(w) = √ (f ∗ g)(x)e−iwxdx
2π ∫−∞ ∫
∞ ∞
1
= √ f (p)g(x − p)e−iwxdpdx
2π ∫−∞ ∫−∞
∞ ∞
1
= √ f (p)g(x − p)e−iwxdxdp.
2π −∞ −∞
Take x − p = q, then
∫ ∞∫ ∞
1
F(f ∗ g)(w) = √ f (p)g(q)e−iw(p+q)dqdp
∫ 2π∞
−∞ −∞
= f (p)F(g)e−iwpdp
√−∞
= 2πF(f )F(g).
∫ ∞
Note: (f ∗ g)(x) = fˆ(w)ĝ(w)eiwxdw
−∞
∑
N −1
Thus fk e−imxk = N cm, and so (m → n)
k=0
N −1
1∑
cn = fk e−inxk , fk = f (xk ).
N
k=0
1 i −1 −i 9 −4 − 8i
Theorem
A N × N Fourier matrix FN and its complex conjugate FN =
[wnk ] satisfy
FN FN = FN FN = N I,
where I is the N × N unit matrix, hence FN−1 = 1
N FN .
fˆn = fˆev,n + wN
n ˆ
fod,n, n = 0, 1, · · · , M − 1,
fˆn+M = fˆev,n − wn fˆod,n, n = 0, 1, · · · , M − 1.
N
(Compare Ex.4.)
Department of Mathematics V. Choi