I have some troubles concerning the following question:
Let $\phi \in C_c^\infty(\mathbb{R^n})$. Prove using the Fourier transform that the Poisson equation $\Delta f=\phi$ has at most one solution $f$ that satisfies in addition $f\in S(\mathbb{R^n})$. Show that such a solution does not exist if $$\int_{\mathbb{R^n}}\phi(x)dx\neq0.$$
My problem is that I do not know how to start, I think $f$ is only twice continuously differentiable, so how to proceed. I have seen that any constant differential operator is injective from $C_c^\infty(\mathbb{R^n})$ to $C_c^\infty(\mathbb{R^n})$ (and from $S(\mathbb{R^n})$ to $S(\mathbb{R^n})$), but here I do not have sufficient information on $f$.
EDIT: Show that such a solution does not exist if $\int_{\mathbb{R^n}}\phi(x)dx\neq0.$, I was able to proof this. MY QUESTION, since I have some troubles with english..., do we assume that $f$ is a Schwartz function, or do I have to prove it? Thanks in advance.