Is possible solving the poisson equation with Fourier transform?
For example, with application of the Fourier transform, the problem \begin{align} (1-\partial_x^2)u=f \end{align} with $f\in L^2(\mathbb{R})$ is converted
\begin{align} (1+\xi^2)\widehat{u}=\widehat{f} \end{align} then the solution is \begin{align} u_f=\mathcal{F}^{-1}\left( \frac{1}{1+\xi^2}\widehat{f}\right) \end{align}
Now, \begin{align} -\partial_x^2u=f \end{align}
\begin{align} u_f=\mathcal{F}^{-1}\left( \frac{1}{\xi^2}\widehat{f}\right) \end{align} but, there is a singularity in the origin. How can I get solving this trouble? any reference? Thanks!
Finally, something that I can answer. This was a problem I ran into when implementing the Vorticity-Streamfunction Algorithm for 2D Fluid Dynamics. $$ \nabla^2 \left[ \psi(x, y) \right] = - \omega(x, y) $$ $$ \frac{\partial^2}{\partial x^2} \left[ \psi(x, y) \right] + \frac{\partial^2}{\partial y^2} \left[ \psi(x, y) \right] = - \omega(x, y) $$ By discretizing $\psi(x, y)$ to $\psi(x_i, y_j) = \psi_{ij}$: $$ \psi_{ij} = \text{ifft2} \left[ \Psi_{pq} \right] = \text{ifft2} \left[ \frac{ - \Omega_{pq}}{- k_p^2 - k_q^2} \right] $$
Now, you would be correct that there is a singularity at $p=q=0$, but my question to you is, does that matter? In my case, because I would then be taking derivatives of $\psi_{ij}$, rather than using the actual value, it didn't. And so, if we just force the following: $$ \Psi_{00} = \frac{-\Omega_{00}}{-k_0^2 - k_0^2} = 0 \neq \infty $$ Our recovered $\psi_r$ will be the analytical $\psi_a$ minus the average $\bar{\psi}$, as the $\Psi_{00}$ value is the 'DC' value. If the average is zero anyways, then $\psi_r = \psi_a$. Hopefully that helps. Let me know if I can clarify anything.