Documente Academic
Documente Profesional
Documente Cultură
Fourier Series
Periodic Functions
A function
is periodic
such that
f T f
Fourier Series
f
n 1
n 1
f a0 an cos n bn sin n
n 1
n 1
f a0 an cos n bn sin n
What kind of trigonometric (series) functions
are we talking about?
an
and
bn
cos n cos m d
1
1
cos n m d cos n m d
2
2
cos n cos m d 0
cos n cos m d
nm
nm
sin n cos m d
1
1
sin n m d sin n m d
2
2
sin n cos m d 0
sin n sin m d
1
1
cos n m d cos n m d
2
2
sin n sin m d 0
sin n sin m d
nm
nm
Determine
a0
to
f d
a0 an cos n bn sin n d
n 1
n 1
f d
a0d
n 1
n 1
cos n d
sin n d
f d a0 d 0 0
f d 2a0 0 0
1
a0
2
a0
f d
function,
to
instead.
f d
2
a0 an cos n bn sin n d
0
n 1
n 1
f d
2
a0d
0
0
n 1
n 1
cos n d
sin n d
f d a0d 0 0
0
f d 2a0 0 0
1
a0
2
f d
Determine
Multiply (1) by
an
cos m
to
f cos m d
n1
n1
a0 cos m d 0
Second term,
a cos n cos m d
n 1
Second term,
cos n cos m d am
n 1
Third term,
n 1
sin n cos m d 0
Therefore,
f cos m d a
m
1
am
f cos m d
m 1, 2,
Determine
Multiply (1) by
bn
sin m
to
f sin m d
n 1
n 1
sin m d 0
Second term,
n 1
cos n sin m d
Second term,
n 1
cos n sin m d 0
Third term,
n 1
sin n sin m d bm
Therefore,
f sin m d bm
1
bm
f sin md
m 1, 2 ,
1
a0
2
1
am
1
bm
f d
f cos m d
m 1, 2,
f sin m d
m 1, 2,
1
a0
2
1
an
1
bn
f d
f cos n d
f sin n d
n 1 , 2 ,
n 1 , 2 ,
to
1
a0
2
1
an
1
bn
instead.
f d
f cos n d
f sin n d
n 1, 2 ,
n 1 , 2 ,
f A
A
when 0
when
f 2 f
1 2
a0
f
2 0
2
1
2
2
1
A d A d
2 0
0
1 2
a n f cos n d
0
2
1
A
cos
n
A
cos
n
0
1
sin n
A n
sin n
A n
1 2
bn f sin n d
0
2
1
A
sin
n
A
sin
n
cos n
1 cos n
A n A n
A
cos n cos 0 cos 2n cos n
n
1
A
cos n cos 0 cos 2n cos n
bn
n
A
1 1 1 1
n
4A
when n is odd
n
A
cos n cos 0 cos 2n cos n
bn
n
A
1 1 1 1
n
0 when n is even
4A
1
1
1
0.5
f()
0.5
1.5
0.5
f()
0.5
1.5
0
0.5
1
1.5
0.5
f()
0.5
1.5
0.5
0.5
1.5
0.5
0.5
1.5
10
0.5
0.5
1.5
10
Even Functions
Mathematically speaking -
f f
Odd Functions
Mathematically speaking -
f f
5
10
10
5
10
10
f a0 an cos n
n 1
f bn sin n
n 1
f x x
when x
f 2 f
1
a0
2
1
f x dx
2
1 x
2 3
3
x dx
1
an f x cos nx dx
1 2
x
cos
nxdx
Use integration by parts. Details are shown
in your class note.
4
an 2 cos n
n
4
an 2
n
4
an 2
n
when n is odd
when n is even
bn 0
4 cos x
2
2
2
3
2
3
4
t
is the angular velocity in radians per
second.
2 f
f is the frequency of the periodic function,
f t
2 f t
Therefore,
where
t
T
1
f
T
t
T
2
d
dt
T
2
t
T
T
t
2
t
T
T
t
2
1
a0
2
1
a0
T
f d
T
2
f t dt
T
1
an
2
an
T
f cos n d
T
2
2 n
Tf t cos T t dt
n 1 , 2 ,
n 1, 2,
1
bn
2
bn
T
f sin n d
n 1 , 2 ,
2 n
f
t
sin
t
dt
T
T
n 1, 2,
T
2
T
T
f t t when t
4
4
T
T
3T
t
when
t
2
4
4
f t T f t
This is an odd function. Therefore,
T
2
2n
bn f t sin
t dt
T 0
T
4
T
2
2n
f t sin
t dt
T
an 0
4
bn
T
4
T
4
2n
t
sin
t
dt
T
0
T
2
T
2n
sin
t
dt
T
2
T
T
n
sin
2.
2
2n
2T
n
2 2 sin
n
2
4
bn
T
bn 0
when n is even.
2T
2
1
1
2
6
10
sin T t 2 sin T t 2 sin T t
n 1
n 1
f a0 an cos n bn sin n
Let us utilize the Euler formulae.
j
j
cos
sin
e
2
e
2i
an cos n bn sin n
an
an
jn
jn
e
2
jn
e
2
jn
bn
ibn
jn
e
2i
jn
jn
e
2
jn
an cos n bn sin n
an jbn jn an jbn jn
e
e
2
2
Denoting
a n jb n
c n
2
and
c0 a0
cn
a n jbn
a n cos n bn sin n
cn e
jn
c n e
jn
f c0 c n e
n 1
c e
n
jn
jn
c ne
jn
an jbn
cn
j
f cos nd
2
f sin n d
f cos n j sin n d
f e
jn
c n
an jbn
j
f cos nd
2
f sin n d
f cos n j sin n d
f e
jn
an jbn
cn
Note that
cn .
cn
1
cn
2
.
c n
an jbn
f e
jn
n 0 , 1, 2 ,
f with period
c e
is:
jn
f A
A
when 0
when
f 2 f
A 5
f ( x)
A if 0 x
A if x 2
0 otherwise
1
A0
f ( x) dx
2 0
A0 0
n 1 8
2
1
An
f ( x) cos ( nx) dx
0
A1 0
A2 0
A3 0
A4 0
A5 0
A6 0
A7 0
A8 0
1
Bn
0
f ( x) sin( nx) dx
B1 6.366
B2 0
B3 2.122
B4 0
B5 1.273
B6 0
B7 0.909
B8 0
cne
1
cn
2
jn
f e
n 0 , 1, 2 ,
2
1
C ( n)
2 0
1i n x
f ( x) e
dx
jn
1
C ( n)
2 0
1i n x
f ( x) e
dx
C ( 0) 0
C ( 1) 3.183i
C ( 2) 0
C ( 3) 1.061i
C ( 4) 0
C ( 5) 0.637i
C ( 6) 0
C ( 7) 0.455i
C ( 1) 3.183i
C ( 2) 0
C ( 3) 1.061i
C ( 5) 0.637i
C ( 6) 0
C ( 7) 0.455i
C (4) 0