MATH 414 Lecture 7

From Notes
Jump to navigation Jump to search

« previous | Wednesday, January 29, 2014 | next »


Last Time

Standard Interval

−π≤x≤π

f(x)=a0+∑n=1∞ancos⁡(nx)+bnsin⁡(nx)a0=12π∫−ππf(x)dxan=1π∫−ππf(x)cos⁡(nx)dxbn=1π∫−ππf(x)sin⁡(nx)dx

Scaled Interval

−c≤x≤c

If we let t=πcx, then x=cπ, and evaluating our expressions with respect to t yields.

f(x)=a0+∑n=1∞ancos⁡(nπcx)+bnsin⁡(nπcx)a0=12a∫−aaf(x)dxan=1a∫−aaf(x)cos⁡(nπax)dxbn=1a∫−aaf(x)sin⁡(nπax)dx


Example

f(x)={10≤x≤10otherwisex∈[−2,2]

In this case, a=2, so

a0=12⋅2∫−22f(x)dx=14

an=12∫−22f(x)cos⁡(nπx2)dx=12∫01cos⁡(nπx2)dx=1nπsin⁡(nπ2)

bn=12∫−22f(x)sin⁡(nπx2)dx=12∫01sin⁡(nπx2)dx=1nπ(1−cos⁡(nπ2))

Hence

f(x)=14+∑n=1∞sin⁡(nπ2)npicos⁡(nπx2)+1−cos⁡(nπ2)nπsin⁡(nπx2)


Shifted Interval

Lemma. Let F(x) be a 2π-periodic function. Then

∫−π+cπ+cF(x)dx=∫−ππF(x)dx=∫0πF(x)dx

In other words, ∫−π+cπ+cF(x)dx is independent of c.

Proof. Let G(c)=∫−π+cπ+cF(x)dx.

dGdc=ddc(∫0π+cF(x)dx)−ddc(∫0c−πF(x)dx)=F(π+c)−F(c−π)=F(π+c)−f(c+π)=0
quod erat demonstrandum


Periodic Extension

Suppose f(x) is defined on 0≤x≤2π and undefined elsewhere.

A periodic extension basically copies the defined part of the function into the undefined part

If the period of a function is T, then

f(t)=a0+∑n=1∞ancos⁡(2πntT)+bnsin⁡(2πntT)
an=1(T2)∫0Tf(t)cos⁡(2πntn)
bn=1(T2)∫0Tf(t)sin⁡(2πntn)


Example

For example, take f(x)=x

Then f(x)=a0+∑n=1∞ancos⁡nx+bnsin⁡nx

bn=1π∫02πxsin⁡nxdx

etc...

In the end, we have f(x)=π−∑n=1∞2sin⁡nxn