Fourier series
Fourier series
Fourier series
a0 ∑
∞
f (x) = + [an cos nx + bn sin nx]
2 n=1
Note: Dirichlet’s conditions are sufficient for the function to have a Fourier series
expansion. This not a necessary condition.
Convergence of Fourier series
Let f (x) be a periodic function that satisfy Dirichlet conditions. Then the Fourier
series expansion of f (x) is given by
a0 ∑
∞
f (x) = + [an cos nx + bn sin nx]
2 n=1
converges to
a0 ∑
∞
f (x) = + [an cos nx + bn sin nx]
2 n=1
where
∫2π
1
a0 = f (x)dx
π
0
∫2π
1
an = f (x) cos nxdx
π
0
∫2π
1
bn = f (x) sin nxdx
π
0
3
a0 ∑ [ ( nπx ) ( nπx )]
∞
f (x) = + an cos + bn sin
2 n=1
l l
where
∫2l
1
a0 = f (x)dx
l
0
∫2l ( nπx )
1
an = f (x) cos dx
l l
0
∫2l ( nπx )
1
bn = f (x) sin dx
l l
0
a0 ∑
∞
f (x) = + [an cos nx + bn sin nx]
2 n=1
where
∫π
1
a0 = f (x)dx
π
−π
∫π
1
an = f (x) cos nxdx
π
−π
∫π
1
bn = f (x) sin nxdx
π
−π
a0 ∑ [ ( nπx ) ( nπx )]
∞
f (x) = + an cos + bn sin
2 n=1
l l
4
where
∫l
1
a0 = f (x)dx
l
−l
∫l ( nπx )
1
an = f (x) cos dx
l l
−l
∫l ( nπx )
1
bn = f (x) sin dx
l l
−l
a0 ∑
∞
f (x) = + an cos nx
2 n=1
where
∫π
2
a0 = f (x)dx
π
0
∫π
2
an = f (x) cos nxdx
π
0
∑
∞ ( nπx )
f (x) = bn sin
n=1
l
where
∫l ( nπx )
2
bn = f (x) sin dx
l l
0
5
Results
∫π
cos nx cos mxdx = 0, (n ̸= m)
0
∫π
sin nx sin mxdx = 0, (n ̸= m)
−π
∫π
sin nx cos mxdx = 0, (n ̸= m) or (n = m)
−π
∑
∞
f (x) = bn sin nx
n=1
where
∫π
2
bn = f (x) sin nxdx
π
0
∫π
2
= k sin nxdx
π
0
[ ]π
2k − cos nx
=
π n 0
2k
= − [cos nπ − cos 0]
nπ
2k
= − [(−1)n − 1]
nπ
6
4k
, n is odd
nπ
bn =
0, n is even
4k ∑ 1
∞
f (x) = sin nx
π n=1,3,··· n
[ ]
4k sin 3x sin 5x
f (x) = sin x + + + ··· .
π 3 5
This implies
[ (π) (π) ]
(π ) 4k sin (π )
3 sin 5
f = sin + 2
+ 2
+ ··· .
2 π 2 3 5
[ ]
4k (−1) (1)
k = 1+ + − ···
π 3 5
π 1 1
= 1 − + − ···
4 3 5
2
Deduce that 1
+ + · · · = π8 .
1
+ 1
12 32 52
− 2 2 , if n is odd
Solution: a0 = − 2 , an =
π πn
, bn = n1 [1 − 2(−1)n ],
0, if n is even
∑
∞ ∑ 1
∞
f (x) = − π4 − 2
πn2
cos nx + n
[1 − 2(−1)n ] sin nx.
n=1,3,··· n=1
7
f (x) = ex , 0 ≤ x ≤ 2π.
4
, n is odd; ∑
∞
πn2 π 4 cos nx
Solution: a0 = π, an = and f (x) = + .
0, n is even.
2 π
n=1
(2n−1)
4(−1)n ∑
∞
(−1)n
Solution: a0 = 23 , an = n2 π 2
and f (x) = 2
3
+ 4
π2 n2
cos nx.
n=1
Problem 7 Find the Fourier series for f (x) defined by
x, for 0 < x < 1;
1 − x, for 1 < x < 2.
π2
Deduce 1
+ 1
+ 1
+ ··· = 8
.
12 32 52
− 4
, if n is odd; 2 , if n is odd;
4(−1)n π 2 n2 nπ
Solution: a0 = 0, an = n2 π2 and bn =
0, if n is even. 0, if n is even.
∑
∞ ∑∞
f (x) = − π42 n
1
2 cos nπx + 2
π
1
n
sin nπx.
n=1,3,··· n=1,3,···
Problem 8 Find the half-range Fourier sine series expansion for
∑
∞
Solution: bn = 2nπ
1+n2 π 2
[1 − e(−1)n ] and f (x) = 2π n
1+π 2 n2
[1 − e(−1)n ] sin nπx.
n=1
Problem 9 Find a series of cosines of multiples of x which will represent x sin x in
8
(2) Find the Fourier series to represent the function f (x) given by
x, 0 ≤ x ≤ π;
f (x) =
2π − x, π ≤ x ≤ 2π.
π2
Deduce that 1
12
+ 1
32
+ 1
52
+ ··· = 8
. Express the half range sine series for
π3
f (x) = x(π − x) in (0, π). Deduce that 1
13
− 1
33
+ 1
53
− ··· = 32
.