I came across a problem whose statement is as follows:
An electron moves in the potential well $P (x) = -\delta$ for $- a <x <0$ and $P (x) = \delta$ for $0 <x <a$ (Fig. 13.7). Use first-order perturbation theory to compute the first four energy levels. Set up the expression for the first-order expansion coefficients for the lowest energy state.
I was trying to use the following equation that I saw throughout the chapter (number 13):
$$ E'_n - E_n = \int_{-\infty}^{\infty} \psi_n^{*} f(x) \psi_n dx $$
Treating $f(x) = P(x)$ and the $\psi_n$ function equal to
$$ \psi_n = \sqrt{\frac{2}{a}} \sin{\left( \frac{n \pi}{a} x\right)} $$
However, this gives me zero as a result of $E'_n - E_n$.
How can I proceed?
The textbook I'm using is Richtmyer F.K.,Kennard E.H.,Cooper J.N. - Introduction to modern physics-McGraw-Hill (1969).