e-ch11
e-ch11
Fourier series are infinite series designed to represent general periodic functions in terms of
cosines and sines.
• There is some positive number p, such that f (x+p) = f (x) for all x.
p : A period of f (x)
• f (x) has period p, for any integer n = 1, 2, 3,, f (x+np) = f (x) for all x.
• If f (x) and g(x) have period p, then af (x)+bg(x) with any constants a and b also has the period p.
Advanced Engineering Mathematics
Trigonometric Series
• Trigonometric System : 1, cos x, sin x, cos 2 x, sin 2 x, , cos nx, sin nx,
∞
• Trigonometric Series : a0 + a1 cos x + b1 sin x + a2 cos 2 x + b2 sin 2 x + = a0 + ∑ ( an cos nx + bn sin nx )
n =1
• If the coefficients are such that the series converges, its sum will be a function of period 2π.
Fourier Series
: The trigonometric system whose the coefficients are given by the Euler formulas
π
1
• Euler Formulas a0 =
2π ∫π f ( x )dx
−
π
1
=an
π
= ∫ f ( x ) cos nxdx, n 1, 2,
−π
π
1
=bn = ∫ f ( x ) sin nxdx, n 1, 2,
π −π
Advanced Engineering Mathematics
π
* Since f (x) is odd and cosx is even, f (x) cosx is odd function ⇒ ∫ f ( x ) cos xdx =
−π
0 ∴ an = 0
* Since f (x) is odd and sinx is odd, f (x) cosx is eve function
π π π π 4k
1 2 2 2 − cos nx 2k n : odd
bn = ∫π f ( x ) sin nxdx = ∫ f ( x ) sin nxdx = ∫ k sin nxdx = k = (1 − cos nπ ) = nπ
π −
π 0 π 0 π n 0 nπ 0 n : even
Advanced Engineering Mathematics
4k 1 1
Fourier series of f (x) : sin x + sin 3 x + sin 5 x +
π 3 5
π 4k 1 1 1 1 π
f = k = 1 − + − + ⇒ 1 − + − + =
2 π 3 5 3 5 4
< (a) The given function f (x) (Periodic rectangular wave) >
< (b) The first three partial sums of the corresponding Fourier series >
Advanced Engineering Mathematics
The trigonometric system is orthogonal on the interval −π ≤ x ≤ π ; that is, the integral of the
product of any two functions over that interval is 0, so that for any integers n and m,
π
∫π cos nx cos
= mxdx 0 ( n ≠ m)
−
π
∫ sin nx sin
= mxdx 0 (n ≠ m)
−π
π
Let f (x) be periodic with period 2π and piecewise continuous in the interval −π ≤ x ≤ π .
Furthermore, let f (x) have a left-hand derivative and a right-hand derivative at each point of that
interval. Then the Fourier series of f (x) converges. Its sum is f (x), except at points x0 where f (x)
is discontinuous. There the sum of the series is the average of the left- and right-hand limits of f (x)
at x0 .
Advanced Engineering Mathematics
Euler formulas
L
1
f ( x )dx
2 L −∫L
a0 =
nπ x
L
1
( )
L −∫L
=an = f x cos dx, n 1, 2,
L
nπ x
L
1
=bn = ∫ f ( x ) sin dx, n 1, 2,
L −L L
Advanced Engineering Mathematics
nπ x nπ x nπ x
2
k 2k π 1 3π 1 5π
Fourier series : f ( x )= + cos x − cos x + cos x − +
2 π 2 3 2 5 2
Advanced Engineering Mathematics
Summary
with coefficients
nπ
L L
1 2
( ) ( )
L ∫0 L ∫0
=a0 = f x dx , an f x = cos xdx, n 1, 2,
L
The Fourier coefficients of a sum f1 + f 2 are the sums of the corresponding Fourier coefficients
of f1 and f 2 .
f= f1 + f 2 , where f1 = x and f 2 = π
Fourier coefficients of f1
< (a) The function f (x) >
f1 is odd = ( n 0,1, 2,)
an 0=
π π
2 2
=bn = ∫ f1 ( x ) sin nxdx ∫ x sin nxdx
π 0
π 0
π
2 − x cos nx
π
1 2
= + ∫ cos nxdx =− cos nπ
π n 0 n0 n
Fourier coefficients of f 2
a=
n b=
n 0 ( n= 1, 2 ,) and a=
0 π
1 1
∴ f = π + 2 sin x − sin 2 x + sin 3 x − + < (b) Partial sums >
2 3
Advanced Engineering Mathematics
Half-Range Expansions
2k ( L − x ) L
L < x < L
2
1 2k
L2 L
2k k
=a0
L L ∫ xdx + ∫ ( L − x=
)dx
0
L L2 2
2 2k nπ nπ nπ
L2
4k
L
2k
=an ∫ x cos xdx + ∫ ( L − x ) cos = xdx 2 2
2 cos − cos nπ − 1
L L 0
L L L2
L n π L
k 16k 1 2π 1 6π
∴ f ( x) =− 2 2 cos x + 2 cos x +
2 π 2 L 6 L
2 2k nπ nπ nπ
L2 L
2k 8k
=bn
L L ∫
0
x sin
L
xdx +
L ∫ ( L − x ) sin
L2
=
L
xdx
nπ
2 2
sin
2
8k 1 π 1 3π 1 5π
∴ f ( x)
= 2 2
sin x − 2 sin x + 2 sin x − +
π 1 L 3 L 5 L
π
t + ( −π < t < 0 )
'+ 25 y r ( t ) , =
r (t ) r (=
t + 2π ) r ( t )
2
y ''+ 0.05 y=
−t + π (0 < t < π ) < Force >
2
Find the steady-state solution y(t).
∴ y = y1 + y3 + y5 +
Approximation Theory
Approximation Theory concerns the approximation of functions by other functions.
• Idea
Let f (x) be a function that can be represented by a Fourier series.
π
• Square Error = ∫π ( f − F ) dx
2
: E
−
The square error of F relative to f on the interval −π ≤ x ≤ π is minimum if and only if the
∞ π
• Bessel’s inequality : 2a0 + ∑ ( an + bn ) ≤
1
∫π f ( x )
2 2 2 2
dx
n =1 π −
∞ π
• Parseval’s identity : 2a0 + ∑ ( an + bn ) =
1
∫ f ( x ) dx
2 2 2 2
n =1 π −π
Advanced Engineering Mathematics
''+ λ y 0,
y= y ( 0 ) 0,
= y (π ) 0
=
Orthogonal Functions
∫ r ( x ) y ( x )y =
a
m n ( x ) dx 0 ( m ≠ n)
• The norm ym ofym is defined by
b
ym = ∫ r ( x ) y ( x )dx
2
m
a
Suppose that the functions p, q, r, and pʹ in the Sturm-Liouville equation are real-valued and
continuous and r(x) > 0 on the interval a ≤ x ≤ b . Let ym ( x ) and yn ( x ) be eigenfunctions of the
Sturm-Liouville problem that correspond to different eigenvalues λm and λn , respectively. Then
ym , yn are orthogonal on that interval with respect to the weight functions r, that is,
b
∫ r ( x ) y ( x )y ( x ) dx = 0
a
m n
If p(a) = 0, then Sturm-Liouville first boundary condition can be dropped from the problem. If
If p(a) = p(b), then Sturm-Liouville boundary condition can be replaced by the “periodic
boundary conditions”
=y ( a ) y=
(b) , y '( a ) y '(b)
Advanced Engineering Mathematics
b
=
• y ( y, y )
= ∫ r ( x ) y ( x ) dx
2
Orthogonal Series
(=
f , ym ) 1
b
=am
ym
2
ym
2 ∫ r ( x ) f ( x )y ( x ) dx=
a
m (m 0 ,1, 2 ,)
Advanced Engineering Mathematics
For each fixed nonnegative integer n the sequence of Bessel functions of the first kind
J n ( kn ,1 x ) , J n ( kn ,2 x ) , forms an orthogonal set on the interval 0 ≤ x ≤ R with respect to the
∫ xJ ( k
n n,m x )J n ( kn , =
j x ) dx 0 ( j ≠ m, n fixed )
0
Advanced Engineering Mathematics
Theorem 2 Completeness
function f belongs to S and is orthogonal to every ym , it must have norm zero. In particular, if f is
f ( x ) lim
= =
1
fL ( x)
( −1 < x < 1) : Nonperiodic function which we obtain from f L
L →∞
0 otherwise
1
1
nπ x 2
1
nπ x 2 sin
nπ
L ( )
L −∫1 L ∫0
=an = cos dx = cos dx
L L L nπ
L
∞
nπ
a0 + ∑ ( an cos wn x + bn sin wn x ),
fL ( x) = wn =
n =1 L
1 ∞
L L L
1
2 L −∫L
= f L ( v )dv + ∑
L n =1
cos wn x ∫ f L ( v ) cos wn vdv + sin wn x ∫ f L ( v ) sin wn vdv
−L −L
1 ∞
L L L
1
=
2 L −∫L
f L ( v )dv + ∑
π n =1
( cos wn x ) ∆w ∫ f L ( v ) cos wn vdv + ( sin wn x ) ∆w ∫ f L ( v ) sin wn vdv
−L −L
∆w= wn +1 − wn=
( n + 1) π − nπ= π
L L L
1
∞ ∞ ∞
f ( x ) lim
= = fL ( x) ∫ cos wx ∫ f ( v ) cos wvdv + sin wx ∫ f ( v ) sin wvdv dw
L →∞ π 0 −∞ −∞
∞
⇒ Fourier Integral : f ( x ) =
∫ A ( w) cos wx + B ( w) sin wx dw
0
∞ ∞
1 1
=A ( w) = ∫ f ( v ) cos wvdv , B ( w ) ∫ f ( v ) sin wvdv
π −∞
π −∞
Advanced Engineering Mathematics
If f (x) is piecewise continuous in every finite interval and has a right-hand derivative and a left-
hand derivative at every point and if the integral
0 b
∞
lim ∫ f ( x ) dx + lim ∫ f ( x ) dx written ∫ f ( x ) dx
a →−∞ b →∞
a 0 −∞
is discontinuous the value of the Fourier integral equals the average of the left- and right-hand
f ( x) =
1 ( x < 1)
0 ( x > 1)
∞ 1 1
1 1 sin wv 2sin w
A ( w)
= ∫ f ( v ) cos
= wvdv ∫ cos
= wvdv =
π −∞
π −1
π w −1 πw
∞ 1
1 1
=B ( w) ∫ f (=
v ) sin wvdv = ∫ sin wvdv 0
π −∞
π −1
∞
2 cos wx sin w
∴ f ( x) =
π ∫0
dw
w π ( 0 ≤ x < 1)
∞ 2
cos wx sin w π
Dirichlet's Discontinuous Factor : ∫ = dw =
4 ( x 1)
w
( x > 1)
0
0
∞
sin w π
x=
0 ⇒ ∫
0
w
dw =
2
Advanced Engineering Mathematics
u
sin w
Sine Integral : Si ( u ) = ∫ dw
0
w
π ∫0 π ∫0
= dw + dw
w w
( x +1) a ( x −1) a
1 sin t 1 sin t
=
π ∫ 0
t
dw −
π ∫
0
t
dw
Si ( a [ x + 1]) − Si ( a [ x − 1])
1 1
= < The integral for a = 8, 16, and 32 >
π π
Advanced Engineering Mathematics
∞ ∞
2
=f ( x) B ( w ) sin wxdw, B ( w )
∫= ∫ f ( v ) sin wvdv
0
π 0
Advanced Engineering Mathematics
∞ ∞
2 − kv 2 k w 2k
A ( w) = ∫ e cos wvdv = − 2 e − kv − sin wv + cos wv =2
π 0 π k +w k 0 π ( k + w )
2 2
< f (x) >
∞ ∞
2k cos wx cos wx π
∴ f ( x) =e − kx = ∫k dw ⇒ ∫k dw = e − kx
π 0
2
+ w2 0
2
+w 2
2k
∞ ∞
2 w sin wx w sin wx π
∴ f ( x) =e − kx
=∫ 2 dw ⇒ ∫k dw = e − kx
π 0 k + w2 0
2
+w 2
2
Advanced Engineering Mathematics
Integral Transform : Transformation in the form of an integral that produces from given
functions new functions depending on different variable
ex) Laplace Transform
Set A ( w ) = 2 π fˆc ( w )
∞
2
c( f )
Fourier Cosine Transform : F= c ( w)
fˆ= ∫ f ( x ) cos wxdx
π 0
∞
2
Inverse Fourier Cosine Transform : f ( x ) = ∫ fˆ ( w) cos wxdw
π 0
c
Advanced Engineering Mathematics
Set B ( w ) = 2 fˆs ( w )
π
∞
2
s( f ) s ( w) ∫ f ( x ) sin wxdx
Fourier Sine Transform : F= fˆ=
π 0
∞
2
Inverse Fourier Sine Transform : f ( x ) = ∫ fˆ ( w ) sin wxdw
π 0
s
Advanced Engineering Mathematics
2 sin aw
a
2
=fˆc ( w ) = k ∫ cos wxdx
π w
k
π 0
2 1 − cos aw
a
2
=fˆs ( w ) = k ∫ sin wxdx
π
k
π 0
w < f (x) >
Advanced Engineering Mathematics
Linearity
) aFc ( f ) + bFc ( g )
Fc ( af + bg=
) aFs ( f ) + bFs ( g )
Fs ( af + bg=
Let f (x) be continuous and absolutely integrable on the x-axis, let f ' ( x ) be piecewise
continuous on every finite interval, and let f ( x ) → 0 as x → ∞ . Then
c { f ' ( x )} wFs { f ( x )} −
2
=
F f ( 0)
π
Fs { f ' ( x )} = − wFc { f ( x )}
Fc { f '' ( x )} =
− w2Fc { f ( x )} −
2
f ' ( 0)
π
Fs { f '' ( x )} =
− w2Fs { f ( x )} +
2
wf ( 0 )
π
Advanced Engineering Mathematics
By differentiation
=( e− ax ) '' a=
2 − ax
e thus a 2 f ( x ) f '' ( x )
2 2
⇒ a 2Fc ( f ) ==
Fc ( f '') − w2Fc ( f ) − f ' ( 0) =
− w2Fc ( f ) + a
π π
⇒ (a 2
+ w2 ) Fc ( f ) =
a
2
π
2 a
Fc ( e − ax )
∴= ( a > 0)
π a 2 + w2
Advanced Engineering Mathematics
∞
1
( f ) fˆ=
• Fourier Transform : F= ( w) ∫ f ( x) e
− iwx
dx
2π −∞
∞
1
• Inverse Fourier Transform : f ( x ) = ∫ fˆ ( w) e
− iwx
dw
2π −∞
If f (x) is absolutely integrable on the x-axis and piecewise continuous on every finite interval,
∞
then the Fourier transform fˆ ( w ) of f (x) given by fˆ ( w ) = 1 ∫ f ( x) e
− iwx
dx exists.
2π −∞
Advanced Engineering Mathematics
1
1 e − iwx −2i sin w
1
fˆ ( w ) =
1
2π ∫e
− iwx
dx = ⋅
2π −iw
=
1
−iw 2π
( e − iw − eiw ) =
−iw 2π
=
2 sin w
π w
−1 −1
Advanced Engineering Mathematics
The Fourier transform is a linear operation; that is, for any functions f (x) and g(x) whose
Fourier transforms exist and any constants a and b, the Fourier transform of af + bg exists, and
F ( af + bg=
) aF ( f ) + bF ( g )
F { f ' ( x )} = iwF { f ( x )}
F { f '' ( x )} = − w2F { f ( x )}
Advanced Engineering Mathematics
(
F xe − x
2
) 1
2
( )
F − e− x
=
2
' =
1
2
{( ) }
− F e− x
2
' =
1
2
( )
− iwF e − x =
2 1
− iw
2
1 − w2 4
2
e =
−
iw − w2 4
2 2
e
Advanced Engineering Mathematics
Convolution
∞ ∞
• Convolution : ( f ∗ g )( x ) = ∫ f ( p ) g ( x − p )dp = ∫ f ( x − p ) g ( p )dp
−∞ −∞
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 )