Does there exist a twice differentiable periodic function $f$ such that $f''(x) + f(x) =\sin(x)$ for all $x \in [-\pi, \pi]$?
How to solve this differential equation using Fourier series? I know only basics of Fourier analysis. I don`t know any inversion formula for Fourier series.
The solution would be:
$$f(x) = -\frac{1}{2}x \cos(x) + C_1\sin(x) + C_2\cos(x)$$
Where the $C_1\sin(x) + C_2\cos(x)$ part is the solution to the homogeneous equation. Using Fourier Series naively, one runs into problems due to the $n = 1$ term having no solution.