Past exam question: 2081 Chaitra (Regular), Q6
Engineering Mathematics III · 4 marks
Open in the Padhaiko appTopic: Fourier Series & Integrals
QuestionFind the Fourier series for f(x)=x2 in the interval −π<x<π and deduce the relation 12π2=121−221+321−421+⋯
Solution
Parity Analysis & Fourier Expansion Setup: Since f(−x)=(−x)2=x2=f(x), the function f(x)=x2 is an even function on the symmetric interval (−π,π).
Consequently, all sine coefficients vanish identically:
The Fourier cosine series representation is:
x2=2a0+n=1∑∞ancos(nx)
Computing the Constant Term a0: By the even function property:
a0=π1∫−ππx2dx=π2∫0πx2dx=π2[3x3]0π=π2(3π3)=32π2
Computing the Fourier Cosine Coefficient an: Using the even property:
an=π1∫−ππx2cos(nx)dx=π2∫0πx2cos(nx)dx
Applying generalized integration by parts with u=x2 and dv=cos(nx)dx:
uu′u′′=x2,=2x,=2,v1v2v3=nsinnx=−n2cosnx=−n3sinnx
an=π2[x2(nsinnx)−(2x)(−n2cosnx)+(2)(−n3sinnx)]0π=π2[nx2sinnx+n22xcosnx−n32sinnx]0π
Evaluating Limits for an: Since sin(nπ)=sin(0)=0 and cos(nπ)=(−1)n:
an=π2[(0+n22π(−1)n−0)−(0+0−0)]=π2(n22π(−1)n)=n24(−1)n
Assembling the Fourier Series: Substituting a0=32π2 and an=n24(−1)n:
x2=2a0+n=1∑∞ancos(nx)=3π2+n=1∑∞n24(−1)ncos(nx)=3π2−4(12cosx−22cos2x+32cos3x−42cos4x+⋯)
Deducing the Alternating Sum at x=0: Since f(x)=x2 is continuous at x=0, the series converges to f(0)=0:
04(121−221+321−421+⋯)121−221+321−421+⋯=3π2−4(121−221+321−421+⋯)=3π2=12π2
Answer: x2=3π2+4n=1∑∞n2(−1)ncos(nx),12π2=121−221+321−421+⋯
All past exam questions for Engineering Mathematics III