Professional Documents
Culture Documents
113 114
1 π cos(nt)f (t) dt
an = π
R
−π
1 Rπ
bn = π −π sin(nt)f (t) dt
d = 2π 1 R π f (t) dt
−π
thus for n positive
1
cn = (an − ibn)
2 Z
1 π
= [cos(nt) − i sin(nt)] f (t) dt Complex Fourier Series Summary
2π Z−π
1 π −int
= e f (t) dt
2π −π 1 π −int
Z
cn = e f (t) dt
2π −π
for n negative
∞
cneint
X
1 f (t) =
cn = (a−n + ib−n)
2 Z n=−∞
1 π
= [cos(−nt) + i sin(−nt)] f (t) dt
2π Z−π
1 π −int
= e f (t) dt
2π −π
and for n = 0
c0 = d
1 π −0
Z
= e f (t) dt
2π −π
115 116
Complex Series Example 1
Finding the limit as n tends to 1
Find the complex Fourier series to model f (t) = sin(t).
1 π −int
Z
cn = e f (t) dt
2π −π 1 einπ − e−inπ
" #
cn =
1 π −int n2 − 1
Z
= e sin(t) dt 2π
2π −π
1 einπ − e−inπ
" #
Set n = 1 + ǫ and let ǫ tend to zero.
=
2π n2 − 1
1 eiπ(1+ǫ) − e−iπ(1+ǫ)
Which is zero when n does not equal 1 or −1. For c1 =
these two special cases we have to set n = 1 + ǫ 2π (1 + ǫ)2 − 1
and calculate the limit of cn as ǫ tends to zero. This 1 −eiπǫ + e−iπǫ
" #
gives us =
2π (1 + ǫ)2 − 1
1
1 −1 − iπǫ + 1 − iπǫ
c1 =
2i ≈
2π 1 + 2ǫ − 1
−1
c−1 = 1 −2iπǫ
2i ≈
Which means the complex Fourier series for f (t) = 2π 2ǫ
sin(t) is −i
∞ ≈
2
cneint
X
f (t) =
n=−∞ 1
≈
eit − e−it 2i
=
2i
117 118
Complex Series Example 2 Converting c to a, b and d
Find the complex Fourier f(x) From our example on the previous page.
series to model f (x) that 1 h i
has a period of 2π and is 1 i −inT − 1 , when n 6= 0
2πn e
when 0 < x < T and zero cn =
when T < x < 2π. x 1 area = T
, when n = 0
T 2π 2π 2π
1 π −int
Z
cn = e f (t) dt We wish to calculate the coefficients for the equivalent
2π −π
i h −inT i Fourier series in terms of sin() and cos().
= e − 1 , when n 6= 0
2πn
T . For n > 0
Clearly d = c0 = 2π
1 T
= area = , when n = 0
2π 2π
cn = (an − ibn)/2
⇒ an = 2 Re{cn}
So the Fourier series is
∞ and bn = −2 Im{cn}
cneint
X
f (t) = converting our expression for cn into sin() and cos():
n=−∞
i
−1 2cn = [cos(nT ) − i sin(nT ) − 1]
1 i h −inT πn
− 1 eint
X i
= T+ e 1
2π n=−∞ n = [sin(nT ) + i(cos(nT ) − 1)]
∞
πn
i −inT
− 1 eint
X h i
+ e sin(nT ) 1 − cos(nT )
n=1 n
so an = and bn = .
nπ nπ
119 120
Converting from Real to Complex
Convert the real Fourier se-
f(t)
1
ries of the square wave
Complex Fourier Series
f (t) to a complex series. −1 t
−2π −π π 2π
−1
1 i h −inT
− 1 eint
X i
f (t) = T+ e For the real series, we know that d = an = 0 and
2π n=−∞ n
1 π 4
Z
∞ bn = sin(nt)f (t) dt = , n odd
i h −inT
− 1 eint
X i
+ e π −π nπ
n=1 n
4 sin(3t) sin(5t)
h i
giving f (t) = π sin(t) + 3 + 5 + . . .
123 124
Example 2
Hence the complex Fourier series is
Find the complex Fourier
f(x)
∞ 2π 1
cneint L
X
f (t) = series of the the square
n=−∞ wave f (x). −L −1 x
∞
sinh(1)eintπ
X
L
= 2 2
n=−∞ 1 + n π Note that the mean of the function is zero, so c0 = 0.
1 L −inx 2π
Z
cn = e L f (x) dx
We can check this answer by computing the equiv- L 0
alent real Fourier series which we calculated at the
"Z #
1 L/2 Z L
−inx 2π −inx 2π
start of section 7. = e L dx − e L dx
L 0 L/2
an = 2 Re{cn} , n = 1, 2, 3, . . . 1 h −2inπ
+ 1 − 2e−inπ
i
bn = −2 Im{cn} , n = 1, 2, 3, . . . = e
2inπ
d = c0 h i
∞ 1 − e−inπ 2π
einx L
X
In this case, as cn is entirely real, f (x) =
n = −∞ inπ
2 sinh(1) n 6= 0
an = 2cn = , n = 1, 2, 3, . . .
1 + n2 π 2 2π 2π 2π
2 e−5ix L e−3ix L e−ix L
bn = 0 f (x) = ... + + +
iπ −5 −3 −1
ix 2π 3ix 2π 5ix 2π
d = sinh(1) e L e L e L
+ + + + . . .
1 3 5
125 126
Converting to a Real Series
Section 8: Summary
We wish to convert the complex general range square
wave series into a series with real coefficients. For period L
1 L −inx 2π
( Z
2/(inπ) , |n| odd cn = e L f (x) dx
cn = L 0
0 , |n| even
∞ 2π
cneinx L
X
Clearly d = c0 = 0. For a and b use: f (x) =
n=−∞
cn = (an − ibn)/2
⇒ an = 2 Re{cn} = 0 Relationship with the cos/sin Fourier series.
4
and bn = −2 Im{cn} = , n odd
nπ d
,n=0
cn = (an − ibn) /2 , n = 1, 2, 3, . . .
Which gives us the real series:
(a−n + ib−n) /2 , n = −1, −2, −3, . . .
sin 3x 2π
4 2π
L
f (t) = sin x +
π L 3 an = 2 Re{cn} , n = 1, 2, 3, . . .
sin 5x 2π
bn = −2 Im{cn} , n = 1, 2, 3, . . .
L
+ + . . . d = c0
5
127 128