15.4 Fourier series 429
The coefficientsb
n. By equation (15.39),
We havecos 1 nπ 1 = 1 + 1 when nis an even integer, andcos 1 nπ 1 = 1 − 1 when nis odd. It
follows thatb
nis nonzero only when nis odd:
nodd (15.45)
By the results (15.43) to (15.45), the Fourier series of the function (15.42) is therefore
(15.46)
To illustrate the behaviour of the series we consider the n-term approximations
(partial sums),
The graphs of the first four partial sums are shown in Figure 15.7.
Sx
xx
41
2
23
3
5
5
=+ + +
π
sin
sin sin
Sx
x
31
2
23
3
=+ +
π
sin
sin
Sx
21
2
2
=+
π
sin
S11
2
=
=+ + + +
1
2
23
3
5
π 5
sin
sin sin
x
xx
fx
a
( )=++++bxbxbxsin sin sin
013 52
35
b
n
n=,
2
π
b f x nxdx nxdx
n===−
−++111
0
0πππ
ππππZZ()sin sin
coss
(cos)
nx
nn
n
=−
1
1
π
π
- 1
−π +π
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
S
10
S
1=
12+1
−π +π
.............................................................................................................................
......
.....
......
......
.......
.....
.......
......
.....
.......
.....
.......
......
.......
.....
........
......
......
.......
.......
.......
.......
........
........
..........
..........
......................
....
......................
..........
..........
........
........
.......
.......
.......
.......
......
......
........
.....
.......
......
.......
.....
.......
.....
......
.......
.....
.......
......
......
.....
......
.......
.....
.......
.....
.......
......
.....
.......
......
......
......
.......
.....
.......
......
.......
......
.......
......
.......
........
......
........
.........
........
..........
......................
........
......................
..........
........
.........
........
......
........
.......
......
.......
......
.......
......
.......
.....
.......
......
......
......
.......
.....
......
.......
.....
.......
.....
......
S
20
S
2=
122π
sinx
+1
−π +π
.................................................................................................................................
.....
.....
.....
......
......
.....
....
......
......
.....
......
.....
......
.....
.....
.....
.......
.....
.....
.......
.....
......
.......
........
......................
.........
.........
........
........
.......
.........
................................
.........
.......
........
........
.........
.........
......................
........
.......
......
.....
.......
.....
.....
.......
.....
.....
.....
......
.....
......
.....
......
......
....
.....
......
......
.....
.....
.....
......
......
....
.....
......
......
.....
.....
.....
.....
.......
.....
.....
......
.....
.....
......
......
.....
......
......
.....
......
......
......
.........
.................
..........
........
.......
.........
........
........
................
......
................
........
........
.........
.......
........
..........
.................
.........
......
......
......
.....
......
......
.....
......
......
.....
.....
......
.....
.....
.......
.....
.....
.....
.....
......
......
.....
....
......
.
S
30
S
3=
122π
(
sinx+
sin 3 x3)
+1
−π +π
.................................................................................................................................
.....
.....
.....
.....
.....
.....
......
.....
.....
.....
.....
.....
......
.....
.....
.....
......
......
.....
......
.....
......
......
.......
..........
.........
........
.....
........
........
...........
......
............
..........
.......
.........
........................
.........
.......
..........
............
......
...........
........
........
.....
........
.........
..........
.......
......
......
.....
......
.....
......
......
.....
.....
.....
......
.....
.....
.....
.....
.....
......
.....
.....
.....
.....
.....
.....
......
.....
.....
.....
......
....
.....
.......
....
.....
......
....
.....
......
......
.....
.....
.....
.....
.......
.....
.....
.....
.......
.....
..........
..
...........
........
.....
........
......
.........
...................
.........
.......
.........
...........
..............
...........
.........
.......
.........
...................
.........
......
........
.....
........
...........
..
..........
.....
.......
.....
.....
.....
.......
.....
.....
.....
.....
......
......
.....
....
......
.....
....
.......
.....
....
......
.....
.....
.....
.
S
40
S
4=
122π
(
sinx+
sin 3 x3sin 5 x5)
Figure 15.7