Fourier Cosine Series — Question 10

PDF ↗

Question 10

Samples at x0=π/6x_0=\pi/6, x1=π/2x_1=\pi/2, x2=5π/6x_2=5\pi/6 give the values (2,0,1)(2,0,1). Initially assume f=A+Bcos⁡x+Ccos⁡2xf=A+B\cos x+C\cos 2x and define ⟨u,v⟩d=13∑j=02u(xj)v(xj)\langle u,v\rangle_d=\frac 13\sum_{j=0}^2u(x_j)v(x_j).

Tasks

  1. List the sample vectors of 1,cos⁡x,cos⁡2x1,\cos x,\cos 2x. Verify discrete orthogonality and compute their squared norms.

  2. Recover A,B,CA,B,C from the discrete moments. Verify every sample and prove uniqueness within the assumed span.

  3. Drop the span restriction and exhibit infinitely many smooth functions with the same samples by adding an invisible cosine mode.

  4. Do nonnegative samples imply that the reconstructed function is nonnegative throughout [0,π][0,\pi]? Find its exact minimum using t=cos⁡xt=\cos x and explain what the samples do not certify.

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

Question 10 – Solution

Strategy. Distinguish reconstruction in a finite discrete basis from claims about unmeasured modes or intermediate values.

Step 1: Compute the discrete Gram data. The vectors are (1,1,1),(3/2,0,−3/2),(1/2,−1,1/2).(1,1,1),\qquad(\sqrt 3/2,0,-\sqrt 3/2),\qquad(1/2,-1,1/2). Their distinct dot products are zero. Dividing squared lengths by three gives squared norms 1,1/2,1/2\boxed{1,1/2,1/2}.

Step 2: Recover and verify the coefficients. The sample mean gives A=1A=1. Dividing each other discrete moment by 1/21/2 gives B=1/3,C=1,f=1+13cos⁡x+cos⁡2x.\boxed{B=1/\sqrt 3,\qquad C=1,\qquad f=1+\frac 1{\sqrt 3}\cos x+\cos 2x.} The values at the three nodes are 1+1/2+1/2=21+1/2+1/2=2, 1−1=01-1=0 and 1−1/2+1/2=11-1/2+1/2=1. Three nonzero orthogonal vectors are independent, so the coefficient triple is unique within the specified span.

Step 3: Exhibit the invisible smooth freedom. The function cos⁡3x\cos 3x vanishes at all nodes, whose tripled arguments are π/2,3π/2,5π/2\pi/2,3\pi/2,5\pi/2. Hence fD=f+Dcos⁡3x,D∈ℝ\boxed{f_D=f+D\cos 3x,\quad D\in\mathbb R} has the same samples. These are distinct smooth functions; reconstruction is not unique among all smooth functions.

Step 4: Check between-node positivity exactly. Since cos⁡2x=2t2−1\cos 2x=2t^2-1, the reconstructed function is 2t2+t/32t^2+t/\sqrt 3. Completing the square gives f=2(t+143)2−124.\boxed{f=2\left(t+\frac 1{4\sqrt 3}\right)^2-\frac 1{24}.} Its minimum is −1/24-1/24, attained at the interior point x=arccos⁡(−1/(43))x=\arccos(-1/(4\sqrt 3)). Nonnegative samples therefore fail to certify nonnegativity between the nodes, even for this unique finite-span reconstruction.

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

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