Series Fourier
Series Fourier
A function with period P means that f (x) = f (x + P ) for all x. Some well known periodic functions are listed below: Function Period Function Period
Note: If a function is periodic with period P then it also has periods 2P , 3P , 4P , and so on. If we set 2/a = P , or a = 2/P , we see from the above table that cos(2x/P ) and sin(2x/P ) both have period P . Similarly, cos(2nx/P ) and sin(2nx/P ), n = 1, 2, 3, . . ., both have period P/n and hence also have period P .
A function with period P means that f (x) = f (x + P ) for all x. Some well known periodic functions are listed below: Function Period Function Period sin x 2 cos x 2 sec x 2 tan x Note: If a function is periodic with period P then it also has periods 2P , 3P , 4P , and so on. If we set 2/a = P , or a = 2/P , we see from the above table that cos(2x/P ) and sin(2x/P ) both have period P . Similarly, cos(2nx/P ) and sin(2nx/P ), n = 1, 2, 3, . . ., both have period P/n and hence also have period P .
A function with period P means that f (x) = f (x + P ) for all x. Some well known periodic functions are listed below: Function Period Function Period sin x 2 sin ax 2/a cos x 2 cos ax 2/a sec x 2 tan x Note: If a function is periodic with period P then it also has periods 2P , 3P , 4P , and so on. If we set 2/a = P , or a = 2/P , we see from the above table that cos(2x/P ) and sin(2x/P ) both have period P . Similarly, cos(2nx/P ) and sin(2nx/P ), n = 1, 2, 3, . . ., both have period P/n and hence also have period P .
The essential idea behind Fourier series is to represent periodic functions in terms of a sum of well known periodic functions. Sines and cosines are chosen as they are smooth. If f (x) has period P we write 2nx 2nx f (x) = a0 + an cos + bn sin . P P n=1 Some people use a convention where in stead of a0 they have a0/2. Always check to see which convetion an author is using. This leaves the problem of how to nd a0, an and bn for a given function . . .
f (x) dx =
0 0
dx
f (x) dx =
0 0
dx
Assuming you can swap the order of integration and the summations we get
P P
f (x) dx =
0 0
a0 dx
P
+
n=1
an
0
2nx dx + bn cos P
P 0
2nx sin dx . P
But
P 0
P 0
P (sin 2n sin 0) = 0, = 2n
and
P 0
P 0
P (cos 2n cos 0) = 0, = 2n
giving
P
f (x) dx = P a0
0
or
1 a0 = P
f (x) dx.
0
(1)
To nd all the other an and bn we need to use the trigonometrical relations 1 cos A cos B = (cos(A + B ) + cos(A B )) , 2 1 sin A sin B = (cos(A B ) cos(A + B )) , 2 1 sin A cos B = (sin(A + B ) + sin(A B )) . 2
To nd an consider
P 0
=
0
2mx cos P
dx.
Again, assuming we can swap the order of integration and summation, we obtain
P 0
P 0
2mx cos dx P
P 0
+
n=1
an
0
2mx = a0 cos dx P 0 an P 2(m + n)x 2(m n)x + cos + cos dx 2 0 P P n=1 2(m + n)x 2(m n)x + bn sin sin dx. P P 0 Since m and n are both positive integers we have seen already that all these integrals are zero except for the cases where m = n. In the case m = n the sine integral is obviously 0, but cos(2(m n)x/P ) = 1 and so that integral gives P . Hence
P 0 P
10
or 2 an = P Similarly we nd 2 bn = P
0
(2)
P 0
(3)
The integrals for a0, an and bn given above are all over the interval from 0 to P . However as all the functions involved are periodic with period P they can be taken over any interval of length P . You are free to choose the interval to make the calculations involved easier for youself.
11
Equations (1), (2) and (3) are called the Euler formulas for the Fourier coecients.
11
Equations (1), (2) and (3) are called the Euler formulas for the Fourier coecients.
Example: Sketch the periodic function with period 2 given by f (x) = Find its Fourier series. 1 < x 0 +1 0 < x