Why Does the Variational Principle Say “Lower Wins”?

This page writes out, step by step, the derivations of Lecture 3 (the effective nuclear charge of He) and Lecture 6 (the Gaussian trial function). Proof (three lines) → the five-term decomposition for He → Z′ = Z − 5/16 → checking the answer against the isoelectronic series → how to choose a trial function is the single straight path. Energies are in eV, following the lecture’s convention, and we use ε1s = −13.606 eV.

0. What Is the Variational Principle?

For any normalized function Ψ (a trial function),

⟨Ψ|H^|Ψ⟩ ≥E0 (E0: true ground-state energy)

holds. Equality holds only when Ψ is the true ground state itself. Therefore, if you prepare a trial function with parameters and minimize the expectation value, the result is “the best approximation that this family of functions can produce.” For many-electron atoms, molecules, and solids whose Schrödinger equation cannot be solved, Hartree–Fock, density functional theory, and the basis-function expansions of quantum chemistry are all descendants of this principle.

1. The Conclusion First (30-Second Version)

  1. The proof takes three lines: expand Ψ in eigenstates and ⟨E⟩ becomes a weighted average of the eigenvalues, so it cannot go below the minimum.
  2. If we use the trial function φ(r₁)φ(r₂) (a product of 1s functions with effective nuclear charge Z′) for a He-like ion (two electrons), ⟨E⟩(Z′) becomes a quadratic function of Z′ with its minimum at Z′ = Z − 5/16.
  3. For He, ⟨E⟩min = 2ε1s(2 − 5/16)² = −77.490 eV (experiment: −79.005 eV). This can be read as the other electron screening the nuclear charge by 5/16.
  4. The point where Z′ = Z agrees with the first-order perturbation answer, −74.833 eV (because the trial function is ψ⁽⁰⁾ itself).
  5. The remaining ≈ 1.5 eV gap from experiment is the electron correlation, which a product-form trial function cannot capture in principle.
  6. If the family of trial functions contains the exact solution, the variational method lands on it (exponential e−βr → −13.606 eV). If it does not, the method stops at the best member of the family (Gaussian → −11.549 eV, 15 % error; the culprit is the cusp at the origin).

2. The Proof — A Weighted Average of Eigenvalues Cannot Fall Below the Minimum

Let ψn be the eigenstates of Ĥ (Ĥψn = Enψn, E0 ≤ E1 ≤ …). Since Ĥ is Hermitian, the eigenstates can be chosen orthonormal, ⟨ψn|ψm⟩ = δnm, and they form a complete set (Σ|ψn⟩⟨ψn| = 𝟙). Any trial function can be expanded as

|Ψ⟩= ∑n=0∞ cn|ψn⟩ , cn= ⟨ψn|Ψ⟩

Putting this into the expectation value (the cross terms vanish by orthogonality), we obtain

⟨Ψ|H^|Ψ⟩ = ∑m Em |cm|2 ≥ E0 ∑m |cm|2 =E0 … ①

The last step used only the normalization Σ|cm|² = 1 and Em ≥ E0. Q.E.D. (Lecture 3, pp. 19–21)

A bonus theorem: the error enters only at second order Even if the trial function deviates from the true ground state at “first order” (cn≠0 ∼ δ), the energy error enters only at “second order,” |cn|² ∼ δ². Even if the wave function is somewhat crude, the energy still comes out reasonably accurate—this is why the variational method is practical.

Fig. 1 | Seeing the proof. ⟨E⟩ of a trial function that mixes the hydrogen-atom levels E1 = −13.6, E2 = −3.4, E3 = −1.5 eV, with the “admixture” (the upper levels) carrying weights |c2|², |c3|². Check that no matter how you mix them, ⟨E⟩ never goes below the ground state, and that even when the admixture is first order, the rise in ⟨E⟩ is second order.

3. The Variational Calculation for He — Deriving Z′ = Z − 5/16

3.1 Setup and the trial function

Two electrons around a nucleus of charge Z (Z = 2 for He). The Hamiltonian is

H^= p^122m − Ze024πε0r1 + p^222m − Ze024πε0r2 + e024πε0|r1−r2|

Because of the last term, the electron–electron repulsion, the variables cannot be separated (if we ignore it, we get E = 2Z²ε1s = −108.85 eV, which, as we saw, is off from the experimental −79.005 eV by as much as 27 %). So we adopt the trial function “each electron sits in a hydrogen-like 1s orbital that feels a screened nuclear charge Z′.”

ψt (r1,r2) = φt(r1) φt(r2) = 1π (Z′aB)3 e− (Z′/aB) (r1+r2)

3.2 Splitting into five terms — the trick of Lecture 3

We could compute the expectation value as it stands, but in the lecture the nuclear attraction is split as

−Ze024πε0r = −Z′e024πε0r + (Z′−Z)e024πε0r

into a “Z′ part” and a “mismatch part.” The expectation value then becomes five terms, symmetric in electrons 1 and 2.

3.3 Completing the square and reading off the minimum

⟨E⟩= 2Z′2ε1s −4(Z′−Z)Z′ε1s −54Z′ε1s = −2ε1s (Z′−Z+516)2 + 2ε1s (Z−516)2 … ②

Noting that ε1s < 0, the first term is an “upward-convex penalty,” so the minimum is where the parenthesis is zero.

Z′=Z−516 , ⟨E⟩min= 2ε1s (Z−516)2 … ③

For He (Z = 2), Z′ = 1.6875 and ⟨E⟩min = −77.490 eV. This agrees well with the experimental value, −79.005 eV, and with the measured effective nuclear charge of about 1.7.

The point Z′ = Z gives the same value as first-order perturbation A trial function that is not shrunk (Z′ = Z) is just the unperturbed wave function ψ⁽⁰⁾ itself, so the value obtained by substituting Z′ = Z into Eq. ②, (2Z² − 5Z/4)ε1s = −74.833 eV, agrees with the first-order perturbation theory answer. From there, the variational method relaxes Z′ by 5/16 and lowers the energy by a further 2.657 eV, so we can take the view that “first-order perturbation = variation without optimization.”

4. Checking the Answer Against the Isoelectronic Series

Eq. ③ works for every ion from H⁻ to B³⁺ just by changing Z (all have two electrons). The experimental values can be built from sums of ionization energies.

H⁻ (Z=1)He (Z=2)Li⁺ (Z=3)Be²⁺ (Z=4)B³⁺ (Z=5)
Ignoring repulsion, 2Z²ε₁ₛ−27.21−108.85−244.91−435.39−680.30
First-order perturbation−10.20−74.83−193.89−367.36−595.26
Variational (this page)−12.86−77.49−196.54−370.02−597.92
Experiment−14.36−79.005−198.09−371.62−599.60
Variational error1.501.511.551.601.68

All units are eV. The highlight is the bottom row: the error is nearly constant at about 1.5 eV, independent of Z. Because a product trial function is an independent-particle approximation (“electron 1 does not know where electron 2 is right now”), it systematically misses the energy of the correlation in which the two electrons avoid each other. We can even read it this way: that amount is determined mainly by how often the two electrons meet, so it depends little on Z.

⚠ H⁻ comes out “unbound” The variational value at Z = 1, −12.86 eV, is higher than the −13.606 eV of “an H atom plus a distant electron at rest,” so within this family of trial functions H⁻ cannot exist stably (in reality it is bound, at −14.36 eV). Allowing the two electrons separate Z′ values, as in Chandrasekhar’s trial function, produces binding. Since the variational principle gives only an upper bound, this is a good example showing that it cannot be used to prove that something “does not exist.”

5. Swapping the Trial Function — How Good Is a Gaussian? (Lecture 6)

5.1 Obtaining ⟨E⟩(α)

This time we take the hydrogen atom (a system whose answer we know) and try a Gaussian φt = Ne−αr² as the trial function. Using ∇²φt = (−6α + 4α²r²)φt and the integral formula ∫0∞x2m+1e−ax²dx = m!/2am+1, we get (in atomic units; the detailed steps are in Lecture 6)

⟨E⟩ (α)= 32α⟨T⟩ − 22απ−⟨V⟩ [Hartree] … ④

The kinetic energy grows in proportion to α (the more it is squeezed, the finer the waves), while the gain from attraction grows only as √α. So there is always a minimum where the two balance, and from d⟨E⟩/dα = 0 we get

αopt= 89π 1aB2 =0.2829aB−2 , ⟨E⟩min= 83π ε1s =−11.549eV

The error relative to the exact solution, −13.606 eV, is 15.1 %. By contrast, for the exponential Ne−βr ⟨E⟩ = (β²/2 − β) Hartree, and at β = 1 it hits the exact solution exactly (because this family contains the exact solution).

5.2 Why the Gaussian loses — the cusp condition

At the position of the nucleus the attraction −Z/r diverges, so for the Schrödinger equation to hold the kinetic-energy term must cancel that divergence with equal strength. That condition is the cusp condition:

dψdrr=0 = −ZaB ψ(0)

The exponential e−Zr satisfies it, but a Gaussian function has zero slope at the origin, so it can never satisfy it. The mismatch of shape at both ends—the point at the origin and the tail far away—is the real source of the 15 %. Quantum chemistry uses Gaussians anyway because two-center integrals are easy (see the overlap-integral page), and the shortfall is made up by using more of them. That is STO-3G.

Fig. 2 | Cusp magnifier. The exact solution (gray) and the Gaussian trial function (blue) near the origin. Check that, however you choose α, the slope at the origin stays zero and no cusp can be formed. The dashed line has the slope of the cusp condition, −ψ(0).

5.3 The virial theorem comes for free

If we stretch and shrink a normalized trial function ψ(r) as ψs(r) ∝ ψ(sr), then in a Coulomb system the quantities scale as ⟨T⟩ → s²⟨T⟩ and ⟨V⟩ → s⟨V⟩. The condition that E(s) = s²⟨T⟩ + s⟨V⟩ be stationary at s = 1 is simply

2⟨T⟩+⟨V⟩=0 ⟺ ⟨V⟩⟨T⟩=−2

That is the virial theorem. Varying α in e−αr² or β in e−βr is exactly this stretching, so at the minimum ⟨V⟩/⟨T⟩ = −2 holds automatically (you can confirm this in the simulator’s readouts). It is also a relation used in practice to check the convergence of calculations.

6. Connections

References: the lecture course “Computational Materials Science,” Lecture 3 (the variational principle and the effective nuclear charge of He) and Lecture 6 (Gaussian trial functions) / A. Szabo and N. S. Ostlund, Modern Quantum Chemistry (Japanese translation: Atarashii Ryoshi Kagaku) / the experimental values are sums of ionization energies (NIST). The formulas are typeset in the browser’s built-in MathML (no external libraries).