FourierSeries - Department of Mathematics, UEM

advertisement
Group #9
Yizhi Hong
Jiaqi Zhang
Nicholas Zentay
Sagar Lonkar
17.1 Introduction
Main Work:
Théorie analytique de la chaleur
(The Analytic Theory of Heat)
• Any function of a variable, whether continuous or
discontinuous, can be expanded in a series of
sines of multiples of the variable (Incorrect)
• The concept of dimensional homogeneity in
equations
• Proposal of his partial differential equation for
conductive diffusion of heat
Jean Baptiste Joseph Fourier
(Mar21st 1768 –May16th 1830)
Discovery of the "greenhouse effect"
French mathematician, physicist
http://en.wikipedia.org/wiki/Joseph_Fourier
even function: ๐‘“ −๐‘ฅ = ๐‘“ ๐‘ฅ
odd function: ๐‘“ −๐‘ฅ = −๐‘“ ๐‘ฅ
some characteristic:
even+even=even
even*even=even
odd+odd=odd
odd*odd=even
even*odd=odd
If f is even, then
If f is odd, then
๐ด
๐ด
๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ = 2 0 ๐‘“
−๐ด
๐ด
๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ = 0
−๐ด
๐‘ฅ ๐‘‘๐‘ฅ
Every function can be uniquely decomposed into the
sum of an even function, say fe, and an odd function, say
fo.
๐‘“ ๐‘ฅ + ๐‘“(−๐‘ฅ) ๐‘“ ๐‘ฅ − ๐‘“(−๐‘ฅ)
๐‘“ ๐‘ฅ =
+
2
2
= ๐‘“๐‘’ ๐‘ฅ + ๐‘“๐‘œ (๐‘ฅ)
Periodic function
๐‘“ ๐‘ฅ + ๐‘‡ = ๐‘“ ๐‘ฅ for every x in the domain of f.
Then we say that f is a periodic function of x, with period
T. And f is T-periodic.
Examples:
Even function : Cosine function i.e. cos(θ)
Odd function: Sine function i.e. sin(θ)
Periodic Function: Both sine and cosine functions are
periodic with a period of 2 π
If f(x) is periodic, of period 2l, then we define the
Fourier series of f, say FS f, as
∞
๐น๐‘†๐‘“ ๐‘ฅ = ๐‘Ž0 +
๐‘›=1
๐‘Ž๐‘› cos
๐‘›๐œ‹๐‘ฅ
๐ฟ
+ ๐‘๐‘› sin
๐‘›๐œ‹๐‘ฅ
๐ฟ
Where the coefficients are given by the Euler formulas,
๐‘Ž๐‘œ =
๐‘Ž๐‘› =
๐‘๐‘› =
1 ๐ฟ
๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ
−๐ฟ
2๐ฟ
1 ๐ฟ
๐‘›๐œ‹๐‘ฅ
๐‘“ ๐‘ฅ cos
๐‘‘๐‘ฅ
๐ฟ −๐ฟ
๐ฟ
1 ๐ฟ
๐‘›๐œ‹๐‘ฅ
๐‘“ ๐‘ฅ sin
๐‘‘๐‘ฅ
๐ฟ −๐ฟ
๐ฟ
For FS f to represent f we need the series to converge,
and we need its sum function to be the same as the
original function f(x).
Let f be 2L-periodic, and let f and f ‘ be piecewise
continuous on [-L,L]. Then the Fourier series converges
to f(x) at every point x at with f is continuous, and to the
mean value [f(x+)+f(x-)]/2 at every point x at which f is
discontinuous.
๐‘“ ๐‘ฅ + ≡ lim ๐‘“(๐‘ฅ + โ„Ž)
โ„Ž→0
๐‘“ ๐‘ฅ − ≡ lim ๐‘“(๐‘ฅ − โ„Ž)
โ„Ž→0
where h→0 through positive values. If f(x+)=f(x-)=f(x),
then f is continuous at x, otherwise it is discontinuous.
Even and odd
∞
๐‘“ ๐‘ฅ = ๐‘Ž0 +
๐‘›๐œ‹๐‘ฅ
๐‘Ž๐‘› cos
๐ฟ
๐‘›=1
∞
+
๐‘›=1
๐‘๐‘› sin
= ๐‘“๐‘’ ๐‘ฅ + ๐‘“๐‘œ (๐‘ฅ)
∞
And
๐‘“๐‘’ ๐‘ฅ = ๐‘Ž0 +
∞
๐‘“๐‘œ (๐‘ฅ) =
๐‘›=1
๐‘›๐œ‹๐‘ฅ
๐‘Ž๐‘› cos
๐ฟ
๐‘›=1
๐‘›๐œ‹๐‘ฅ
๐‘๐‘› sin
๐ฟ
๐‘›๐œ‹๐‘ฅ
๐ฟ
The results:
๐ฟ
๐‘š๐œ‹๐‘ฅ
cos
−๐ฟ
๐ฟ
cos
๐ฟ
๐‘š๐œ‹๐‘ฅ
sin
−๐ฟ
๐ฟ
sin
๐ฟ
๐‘š๐œ‹๐‘ฅ
cos
−๐ฟ
๐ฟ
sin
๐‘›๐œ‹๐‘ฅ
๐ฟ
๐‘›๐œ‹๐‘ฅ
๐ฟ
๐‘›๐œ‹๐‘ฅ
๐ฟ
๐‘‘๐‘ฅ =
๐‘‘๐‘ฅ =
0
L
2L
0
L
m≠n
m=n≠0
M=n=0
m≠n
m=n≠0
๐‘‘๐‘ฅ = 0 for all m, n, where m and n are integers.
For the reason that:
๐‘๐‘œ๐‘  ๐‘1 ๐‘ฅ ๐‘๐‘œ๐‘  ๐‘2 ๐‘ฅ๐‘‘๐‘ฅ =
|c1|≠|c2|.
sin
2
๐‘1 −๐‘2 ๐‘ฅ
๐‘1 −๐‘2
+
sin ๐‘1 +๐‘2 ๐‘ฅ
2 ๐‘1 +๐‘2
1
๐‘๐‘œ๐‘  ๐‘๐‘ฅ ๐‘‘๐‘ฅ = + sin ๐‘๐‘ฅ cos ๐‘๐‘ฅ
2๐‘
sin ๐‘1 −๐‘2 ๐‘ฅ
sin ๐‘1 +๐‘2 ๐‘ฅ
๐‘ ๐‘–๐‘› ๐‘1 ๐‘ฅ ๐‘ ๐‘–๐‘› ๐‘2 ๐‘ฅ๐‘‘๐‘ฅ =
−
2 ๐‘1 −๐‘2
2 ๐‘1 +๐‘2
2
|c1|≠|c2|.
2
๐‘ ๐‘–๐‘› ๐‘๐‘ฅ ๐‘‘๐‘ฅ =
for
๐‘ฅ
2
๐‘ฅ
2
−
๐‘ ๐‘–๐‘› ๐‘1 ๐‘ฅ ๐‘๐‘œ๐‘  ๐‘2 ๐‘ฅ๐‘‘๐‘ฅ
|c1|≠|c2|.
1
sin ๐‘๐‘ฅ cos ๐‘๐‘ฅ
2๐‘
cos ๐‘1 +๐‘2 ๐‘ฅ
=−
2 ๐‘1 +๐‘2
๐‘ ๐‘–๐‘› ๐‘๐‘ฅ ๐‘๐‘œ๐‘  ๐‘๐‘ฅ ๐‘‘๐‘ฅ =
1
๐‘ ๐‘–๐‘›2
2๐‘
๐‘๐‘ฅ
−
for
cos ๐‘1 −๐‘2 ๐‘ฅ
2 ๐‘1 −๐‘2
for
For definiteness, let us solve FS f for a2.
๐ฟ
๐‘“ ๐‘ฅ cos
−๐ฟ
2๐œ‹๐‘ฅ
๐‘‘๐‘ฅ =
๐ฟ
∞
๐ฟ
๐‘Ž0 +
−๐ฟ
๐ฟ
๐‘›=1
๐‘›๐œ‹๐‘ฅ
๐‘›๐œ‹๐‘ฅ
+ ๐‘๐‘› sin
๐ฟ
๐ฟ
cos
2๐œ‹๐‘ฅ
๐‘‘๐‘ฅ
๐ฟ
๐ฟ
2๐œ‹๐‘ฅ
๐œ‹๐‘ฅ
2๐œ‹๐‘ฅ
๐œ‹๐‘ฅ
2๐œ‹๐‘ฅ
= ๐‘Ž0
cos
๐‘‘๐‘ฅ + ๐‘Ž1
cos cos
๐‘‘๐‘ฅ + ๐‘1
sin cos
๐‘‘๐‘ฅ
๐ฟ
๐ฟ
๐ฟ
๐ฟ
๐ฟ
−๐ฟ
−๐ฟ
−๐ฟ
๐ฟ
๐ฟ
2๐œ‹๐‘ฅ
2๐œ‹๐‘ฅ
2๐œ‹๐‘ฅ
2๐œ‹๐‘ฅ
+ ๐‘Ž2
cos
cos
๐‘‘๐‘ฅ + ๐‘2
sin
cos
๐‘‘๐‘ฅ
๐ฟ
๐ฟ
๐ฟ
๐ฟ
−๐ฟ
−๐ฟ
๐ฟ
3๐œ‹๐‘ฅ
2๐œ‹๐‘ฅ
+ ๐‘Ž3
cos
cos
๐‘‘๐‘ฅ + โ‹ฏ
๐ฟ
๐ฟ
−๐ฟ
= 0 + 0 + 0 + ๐‘Ž2 ๐ฟ + 0 + โ‹ฏ
= ๐‘Ž2 ๐ฟ
So
๐‘Ž2 =
๐ฟ
๐‘Ž๐‘› cos
1 ๐ฟ
๐‘“
๐ฟ −๐ฟ
๐‘ฅ cos
2๐œ‹๐‘ฅ
๐‘‘๐‘ฅ
๐ฟ
Example:
The function given by:
y=-x
- π≤x≤0
y=x
0≤x≤ π
The period of the above function is 2π.
Thus 2l = 2π
Therefore l= π
1
๐‘Ž๐‘œ = 2๐ฟ
1
๐‘Ž๐‘› = ๐ฟ
1
๐‘๐‘› = ๐ฟ
๐ฟ
1 0
1 ๐œ‹
๐œ‹
๐‘“
๐‘ฅ
๐‘‘๐‘ฅ
=
−๐‘ฅ๐‘‘๐‘ฅ
+
๐‘ฅ๐‘‘๐‘ฅ
=
−๐ฟ
2๐œ‹ −๐œ‹
2๐œ‹ 0
2
๐ฟ
0
๐‘›๐œ‹๐‘ฅ
1
๐‘›๐œ‹๐‘ฅ
1 π
๐‘›๐œ‹๐‘ฅ
2 (−1)๐‘› −1
๐‘“ ๐‘ฅ cos ๐ฟ ๐‘‘๐‘ฅ = π − π −๐‘ฅ cos ๐ฟ ๐‘‘๐‘ฅ + π 0 ๐‘ฅ cos ๐ฟ ๐‘‘๐‘ฅ =π ๐‘›2
−๐ฟ
๐ฟ
๐‘›๐œ‹๐‘ฅ
1 0
๐‘›๐œ‹๐‘ฅ
1 π
๐‘›๐œ‹๐‘ฅ
๐‘“
๐‘ฅ
sin
๐‘‘๐‘ฅ
=
−๐‘ฅ
sin
๐‘‘๐‘ฅ
+
๐‘ฅ
sin
๐‘‘๐‘ฅ = 0
−๐ฟ
๐ฟ
π −π
๐ฟ
π 0
๐ฟ
∞
๐น๐‘†๐‘“ ๐‘ฅ = ๐‘Ž0 +
n=0
n=1
n=2
n=3
n=4
n=5
๐‘›๐œ‹๐‘ฅ
๐‘Ž๐‘› cos ๐ฟ
๐‘›=1
=
๐œ‹
2
∞
+
2 (−1)๐‘› −1
cos( nx)
๐‘›2
๐‘›=1 π
๐œ‹
2
๐œ‹
4
FS f = − cos(๐‘ฅ)
2
๐œ‹
๐œ‹
4
FS f = 2 − ๐œ‹ cos(๐‘ฅ)
๐œ‹
4
4
FS f = 2 − ๐œ‹ cos ๐‘ฅ − 9๐œ‹ cos(3๐‘ฅ)
๐œ‹
4
4
FS f = 2 − ๐œ‹ cos ๐‘ฅ − 9๐œ‹ cos(3๐‘ฅ)
๐œ‹
4
4
4
FS f = 2 − ๐œ‹ cos ๐‘ฅ − 9๐œ‹ cos 3๐‘ฅ − 25๐œ‹ cos(5๐‘ฅ)
FS f =
s0
s1
s3
s5
k
m
F(t)
m = mass
c = damping factor
k = spring constant
F(t) = 2L- periodic forcing function
mx’’(t) + cx’(t) + k x(t) = F(t)
http://www.jirka.org/diffyqs/
Differential Equations for Engineers
The particular solution xp of the above equation is periodic
with the same period as F(t) .
The coefficients are k=2, and m=1 and c=0 (for simplicity).
The units are the mks units (meters-kilograms- seconds).
There is a jetpack strapped to the mass, which fires with a
force of 1 newton for 1 second and then is off for 1 second, and
so on. We want to find the steady periodic solution.
The equation is:
x’’ + 2x = F(t)
Where F(t) =>
0 if
1 if
-1<t<0
0<t<1
We expand F(t) in the Fourier series
๐‘Ž๐‘œ =
๐‘Ž๐‘› =
๐‘๐‘› =
1
2
1
1
1
1
1
1
1๐‘‘๐‘ฅ =
0
2
1
1 ∗ cos(n๐œ‹t) ๐‘‘๐‘ก = 0
0
1
1−cos(๐‘›๐œ‹)
1 ∗ sin(n๐œ‹t) ๐‘‘๐‘ก =
0
๐‘›
1
2
๐น๐‘†๐‘“ ๐‘ฅ = +
∞
1−cos(๐‘›๐œ‹)
sin(๐‘›๐œ‹๐‘ก)
๐‘›
๐‘›=1
=
1
2
∞
+
2
sin(๐‘›๐œ‹๐‘ก)
๐œ‹๐‘›
๐‘›=1,3,5..
To find the particular solution we take
x = A cos(n๐œ‹t) + Bsin(n๐œ‹t)
x’ = - n๐œ‹Asin(n๐œ‹t)+ n๐œ‹Bcos(n๐œ‹t)
x’’ = - n2๐œ‹2x
x’’ + 2x = sin(n๐œ‹t)
(2- n2๐œ‹2)x = sin(n๐œ‹t)
x=
sin(n๐œ‹t)
(2− n2๐œ‹2)
Particular solution corresponding to ½ is given by
(2- n2๐œ‹2)x = ½ at n=0
Thus x = ¼
Thus the desired steady state response is, by linearity and
superposition,
1
4
xp = +
∞
2
2 2 sin(๐‘›๐œ‹๐‘ก)
๐œ‹๐‘›(2−
n
๐œ‹)
๐‘›=1,3,5..
Plot of steady periodic solution thus obtained is:
Using the definitions
๐‘’ ๐‘–๐œƒ +๐‘’ −๐‘–๐œƒ
2
๐‘’ ๐‘–๐œƒ −๐‘’ −๐‘–๐œƒ
2๐‘–
๐‘๐‘œ๐‘ ๐œƒ =
and ๐‘ ๐‘–๐‘›๐œƒ =
it is possible to re-express the Fourier series
formula in terms of complex exponentials, as
follows:
๐‘–๐‘›๐œ‹๐‘ฅ ๐‘™
FS ๐‘“ = ∞
๐‘
๐‘’
๐‘›=−∞ ๐‘›
where
๐‘๐‘› =
1 ๐‘™
−๐‘–๐‘›๐œ‹๐‘ฅ ๐‘™
๐‘“(๐‘ฅ)๐‘’
๐‘‘๐‘ฅ
2๐‘™ −๐‘™
Although the cn's and exponentials in FS f are
complex, the series does have a real-valued sum.
The usual definition
∞
๐‘
๐ด๐‘› ≡ lim
๐‘→∞
๐‘›=1
๐ด๐‘›
๐‘›=1
does not apply because the lower limit is infinite as
well. It can be shown that the appropriate meaning
of the above series is
∞
๐‘
๐‘๐‘› ๐‘’ ๐‘–๐‘›๐œ‹๐‘ฅ
๐‘›=−∞
๐‘™
๐‘๐‘› ๐‘’ ๐‘–๐‘›๐œ‹๐‘ฅ
≡ lim
๐‘→∞
๐‘›=−๐‘
๐‘™
With this we can proceed: FS ๐‘“ = ๐‘Ž0 +
๐‘›๐œ‹๐‘ฅ
๐‘›๐œ‹๐‘ฅ
∞
+ ๐‘๐‘› sin
๐‘›=1 ๐‘Ž๐‘› cos
๐‘™
= lim
๐‘→∞
= lim
๐‘→∞
=
lim
๐‘→∞
๐‘™
๐‘›๐œ‹๐‘ฅ
๐‘
๐‘›=0 ๐‘Ž๐‘› cos ๐‘™
๐‘
๐‘›=0
๐‘Ž๐‘› −๐‘–๐‘๐‘›
๐‘
๐‘›=0
2
๐‘Ž๐‘›
+
−
๐‘’ ๐‘–๐‘›๐œ‹๐‘ฅ ๐‘™ +๐‘’
๐‘’ ๐‘–๐‘›๐œ‹๐‘ฅ ๐‘™
2
+
๐‘›๐œ‹๐‘ฅ
๐‘๐‘› sin
๐‘™
๐‘–๐‘›๐œ‹๐‘ฅ
๐‘™
+ ๐‘๐‘›
๐‘Ž๐‘› +๐‘–๐‘๐‘›
๐‘
๐‘›=0
2
−
๐‘’ ๐‘–๐‘›๐œ‹๐‘ฅ ๐‘™ −๐‘’
2๐‘–
๐‘’ −๐‘–๐‘›๐œ‹๐‘ฅ
Changing n to -n for the second sum gives:
FS ๐‘“ =
๐‘Ž๐‘› −๐‘–๐‘๐‘›
๐‘
−๐‘ ๐‘Ž−๐‘› +๐‘–๐‘−๐‘›
๐‘–๐‘›๐œ‹๐‘ฅ
๐‘™
lim ๐‘›=0
๐‘’
+ ๐‘›=0
๐‘’ ๐‘–๐‘›๐œ‹๐‘ฅ
2
2
๐‘→∞ ๐‘
๐‘–๐‘›๐œ‹๐‘ฅ
๐‘™
lim ๐‘›=−๐‘ ๐‘๐‘› ๐‘’
๐‘→∞
=
∞
๐‘–๐‘›๐œ‹๐‘ฅ ๐‘™
๐‘›=−∞ ๐‘๐‘› ๐‘’
๐‘–๐‘›๐œ‹๐‘ฅ
๐‘™
๐‘™
๐‘™
=
For n = 0,
๐‘0 = ๐‘Ž0 =
1 ๐‘™
๐‘“
2๐‘™ −๐‘™
๐‘ฅ ๐‘‘๐‘ฅ,
For n > 0,
๐‘Ž๐‘› −๐‘–๐‘๐‘›
๐‘๐‘› =
=
=
1 ๐‘™
๐‘“
2๐‘™ −๐‘™
2
๐‘ฅ ๐‘’
1 ๐‘™
๐‘“
2๐‘™ −๐‘™
−๐‘–๐‘›๐œ‹๐‘ฅ ๐‘™
๐‘ฅ
๐‘›๐œ‹๐‘ฅ
cos
๐‘™
๐‘›๐œ‹๐‘ฅ
− ๐‘– sin
๐‘™
๐‘‘๐‘ฅ,
For n < 0,
๐‘Ž−๐‘› +๐‘–๐‘−๐‘›
=
2
1 ๐‘™
๐‘›๐œ‹๐‘ฅ
๐‘“ ๐‘ฅ cos −
2๐‘™ −๐‘™
๐‘™
๐‘๐‘› =
=
1 ๐‘™
๐‘“
2๐‘™ −๐‘™
๐‘ฅ ๐‘’ −๐‘–๐‘›๐œ‹๐‘ฅ ๐‘™ ๐‘‘๐‘ฅ
+ ๐‘– sin
๐‘›๐œ‹๐‘ฅ
−
๐‘™
๐‘‘๐‘ฅ
๐‘‘๐‘ฅ
Example: Find the Fourier series for the function defined by
f ( x) ๏€ฝ e x (๏€ญ๏ฐ ๏€ผ x ๏‚ฃ ๏ฐ )
Solution:
Where
cn ( f ) ๏€ฝ
an ( f ) ๏€ฝ
bn ( f ) ๏€ฝ
1
2๏ฐ
1
๏ฐ
๏ƒฒ๏ฐ
๏€ญ
๏ฐ
f ( x)e ๏€ญ inx dx ( n ๏ƒŽ Z )
f ( x) cos nxdx
๏ƒฒ
๏ฐ
๏ฐ
๏€ญ
1
๏ฐ
๏ฐ
๏ƒฒ๏ฐ
๏€ญ
(n ๏ƒŽ N )
f ( x) sin nxdx (n ๏ƒŽ Z ๏€ซ )
Reference: Fourier Analysis (Author: Eric State, Pure and Applied Mathematics: a
Wiley-Interscience Series of Texts, Monographs, and Tracts ) P 11
We’ll compute the cn(f) first, we get
So
We also have
and
so
It often happens in applications, especially when we solve
partial differential equations by the method of separation of
variables, that we need to expand a given function f in a
Fourier series, where f is defined only on a finite interval.
We define an “extended function”, say fext, so that fext is
periodic in the domain of -∞< x < ∞, and fext=f(x) on the
original interval 0<x<L. There can be infinite number of such
extensions.
Four extensions: half- and quarter- range cosine and sine
extensions, which are based on symmetry or antisymmetry
about the endpoints x=0 and x=L.
fext is symmetric about x=0 and
also about x=L. Because of its
symmetry about x=0, fext is an
even function, and its Fourier
series will contain only cosines, no sines. Further, its period is
2L, so L is half the period.
∞
๐น๐‘† ๐‘“ ๐‘ฅ = ๐‘Ž0 +
1
๐‘Ž๐‘œ =
๐ฟ
๐ฟ
0
๐‘›๐œ‹๐‘ฅ
๐‘Ž๐‘› cos
๐ฟ
๐‘›=1
, ( 0< x < L)
2
๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ ๐‘Ž๐‘› =
๐ฟ
๐ฟ
0
๐‘›๐œ‹๐‘ฅ
๐‘“ ๐‘ฅ cos
๐‘‘๐‘ฅ
๐ฟ
Proof:
For the half-range cosine case the period is 2L, and
๐‘Ž๐‘œ =
๐‘Ž๐‘› =
๐‘๐‘› =
1 ๐ฟ
1 ๐ฟ
๐‘“๐‘’๐‘ฅ๐‘ก ๐‘ฅ ๐‘‘๐‘ฅ = 0 ๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ,
−๐ฟ
2๐ฟ
๐ฟ
1 ๐ฟ
๐‘›๐œ‹๐‘ฅ
2 ๐ฟ
๐‘“ ๐‘ฅ cos
๐‘‘๐‘ฅ = 0 ๐‘“
๐ฟ −๐ฟ ๐‘’๐‘ฅ๐‘ก
๐ฟ
๐ฟ
1 ๐ฟ
๐‘›๐œ‹๐‘ฅ
๐‘“๐‘’๐‘ฅ๐‘ก ๐‘ฅ sin
๐‘‘๐‘ฅ = 0.
−๐ฟ
๐ฟ
๐ฟ
๐‘ฅ
๐‘›๐œ‹๐‘ฅ
cos
๐‘‘๐‘ฅ,
๐ฟ
fext is antisymmetric about
x=0 and x=L, the period is
2L, and we have the
half-range sine extension.
∞
๐น๐‘† ๐‘“ ๐‘ฅ =
๐‘›๐œ‹๐‘ฅ
๐‘๐‘› sin
๐ฟ
๐‘›=1
๐ฟ
2
๐‘๐‘› =
๐ฟ
0
, ( 0< x < L)
๐‘›๐œ‹๐‘ฅ
๐‘“ ๐‘ฅ sin
๐‘‘๐‘ฅ
๐ฟ
fext is symmetric about
x=0 and anti-symmetric
about x=L, the period is
4L (so L is only a quarter
of the period), and we have the quarter-range cosine
extension.
∞
๐‘›๐œ‹๐‘ฅ
๐‘“ ๐‘ฅ =
๐‘Ž๐‘› cos
2๐ฟ
๐‘›=1,3,…
2 ๐ฟ
๐‘›๐œ‹๐‘ฅ
๐‘Ž๐‘› = 0 ๐‘“ ๐‘ฅ cos
๐‘‘๐‘ฅ.
๐ฟ
2๐ฟ
, ( 0< x < L)
fext is anti-symmetric about
x=0 and symmetric about
x=L, the period is, and we
have the quarter-range sines extension.
∞
๐น๐‘† ๐‘“ ๐‘ฅ =
๐‘๐‘› =
2 ๐ฟ
๐‘“
๐ฟ 0
๐‘ฅ
๐‘›๐œ‹๐‘ฅ
๐‘๐‘› sin
2๐ฟ
๐‘›=1,3,…
๐‘›๐œ‹๐‘ฅ
sin
๐‘‘๐‘ฅ.
2๐ฟ
, ( 0< x < L)
Example: F(x) = sin(x)
L= π
HRC:
π
2
sin(๐‘ฅ)๐‘‘๐‘ฅ
=
=
0
π
2 π
sin(๐‘ฅ) cos(nx) ๐‘‘๐‘ฅ
π 0
0<x<π
1
๐‘Ž๐‘œ = π
๐‘Ž๐‘› =
๐น๐‘† ๐‘“ ๐‘ฅ =
๐œ‹)
2
+
π
2
=π
π 1
( (sin
0 2
2 1+cos(๐‘›π)
n2−1
๐‘ฅ + ๐‘›๐‘ฅ + sin ๐‘ฅ − ๐‘›๐‘ฅ )๐‘‘๐‘ฅ = − π
∞
2 1+cos(๐‘›π)
− π n2−1 cos(nx)
๐‘›=1
=
2
4
−
π
π
∞
cos ๐‘›x
๐‘›=2,4,6.. n2−1
( 0< x <
HRS:
∞
๐น๐‘† ๐‘“ ๐‘ฅ =
๐‘›=1
2
๐‘๐‘› = π
๐‘1 = 1
๐‘๐‘› sin
๐‘›๐œ‹๐‘ฅ
๐ฟ
π
sin(๐‘ฅ) sin(nx) ๐‘‘๐‘ฅ
0
๐น๐‘† ๐‘“ ๐‘ฅ = sin(x)
, ( 0< x < L)
= 0 for n>1
( 0< x < ๐œ‹)
QRC:
∞
๐‘“ ๐‘ฅ =
๐‘›=1,3,…
๐‘Ž๐‘› =
๐‘Ž๐‘› cos
2 ๐œ‹
๐‘›๐‘ฅ
sin(๐‘ฅ)
cos
๐‘‘๐‘ฅ
๐œ‹ 0
2
∞
๐‘“ ๐‘ฅ =
๐‘›=1,3,…
< ๐œ‹)
๐‘›๐œ‹๐‘ฅ
2๐ฟ
=
, ( 0< x < L)
2 π 1
( (sin
π 0 2
๐‘ฅ
๐‘›๐‘ฅ
+ 2
๐‘›๐œ‹
8 cos 2 +1
๐‘›๐‘ฅ
− ๐œ‹ n2−4 cos 2
=
8
๐œ‹
๐‘›๐œ‹
)๐‘‘๐‘ฅ
8 cos 2 +1
=− ๐œ‹ n2−4
1
๐‘›๐‘ฅ
cos
2
๐‘›=1,3,… 4−n2
( 0< x
+ sin ๐‘ฅ
๐‘›๐‘ฅ
− 2
∞
QRS:
∞
๐น๐‘† ๐‘“ ๐‘ฅ =
๐‘›=1,3,…
๐‘๐‘› =
๐‘๐‘› sin
2 ๐œ‹
๐‘›๐‘ฅ
sin(๐‘ฅ)
sin
๐‘‘๐‘ฅ
๐œ‹ 0
2
∞
๐‘“ ๐‘ฅ =
8
๐œ‹
๐‘›=1,3,…
๐‘›๐œ‹๐‘ฅ
2๐ฟ
=
๐‘›๐œ‹
sin 2
4−n2
, ( 0< x < L)
2 π 1
( (cos
π 0 2
๐‘›๐‘ฅ
sin( 2 )
๐‘ฅ−
๐‘›๐‘ฅ
2
− cos ๐‘ฅ +
( 0< x < ๐œ‹)
๐‘›๐‘ฅ
2
๐‘›๐œ‹
)๐‘‘๐‘ฅ =
8 sin 2
๐œ‹ 4−n2
Uniform convergence
THEOREM 17.5.1Weierstrass M-Test
If ∞
๐‘›=1 ๐‘€๐‘› is a convergent series of positive constants
and |๐‘Ž๐‘› |≤๐‘€๐‘› on an x interval I, then ∞
๐‘›=1 ๐‘Ž๐‘› is
uniformly (and absolutely) convergent on I.
THEOREM 17.5.2Termwise Differentiation of Series
Let
๐‘‘
๐‘‘๐‘ฅ
∞
๐‘›=1 ๐‘Ž๐‘› converge on an x interval I. Then
∞
∞
๐‘‘
๐‘Ž
(๐‘ฅ)
=
๐‘Ž๐‘› (๐‘ฅ), if the series on
๐‘›=1 ๐‘›
๐‘›=0 ๐‘‘๐‘ฅ
right converges uniformly on I.
the
THEOREM 17.5.3 Uniqueness of Trigonometric Series
∞
If ๐‘Ž0 +
๐ด0 +
๐‘›๐œ‹๐‘ฅ
๐‘›๐œ‹๐‘ฅ
+ ๐‘๐‘› sin
๐ฟ
๐ฟ
๐‘›=1
∞
๐‘›๐œ‹๐‘ฅ
๐‘›๐œ‹๐‘ฅ
๐ด๐‘› cos
+ ๐ต๐‘› sin
,
๐ฟ
๐ฟ
๐‘›=1
๐‘Ž๐‘› cos
=
Where the trigonometric series on the left- and right-hand
sides converge to the same sum for all x, then a0=A0, an=An,
and bn=Bn for each n.
THEOREM 17.5.4Termwise Integration of Fourier Series
If a Fourier series is integrated termwise between any finite
limits, the resulting series converges to the integral of the
periodic function corresponding to the original series.
Example:
Verify the convergence of the series on the given interval:
∞
๐‘›=1
exp −๐‘›๐‘ฅ sin(๐‘›๐‘ฅ) on 2<x<5
By Weierstrass M-test:
an(x) = exp −๐‘›๐‘ฅ sin(๐‘›๐‘ฅ) ≤ exp −๐‘›๐‘ฅ ≤ exp −2๐‘› on 2<x<5
∞
๐‘›=1 exp −2๐‘› is a convergent geometric series.
Therefore the given series
on the given interval.
∞
๐‘›=1
exp −๐‘›๐‘ฅ sin(๐‘›๐‘ฅ) is a convergent
Some definitions:
๏‚— Function spaceCp[a,b] of all real-valued piecewise-continuous
functions defined on [a,b].
f=f(x) and g=g(x) be any two functions in Cp[a,b], and let α be
any (real) scalar.
f + g ≡f(x) + g(x), αf≡α f(x).
Observe that if f and g are piecewise continuous on [a,b] then
f+gand αfare also piecewise continuous, so Cp[a,b] is closed under
vector addition and scalar multiplication.
๏‚—
๏‚— We define the zero vector 0 as the function which is identically
zero, so that f + 0 = f(x) + 0 = f
๏‚— We define the negative inverse of f = f(x) as –f≡ -f(x), in
which case we have f + (-f) = f(x) + [-f(x)]=0 = 0
๏‚— Inner product for Cp[a,b], the inner product of f and g as
< ๐‘“, ๐‘” >≡
๐‘
๐‘“
๐‘Ž
๐‘ฅ ๐‘” ๐‘ฅ ๐‘‘๐‘ฅ.
f and g are orthogonal if <f,g>=0, that the norm ||f|| is
defined as ||๐Ÿ|| = < f, f >, and f is said to be normalized if
||f||=1.
๏‚— { e1 , e2 ,…, en } is ON (orthonormal ) set in S, then the best
approximation of f within span { e , e ,…, e } is given by the
orthogonal projection of f onto span { e1 , e2 ,…, en } , namely, by
1
2
n
To apply these results to Fourier series, let S be Cp[a,b], with
the inner product and norm defined above, let a=-L and b=L,
and consider the vectors
e1=1, e2=cos
๐œ‹๐‘ฅ
๐œ‹๐‘ฅ
, e3=sin ,
๐ฟ
๐ฟ
… , e2k=cos
๐‘˜๐œ‹๐‘ฅ
๐‘˜๐œ‹๐‘ฅ
, e2k+1=sin
๐ฟ
๐ฟ
Cp[-L,L].
{ e1 , e2 ,…, en } is orthogonal
by virtue of the inner product
definition and the integrals:
in
So that the normalized en’s are:
Thus we can approximate a givenf=f(x), in Cp[a,b], in the
form:
Equivalent, we can write
If f(x) is piecewise continuous on [-L,L] and a0, a1, b1, a2, b2, …
are the Fourier coefficients, then
∞
๐น๐‘†๐‘“ ๐‘ฅ = ๐‘Ž0 +
๐‘›=1
๐‘›๐œ‹๐‘ฅ
๐‘›๐œ‹๐‘ฅ
๐‘Ž๐‘› cos
+ ๐‘๐‘› sin
๐ฟ
๐ฟ
Holds in the sense of vector (least-square) convergence,
namely,
2
k
L ๏ƒฉ
n๏ฐ x
n๏ฐ x ๏ƒถ ๏ƒน
๏ƒฆ
lim ๏ƒฒ ๏ƒช f ๏€จ x ๏€ฉ ๏€ญ a0 ๏€ญ ๏ƒฅ ๏ƒง an cos
๏€ซ bn sin
๏ƒท ๏ƒบ dx ๏€ฝ 0
k ๏‚ฎ๏‚ฅ ๏€ญ L
L
L ๏ƒธ๏ƒป
n ๏€ฝ1 ๏ƒจ
๏ƒซ
Example:
Find the error for the following function:
F(x) = |๐‘ฅ| defined on the interval –π<x<π
||E||2=
๐‘™
2
๐‘“(๐‘ฅ)
๐‘‘๐‘ฅ
−๐‘™
− ๐‘™ 2๐‘Ž0 2 +
๐‘˜
2
1 (๐‘Ž0
+ ๐‘0 2
l=π
๐‘Ž๐‘œ =
๐‘Ž๐‘› =
๐‘๐‘› =
1 ๐œ‹
๐œ‹
|๐‘ฅ|๐‘‘๐‘ฅ
=
2๐œ‹ −๐œ‹
2
1 ๐œ‹
2 cos ๐‘›๐œ‹ −2
|๐‘ฅ|
∗
cos(n๐‘ฅ)
๐‘‘๐‘ฅ
=
๐œ‹ −๐œ‹
๐œ‹๐‘›2
1 ๐œ‹
|๐‘ฅ| ∗ sin(n๐‘ฅ) ๐‘‘๐‘ฅ = 0
๐œ‹ −๐œ‹
for n= odd ๐‘Ž๐‘› =
−4
๐‘›2 ๐œ‹
๐œ‹
2
|๐‘ฅ|
๐‘‘๐‘ฅ
−๐œ‹
||E||2
K
1
2
3
4
5
6
7
=
2๐œ‹3
3
=
2๐œ‹3
3
− ๐œ‹
||E||2
0.0747
0.0747
0.0118
0.0118
0.0037
0.0037
0.0015
๐œ‹2
2
4
+
16
๐‘˜
1,3,5.. ๐‘›4 ๐œ‹2
=
๐œ‹3
6
− ๐œ‹
||E||
0.27
0.27
0.11
0.11
0.06
0.06
0.04
The error goes on decreasing as k increases.
16
๐‘˜
1,3,5.. ๐‘›4 ๐œ‹2
Let ๐œ†๐‘› and ๐›ท๐‘› (๐‘ฅ) denote any eigenvalue and corresponding eigenfunction
of the Sturm-Liouville eigenvalue problem (1), respectively.
(a). The eigenvalues are real
(b). The eigenvalues are simple. That is, to each eigenvalue there
corresponds only one linearly independent eigenfunction. Further, there
are an infinite number of eigenvalues, and they can be ordered so that
๐œ†1 < ๐œ†2 < ๐œ†3 < ๐œ†4 < ๐œ†5 < ๐œ†6 < โ‹ฏwhere ๐œ†๐‘› → ∞as n → ∞ .
(c). Eigenfunctions corresponding to distinct eigenvalues are orthogonal.
That is, if ๐œ†๐‘— ≠ ๐œ†๐‘˜ , then < ๐›ท๐‘— , ๐›ท๐‘˜ >= 0 .
<๐‘“,๐›ท >
๐‘›
(d). Let f and f' be piecewise continuous on a≤x≤b. If ๐‘Ž๐‘› =
, then
<๐›ท๐‘› ,๐›ท๐‘› >
the series ∞
๐‘›=1 ๐‘Ž๐‘› ๐›ท๐‘› (๐‘ฅ)converges to f(x) if f is continuous at x, and to the
mean value [f(x+)+f(x-)]/2 if f is discontinuous at x, for each point x in the
open interval a < x < b.
Example:
Solve the Sturn-Liouville problem
( ๏ฒ R '( ๏ฒ )) '๏€ซ ๏ฌ๏ฒ ๏€ญ1R( ๏ฒ ) ๏€ฝ 0 (a ๏€ผ ๏ฒ ๏€ผ 1) , R(a) ๏€ฝ R(1) ๏€ฝ 0 ,
There a is a constant in the interval (0,1). Also write down the
expansion of an arbitrary element of the appropriate “ ” space in
terms of the eigenfunctions of the problem.
Solution:
We put
R( ๏ฒ ) ๏€ฝ Y ( y ) ๏€ฝ Y (ln ๏ฒ ) .
and
So
Whose general solution is
if not
Reference: Fourier Analysis (Author: Eric State, Pure and Applied Mathematics: a
Wiley-Interscience Series of Texts, Monographs, and Tracts ) P 224
Consequently, our original differential equation has general solution
Now for the boundary conditions. We note first that zero is not an
eigenvalue, for the following reason: Putting the boundary condition
R(1)=0 into the equation
gives
;
putting R(a)=0 into the resulting equation
then gives
so that
is identically zero.
,
So we assume λ ≠ 0; the first then gives sin λ ln ๐‘Ž = 0 , meaning λ must
๐œ‹
be a nonzero integer multiple of
.
ln ๐‘Ž
We may as well take this integer to be positive; negative n’s give nothing
extra. In sum, our problem has the following eigenvalues and
corresponding eigenfunctions:
So finally we have the following expansion of an
Where
:
We assume elementary knowledge of the
Cartesian representation of complex number ๐‘ง =
๐‘ฅ + ๐‘–๐‘ฆ and the complex conjugate
๐‘ง = ๐‘ฅ − ๐‘–๐‘ฆ.
๐‘
Inner product: < ๐‘“, ๐‘” >= ๐‘Ž ๐‘“ ๐‘ฅ ๐‘” ๐‘ฅ ัก ๐‘ฅ ๐‘‘๐‘ฅ
Some properties:
< ๐‘“, ๐‘” >=< ๐‘”, ๐‘“ >
< µ๐‘“, ๐‘” >= µ < ๐‘“, ๐‘” >
< ๐‘“, µ๐‘” >= µ < ๐‘“, ๐‘” >
< ๐‘“, ๐‘” >≠< ๐‘”, ๐‘“ >
Then we can express ๐‘ ๐‘ฅ ๐‘ฆ ′ ′ + ๐‘ž ๐‘ฅ ๐‘ฆ + ๐œ†ω x y = 0, (a<x<b) in
operator form as ๐ฟ ๐‘ฆ = ๐œ†๐‘ฆ,
Where L is the differential operator
1 ๐‘‘
๐‘‘
๐ฟ=−
๐‘
+๐‘ž
ัก ๐‘‘๐‘ฅ
๐‘‘๐‘ฅ
And let u and v be any functions having continuous second
derivatives on [a,b] and satisfying the homogeneous boundary
conditions: ๐›ผ๐‘ฆ ๐‘Ž + ๐›ฝ๐‘ฆ′ ๐‘Ž = 0 ๐›พ๐‘ฆ ๐‘ + ๐›ฟ๐‘ฆ′ ๐‘ = 0
Then, < ๐ฟ ๐‘ข , ๐‘ฃ >=
๐‘
1
−
๐‘Ž
ัก
๐‘๐‘ขสน สน + ๐‘ž๐‘ข ๐‘ฃ๐‘ค๐‘‘๐‘ฅ = −
๐‘
๐‘Ž
๐‘๐‘ขสน สน +
And the boundary term is zero because u and v satisfy
the homogeneous boundary conditions. For any ๐›ผ and β
(not both zero) and any γ and δ ( not both zero), we can
conclude:
< ๐ฟ ๐‘ข , ๐‘ฃ >=< ๐‘ข, ๐ฟ ๐‘ข >, which is known as the
Lagrange identity.
Example:
Prove Green’s formla:
Since
L๏€ฝ๏€ญ
๏ƒฒ
b
a
(uLv ๏€ญ vLu)dx ๏€ฝ [ p(uv '๏€ญ vu ')] a
1๏ƒฉd ๏ƒฆ d ๏ƒถ ๏ƒน
๏ƒช ๏ƒง p ๏ƒท ๏€ซ q๏ƒบ
w ๏ƒซ dx ๏ƒจ dx ๏ƒธ ๏ƒป
d ๏ƒฆ d ๏ƒถ
First simplify it as L ๏€ฝ ๏ƒง p ๏ƒท ๏€ซ r
dx ๏ƒจ dx ๏ƒธ
Then
b
where r ๏€ฝ ๏€ญ qw
๏ƒน
๏ƒน
๏ƒฉd
๏ƒฉd
uLv ๏€ญ vLu ๏€ฝ u ๏ƒช ๏€จ pv '๏€ฉ ๏€ซ rv ๏ƒบ ๏€ญ v ๏ƒช ๏€จ pu '๏€ฉ ๏€ซ ru ๏ƒบ ๏€ฝ u ๏€จ p ' v '๏€ซ pv '') ๏€ญ v( p ' u '๏€ซ pu '')
๏ƒซ dx
๏ƒซ dx
๏ƒป
๏ƒป
๏ƒฉ๏ƒซ p ๏€จ uv '๏€ญ vu '๏€ฉ ๏ƒน ๏€ฝ p '(uv '๏€ญ vu ') ๏€ซ p(uv ''๏€ซ u ' v '๏€ญ vu ''๏€ซ v ' u ') ๏€ฝ u ๏€จ p ' v '๏€ซ pv '') ๏€ญ v( p ' u '๏€ซ pu '')
๏ƒป
So
uLv ๏€ญ vLu ๏€ฝ ๏› p (uv '๏€ญ vu ') ๏ƒน๏ƒป '
b
Integrate and get ๏ƒฒa (uLv ๏€ญ vLu)dx ๏€ฝ [ p(uv '๏€ญ vu ')] a
b
By a Sturm-Liouville problem we mean a linear homogeneous
second-order differential equation:
๐‘ ๐‘ฅ ๐‘ฆ′ ′ + ๐‘ž ๐‘ฅ ๐‘ฆ + ๐œ†ω x y = 0, (a<x<b) (1)
With homogenous boundary conditions of the form
๐›ผ๐‘ฆ ๐‘Ž + ๐›ฝ๐‘ฆ′ ๐‘Ž = 0
๐›พ๐‘ฆ ๐‘ + ๐›ฟ๐‘ฆ′ ๐‘ = 0
Where a, b are finite, where p, p', q, ω are continuous on [a, b], and
where p(x)>0 and ω x > 0 on [a, b]. ๐›ผ ๐‘Ž๐‘›๐‘‘ ๐›ฝare not both zero,
๐›พ ๐‘Ž๐‘›๐‘‘ ๐›ฟ are not both zero. a, b, p(x), ω(x), α, β, γ, δ are all real.
We say that the boundary conditions are separated since on
condition applies at x=a and the other at x=b.
Periodic boundary condition.
In this case we have, in place of the separated boundary conditions, the
nonseparated conditions
y(a)=y(b) and y'(a)=y'(b)
Singular case.
In this case p(x) [and possibly w(x)] vanishes at one or both endpoints, so
that p(x)>0 and w(x)>0 holds on the open interval (a,b) rather than on
the closed interval [a,b]. Further, the boundary conditions are modified
as follows.
1. p(a)=0[and p(b)≠0]: Then the boundary conditions are
y bounded at a, and ๐›พ๐‘ฆ ๐‘ + ๐›ฟ๐‘ฆ′ ๐‘ = 0
2. p(b)=0[and p(a)≠0]: Then the boundary conditions are
๐›ผ๐‘ฆ ๐‘Ž + ๐›ฝ๐‘ฆ′ ๐‘Ž = 0
and y bounded at b.
3. p(a)=p(b)=0: then the boundary conditions are
y bounded at a, and y bounded at b.
by y being bounded at a, for example, we mean that lim ๐‘ฆ(๐‘ฅ) exists (and
๐‘ฅ→∞
is therefore finite).
For these cases we have the following results:
Let ๐œ†๐‘› and ๐›ท๐‘› (๐‘ฅ) denote any eigenvalue and corresponding eigenfunction
of a Sturm-Liousville problem with periodic boundary conditions, given
by (2), or a singular Sturm-Liouville problem (as defined above)
(a)The eigenvalues are real.
(b)If q(x)≤0 on [a,b] and ๐‘ ๐‘ฅ ๐›ท๐‘› ๐‘ฅ ๐›ท′ ๐‘› ๐‘ฅ |๐‘๐‘Ž ≤ 0 for the
eigenfunction๐›ท๐‘› (๐‘ฅ), then not only is ๐œ†๐‘› real, it is also nonnegative: ๐œ†๐‘› ≥
0.
(c)Eigenfunctions corresponding to distinct eigenvalues are orthogonal.
That is, if ๐œ†๐‘— ≠ ๐œ†๐‘˜ , then < ๐›ท๐‘— , ๐›ท๐‘˜ >= 0 .
As for the regular case, positive statements can be made about the
completeness of the sets of orthogonal eigenfunctions generated by these
problems, in the sense of their being based for the eigenfunction
expansion representation of sufficiently well behaved functions on the
interval a<x<b.
Example:
Expand f ( x) ๏€ฝ H ( x) , on -1<x<1, in terms of the eigenfunctions of the
Sturm-Liouville problem
(1 ๏€ญ x 2 ) y ''๏€ญ 2 xy '๏€ซ ๏ฌ y ๏€ฝ 0
Where y(-1) and y(1) are bounded.
According to Section 4.4, the Legendre equation are bounded on ๏€ญ1 ๏‚ฃ x ๏‚ฃ 1
are possible only if ๏ฌ ๏€ฝ n(n ๏€ซ 1) for n=0,1,2…., and those nontrivial
solutions are the Legendre polynomials
Thus, the eigenvalues and eigenfunctions are
Pn ( x)
๏ฆn ( x) ๏€ฝ Pn ( x)
๏ฌn ๏€ฝ n(n ๏€ซ 1)
For n=0,1,2…
The eigenfunction expansion of a given function f is given by
๏‚ฅ
f ( x) ๏€ฝ ๏ƒฅ an Pn ( x)
n๏€ฝ0
an
๏ƒฒ
๏€ฝ
1
๏€ญ1
H ( x) Pn ( x)dx
๏ƒฒ
1
๏€ญ1
H ( x) ๏€ฝ
Pn 2 ( x)dx
๏€ฝ
2n ๏€ซ 1 1
Pn ( x)dx
2 ๏ƒฒ0
1
3
7
P0 ( x) ๏€ซ P1 ( x) ๏€ญ P3 ( x) ๏€ซ ....
2
4
16
If a function f defined on -∞< x <∞ is periodic (and
sufficiently well-behaved), then it can be represented by a
Fourier series. Sometimes we work with functions, defined on
-∞< x <∞, that are not periodic, we cannot expand such
functions in Fourier series if they are not periodic. Yet, we can
think of f as periodic but with an infinite period.
Frequency spectrum: 0, π/L, 2 π/L, 3 π/L, …
L= π: nπ/L=0, 1, 2, 3, 4, …
L=2π: nπ/L=0, 0.5, 1.0, 1.5, 2.0, …
L=3π: nπ/L=0, 0.1, 0.2, 0.3, 0.4, …
Observe that as L increases the discrete spectrum becomes more
and more dense, and approaches a continuous spectrum (from 0 to
∞) as L→∞. Therefore, we can expect that as L→∞ the
summation of trigonometric series, on the discrete variable n, will
give way to an integration on a continuous variable, say ω.
๐‘“ ๐‘ฅ =
∞
0
๐‘Ž( ω)cosωx + b ω sinωx]dω,
( Fourier integral of f, FI f).
1 ∞
๐‘“(๐‘ฅ) cosωx ๐‘‘๐‘ฅ,
๐œ‹ −∞
1 ∞
= −∞ ๐‘“(๐‘ฅ) sinωx ๐‘‘๐‘ฅ.
๐œ‹
Where ๐‘Ž ω =
๐‘ ω
Let f be defined on -∞< x <∞, let f and fแฟฝbe piecewise
continuous on every finite interval [-L, L] (i.e., for L
∞
arbitrarily large), and let −∞ |๐‘“ ๐‘ฅ | ๐‘‘๐‘ฅ be convergent. Then
the Fourier integral of f converges to f(x) at every point x at
which f is continuous, and to the mean value [f(x+)+f(x-)]/2
at every point x at which f is discontinuous.
๐‘†๐‘– ๐‘ฅ =
๐‘ฅ ๐‘ ๐‘–๐‘›๐‘ก
๐‘‘๐‘ก,
0 ๐‘ก
Using the sine integral function we can evaluate the partial
Ω ๐‘ ๐‘–๐‘›ω
integral ๐‘“Ω ๐‘ฅ = 0
๐‘๐‘œ๐‘ ωx dω.
ω
And ๐‘“Ω ๐‘ฅ =
1
{๐‘†๐‘–
๐œ‹
Ω(๐‘ฅ + 1) ๐‘†๐‘– Ω(๐‘ฅ − 1) }
Example:
Find the Fourier sine coefficients bk of the square wave SW(X)
For k=1,2,….between 0 and ๏ฐ
a(๏ท ) ๏€ฝ
1
๏ƒฒ
๏ฐ
b(๏ท ) ๏€ฝ
๏‚ฅ
๏€ญ๏‚ฅ
1
๏ฐ๏ƒฒ
๏‚ฅ
๏€ญ๏‚ฅ
f ( x) cos ๏ท xdx ๏€ฝ
f ( x) sin ๏ท xdx ๏€ฝ
1
๏ฐ
1
๏ฐ
0
๏ฐ
๏€ญ๏ฐ
0
( ๏ƒฒ ๏€ญ cos ๏ท xdx ๏€ซ ๏ƒฒ cos ๏ท xdx) ๏€ฝ 0
0
๏ฐ
๏€ญ๏ฐ
0
( ๏ƒฒ ๏€ญ sin ๏ท xdx ๏€ซ ๏ƒฒ sin ๏ท xdx) ๏€ฝ
๏‚ฅ
f ( x) ๏€ฝ ๏ƒฒ [a(๏ท ) cos ๏ท x ๏€ซ b(๏ท)sin ๏ท x]d๏ท
0
For w=1,2,…
f ( x) ๏€ฝ
4 sin x sin 3x sin 5 x
[
๏€ซ
๏€ซ
๏€ซ ....]
๏ฐ 1
3
5
2 1 cos ๏ท๏ฐ
( ๏€ญ
)
๏ฐ ๏ท
๏ท
One term
Four terms
Two terms
Five terms
Three terms
Ten terms
As the increasing of the number of terms, the function is approaching
SW(x)
Transition from Fourier integral to Fourier transform
๐‘“ ๐‘ฅ =
∞
0
๐‘Ž( ω)cosωx + b ω sinωx]dω. (1a)
Where ๐‘Ž ω
๐‘ ω
1 ∞
= −∞ ๐‘“(๐‘ฅ) cosωx ๐‘‘๐‘ฅ,
๐œ‹
1 ∞
= −∞ ๐‘“(๐‘ฅ) sinωx ๐‘‘๐‘ฅ.
๐œ‹
(1b)
Put (1b) into (1a):
1 ∞ ∞
๐‘“ ๐‘ฅ =
{
๐‘“ ๐œ‰ ๐‘๐‘œ๐‘ ω๐œ‰๐‘๐‘œ๐‘  ωx + ๐‘ ๐‘–๐‘›ω๐œ‰๐‘ ๐‘–๐‘›ωx]d๐œ‰}๐‘‘ω
๐œ‹ 0 −∞
1 ∞ ∞
=
๐‘“ ๐œ‰ ๐‘๐‘œ๐‘ ω(๐œ‰ − ๐‘ฅ)d๐œ‰๐‘‘
๐œ‹ 0 −∞
Since cos(A-B)=cosAcosB+sinAsinB and introduce complex exponentials:
1
๐‘“ ๐‘ฅ =
๐œ‹
1 ∞
=
2๐œ‹ 0
∞
∞
๐‘’ ๐‘–ω ๐œ‰−๐‘ฅ + ๐‘’ −๐‘–ω ๐œ‰−๐‘ฅ
๐‘“ ๐œ‰
d๐œ‰๐‘‘ω
2
0
−∞
∞
∞ ∞
1
๐‘“ ๐œ‰ ๐‘’ ๐‘–ω ๐œ‰−๐‘ฅ d๐œ‰๐‘‘ω +
๐‘“ ๐œ‰ ๐‘’ −๐‘–ω
2๐œ‹ 0 −∞
−∞
๐œ‰−๐‘ฅ
d๐œ‰๐‘‘ω
To combine the two terms on the right-hand side, let us change the
dummy integration variable from ωto – ω:
๐‘“ ๐‘ฅ
1
=
2๐œ‹
1
=
2๐œ‹
−∞
∞
๐‘“ ๐œ‰ ๐‘’ −๐‘–ω
0
∞
−∞
∞
๐œ‰−๐‘ฅ
1
d๐œ‰(−๐‘‘ω) +
2๐œ‹
๐‘“ ๐œ‰ ๐‘’ −๐‘–ω๐œ‰ d๐œ‰]๐‘’ ๐‘–ω๐‘ฅ ๐‘‘ω
−∞
−∞
∞
∞
๐‘“ ๐œ‰ ๐‘’ −๐‘–ω
0
−∞
๐œ‰−๐‘ฅ
d๐œ‰๐‘‘ω
Thus,
๐‘“ ๐‘ฅ =๐‘Ž
∞
๐‘
−∞
ω ๐‘’ ๐‘–ωx ๐‘‘ω ๐‘ ω = ๐‘
∞
๐‘“
−∞
๐œ‰ ๐‘’ −๐‘–ω๐œ‰ d๐œ‰ab=1/2π
There is no longer a need to distinguish x and ๐œ‰, so:
๐‘“ ๐‘ฅ
๐‘ ω
1 ∞
=
๐‘
2๐œ‹ −∞
∞
= −∞ ๐‘“ ๐‘ฅ
ω ๐‘’ ๐‘–ωx ๐‘‘ω
๐‘’ −๐‘–ω๐‘ฅ d๐‘ฅ.
๐‘“ ๐‘ฅ
๐‘ ω
1 ∞
=
๐‘
2๐œ‹ −∞
∞
= −∞ ๐‘“ ๐‘ฅ
ω ๐‘’ ๐‘–ωx ๐‘‘ω, (1)
๐‘’ −๐‘–ω๐‘ฅ d๐‘ฅ. (2)
They can be a transform pair: (2) defines the Fourier
transform, c(w), of the given function f(x), and (1) is called
the inversion formula.
๐น ๐‘“ ๐‘ฅ
=๐‘“ ω =
๐น −1 ๐‘“ ω
=๐‘“ ๐‘ฅ
∞
−๐‘–ωx ๐‘‘x,
๐‘
ω
๐‘’
−∞
1 ∞
๐‘–ωx ๐‘‘ω.
=
๐‘“
ω
๐‘’
2๐œ‹ −∞
Example:
๏ป ๏ฝ
Derive the result F e
๏€ญa x
๏€ฝ
2a
๏ท 2 ๏€ซ a2
(a>0)
Solution:
๏ƒ™
According to the definition F ๏ป f ( x)๏ฝ ๏€ฝ f (๏ท ) ๏€ฝ ๏ƒฒ๏€ญ๏‚ฅ f ( x)e ๏€ญ i๏ท x dx
๏‚ฅ
Then
๏ป ๏ฝ
F e
๏€ญa x
๏‚ฅ
๏€ฝ๏ƒฒ e
๏€ญ๏‚ฅ
๏€ญa x
e
๏€ญ i๏ท x
0
dx ๏€ฝ ๏ƒฒ e e
๏€ญ๏‚ฅ
ax ๏€ญ i๏ท x
๏‚ฅ
dx ๏€ซ ๏ƒฒ e ๏€ญ ax e ๏€ญi๏ท x dx ๏€ฝ
0
1
1
2a
๏€ซ
๏€ฝ
a ๏€ญ i๏ท a ๏€ซ i๏ท a ๏€ซ ๏ท 2
1.Linearity of the transform and its inverse.
F{af+bg}=aF{f}+bF{g}
F-1{a๐‘“+b๐‘”}=aF-1{๐‘“}+bF-1{๐‘”}
2.Transform of nth derivative.
๐น ๐‘“
๐‘›
๐‘ฅ
= (๐‘–ω)๐‘› ๐‘“ ω .
3.Fourier convolution.
(๐‘“ ∗ ๐‘”)(x) =
∞
๐‘“(๐‘ฅ
−∞
− ๐œ‰)๐‘”(๐œ‰)๐‘‘๐œ‰.
Then the Fourier convolution theorem:
F{๐‘“ ∗ ๐‘”} = ๐‘“ ω ๐‘”(ω) and F-1{๐‘“ ๐‘”}=f*g
4. Translation formulas, x-shift and ω-shift
๐น ๐‘“ ๐‘ฅ − ๐‘Ž = ๐‘’ −๐‘–aω ๐‘“ ω
๐น −1 ๐‘“ ω − a = ๐‘’ ๐‘–aω ๐‘“ ๐‘ฅ
Example:
Solve the wave equation c 2u xx ๏€ฝ utt ; u ( x, 0) ๏€ฝ f ( x) and ut ( x, 0) ๏€ฝ g ( x)
Take the Fourier Transform of both equations. The initial condition gives
๏ƒ™
๏ƒ™
u (๏ท , 0) ๏€ฝ f (๏ท )
๏‚ถ ๏ƒ™
u t (๏ท , 0) ๏€ฝ u ( x, t )
๏‚ถt
๏ƒ™
๏ƒ™
t ๏€ฝ0
๏€ฝ g (๏ท )
And the PDE gives
๏‚ถ2 ๏ƒ™
c (๏€ญ๏ท u (๏ท , t )) ๏€ฝ 2 u (๏ท , t )
๏‚ถt
2
2
๏ƒ™
Which is basically an ODE in t, we can write it as
๏ƒ™
๏‚ถ2 ๏ƒ™
2 2
u
(
๏ท
,
t
)
๏€ซ
c
๏ท
u
(๏ท , t ) ๏€ฝ 0
2
๏‚ถt
Which has the solution, and derivative
๏ƒ™
u (๏ท , t ) ๏€ฝ A(๏ท ) cos c๏ทt ๏€ซ B(๏ท )sin c๏ทt
๏‚ถ ๏ƒ™
u (๏ท , t ) ๏€ฝ ๏€ญc๏ท A(๏ท )sin c๏ทt ๏€ซ c๏ท B(๏ท ) cos c๏ทt
๏‚ถt
Reference: Steven Bellenot; Fourier Transform Examples
http://www.math.fsu.edu/~bellenot/class/f09/fun/ft.pdf
๏ƒ™
So the first initial condition gives A(๏ท ) ๏€ฝ f (๏ท ) and the second gives
๏ƒ™
c๏ท B(๏ท ) ๏€ฝ g (๏ท )
๏ƒ™
and make the solution
๏ƒ™
๏ƒ™
u(๏ท, t ) ๏€ฝ f (๏ท ) cos c๏ทt ๏€ซ
g (๏ท ) sin c๏ทt
๏ท
c
Let’s first look at
๏ƒ™
ei๏ทct ๏€ซ e๏€ญi๏ทt
1 ๏ƒ™
ic๏ทt
f (๏ท ) cos c๏ทt ๏€ฝ f (๏ท )(
) ๏€ฝ ( f (๏ท )e ๏€ซ f (๏ท )e๏€ญi๏ทct )
2
2
๏ƒ™
๏ƒ™
Then
๏ƒ™
F [ f (๏ท ) cos c๏ทt ] ๏€ฝ
๏€ญ1
1
( f ( x ๏€ซ ct ) ๏€ซ f ( x ๏€ญ ct ))
2
The second piece
๏ƒ™
๏ƒ™
g (๏ท ) sin c๏ทt g (๏ท ) sin c๏ทt
๏€ฝ
๏ท
c
i๏ท
๏€ญic
And now the first factor looks like an integral, as a derivative with respect
to x would cancel the iw in bottom. Define:
h( x) ๏€ฝ ๏ƒฒ
x
s ๏€ฝ0
g ( s)ds
By fundamental theorem of calculus
๏ƒ™
h '( x) ๏€ฝ g ( x)
๏ƒ™
g (๏ท ) ๏€ฝ i๏ท h(๏ท )
๏ƒ™
๏ƒ™
g (๏ท ) sin c๏ทt ๏ƒ™
eic๏ทt ๏€ญ e๏€ญic๏ทt 1
1 ๏ƒ™
ic๏ทt
๏€ฝ h(๏ท )(
)
๏€ฝ (h(๏ท )e ๏€ญ h(๏ท )e๏€ญic๏ทt )
๏ท
c
2i
๏€ญic 2c
So
F ๏€ญ1[
x ๏€ญ ct
1 ๏ƒ™
1
1 x ๏€ซ ct
1 x ๏€ซ ct
g (๏ท ) sin c๏ทt ] ๏€ฝ ( h( x ๏€ซ ct ) ๏€ญ h( x ๏€ญ ct )) ๏€ฝ ( ๏ƒฒ g ( s)ds ๏€ญ ๏ƒฒ g ( s)ds) ๏€ฝ
g ( s)ds
0
๏ทc
2c
2c 0
2c ๏ƒฒx ๏€ญct
Putting both piece together we get the solution
1
1 x ๏€ซ ct
u ( x, t ) ๏€ฝ ( f ( x ๏€ญ ct ) ๏€ซ f ( x ๏€ซ ct )) ๏€ซ ๏ƒฒ g ( s )ds
2
2c x ๏€ญct
17.11.1 Cosine and sine transforms
1.Fourier cosine transform
๐น๐ถ ๐‘“ ๐‘ฅ
= ๐‘“๐ถ ω =
∞
๐‘“
0
๐‘ฅ ๐‘๐‘œ๐‘ ωx๐‘‘x,
And its inverse:
๐น๐ถ−1
๐‘“๐ถ ω
=๐‘“ ๐‘ฅ =
2 ∞
๐‘“๐ถ
0
๐œ‹
ω ๐‘๐‘œ๐‘ ωx ๐‘‘ω.
2.Fourier sine transform
๐น๐‘† ๐‘“ ๐‘ฅ = ๐‘“๐‘† ω =
And its inverse:
๐น๐‘†−1 ๐‘“๐‘† ω
∞
๐‘“
0
2
=๐‘“ ๐‘ฅ =
๐œ‹
๐‘ฅ ๐‘ ๐‘–๐‘›ωx๐‘‘x,
∞
๐‘“๐‘† ω ๐‘ ๐‘–๐‘› ωx ๐‘‘ω
0
Properties:
๐น๐ถ ๐‘“แฟฝ ๐‘ฅ = ω๐‘“๐‘† ω − ๐‘“(0)
๐น๐‘† ๐‘“แฟฝ ๐‘ฅ = −ω๐‘“๐ถ ω .
๐น๐ถ ๐‘“แฟฝแฟฝ ๐‘ฅ = −ω2 ๐‘“๐ถ ω − ๐‘“แฟฝ(0).
๐น๐‘† ๐‘“แฟฝแฟฝ ๐‘ฅ = −ω2 ๐‘“๐‘† ω + ω๐‘“(0)
Example:
Solve heat transfer equation
๏‚ถu ๏‚ถ 2u
๏€ฝ
๏‚ถt ๏‚ถx 2
B.C: (1) u(0,t)=0
(2)u(x,0)=P(x)
1๏‚ฃ x ๏‚ฃ 2
or
P(x)=1,
Solution with Fourier Sine Transform:
Fs {u ''๏€ญ u '} ๏€ฝ Fs {0}
Fs {u ''} ๏€ฝ Fs {u '}
๏ƒ™
๏‚ถfs
๏€ญ๏ท 2 f s ๏€ซ ๏ท f 0 ๏€ฝ ๏€ญ๏ท f c (๏ท ) ๏€ฝ
๏‚ถt
๏ƒ™
๏ƒ™
According to the B.C, we can get
f0 ๏€ฝ 0
Then
๏ƒ™
๏ƒ™
๏‚ถ f s (๏ท, t )
๏€ญ๏ท f s (๏ท, t ) ๏€ฝ
๏‚ถt
2
๏ƒ™
๏‚ฅ
๏‚ฅ
0
0
๏ƒ™
๏ƒ™
f s (๏ท , t ) ๏€ฝ f s (๏ท , 0) exp(๏€ญ๏ท 2t )
f s (๏ท , 0) ๏€ฝ (2 / ๏ฐ ) ๏ƒฒ u ( x, 0) sin(๏ท x) dx ๏€ฝ (2 / ๏ฐ ) ๏ƒฒ P( x) sin(๏ท x) dx ๏€ฝ (2 / ๏ท๏ฐ )[cos ๏ท ๏€ญ cos 2๏ท ]
๏ƒ™
๏ƒ™
f s (๏ท , t ) ๏€ฝ f s (๏ท , 0) exp(๏€ญ๏ท 2t ) ๏€ฝ (2 / ๏ท๏ฐ )[cos ๏ท ๏€ญ cos 2๏ท ]exp(๏€ญ๏ท 2t )
Inverse
๏ƒ™
f s (๏ท , t )
Gives the complete solution
๏‚ฅ ๏ƒ™
๏‚ฅ
0
0
u ( x, t ) ๏€ฝ ๏ƒฒ f s (๏ท , t ) sin(๏ทt )d ๏ท ๏€ฝ ๏ƒฒ (2 / ๏ท๏ฐ ) ๏€จ cos(๏ท ) ๏€ญ cos ๏€จ 2๏ท ๏€ฉ ๏€ฉ exp( ๏€ญ๏ท 2t ) sin(๏ท x) d๏ท
Laplace transform:
๐ฟ ๐‘“ ๐‘ก
=๐‘“ ๐‘  =
∞
−๐‘ ๐‘ก ๐‘‘๐‘ก.
๐‘“(๐‘ก)๐‘’
0
Where we changed the dummy integration variable from ฦฌ to
t, then gives the inversion formula as
1
−1
๐ฟ {๐‘“ ๐‘  } = ๐ป ๐‘ก ๐‘“ ๐‘ก =
2๐œ‹๐‘–
ษค+๐‘–∞
๐‘“ ๐‘  ๐‘’ ๐‘ ๐‘ก ๐‘‘๐‘ 
ษค−๐‘–∞
Greenberg, Advanced Engineering Mathematics 2nd
Edition
Jain and Iyengar, Advanced Engineering Mathematics
(2007).
Jiri Lebl, Differential Equations for Engineers (October
2011). Available at http://www.jirka.org/diffyqs/.
Download