Fourier Series — Question 4

PDF ↗

Question 4

Let f(x)=exf(x)=e^x for 0<x<20<x<2 and extend periodically with period 22. At each join assign the average (1+e2)/2(1+e^2)/2. Write f∼m+∑n≥1(ancos⁡(nπx)+bnsin⁡(nπx)),m=12∫02f,(an,bn)=∫02f(cos⁡(nπx),sin⁡(nπx)).f\sim m+\sum_{n\geq 1}\bigl(a_n\cos(n\pi x)+b_n\sin(n\pi x)\bigr), \quad m=\frac 12\int_0^2 f,\quad (a_n,b_n)=\int_0^2f(\cos(n\pi x),\sin(n\pi x)). Set E=e2−1E=e^2-1.

Tasks

  1. Derive m,an,bnm,a_n,b_n. Identify the series sum at the periodic join.

  2. Use integration by parts on f′=ff'=f inside (0,2)(0,2) to obtain two coefficient relations. Explain why omitting the boundary jump would incorrectly force every positive-frequency coefficient to zero.

  3. Find a continuous 22-periodic function FF with F′=f−mF'=f-m away from the joins and F(0)=0F(0)=0. Prove uniqueness under this normalization.

  4. Compute the mean and all Fourier coefficients of FF directly. Verify that differentiating its positive-frequency terms formally gives those of f−mf-m, and explain why ff itself cannot have a continuous periodic primitive.

Original worksheet page 1: question and worked solution for 8-6-004
Show solutionHide solution

Question 4 – Solution

Strategy. Keep the endpoint jump in integration by parts, and remove the mean before seeking a periodic primitive.

Step 1: Compute the full coefficients. For k=nπk=n\pi, exponential-trigonometric antiderivatives at 0,20,2 give m=E2,an=E1+k2,bn=−kE1+k2.\boxed{m=\frac E2,\qquad a_n=\frac E{1+k^2},\qquad b_n=-\frac{kE}{1+k^2}.} The Fourier sum at a join is (1+e2)/2(1+e^2)/2, since its two limits are e2e^2 and 11. The assigned join value does not enter any integral.

Step 2: Retain the boundary contribution. On the open interval, f′=ff'=f. Integration by parts gives ∫02f′cos⁡kx=E+k∫02fsin⁡kx,∫02f′sin⁡kx=−k∫02fcos⁡kx.\int_0^2 f'\cos kx=E+k\int_0^2 f\sin kx,\qquad \int_0^2 f'\sin kx=-k\int_0^2 f\cos kx. Thus an=E+kbna_n=E+kb_n and bn=−kanb_n=-ka_n, yielding the coefficients above. Dropping EE would give (1+k2)an=0(1+k^2)a_n=0 and then bn=0b_n=0. The periodic extension has a jump, so it is not a globally smooth periodic solution of f′=ff'=f.

Step 3: Construct the periodic primitive. Integrating the mean-zero forcing gives, on [0,2][0,2], F(x)=ex−1−E2x.\boxed{F(x)=e^x-1-\frac E2x.} Both endpoint values are zero, so its periodic extension is continuous. Two such primitives differ by a constant on each open period; continuity connects those constants, and F(0)=0F(0)=0 fixes the remaining freedom.

Step 4: Check the transformed coefficients. Direct integration gives mean M=−1M=-1. If An,BnA_n,B_n denote the coefficients of FF, the polynomial terms have zero cosine integral and ∫02xsin⁡kx=−2/k\int_0^2x\sin kx=-2/k. Consequently An=E1+k2,Bn=Ek(1+k2).\boxed{A_n=\frac E{1+k^2},\qquad B_n=\frac E{k(1+k^2)}.} Indeed kBn=ankB_n=a_n and −kAn=bn-kA_n=b_n. These are coefficient identities; the derivative equation is verified by the closed form on each open period. Finally, a continuous piecewise smooth periodic primitive of ff would have net change ∫02f=E≠0\int_0^2f=E\ne 0, which is impossible. Subtracting the mean is essential.

Original worksheet page 2: question and worked solution for 8-6-004

Original worksheet layout. Use Enlarge or open the PDF for a closer view.