I was trying to solve this problem:
By taking the Fourier transform of the equation $$\frac{d^2\phi}{dx^2}-K^2\phi=f(x)$$ show that its solution, $\phi(x)$, can be written as $$\phi(x)=\frac{-1}{\sqrt{2\pi}}\int^{+\infty}_{-\infty} \frac{e^{ikx}\tilde{f(k)}}{k^2+K^2}dk$$ where $\tilde{f(k)}$ is the Fourier transform of $f(x)$.
I tried this but I'm stuck..
Could someone show me how to take this Fourier transform?
$$\frac{1}{\sqrt{2\pi}}\int^{+\infty}_{-\infty} \frac{d^2\phi}{dx^2}-K^2\phi e^{-iwx} dx = \frac{1}{\sqrt{2\pi}}\int^{+\infty}_{-\infty}f(x)e^{-iwx}dx $$
$$\frac{1}{\sqrt{2\pi}}\int^{+\infty}_{-\infty} \frac{d^2\phi}{dx^2} e^{-iwx}dx- \frac{1}{\sqrt{2\pi}}\int^{+\infty}_{-\infty} K^2\phi e^{-iwx} dx = \frac{1}{\sqrt{2\pi}}\int^{+\infty}_{-\infty}f(x)e^{-iwx}dx $$
Hint: