Lecture 6 Intro to Fourier Series Im now

  • Slides: 14
Download presentation
Lecture 6 Intro to Fourier Series I’m now setting homework 1 for submission 31/10/08

Lecture 6 Intro to Fourier Series I’m now setting homework 1 for submission 31/10/08 Today • Introduction to Fourier analysis

Fourier Series Music is more than just pitch and amplitude………it’s also about timbre. The

Fourier Series Music is more than just pitch and amplitude………it’s also about timbre. The richness of a sound or note produced by a musical instrument is described in terms of a sum of a number of distinct frequencies called harmonics. The lowest frequency is called the fundamental frequency and the pitch it produces is used to name the note. The balance of the amplitudes of the different harmonic frequencies is responsible for the characteristic sound of each instrument. Each instrument below is playing a single note middle C (261 Hz) Signal generator Classical guitar What do you think is best instrument to demonstrate timbre? Piano Bagpipes

Fourier Series A single note will contain different fractions of each harmonic 1 st

Fourier Series A single note will contain different fractions of each harmonic 1 st harmonic f =261 Hz 2 nd harmonic f =522 Hz 3 rd harmonic f =783 Hz 4 th harmonic f =1044 Hz Summed harmonics A key point to notice is that the summed output will repeat with the period of the 1 st harmonic

Fourier Series Fourier made the bold claim that any repeating pattern could therefore be

Fourier Series Fourier made the bold claim that any repeating pattern could therefore be represented by a summed series of cosine and sine terms with a term a 0 added to the sum to adjust the baseline if needed. bn w an Sine terms Cosine terms w http: //www. univie. ac. at/future. media/moe/galerie/fourier. html http: //www. falstad. com/fourier/

Fourier Series Fourier said Remember pattern will repeat with period of the (n =

Fourier Series Fourier said Remember pattern will repeat with period of the (n = 1) 1 st harmonic frequency w = w 1 so since we can write where T is the period of the repeating shape Here period of the shape is T= 6 f(t) t The excel datasheet Fourier_checker in Phils Problems lets you play with this

Fourier Series Fourier said Or if the pattern repeats with period L where L

Fourier Series Fourier said Or if the pattern repeats with period L where L is a distance we can write Here period of the shape is L = 4 f(x) x The excel datasheet Fourier_checker in Phils Problems lets you play with this

Applying the Fourier Series Try these integrals using the hints provided

Applying the Fourier Series Try these integrals using the hints provided

Fourier Series Summary Previous page Remember odd x even function Previous page

Fourier Series Summary Previous page Remember odd x even function Previous page

Finding coefficients of the Fourier Series…a 0 Remember how the Fourier series can be

Finding coefficients of the Fourier Series…a 0 Remember how the Fourier series can be written like this for a period L For simplicity let’s make L = 2 p so we can write… Take this equation and integrate both sides over a period Clearly on the RHS the only non-zero term is the a 0 term Hence we find

Finding coefficients of the Fourier Series…an Again let L = 2 p so we

Finding coefficients of the Fourier Series…an Again let L = 2 p so we can write… This time multiply both sides by cos(x) and integrate over a period On RHS, only the a 1 term survives as it is only term where n=1 (Orthogonality) Hence we find How to find all coefficients an is clear. To find a general expression multiply both sides of the Fourier series by cos(mx), then integrate over a period: On the RHS, only the m = n term survives the integration

Finding coefficients of the Fourier Series… In a similar way, multiplying both sides of

Finding coefficients of the Fourier Series… In a similar way, multiplying both sides of the Fourier series by sinmx, then integrating over a period we get: Summary The Fourier series can be written with period L as The Fourier series coefficients can be found by: - Let’s go through example 1 from notes…

Finding coefficients of the Fourier Series Find Fourier series to represent this repeat pattern.

Finding coefficients of the Fourier Series Find Fourier series to represent this repeat pattern. Steps to calculate coefficients of Fourier series 1 0 p 2 p 3 p x 1. Write down the function f(x) in terms of x. What is period? 2. Use equation to find a 0? 3. Use equation to find an? 4. Use equation to find bn? Period is 2 p

Finding coefficients of the Fourier Series 4. Use equation to find bn? 5. Write

Finding coefficients of the Fourier Series 4. Use equation to find bn? 5. Write out values of bn for n = 1, 2, 3, 4, 5, …. 6. Write out Fourier series with period L, an, bn in the generic form replaced with values for our example

Finding coefficients of the Fourier Series So what does the Fourier series look like

Finding coefficients of the Fourier Series So what does the Fourier series look like if we only use first few terms? Use Fourier_checker on Phils problems website 1 0 p 2 p 3 p x