How Is the Overlap Integral S(R) Calculated?

For one orbital placed on each of two atoms a distance R apart, we compute the overlap integral S = ∫φAφB dV by following the route of Lecture 5. It is a single straight path: introduce elliptical coordinates → the analytic 1s–1s solution → the σπδ classification (symmetry) → numerical calculation for general orbitals. What runs inside the simulator is exactly the calculation of the last section.

0. What Is the Overlap Integral?

On atom A (at the origin) and atom B (on the z axis, at distance R), place one normalized orbital each, φA and φB. The overlap integral is defined by

S(R)= ∫ φA∗ (r) φB (r) dV = ⟨φA|φB⟩

(In the lectures, the definition alone appears first, in Lecture 3, p. 7, and the calculation is done in Lecture 5.) This is the inner product of functions. In the vector inner product a·b = |a||b|cosθ, S plays the role of cosθ, and by the Cauchy–Schwarz inequality we always have |S| ≤ 1. It is a number that measures “how similar in shape two orbitals are.”

Notation: the Bohr radius is written a₀ To avoid confusion with the subscript of nucleus B, and following Lecture 5, this page writes the Bohr radius not as aB but as a0 = 0.529 × 10−10 m. It is exactly the same quantity as aB on the other pages.

1. The Conclusion First (the 30-Second Version)

  1. A two-center integral is intractable in spherical coordinates (rB depends on both rA and θA), so we switch to elliptical coordinates with the two nuclei as foci.
  2. 1s–1s (hydrogen) can be integrated directly by hand: with ρ = R/a0, S = (1 + ρ + ρ²/3)e−ρ. At the H₂ equilibrium distance ρ = 1.4, S = 0.753.
  3. For a pair whose quantum numbers m about the bond axis do not match, S = 0 by the orthogonality of the φ integral. This is what lies behind the classification into σ (m = 0), π (|m| = 1), δ (|m| = 2), and φ (|m| = 3).
  4. The sign requires a convention: “write both orbitals in the same coordinate system.” Change the convention and only the sign changes.
  5. General orbitals from 2s upward also reduce, in the same elliptical coordinates, to integrals of exponential × polynomial. The simulator computes them numerically by Gauss–Legendre quadrature (agreeing with the analytic 1s–1s solution to machine precision).

2. Elliptical Coordinates — The Natural Coordinates for a Two-Center Problem

2.1 Why spherical coordinates are difficult

In spherical coordinates (r, θ, φ) with A at the origin, φA = φA(r) is simple, but the distance measured from B is given by the law of cosines as

rB= r2+R2 −2rR cos⁡θ

This is a function of two variables, and the integral of e−rB/a0 gets nowhere as it stands. So we adapt the coordinates to the problem.

2.2 Definition of elliptical coordinates (the notation of Lecture 5)

At each point in space, measure the distances rA, rB from the two nuclei and set

cosh⁡μ= rA+rBR , cos⁡ν= rA−rBR … ①

(φ remains the rotation angle about the bond axis). Surfaces on which the sum of the distances from the two points is constant are ellipses (prolate spheroids) with foci A and B, and surfaces on which the difference is constant are hyperboloids. In other words, Eq. ① is a change of coordinates that re-tiles space with a grid of ellipses and hyperbolas (Fig. 1). To make the formulas lighter, we also use

ξ=cosh⁡μ ∈[1,∞) , η=cos⁡ν ∈[−1,1]

Solving Eq. ① for the distances, we find that both of them are linear expressions.

rA= R2 (ξ+η) , rB= R2 (ξ−η) … ②
Why these coordinates “work” The product of 1s orbitals is e−(rA+rB)/a0 = e−ρξ, which is a function of ξ alone. The two-center exponential that was intractable folds into a single variable just by choosing the coordinates anew—this is the whole reason for using elliptical coordinates. The same circumstance is why the Schrödinger equation of H₂⁺ separates exactly (within the Born–Oppenheimer approximation).

2.3 The volume element

Computing the Jacobian (in Lecture 5 it is left in terms of (μ, ν), in the form |J| = (R/2)³ sinhμ sinν (sinh²μ + sin²ν)), and using dξ = sinhμ dμ, dη = −sinν dν, and sinh²μ + sin²ν = ξ² − η², we obtain a much simpler form in (ξ, η).

dV= (R2)3 (ξ2−η2) dξ dη dφ … ③

Fig. 1 | The grid of elliptical coordinates. The solid ellipses are curves of constant ξ (constant sum of distances), and the dashed hyperbolas are curves of constant η (constant difference of distances). Move the point (ξ, η) with the sliders and check its relationship to rA and rB in Eq. ②.

3. Integrating 1s–1s by Hand — The Calculation of Lecture 5

3.1 Rewriting the integral in elliptical coordinates

Place hydrogen 1s orbitals (Z′ = 1) on A and B.

φA= 1πa03 e−rA/a0 , φB= 1πa03 e−rB/a0

The product is e−(rA+rB)/a0. Substituting Eqs. ①–③ and writing ρ = R/a0, we have rA + rB = Rξ, so

S= 1πa03 (R2)3 ∫02πdφ ∫1∞dξ ∫−11dη e−ρξ (ξ2−η2)

The φ integral merely gives 2π. The η integral is also a polynomial, so it can be done by hand (∫ξ²dη = 2ξ², ∫η²dη = 2/3). Only the ξ integral remains.

S= ρ34 ∫1∞ (2ξ2−23) e−ρξ dξ … ④

3.2 The auxiliary integral Ak(ρ)

The “polynomial × exponential” integrals that appear in Eq. ④ have a name.

Ak(ρ) = ∫1∞ ξk e−ρξ dξ , Ak= e−ρρ + kρ Ak−1

The recurrence relation is a single integration by parts. Starting from A0 = e−ρ/ρ and raising the index step by step, we get

A2= e−ρ ( 1ρ+ 2ρ2+ 2ρ3 )

3.3 Result

Substituting A0 and A2 into Eq. ④ and simplifying, all the negative powers of ρ cancel, and we obtain

S(R)= ρ32 (A2−A03) = (1+ρ+ ρ23) e−ρ , ρ=Ra0 … ⑤

Check: S → 1 as ρ → 0 (normalization), and S → 0 as ρ → ∞. Both pass. To get a feel for the values, here are a few of them.

R / a0 011.42 468
S (1s–1s) 10.8580.7530.586 0.1890.0470.010
What the numbers mean for H₂ The equilibrium internuclear distance of H₂ is R = 1.4 a0 = 74 pm, and there S = 0.75. In other words, the two bonded 1s orbitals are “75 % the same function”—they overlap that deeply. The approximation “the overlap integral is small, so ignore it” (as in the Hückel method, for example) is acceptable for π-electron systems but dubious for H₂, and this number shows why.

4. σ, π, δ, φ — The Selection Rule for m

For a general orbital φ = Rnl(r)Ylm(θ,φ), the dependence on the angle φ about the bond axis (z axis) is cos(mφ) or sin(mφ) (real orbitals). If the orbital on A has mA and that on B has mB, the φ part of the overlap integral is

∫02π cos⁡(mAφ) cos⁡(mBφ) dφ = πδmAmB (m>0)

This is nothing other than the orthogonality of trigonometric functions (the inner product we used on the Fourier series page; a cos-type and sin-type pair also gives 0). In other words, for a pair whose m values do not match, S is exactly 0, without even looking at the radial part. Only the matching pairs survive, and the value of m is used to name the type of bond.

TypemExamples of pairs that can overlapNodal planes (containing the bond axis)
σ0s–s, s–pz, pz–pz, s–dz², …0 planes
π±1px–px, px–dxz, dxz–dxz, …1 plane
δ±2dxy–dxy, dx²−y²–dx²−y², …2 planes
φ±3some f–f pairs (such as two 4fx(x²−3y²) orbitals)3 planes
This is the simplest example of a group-theoretical selection rule In Lecture 12 you will learn that “whether ⟨φA|Ĥ|φB⟩ is zero is determined by whether the direct product ΓA ⊗ ΓB contains the totally symmetric representation.” For the symmetry of a diatomic molecule (rotation about the bond axis), the label of the irreducible representation is exactly m, and the orthogonality of the φ integral above is the substance of that selection rule. S and β = ⟨φA|Ĥ|φB⟩ obey the same selection rule (because Ĥ is totally symmetric), so “which orbitals can bond with each other” can be judged from S.

5. Sign Conventions

The sign of S depends on the convention of which coordinate system the two orbitals are written in. In this simulator, the orbitals of A and B are defined in the same global coordinates (the z axis points from A to B). In that case:

In quantum mechanics, multiplying an orbital by −1 gives the same state, so the sign itself carries no physics. What carries physics is “the relative sign once the convention is fixed.” When comparing with a table in a textbook (for example, the Slater–Koster table or Mulliken’s list of S values), first check which direction of the p orbital is taken as positive. What decides bonding versus antibonding (which of φA ± φB goes down) is the combination with the sign of the resonance integral β, which is treated in the secular equation of Lecture 11.

6. General Orbitals — How the Numerical Calculation Works (Inside the Simulator)

6.1 Every pair reduces to “exponential × polynomial”

The radial part of a hydrogen-like orbital with effective nuclear charge Z′ is always Rnl(r) = e−Z′r/n × (a polynomial in r). Writing the decay rate of A as αA = Z′A/nA and that of B as αB = Z′B/nB, Eq. ② gives the exponential part as

e −αArA −αBrB = e −pξ−qη , p=R2 (αA+αB) , q=R2 (αA−αB)

On the other hand, the polynomial part (the factors rk and the angular factors containing cosθA = (1 + ξη)/(ξ + η)) all become polynomials in ξ, η once Eq. ② is substituted (the denominators ξ ± η are canceled by factors of rl). So, for any pair of orbitals, we have

S= ∑j,k cjk Aj(p) Bk(q) , Bk(q)= ∫−11 ηk e−qη dη

Thus S reduces to a finite sum (Bk also has a recurrence relation from integration by parts). Mulliken and coworkers used this method to compile formulas and numerical tables of S for the main pairs from 1s to 3d (1949).

6.2 The simulator uses quadrature instead

Instead of tidying up the coefficients cjk by hand for each pair, the simulator computes the double integral of Eq. ③ numerically by Gauss–Legendre quadrature. Because the integrand decays in the ξ direction as e−p(ξ−1), we change variables to u = p(ξ − 1), divide the range into 3 intervals (0–5, 5–15, 15–45), and sum with 24 points in each interval and each direction. Since the integrand has the form “polynomial × exponential,” which is ideal for quadrature, this alone agrees with the analytic solution of Eq. ⑤ to machine precision (15 digits). You can check this in Fig. 2.

Fig. 2 | Numerically computed S(R) compared with the analytic solution. The solid line is the numerical calculation (the same code as in the simulator), and the orange dashed line is the analytic 1s–1s solution of Eq. ⑤. Switching the pair also shows the “hump that starts from orthogonality” of 1s–2s and the sign reversal of 2p–2p σ.

7. Where It Matters

7.1 The denominator of the secular equation (Lecture 11)

For the LCAO trial function Ψ = cAψA + cBψB, the variational principle (the method of Lagrange multipliers) gives, for the H₂ type (αA = αB = α), the energies of the bonding and antibonding orbitals as

Eb= α+β1+S , Ea= α−β1−S

Here S enters the denominator (Coulomb integral α, resonance integral β. Lecture 11 uses the convention of normalizing ⟨Ψ|Ψ⟩ = 2, so its Lagrange multiplier ε is half of this, while the total energy E = 2ε is the same). Because S ≠ 0, the rise of the antibonding orbital is larger than the drop of the bonding orbital (1 − S < 1 + S). That bringing two closed shells together always costs energy (Pauli repulsion) is due to this asymmetry.

7.2 STO-3G — why Gaussian functions are used (Lecture 5)

As we have seen, the two-center integral for Slater-type functions (e−ζr) requires the “heavy tool” of elliptical coordinates. For Gaussian-type functions e−αr², however, the product of two Gaussian functions is again a single Gaussian function (the Gaussian product theorem), so the overlap integral closes as an elementary integral without any change of coordinates. That is exactly why quantum chemistry software uses basis sets such as STO-3G, which mimic a 1s orbital with three Gaussian functions. “Approximate the correct form (Slater) by a sum of easy-to-compute forms (Gaussians)”—the motivation for the derivation of STO-3G in Lecture 5 becomes clear only once you know how heavy this integral is.

7.3 Toward bands (solid-state physics)

When atoms are lined up in a chain, the S and β between neighbors spread the energy levels into a band. The exponential decay of S(R) is the basis of the tight-binding approximation of “considering nearest neighbors only,” and the fact that the magnitudes and signs of S and β differ between σ and π gives rise to the differences in the width and direction of the σ and π bands. For the continuation, see the “From Molecular Orbitals to Bands” page.

⚠ A common misconception “A large S means a strong bond” is not true. What determines the bond energy is β (and the number of electrons); S is a supporting player that acts through normalization and Pauli repulsion. Also, the orbitals used here are hydrogen-like (one-electron), so for real many-electron atoms they are replaced by Hartree–Fock orbitals or numerical atomic orbitals, but the skeleton of “exponential decay, orthogonality, the σπδ classification, and the sign convention” does not change.

8. Correspondence with the Lectures

References: lecture course “Computational Materials Science,” Lecture 5 (the overlap integral of 1s orbitals and STO-3G) / R. S. Mulliken, C. A. Rieke, D. Orloff, and H. Orloff, J. Chem. Phys. 17, 1248 (1949) (a classic with the formulas and numerical tables for the overlap integrals of Slater orbitals) / A. Szabo and N. S. Ostlund, Modern Quantum Chemistry (Japanese translation: Atarashii Ryoshi Kagaku; STO-nG and molecular integrals). The formulas are typeset in the browser’s native MathML (no external libraries are used).