Lecture 3.2: Computing Fourier series and exploiting symmetry - - PowerPoint PPT Presentation

lecture 3 2 computing fourier series and exploiting
SMART_READER_LITE
LIVE PREVIEW

Lecture 3.2: Computing Fourier series and exploiting symmetry - - PowerPoint PPT Presentation

Lecture 3.2: Computing Fourier series and exploiting symmetry Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4340, Advanced Engineering Mathematics M. Macauley (Clemson)


slide-1
SLIDE 1

Lecture 3.2: Computing Fourier series and exploiting symmetry

Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4340, Advanced Engineering Mathematics

  • M. Macauley (Clemson)

Lecture 3.2: Computing Fourier series & symmetry Advanced Engineering Mathematics 1 / 8

slide-2
SLIDE 2

Exploiting symmetry

There are many shortcuts to computing Fourier series: f (x) = a0

2 + ∞

  • n=1

an cos nπx

L +bn sin nπx L .

Definition

A function f : R → R is even if f (x) = f (−x) for all x ∈ R,

  • dd if f (x) = −f (−x) for all x ∈ R.

even

  • dd

neither xn (even n) xn (odd n) x2 + x3. cos nx sin nx einx (= cos nx + i sin nx) symmetric about y-axis symmetric about origin neither

Why we care

If f is even, then L

−L

f (x) dx = 2 L f (x) dx. If f is odd, then L

−L

f (x) dx = 0.

  • M. Macauley (Clemson)

Lecture 3.2: Computing Fourier series & symmetry Advanced Engineering Mathematics 2 / 8

slide-3
SLIDE 3

Exploiting symmetry: f (x) = a0

2 + an cos nπx L + bn sin nπx L

Big shortcut

If f is even, then every bn = 0: bn =

  • f , sin nπx

L

  • = 1

L L

−L

f (x) sin nπx

L

  • even · odd = odd

dx = 0. If f is odd, then every an = 0: an =

  • f , cos nπx

L

  • = 1

L L

−L

f (x) cos nπx

L

  • dd · even = odd

dx = 0.

Small shortcut

If f is even, then an =

  • f , cos nπx

L

  • = 1

L L

−L

f (x) cos nπx

L

  • even · even = even

dx = 2 L L f (x) cos nπx

L

dx. If f is odd, then bn =

  • f , sin nπx

L

  • = 1

L L

−L

f (x) sin nπx

L

  • dd · odd = even

dx = 2 L L f (x) sin nπx

L

dx.

  • M. Macauley (Clemson)

Lecture 3.2: Computing Fourier series & symmetry Advanced Engineering Mathematics 3 / 8

slide-4
SLIDE 4

An odd square wave

Example 1

Consider the square wave of period 2 defined by f (x) =

  • 1

0 < x < 1 −1 −1 < x < 0

  • M. Macauley (Clemson)

Lecture 3.2: Computing Fourier series & symmetry Advanced Engineering Mathematics 4 / 8

slide-5
SLIDE 5

A sawtooth wave

Example 2

Consider the sawtooth wave defined by f (x) = x on (−L, L) and extended to be periodic.

  • M. Macauley (Clemson)

Lecture 3.2: Computing Fourier series & symmetry Advanced Engineering Mathematics 5 / 8

slide-6
SLIDE 6

An even function

Example 3

Consider the function defined by f (x) = x2 on [−1, 1] and extended to be periodic.

  • M. Macauley (Clemson)

Lecture 3.2: Computing Fourier series & symmetry Advanced Engineering Mathematics 6 / 8

slide-7
SLIDE 7

The average value of a Fourier series

Proposition

For any Fourier series f (x) = a0 2 +

  • n=1

an cos nπx

L

+ bn sin nπx

L ,

the average value of f (x) is a0 2 .

  • M. Macauley (Clemson)

Lecture 3.2: Computing Fourier series & symmetry Advanced Engineering Mathematics 7 / 8

slide-8
SLIDE 8

Exercise

Consider a Fourier series f (x) = a0 2 +

  • n=1

an cos nx + bn sin nx. What is the Fourier series of the function obtained by (i) reflecting f across the y-axis? (ii) reflecting f across the x-axis? (iii) reflecting f across the origin?

  • M. Macauley (Clemson)

Lecture 3.2: Computing Fourier series & symmetry Advanced Engineering Mathematics 8 / 8