This may be a silly question but it has gotten me stumped. I am currently trying to see if I can get anywhere by putting a simple symmetric double delta potential
\begin{align} V(x) = -\gamma (\delta(x+a) + \delta(x-a)) \end{align}
into the time independent Schrödinger equation and working in momentum space to find eigenvalues and eigenfunctions. The Schrödinger equation
\begin{align} \frac{\hbar}{2m}\Delta \Psi(x) + V(x) \Psi(x) = E \Psi(x) \end{align}
after some calculations becomes
\begin{align} \frac{\hbar p^2}{2m} \psi(p) - \frac{\gamma}{\pi \hbar} \int_{-\infty}^\infty \cos\left( \frac{a}{\hbar} (p'-p) \right) \psi(p') dp' = E \psi(p) \, . \end{align}
Now when I set the integral equal to $\bar{\psi}(p)$ I get
\begin{align} \psi(p) = -\frac{\gamma \bar{\psi}(p)}{\pi \hbar (p^2/2m - E)} \, . \end{align}
Putting this expression back into the integral is what puzzles me. The expression
\begin{align} \bar{\psi}(p) = \int_{-\infty}^\infty \cos\left( \frac{a}{\hbar} (p'-p) \right) \frac{-\gamma \bar{\psi}(p')}{\pi \hbar (p'^2/2m - E)} dp' \end{align}
seems to suggest that the function in the integral acts as a delta function $\delta(p' - p)$. But that can't be correct, since it has nonzero values for $p' \neq p$. So my question is if someone could give me any pointers on where I went wrong or if I made an incorrect assumption somewhere. I am aware that the answer usually gets calculated with an exponential Ansatz, but I was interested in knowing whether doing the calculations this way would also be possible.