Fourier Series
description
Transcript of Fourier Series
![Page 1: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/1.jpg)
1
Fourier SeriesOr
How I Spent My Summer Vacation(the 2 weeks after the AP Exam)
Kevin BartkovichPhillips Exeter Academy
![Page 2: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/2.jpg)
2
Background
• Taylor Series– Polynomials– Derivatives – Equality of derivatives at a point
• Fourier Series– Sines and cosines– Integrals– Equality of integrals over an interval of one period
![Page 3: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/3.jpg)
3
Definition
or
![Page 4: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/4.jpg)
4
How to determine coefficients
Assume we are approximating a function f that is periodic with period for .
We equate integrals over the period rather than derivatives at a point:
2 ],[ x
![Page 5: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/5.jpg)
5
We can immediately solve for the constant term since all the sine and cosine terms integrate to 0, which yields
so that
![Page 6: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/6.jpg)
6
Strategy for other terms
Multiply by cosx and integrate:
Which yields
![Page 7: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/7.jpg)
7
Why cos(mx)cos(nx) vanishes
cos(mx + nx) = cos(mx)cos(nx) – sin(mx)sin(nx)cos(mx – nx) = cos(mx)cos(nx) + sin(mx)sin(nx)cos(mx + nx) + cos(mx – nx) = 2 cos(mx)cos(nx)
0))sin((1))sin((121
))cos()(cos(21)cos()cos(
xnmnm
xnmnm
dxnxmxnxmxdxnxmx
![Page 8: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/8.jpg)
8
Likewise, we can multiply by sinx and integrate to find that
We can create similar integrals for all of the terms by multiplying by cos(kx) or sin(kx), in which all the terms integrate to 0 – except for cos2(kx) or sin2(kx) – which integrate to π.
![Page 9: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/9.jpg)
9
General Form for Coefficients
![Page 10: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/10.jpg)
10
Example: Square WaveModel a periodic square wave with amplitude 1
over the interval –π ≤ x ≤ π:
This is an odd function, so its integral is 0; thus a0 = 0.
Multiplying by coskx will also yield an odd function, so ak = 0 for all k.
-7 -5 -3 -1 1 3 5 7
-1
-0.5
0
0.5
1f(x)
![Page 11: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/11.jpg)
11
On the other hand, multiplying by sinkx yields an even function that has an integral of 0 if k is even and 4/k if k is odd.
Thus:bk =
The Fourier Series is:
Fourier series examples.xlsx
k4
)5sin(
51)3sin(
31)sin(4)( xxxxF
![Page 12: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/12.jpg)
12
Example: Sawtooth Wave
Suppose we create a Fourier Series of alternating sine curves:
Fourier series examples.xlsx
4)4sin(
3)3sin(
2)2sin()sin(2)( xxxxxF
![Page 13: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/13.jpg)
13
Frequency Domain
We can combine akcos(kx) + bksin(kx) into a single sinusoid, which can be written as
Akcos(kx - φ),
which has amplitude
and phase shift
.
![Page 14: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/14.jpg)
14
How to Find the kth Harmonic
.tan ratiosBy
. and
)sin(cos so
)sin( and )cos()sin()sin()cos()cos()cos(
22
222222
k
k
kkk
kkkk
kkkk
kkk
abbaA
AAba
AbAakxAkxAkxA
![Page 15: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/15.jpg)
15
Example: Noise Filter
A Fourier Series allows us to transform a waveform from the time domain (amplitude vs. time) to the frequency domain (amplitude of the kth harmonic vs. k).
Example: Filter out random errors in a signal composed of a sum of various sinusoids.Fourier series error filter.xlsx
![Page 16: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/16.jpg)
16
Student Projects• VibratoFourier and vibrato.pptx
• Cell phone transmissionsCellphones Effect on Sounds.pptx
• Tideshttp://tidesandcurrents.noaa.gov/data_menu.shtml?stn=8423898 Fort Point,
NH&type=Historic+Tide+Data
![Page 17: Fourier Series](https://reader036.fdocuments.us/reader036/viewer/2022062521/5681668c550346895dda5033/html5/thumbnails/17.jpg)
17
Thank You!
http://faculty.kfupm.edu.sa/ES/akwahab/Frequency_Domain.htm