Let
Using and in the phase-shift formula gives
By the definition of the scattering length from a partial-wave S-matrix,
Thus diverges exactly when
At each such value, an S-wave bound state lies at the continuum threshold: the exterior zero-energy radial solution becomes constant, its logarithmic derivative vanishes, and the system has a zero-energy scattering resonance. As the well deepens through the critical value, a new bound state appears and the scattering length passes through infinity and changes sign.
For outer radius and zero-energy well wavenumber , matching the S-wave scattering logarithmic derivative gives
It diverges when , where the well has a zero-energy scattering resonance.