Fourier spectral system for a cosine-modulated second derivative
= Fourier spectral system for a cosine-modulated second derivative
{c}
For the two-periodic problem
$$
-\frac{1+2\cos\pi x}{\pi^2}u''+u=f,
$$
the Fourier coefficients satisfy the tridiagonal system
$$
(m-1)^2\widehat u_{m-1}
+(m^2+1)\widehat u_m
+(m+1)^2\widehat u_{m+1}
=\widehat f_m,
\qquad m\in\mathbb Z.
$$