Answer on Question #57660 – Math – Functional Analysis
Q.1: Find the Fourier series of f(x)=∣x∣ on [−π,π]
Q.2: Find the Fourier series of f(x)=2−x2 on (−2<x<2)
Solution
1.
a0=2π1∫−ππ∣x∣dx=π1∫0πxdx=2πan=π1∫−ππ∣x∣cosnxdx=π2∫0πxcosnxdx=π2[nxsinnx+n2cosnx]0π=−2πn2[1−(−1)n].bn=π1∫−ππ∣x∣sinnxdx
Before we dive into the integration observe that ∣x∣ defines an even function while sinnx defines an odd function. Since the product of an even and an odd function is odd, it follows that bn=0 for all n. This simple observation saves us from having to perform a rather laborious integration.
The Fourier series is given by
f(x)∼2π−n=1∑∞2πn2[1−(−1)n]cosnx.
2.
a0=41∫−222dx−41∫−22x2dx=241(x)−22−41(31x3)−22=2−121(8−(−8))=2−34=32.an=21∫−222cos(2πnx)dx−21∫−22x2cos(2πnx)dx=π2n216(−1)n+1.21∫−222cos(2πnx)dx=∫−22cos(2πnx)dx=nπ2(sin(2πnx))−22=nπ2(sin(πn)−sin(−πn))=nπ2(0−0)=021∫−22x2cos(2πnx)dx=21(nπ2(x2sin(2πnx))−22−nπ4∫−22xsin(2πnx)dx)=21(nπ8(sin(πn)−sin(−πn))−nπ4(−nπ2(xcos(2πnx))−22+nπ2∫−22cos(2πnx)dx))=21(nπ8(0−0)−nπ4(−nπ2(xcos(2πnx))−22+nπ2∫−22cos(2πnx)dx)).
We already know that
∫−22cos(2πnx)dx=0.21∫−22x2cos(2πnx)dx=π2n24(2cosπn−(−2)cos(−πn))=π2n216(−1)n.
Thus
an=0−π2n216(−1)n=π2n216(−1)n+1.bn=−21∫−22(2−x2)sin(2πnx)dx
Before we dive into the integration observe that 2−x2 defines an even function while sin(2πnx) defines an odd function. Since the product of an even and an odd function is odd, it follows that bn=0 for all n. This simple observation saves us from having to perform a rather laborious integration.
The Fourier series is given by
f(x)∼32+n=1∑∞π2n216(−1)n+1cos(2πnx).
www.AssignmentExpert.com
Comments