Fourier Cosine Series — Question 1

Section 27-5 · Calculus pages 4801–4802

Show solutionHide solution

Question 1

For f(x)=xf(x)=x on [0,π][0,\pi], use the convention CN=a02+∑n=1Nancos⁡nx,an=2π∫0πf(x)cos⁡nxdx(n≥0).C_N=\frac{a_0}{2}+\sum_{n=1}^Na_n\cos nx,\qquad a_n=\frac 2\pi\int_0^\pi f(x)\cos nx\,dx\quad(n\geq 0). For piecewise smooth periodic extensions, the Fourier series converges to the average of its one-sided limits.

Tasks

  1. Compute a0a_0 and all ana_n, and identify the actual constant term. Explain the error caused by confusing a0a_0 with the mean.

  2. Describe the even 2π2\pi-periodic extension and determine the sum at the endpoints and inside the interval.

  3. Prove uniform convergence on [0,π][0,\pi] and give an explicit uniform tail bound. Sketch C12C_{12} and ff.

  4. Every CNC_N has zero endpoint derivatives. Does the limit inherit these slopes? Give a quantitative obstruction to uniform convergence of the derivatives to f′=1f'=1.

Question 1 – Solution

Strategy. Separate the mean convention from positive-frequency normalization, and distinguish function convergence from derivative convergence.

Step 1: Compute the mean and coefficients. The zero-frequency integral gives a0=πa_0=\pi, so the mean term is π/2\pi/2. Integration by parts for n≥1n\geq 1 gives ∫0πxcos⁡nxdx=(−1)n−1n2,an=2((−1)n−1)πn2.\int_0^\pi x\cos nx\,dx=\frac{(-1)^n-1}{n^2},\qquad \boxed{a_n=\frac{2((-1)^n-1)}{\pi n^2}.} Even modes vanish; odd coefficients are −4/(πn2)-4/(\pi n^2). Using a0a_0 in place of a0/2a_0/2 adds the erroneous constant π/2\pi/2.

Step 2: Identify the extension and its limits. The extension is |x||x| on [−π,π][-\pi,\pi], repeated with period 2π2\pi. It is continuous, with corners at multiples of π\pi. At zero its two limits are zero; at π\pi both are π\pi. Therefore x=π2−4π∑j=0∞cos⁡((2j+1)x)(2j+1)2,0≤x≤π.\boxed{x=\frac\pi 2-\frac 4\pi\sum_{j=0}^\infty \frac{\cos((2j+1)x)}{(2j+1)^2},\qquad 0\leq x\leq\pi.}

Step 3: Bound the uniform error. The bound |an|≤4/(πn2)|a_n|\leq 4/(\pi n^2) gives absolute uniform convergence by the Weierstrass test. The Fourier convergence theorem identifies the sum with ff, including the endpoints. For N≥1N\geq 1, ∥f−CN∥∞≤4π∑n>Nn−2≤4πN.\boxed{\|f-C_N\|_\infty\leq\frac 4\pi\sum_{n>N}n^{-2}\leq\frac 4{\pi N}.}

Step 4: Reject an unjustified derivative limit. Every finite derivative is a sine sum, so CN′(0)=CN′(π)=0C_N'(0)=C_N'(\pi)=0. The target has one-sided endpoint derivatives one. Thus sup⁡[0,π]|CN′−1|≥1\boxed{\sup_{[0,\pi]}|C_N'-1|\geq 1} for every NN. Uniform convergence of functions alone does not permit differentiating the limit or passing endpoint derivative conditions to it.

Diagram shown in the original SVG worksheet.