fourier series - school of mathematics | the university of ... fourier he his best known for fourier...

32
Fourier series Prof. Bill Lionheart School of Mathematics The University of Manchester

Upload: vanthuan

Post on 09-May-2018

216 views

Category:

Documents


3 download

TRANSCRIPT

Fourier series

Prof. Bill LionheartSchool of MathematicsThe University of Manchester

1

Joseph Fourier

2

Joseph Fourier

• Jean Baptiste Joseph Fourier (21 March 1768 - 16 May 1830)was a French mathematician and physicist

2

Joseph Fourier

• Jean Baptiste Joseph Fourier (21 March 1768 - 16 May 1830)was a French mathematician and physicist

• He was also a civil servant and Napoleon sent him to be governorof Egypt...

2

Joseph Fourier

• Jean Baptiste Joseph Fourier (21 March 1768 - 16 May 1830)was a French mathematician and physicist

• He was also a civil servant and Napoleon sent him to be governorof Egypt...

...where in his spare time he founded Egyptology!

2

Joseph Fourier

• He his best known for Fourier series A way of writing a functionas a sum of frequency components, that is sum of sine waves ofdifferent frequencies

3

Joseph Fourier

• He his best known for Fourier series A way of writing a functionas a sum of frequency components, that is sum of sine waves ofdifferent frequencies

• The mathematics of Fourier series under-pin much of digitalaudio including

3

Joseph Fourier

• He his best known for Fourier series A way of writing a functionas a sum of frequency components, that is sum of sine waves ofdifferent frequencies

• The mathematics of Fourier series under-pin much of digitalaudio including

• Mobile phones

3

Joseph Fourier

• He his best known for Fourier series A way of writing a functionas a sum of frequency components, that is sum of sine waves ofdifferent frequencies

• The mathematics of Fourier series under-pin much of digitalaudio including

• Mobile phones

• MP3 players

3

Can we write a function as a series of sine and cosines?Given a function f (x) defined for 0 ≤ x ≤ 2π we want to write

it as a sum of “frequency components”, that is cosx, cos 2x,cos 3xetc and sinx, sin 2x,sin 3x.

For example consider

sinx +1

3sin 3x +

1

5sin 5x + · · ·

4

Sums of frequency componentssinx

5

Sums of frequency componentssin 3x

6

Sums of frequency componentssinx + (1/3) sin 3x

7

Sums of frequency componentssinx + (1/3) sin 3x + (1/5) sin 5x

8

Sums of frequency componentssinx + (1/3) sin 3x + · · · + (1/21) sin 21x

9

Square waveWe see that

sinx + (1/3) sin 3x + (1/5) sin 5x + · · · x

tends to the “square wave” function.

f (x) =

1 0 ≤ x < π−1 π ≤ x ≤ 2π

]

10

Sawtooth wave

sinx

]

11

Sawtooth wave

sinx− (1/9) sin 3x

]

12

Sawtooth wave

sinx− (1/9) sin 3x+ (1/25) sin 5x− (1/49) sin 7x+ (1/81) sin 9x

]

13

Sawtooth wave

sinx− (1/9) sin 3x + · · · − (1/192) sin 19x

]

14

Fourier Series Derivation

f (x) =a0

2+∞∑k=1

ak cos kx + bk sin kx

15

Fourier Series Derivation

f (x) =a0

2+∞∑k=1

ak cos kx + bk sin kx

2π∫0f (x) cosmxdx =

15

Fourier Series Derivation

f (x) =a0

2+∞∑k=1

ak cos kx + bk sin kx

2π∫0f (x) cosmxdx =

=2π∫0

a0

2cosmxdx+

∞∑k=1

2π∫0ak cos kx cosmxdx+

2π∫0bk sin kx cosmxdx

15

Fourier Series Derivation

f (x) =a0

2+∞∑k=1

ak cos kx + bk sin kx

2π∫0f (x) cosmxdx =

=2π∫0

a0

2cosmxdx+

∞∑k=1

2π∫0ak cos kx cosmxdx+

2π∫0bk sin kx cosmxdx

= 0 +∞∑k=1

ak2π∫0

cos kx cosmxdx + bk2π∫0

sin kx cosmxdx

15

Remember...What is cosA cosB?

16

Remember...What is cosA cosB?

cos(A +B) = cosA cosB − sinA sinB

so

16

Remember...What is cosA cosB?

cos(A +B) = cosA cosB − sinA sinB

so

cos(A +B) + cos(A−B) = 2 cosA cosB

16

Remember...What is cosA cosB?

cos(A +B) = cosA cosB − sinA sinB

so

cos(A +B) + cos(A−B) = 2 cosA cosB

and we see that

22π∫0

cosmx cosnx dx =2π∫0

cos(m + n)x dx +2π∫0

cos(m− n)x dx

16

Remember...What is cosA cosB?

cos(A +B) = cosA cosB − sinA sinB

so

cos(A +B) + cos(A−B) = 2 cosA cosB

and we see that

22π∫0

cosmx cosnx dx =2π∫0

cos(m + n)x dx +2π∫0

cos(m− n)x dx

= 0, if m 6= n

16

Remember...What is cosA cosB?

cos(A +B) = cosA cosB − sinA sinB

so

cos(A +B) + cos(A−B) = 2 cosA cosB

and we see that

22π∫0

cosmx cosnx dx =2π∫0

cos(m + n)x dx +2π∫0

cos(m− n)x dx

= 0, if m 6= n

but if m = n it is2π∫0

1 dx = 2π

16

Fourier Series Derivation

f (x) =a0

2+∞∑k=1

ak cos kx + bk sin kx

2π∫0f (x) cosmxdx =

=2π∫0

a0

2cosmxdx+

∞∑k=1

2π∫0ak cos kx cosmxdx+

2π∫0bk sin kx cosmxdx

= 0 +∞∑k=1

ak2π∫0

cos kx cosmxdx + bk2π∫0

sin kx cosmxdx

17

Fourier Series Derivation

f (x) =a0

2+∞∑k=1

ak cos kx + bk sin kx

2π∫0f (x) cosmxdx =

=2π∫0

a0

2cosmxdx+

∞∑k=1

2π∫0ak cos kx cosmxdx+

2π∫0bk sin kx cosmxdx

= 0 +∞∑k=1

ak2π∫0

cos kx cosmxdx + bk2π∫0

sin kx cosmxdx

= πam

17