Fourier Cosine Series — Question 8

PDF ↗

Question 8

Initially ff is known to lie in span⁡{1,cos⁡x,cos⁡2x}\operatorname{span}\{1,\cos x,\cos 2x\} on [0,π][0,\pi]. Measurements give ∫0πf=π,∫0πfcos⁡x=π/4,∫0πf2=5π/4.\int_0^\pi f=\pi,\qquad \int_0^\pi f\cos x=\pi/4,\qquad \int_0^\pi f^2=5\pi/4. There is also a requirement f≥0f\geq 0.

Tasks

  1. Recover all functions in the stated span satisfying the measurements. Identify where a sign ambiguity enters.

  2. Decide whether nonnegativity eliminates either candidate. Prove the answer on the entire interval using t=cos⁡x∈[−1,1]t=\cos x\in[-1,1].

  3. A fourth measurement is f(π)=0f(\pi)=0. Find the unique candidate in the stated span and verify all the data.

  4. Remove the restriction to that span. Construct another nonnegative continuous function with all four measurements, and explain the limitation of the earlier uniqueness result.

Original worksheet page 1: question and worked solution for 8-5-008
Show solutionHide solution

Question 8 – Solution

Strategy. Linear moments preserve coefficient signs, while a squared-energy measurement can lose them.

Step 1: Solve the coefficient equations. Write f=A+Bcos⁡x+Ccos⁡2xf=A+B\cos x+C\cos 2x. Orthogonality gives A=1A=1, B=1/2B=1/2 and π[A2+(B2+C2)/2]=5π/4\pi[A^2+(B^2+C^2)/2]=5\pi/4. Thus C2=1/4C^2=1/4, leaving f±=1+12cos⁡x±12cos⁡2x.\boxed{f_\pm=1+\tfrac 12\cos x\pm\tfrac 12\cos 2x.} The energy measurement determines the magnitude, but not the sign, of CC.

Step 2: Test positivity without sampling. With t=cos⁡xt=\cos x, f+=t2+t/2+1/2=(t+1/4)2+7/16>0f_+=t^2+t/2+1/2=(t+1/4)^2+7/16>0. The other candidate is f−=3/2+t/2−t2f_-=3/2+t/2-t^2. This concave quadratic reaches its minimum on [−1,1][-1,1] at an endpoint, with values zero and one. Thus both candidates are nonnegative; positivity does not resolve the ambiguity.

Step 3: Apply the endpoint measurement. At π\pi, f+(π)=1f_+(\pi)=1 while f−(π)=0f_-(\pi)=0. Hence the unique candidate within the specified span is f=f−\boxed{f=f_-}. Its mean and first moment are the prescribed ones, and its squared norm is π(1+1/8+1/8)=5π/4\pi(1+1/8+1/8)=5\pi/4, verifying all four data.

Step 4: Remove the model restriction. The distinct function g=1+12cos⁡x−12cos⁡4x\boxed{g=1+\tfrac 12\cos x-\tfrac 12\cos 4x} has the same mean, first cosine moment and squared norm by orthogonality. Also g(π)=0g(\pi)=0 and g≥1−1/2−1/2=0g\geq 1-1/2-1/2=0 everywhere. Thus these measurements and nonnegativity do not give uniqueness among all continuous functions. The finite-span hypothesis was essential.

Original worksheet page 2: question and worked solution for 8-5-008

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