Sie sind auf Seite 1von 4

LECTURE 43

FOURIER SERIES PART II


Suppose that a function f has period T = 2. Then f may be approximated by the Fourier
series
f(x) = a
0
+

n=1
(a
n
cos nx + b
n
sin nx)
where the Fourier coecients a
0
, a
n
and b
n
are given by
a
0
=
1
2

f(x) dx
a
n
=
1

f(x) cos nxdx (n = 1, 2, 3, . . . )


b
n
=
1

f(x) sin nxdx (n = 1, 2, 3, . . . )

.
Odd functions have odd series f(x) =

n=1
b
n
sin nx
Even functions have even series f(x) = a
0
+

n=1
a
n
cos nx
In this lecture we will prove some of the claims of the last lecture and also develop some
shortcuts which can sometimes be used the cut down on the laborious calculations often
required when nding Fourier series. We will still be assuming throughout this lecture
that f has period 2. This will be generalised in the next lecture however it should be
noted at this stage that we only need to make small modications to our formulae to deal
with arbitrary periodic functions.
Example 1 Fully describe each of the following sequences
i) {sin n}

n=1
ii) {cos n}

n=1
iii) {sin
n
2
}

n=1
iv) {cos
n
2
}

n=1
1
Example 2 Prove that

sin nxcos mxdx = 0


for all m = 1, 2, 3, . . . and n = 1, 2, 3, . . .
Example 3 Prove that

cos mxdx = 0
for all m = 1, 2, 3, . . .
Example 4 Prove that

cos nxcos mxdx =

0, if m = n;
, if m = n.
We say that cos nx and cos mx are orthogonal functions. We are now in a position to
prove the formula for a
n
.
2
Example 5 Let
f(x) = a
0
+

n=1
(a
n
cos nx + b
n
sin nx)
By multiplying both sides of this equation by cos mx and integrating from to show
that
a
m
=
1

f(x) cos mxdx (m = 1, 2, 3, . . . )


The other formulae for a
0
and b
n
are similarly veried. Note that when we calculate
a
n
all we really end up doing is integrating the function f against cos nx which is of course
the very term for which a
n
is the coecient!
Another crucial observation to make is that since f, cos nx, and sin nx all repeat every
2 units, the integrals in the Fourier series formulae may be taken over any interval of
length 2. So the equations could also be written as
a
0
=
1
2
2

0
f(x) dx
a
n
=
1

0
f(x) cos nxdx (n = 1, 2, 3, . . . )
b
n
=
1

0
f(x) sin nxdx (n = 1, 2, 3, . . . )

.
3
We close with an example which will display quite clearly that when you start with
and even or an odd function f the amount of work required to calculate the Fourier
series can be greatly reduced just by using a few simple tricks.
Example 6 Suppose that f(x) =

x x < ;
f(x + 2) otherwise.
Sketch f and nd its Fourier series.
b
n
=
2(1)
n+1
n
; a
0
= a
n
= 0
f(x) = 2 sin x sin 2x +
2
3
sin 3x
Note that for all odd functions a
0
= a
n
= 0 and that for all even functions b
n
= 0. In
other words an odd function will have an odd Fourier series made up entirely of sins and
an even function will have an even Fourier series consisting of a constant a
0
and coss. If
a function is neither odd nor even then you are up for a lot of work!
The following links are to some interesting applets on Fourier series:
http://www.falstad.com/fourier/
http://www.univie.ac.at/future.media/moe/galerie/fourier/fourier.html
4

Das könnte Ihnen auch gefallen