As is well-known, the so-called averaged energy of two-electrons Coulomb repulsion U has been introduced both in quantum theory of atoms / molecules and of condensed matter, which is typically defined, as is shown in the attached figure (a), - where the integral written there is taken over the whole 6-dimensional configurational space (r1=(x1, y1, z1) and r2 = (x2, y2, z2)).
For instance, the on-site two-electrons repulsion energy U appears in superexchange theory, where the antiferromagnetic contribution to exchange integral is obtained as: Jaf ~ b2/U (where b is a hopping integral), it appears in LDA+U approach intended to reproduce the band structure of strongly correlated crystalline systems correctly, and so on.
As far, as I can judge, the U energy is introduced as was shown (or in equivalent way) in manifold textbooks and papers.
But it is absolutely evident, that the integral defined so diverges, in other words, is equal to infinity, except the trivial and physically insignificant case, if at least one of one-electron orbitals is identically zero at the whole space. Actually, most probably no other physically reasonable form of one-electron orbitals can be proposed to eliminate the singularity in the denominator at ANY point of "line" r1 = r2 in 6-dimensional space (see also attached figure (b), where this point is symbolically depicted for the case of "one-dimensional" electrons).
Note, that the approach like "Let`s deviate from "line" r1 = r2, next, take the integral over the whole space except the deviation vicinity (see also figure (b)), and finally calculate the limit of the result approaching the measure of deviation to zero".. so, something like that evidently is not valid - because it also does not eliminate the singularity, actually, the integral over the whole space except the deviation vicinity might be arbitrarily large (keeping its sign to be invariable), as depends on the deviation measure value.
Sorry for a long text, but it is related to my question directly. On the one hand - I cannot find the logical errors in argumentation given above, as well, as cannot find the explanation in textbooks and publications I have ever seen. On the other hand, manifold sources deal with the definitely FINITE values of U (typically, some eV).
Can someone explain me, how this contradiction could be solved?
I would be VERY grateful.