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=1ancos(nx)+bnsin(nx)a0=12πππf(x)dxan=1πππf(x)cos(nx)dxbn=1πππf(x)sin(nx)dx

Scaled Interval

cxc

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

f(x)=a0+n=1ancos(nπcx)+bnsin(nπcx)a0=12aaaf(x)dxan=1aaaf(x)cos(nπax)dxbn=1aaaf(x)sin(nπax)dx


Example

f(x)={10x10otherwisex[2,2]

In this case, a=2, so

a0=12222f(x)dx=14

an=1222f(x)cos(nπx2)dx=1201cos(nπx2)dx=1nπsin(nπ2)

bn=1222f(x)sin(nπx2)dx=1201sin(nπx2)dx=1nπ(1cos(nπ2))

Hence

f(x)=14+n=1sin(nπ2)npicos(nπx2)+1cos(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 0x2π 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=1ancos(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=1ancosnx+bnsinnx

bn=1π02πxsinnxdx

etc...

In the end, we have f(x)=πn=12sinnxn