← Questions and Answers
Questions & Answers · Foundations of ℒchem

Where Do Coulomb Attraction and Repulsion Live Inside ℒchem?

When you first inspect the chemical Lagrangian density ℒchem, there is no 1/r12 repulsion or −ZA/riA attraction written down in it. Every electrostatic attraction and repulsion in chemistry sits inside the electric scalar potential φ—and eliminating φ by completing the square and integrating by parts with calculus reveals both the familiar potential energy VBO and the interatomic surface flux ΔVsurf(ΩA) of local 3D IQA.

1. Starting from the Local 3D Scalar Potential in Coulomb Gauge

In Hartree atomic units (ℏ=me=e=4πε0=1, Gaussian field factors), impose Coulomb gauge ∇⋅𝐀=0 and switch off magnetic/transverse fields (𝐀=𝟎) so the electric field is purely electrostatic, 𝐄(𝐫)=−∇φ(𝐫). Notice a crucial fact: φ has no time derivative ∂tφ anywhere in ℒchem. All terms involving the real potential φ(𝐫) and the microscopic net charge density ρc(𝐫)=∑AZAδ(𝐫−𝐑A)−ρ^e(𝐫) (where ρ^e(𝐫)=ψ^†(𝐫)ψ^(𝐫) acts on N electrons at positions 𝐫1,…,𝐫N as ∑i=1Nδ(𝐫−𝐫i)) collect into one spatial integral over a 3D region Ω with volume element dV=dxdydz:

Scalar-potential integral Lφ[φ; Ω] = ∫Ω ℒφ(r) dV Lφ[φ;Ω] = ∫Ωℒφ(𝐫)dV = ∫Ω [ 18π |∇φ(𝐫)|2 − ρc(𝐫)φ(𝐫)] dV

Remember the sign rule of mechanics and field theory (with calligraphic ℒ for 3D densities and plain L=∫ℒdV for volume integrals): both in classical mechanics (Lmech=T−V) and in the space-integrated Schrödinger Lagrangian (LBO=∫ℒBOdV=∫dτ(i/2)(Ψ*∂tΨ−(∂tΨ*)Ψ)−T−VBO), potential energy enters the Lagrangian with a minus sign (Lpot=−VBO), whereas Legendre transformation flips it to a plus sign in the Hamiltonian H=T+VBO. Why does Lφ equal −VBO once φ is eliminated?

2. Calculus Warm-Up: Completing a Parabola's Square to Eliminate a Variable

Before touching 3D integrals, do the exact same algebra on a single real number x with constant a>0:

Calculus warm-up — completing the square f(x) =12ax2−bx =12a (x−x⋆)2 −12bx⋆ , where ax⋆=b

Check it by plugging in x=x⋆+δx: expanding (1/2)a(x⋆+δx)2−b(x⋆+δx) gives (1/2)ax⋆2−bx⋆+(ax⋆−b)δx+(1/2)a(δx)2. Because ax⋆=b, the linear cross-term in δx cancels out, and (1/2)bx⋆−bx⋆=−(1/2)bx⋆. Setting the slope df/dx=0 sets δx=0 and eliminates x completely, leaving −(1/2)bx⋆.

Care with complex conjugates when modes are complex: If a mode z and source b are complex (for instance, Fourier modes φ~(𝐤) or complex spherical harmonics Yℓm), never write z2; keep conjugates explicit: az*z−b*z−z*b=a(z*−b*/a)(z−b/a)−(b*b)/a. By Leibniz's chain rule on z=u+iv, varying both z and z* immediately gives az−b=0 and az*−b*=0.

3. Integration by Parts and Completing the Square for φ(𝐫)

Now apply Leibniz's product rule in 3D, ∇⋅(f∇g)=(∇f)⋅(∇g)+f∇2g. Let φ⋆(𝐫) be the Coulomb potential solving Poisson's equation across all space ℝ3:

Poisson's equation (plays the role of a x_⋆ = b) −14π∇2φ⋆(𝐫) =ρc(𝐫) ⟺ φ⋆(𝐫) =∫ℝ3 ρc(𝐫′)|𝐫−𝐫′| dV′

Write any trial scalar potential as φ(𝐫)=φ⋆(𝐫)+δφ(𝐫) and plug into Lφ[φ;ℝ3], expanding |∇(φ⋆+δφ)|2=|∇φ⋆|2+2(∇φ⋆)⋅(∇δφ)+|∇δφ|2:

Step 1 — Expand around φ_⋆ Lφ[φ⋆+δφ;ℝ3] = ∫ℝ3 [18π|∇φ⋆|2−ρcφ⋆]dV + ∫ℝ3 [14π(∇φ⋆)⋅(∇δφ)−ρcδφ]dV + 18π ∫ℝ3 |∇δφ|2dV

Integrate the middle cross-term by parts over a large ball BR of radius R→∞ using the 3D integration-by-parts model form ∫Ω𝐮⋅(∇v)dV=∮∂Ωv(𝐮⋅𝐧)dS−∫Ωv(∇⋅𝐮)dV with 𝐮=∇φ⋆⟹∇⋅𝐮=∇2φ⋆ and ∇v=∇(δφ)⟹v=δφ:

Step 2 — Integration by parts cancels the linear δφ cross-term 14π ∫ℝ3 (∇φ⋆)⋅(∇δφ)dV = 14π ∮S∞ δφ(∇φ⋆⋅𝐧)dS + ∫ℝ3 δφ(−14π∇2φ⋆)dV = +∫ℝ3ρcδφdV

Because δφ=O(R−1), |∇φ⋆|=O(R−2), and sphere area is 4πR2, the sphere integral at infinity behaves as O(R−1)→0, while +∫ρcδφdV cancels −∫ρcδφdV. Now integrate |∇φ⋆|2 by parts one more time over ℝ3: (1/8π)∫|∇φ⋆|2dV=(1/8π)∫φ⋆(−∇2φ⋆)dV=+(1/2)∫ρcφ⋆dV. Combining (1/2)−1=−(1/2) gives the completed square:

Step 3 — Completed square & emergence of −V_BO Lφ[φ;ℝ3] = 18π ∫ℝ3 |∇(φ−φ⋆)|2dV − 12 ∬ℝ3×ℝ3 ρc(𝐫1)ρc(𝐫2)|𝐫1−𝐫2| dV1dV2

Setting the variation δLφ=0 forces ∇(φ−φ⋆)=𝟎, so φ=φ⋆ and the first integral vanishes identically. Plugging in ρc(𝐫)=∑AZAδ(𝐫−𝐑A)−∑i=1Nδ(𝐫−𝐫i) and normal-ordering away the divergent bare self-energy of each point particle with itself (i=j and A=B) leaves the exact N-electron Coulomb operator −VBO in L—including full two-electron correlation, not merely mean-field Hartree—or +VBO in the Hamiltonian:

Potential energy V_BO written out explicitly VBO = −∑i∑A ZA|𝐫i−𝐑A| +∑i<j 1|𝐫i−𝐫j| +∑A<B ZAZB|𝐑A−𝐑B| =Vne+Vee+Vnn

4. Why QTAIM Cares: Stopping at an Interatomic Surface ∂ΩA

Stopping at the zero-flux interatomic surface ∂ΩA in IQA: Because ∇φ⋆=−𝐄⋆, integrating (1/8π)|∇φ⋆|2 by parts carries the boundary term −(1/8π)∮φ⋆(𝐄⋆⋅𝐧)dS. Over ℝ3, that sphere integral at infinity vanished. Inside a finite Bader atom ΩA, the boundary ∂ΩA is the zero-flux interatomic surface right between bonded nuclei, where φ⋆𝐄⋆⋅𝐧AdS≠0 whenever the bond is polar! Keeping the 3D field local inside ΩA before integrating across ∂ΩA gives the local IQA potential energy VIQA(ΩA)=Vpot(ΩA)−ΔVsurf(ΩA) (derived line by line in Green's theorem on a punctured atomic basin).
References

Comments, questions or contributions? Please open an issue or a pull request on GitHub.