Professional Documents
Culture Documents
CH 5
CH 5
1
= ½ [∫ ∫
1 sin( n m) x
sin( n m) x
=
2 n m nm
Definition A function ƒ(x) in an interval [a, b] is said to be periodic, if there exists a real positive
number p such that ƒ (x+p) = ƒ (x) for every x where p is called the period of f and the smallest value
of p is called the fundamental period p. Then,
(x+p) = ƒ (x)
(x+2p)= ƒ (x+p+p) = ƒ (x+p) = ƒ (x)
ƒ (x+3p)= ƒ (x+2p+p) = ƒ (x)
ƒ (x+np) = ƒ (x+ (n-1) +p) = ƒ (x)
For every integer n. Hence for every integer n ,
ƒ (x+np) = ƒ (x)
Example a) ƒ(x) =sinx and g(x) =cosx are periodic functions with period 2.
Because sinx =sin n(x+2)=sin (x+4n)=... =sin (x+2n).
And cosx =cos(x+2) =cos (x+4) =...=cos (x+2n) for every integer n.
b. ƒ (x) =c where c is any constant is a periodic function with any arbitrary period
Note: If ƒ1, ƒ2 ... fn be periodic functions with a period p and C1, C2,...,Cn are constant then,
ƒ = C1f1+C2f2+...+Cnfn has a period P.
Example :- A set of function 1, cosx , Cos2x , cos3x , ...., sin x, sin 2x, sin3x,...are periodic with
period 2 because 1 is a constant function which is periodic with any arbitrary period.
Cos x=cos(x+2 ) (by definition) and the same for others.
Therefore for constants a0, a1, a2,...,b1, b2, b3...the function
2
ƒ(x) =
∑ ∑
⁄ ∫
∫ 3.2
∫
}
(5.2) is called Euler’s formula. This formula is obtained from (3.1) i,e
ƒ(x) ∑ an
n n
an bn
sin sin cos n cos n since sine is odd and cosine is even
n 1 n n 1 n
+0+0
Therefore,
ao2 = f x dx
3
ao=
∫–
Now to drive for an we multiple (1) by cos mx then we get the equation
ƒ(x) cos mx a0 cos mx + ∑ ∑
then integrate both sides with [-, ] we get
∫– ∫– ∑ +
∑ ]dx
∑ cos mx dx +∑ ∫– ∑ ∫– mx dx
a o cos mx dx an cos nx cos mx dx bn sin nx cos mx dx
n 1
n 1
sin mx
a0 ∑ ∫–
m
=0+∑ ∫–
=∑ ∫–
0, n m
=
a n , n = m (by orthogonality)
Now for n≠m ∫– cos mxdx =0 , we cannot get an so we leave it for n=m we get;
∫– cos mx dx = an dividing by
∫
–
∫–
With the same method by multiplying (5.1) with sin mx and integrating with [-, ], we get the Euler’s
formula for
∫–
- k - - < x < 0
k , 0 < x < and ƒ(x + 2 ) = ƒ (x)
Solution: Appling the Euler’s formula we have
∫– dx
4
∫
–
dx +
∫
1
0
1
= kx kx
2 2 0
∫
–
∫–
∫
k
0
k
= sin nx sin nx
n n 0
= [0+0] + [0 - 0]
=0
and
∫
–
= [ ∫– sin nx dx + ∫ sin nx dx
0
k k
= cos nx cos nx
n n 0
= [1-cosn]
- 1 , for odd n
Now n=
1, for even n then we get
2 , for odd n
1-cos n=
0 , for even n
Thus bn can be obtained by substituting for n
i.e. b1 = [1-(-1)] =
b2 = [1-1] = (0) =0
b3 = [2] =
0 , if n is even
bn =
4k/n , if n is odd
5
Hence
ƒ(x) +∑
= a0 a n cos nx bn sin nx
n 1 n 1
= (sinx + + +......)
a 2 a 2 a 2
1 1 1
a0
2
a
f ( x)dx, an
f ( x) cos(nx)dx & b
a
n
f ( x) sin( nx)dx converges to
a
a ( x) cos(nx)dx and bn
( x) cos(nx)dx
a ( x) sin( nx)dx
an ( x) sin( nx)dx
c c
6
Solution: Let f ( x) a0 an cos(nx) bn sin( nx)
n 1
1
0 0
1 1 1 2 1 1
Then a0 dx xdx dx xdx x
2 0 2
2 0
2 4 0 2 4 2
1
0
an cos(nx)dx x cos(nx)dx cos(nx)dx x cos(nx)dx
1 sin( nx)
0 0 0 n 0
1 x sin( nx) sin( nx) cos(nx)
2 1 1
1
dx
n
n 0 0
n n 0 n
2
1
0 0
1
and bn sin( nx)dx x sin( nx)dx sin( nx)dx x sin( nx)dx
0 0
cos(nx)
0
1 x cos(nx)
cos(nx) 1 (1)
n
1 (1) n Sin(nx)
dx
n n 0 0
n n n n 2 0
7
In many engineering problems, the period of the function required to be expanded is not 2 but some
other interval say 2L. In order to apply the foregoing discussion to functions of period 2L, this interval
must be converted to the length 2 . This involves only a proportional change in the scale.
Consider the periodic function f(x) defined in (a, a + 2L). To change the problem to period 2 put
L
t x which implies that x t . This gives when x (a, a 2 L) . Thus the function f(x) of period
L
L a a L
2L in (a, a + 2L) is transformed to function f t of period 2 in , 2 . Hence f t
L L
can be expressed in Fourier series as:
L
g (t ) f t a0 an cos(nt ) bn sin( nt) , where
n 1
2
2
L
2
L 1 L
1 1
a0 f t dt, a n f t cos(nt)dt, And bn f t sin( nt)dt, where
2
a L
and x t .
L
Marking the inverse substitution t x and noting that dt dx in the above formula, the Fourier
L L
series Expansion of f(x) in the interval (a, a +2L) is given by
f ( x) a0 a n cos n x bn sin n x where
n 1 L L
a2 L
a2L a2L
1
a0
1
2L f ( x)dx, a n
1
L f ( x) cos n x dx and bn
L L
a
f ( x) sin n
L
x dx
a a
Corollary:
i. Putting a = 0 in these formulae, we get the corresponding Fourier coefficients for the
interval (0, 2L)
2L
1
bn
L0
f ( x) sin n L x dx
and .
ii. Putting a = - L in the above formulae, we get the results:
2L
1
L L
8
Where ∫ ∫ ∫ [ | | ]
1 0 1
1
an f ( x) cos(nx)dx cos(nx)dx 2 x cos(nx)dx
1 1 1 0
1 1
sin( nx)
2
x sin( nx) 10 22 2 cos(nx)
n 0 n n
0
2 2
2
(1) n
1 (1 (1) n ) 2 2 1 (1) n 1
n
2 2
n
2 2
n
1 0 1
1
bn f ( x) sin( nx)dx sin( nx)dx 2 sin( nx)dx
1 1 1 0
cos(nx)
0
2
x cos(nx) 0 cos(nx)dx
1
1
n 1 n 0
1 1 1
1
n n
n n n 0 n n
Thus f ( x) a0 a n cos(nx) bn sin( nx)
n 1
0
2 1 (1) n 1
cos(nx )
1 3(1) n 1
sin( nx)
n 1 n2 2
n
4 4 2 4 4
cosx sin x sin 2x cos3x sin 3x
2
3 2 2
3
2 4 4
sin 4x 2 2 cos(5x) sin(5x)
4 5 5
4 cosx cos3x cos5x 2 sin 2x 2 sin 4x
2 2 2 sin x sin 3x
1 3 2
5 2
2 3 4
lim f ( x) lim f ( x)
When x = 0, the series converges to 1
x0 x0
2 2
1 4 1 1 1 2
Therefore, 2 2 2 2 (0 0 0 )
2 1 3 5
4 1 1 1
2 1 1
=
1
1
1
1
. When x , f 1
1 3
2 2 2
5 2
1 3 5
2 2 2
n 0 ( 2n 1)
2
8 2 2
4 2 0 2 0 2
, giving 1 (0 0 0 ) 2
2
2 3 3 3
9
1 1 1 (1) n
2 2 2 2
3 5 7
4 1 1 1
3 5 7
2 1 1
3 5 7 n 0 2n 1
4
0,
if f is odd
Recall that a periodic function f(x) defined in (- L, L) can be represented by the Fourier series:
nx nx
f ( x) a0 a n cos bn sin ,
n 1 L L
L L L
where a 0 1 1 1
2L L f ( x)dx, a n
L L
f ( x) cos n x dx & bn
L L
L
f ( x) sin n x dx
L
L L
1 1
When f(x) is an even function a 0
2L L
f ( x)dx f ( x)d x ,
L0
1 L 2 L
an
L L
f ( x) cos n x dx f ( x) cos n x dx, sin ce f ( x) cos n x
L L 0
L L
L
is even, and bn 1
L
f ( x) sin n x dx 0, sin ce f ( x) sin n x is odd.
L L L
Therefore, the Fourier series expansion of a periodic even function f(x) contains only the cosine terms
L L
1 2
whose coefficients are a 0
L0 f ( x) dx and a n f ( x) cos n x dx
L0 L
L L
1 2
f ( x)
L0 f ( x ) dx
n 1 L 0
f ( x) cos n x dx cos n x .
L L
L
f ( x) sin n x dx , since f ( x) sin n x is even.
L L L 0
L L
10
Thus, if a period function f(x) is odd, its Fourier series expansion contains only the sine terms, whose
, so that
L
2
L 0
coefficients are b f ( x) sin n x dx
L
n
L
2
f ( x) f ( x) sin n x dx sin n x .
n 1 L 0 L L
Coefficients
Example: Find a series to represent f(x) = x2 in the interval (, ) . Deduce the values of
(1) n 1 1 1 1 1 1
i)
n 2
1 2
1
3
1
2 2 2 and ii) n
n 1
2
12
2 2
2 3
n 1
0
dx x cos
an f ( x) cos 2
2 x sin x dx
0 n 0 0
4 n
n
x dx 42 2 (1) n sin n x 4 2(12 ) and bn 0
2 n
x cos x cos
n
2 2
0 0 n n 0 n
2 3
cos cos x cos x
Therefore, f ( x) x 2 2 4 2
(1) n n
2
4 2
2
3
2
cos x
3
2 2
1
2
2
n 1 n 2 3
which is the required Fourier series.
2 4 2 1 1 1
(1) n 1 2
i) Putting x = 0, we get f (0) 0 2 2 2 2 i.e,
3 1 2 3
n 1 n2
12
lim f ( x) lim 2 2 2 4 2 1
ii) Putting x , we get x x
2 2
1 1 1
2 2 2 2
2 2 3 1 2 3 4
1 2
1 4
1 2
1 1 1 1 1 1 1 1 2
2 2 2 2 2 2 2 2
2
n 2
6
3 1 2 3 4 1 2 3 4 3 4
n 1
2
3
In many problems of physics and engineering there is a practical need to apply a Fourier Series to a
non–periodic function F(x) on the interval 0 < x < T. B
ecause of physical or mathematical
11
considerations, it may be possible to extend F(x) over the interval –T < x < T, making it periodic of
period P = 2T. The following figures illustrate the odd and even extensions of F(x) which have
Fourier sine and Fourier cosine series, respectively.
a) Original function
-2
-1
-2 -1 0 1 2
X
-1
-2
Hence the Fourier series for f(x) over the full period (-2, 2) will contain only sine series terms given by
nx nx
2 2
nx Where b 2
f ( x) bn sin
n 1 2
n
2
0
f ( x) sin
2
dx x sin
0 2
dx
2
2 x cos n x 4(1) n 4(1) n 1
0
2
2 4 n
Sin x n n
n n
2 2
2 0
0
12
3
4
(1) n1 nx 4 sin x sin x
f ( x)
n1 n
sin
2
sin x
2 2
2 3
b) The graph of f(x) = x in (0, 2) is the line OA. Let us extend the function f(x) in the interval (-2, 0)
(shown by the BO ) so that the new function is symmetric about the
y – axis and, therefore, represents an even function in (-2, 2).
Y
B A
X
-2 0 2
Hence the Fourier series for f(x) = x over the full period (-2, 2) will contain only cosine terms given by
nx
f ( x) a0 a n cos a0 2 f ( x)dx xdx 2 and an 2 f ( x) cos nx dx
2 2 2
n 1 2 20 0 20 2
2
nx 4 cos nx 4 (1) 2 1 4 (1) 1
2
nx 2 x sin nx
2 2 n
2
x cos
n 2 0 n 0 2
dx sin dx
0 2 n 2 2 2 0 n
2 2
n 2 2
2 4
(1) n 1
Therefore, the desired result is: f ( x) 2
2
n 1 n 2
cos n x
2
3 5
4 2 2 3 2 5 cos cos cos x
1 Cos x Cos x Cos
8 2 2 2
1
2 2
2 3 2
2 5 2
2 1
2 12 32 52
13
If
f (t ) dx converges, i.e.; f(x) is absolutely integrable in (- ,), then the 1st – term on the right
L
1 1
2 L L 2 L
side of (*) approaches 0 as L, since f (t ) dt f (t ) dt .
1 n (t x)
The 2nd – term on the right side of (*) tends to lim
L L n 1
f (t ) cos
L
dt
1
lim
0
f (t ) cosn(t x)dt on writing
n 1 L
.Thus as L , (*) becomes
1
f ( x)
f (t ) cos (t x)dtd
0
called the Fourier Integral of f(x).
1
Remark: 1. If function f is continuous at x, then f ( x)
f (t ) cos (t x)dtd .
0
f ( x 0) f ( x 0) 1
If f is not continuous at x, then f (t ) cos (t x) dtd
2 0
Where f ( x 0) lim f (t ) and f(x - 0) lim f (t ) .
t x t x -
If f(x) is an odd function, f(t) cos (t) is also an odd function while f(t) sin (t) is even. Then the 1 st
2
term on the right side of the above equation vanishes, and f ( x)
sinx f(t) sin( t)dt d , which is
0 0
1, for 0 x
Example: Express f ( x) as a Fourier sine integral and hence
0, for x
1 cos( )
evaluate sin( x )d .
0
14
2
Solution: The Fourier sine integral of f(x) is f ( x)
sin (x) d f(t)sin( t)dt
0 0
2
sin (x) d sin( t)dt cos(t ) 0 2 1 cos( )
2
0
sin( x ) d sin( x )d
0 0 0
2 1 cos( )
Therefore, f ( x) sin (x) d 1 cos(x) sin( x) d f ( x) 2 , for 0 x
2 0, for x
0 0
At x =, which is a point of discontinuity of f(x), then the value of the above integral is
f ( x) lim f ( x)
lim
1 1 cos( )
x
x
0 , i.e, sin x d , at x
2 2 2 2 4 0
4
15