(i) Consider the Poisson equation
∇2u=f,−1⩽x,y⩽1
with the periodic boundary conditions
and the normalization condition
∫−11∫−11u(x,y)dxdy=0
Moreover, f is analytic and obeys the periodic boundary conditions f(−1,y)= f(1,y),f(x,−1)=f(x,1),−1⩽x,y⩽1.
Derive an explicit expression of the approximation of a solution u by means of a spectral method. Explain the term convergence with spectral speed and state its validity for the approximation of u.
(ii) Consider the second-order linear elliptic partial differential equation
∇⋅(a∇u)=f,−1⩽x,y⩽1
with the periodic boundary conditions and normalization condition specified in (i). Moreover, a and f are given by
a(x,y)=cos(πx)+cos(πy)+3,f(x,y)=sin(πx)+sin(πy)
[Note that a is a positive analytic periodic function.]
Construct explicitly the linear algebraic system that arises from the implementation of a spectral method to the above equation.
u(−1,y)=u(1,y),ux(−1,y)=ux(1,y),−1⩽y⩽1,u(x,−1)=u(x,1),uy(x,−1)=uy(x,1),−1⩽x⩽1