Quantum Mechanics
The Hellmann-Feynman Theorem: Forces from a Fixed Wavefunction
Solve the Schrödinger equation for a molecule once, freeze the electron cloud in place, and every force on every atomic nucleus becomes a problem in ordinary electrostatics from 1785 — Coulomb's law over a smeared-out charge density. That is the surprising promise of the Hellmann-Feynman theorem: you never have to differentiate the wavefunction to get the force. The 4.5 eV bond in a hydrogen molecule, the geometry of a protein with 100,000 atoms, the pressure inside a diamond anvil at 300 GPa — all can be turned into a simple expectation value.
Formally, the theorem says that for a Hamiltonian H(λ) depending smoothly on a parameter λ, with a normalized eigenstate |ψ(λ)⟩ of energy E(λ), the derivative of the energy is dE/dλ = ⟨ψ | ∂H/∂λ | ψ⟩. The messy terms involving how the wavefunction itself changes with λ vanish exactly — a consequence of |ψ⟩ being a stationary eigenstate.
- TypeExact theorem in quantum mechanics
- RegimeAny exact eigenstate of a parameter-dependent Hamiltonian
- Independently provenGüttinger 1932, Pauli 1933, Hellmann 1937, Feynman 1939
- Key equationdE/dλ = ⟨ψ | ∂H/∂λ | ψ⟩
- Electrostatic formForce on nucleus = classical Coulomb force from electron density + other nuclei
- Used inDFT geometry optimization, ab initio molecular dynamics, quantum chemistry
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
What the theorem actually claims
The Hellmann-Feynman theorem concerns a quantum system whose Hamiltonian H(λ) depends on some continuous parameter λ. That parameter can be almost anything physical: a nuclear coordinate, an applied electric or magnetic field, a coupling constant, a particle mass, or even the dimensionality of space.
- H(λ) — the parameter-dependent energy operator.
- |ψ(λ)⟩ — a normalized eigenstate, so ⟨ψ|ψ⟩ = 1.
- E(λ) — its eigenvalue, satisfying H(λ)|ψ⟩ = E(λ)|ψ⟩.
The theorem states simply that dE/dλ = ⟨ψ | ∂H/∂λ | ψ⟩. In words: the rate of change of the energy with the parameter equals the expectation value of the rate of change of the Hamiltonian, evaluated in the unperturbed eigenstate. You do not need to know how ψ shifts — the fixed wavefunction is enough. When λ is a nuclear position R, ∂H/∂R is just the gradient of the Coulomb potential, and −dE/dR is the physical force pushing the atoms toward their equilibrium geometry.
The derivation: why the wavefunction terms cancel
The magic is a one-line cancellation. Start from the eigenvalue equation and differentiate the energy expectation value E = ⟨ψ|H|ψ⟩ with respect to λ using the product rule:
dE/dλ = ⟨∂ψ/∂λ | H | ψ⟩ + ⟨ψ | ∂H/∂λ | ψ⟩ + ⟨ψ | H | ∂ψ/∂λ⟩.
Now use that |ψ⟩ is an eigenstate: H acting on |ψ⟩ (or ⟨ψ| on the left, since H is Hermitian) gives the number E. The first and third terms become E(⟨∂ψ/∂λ|ψ⟩ + ⟨ψ|∂ψ/∂λ⟩). But that parenthesis is exactly the derivative of the normalization:
- ⟨∂ψ/∂λ|ψ⟩ + ⟨ψ|∂ψ/∂λ⟩ = ∂/∂λ ⟨ψ|ψ⟩ = ∂/∂λ (1) = 0.
So both wavefunction-derivative terms vanish, leaving only dE/dλ = ⟨ψ|∂H/∂λ|ψ⟩. The result is exact — no perturbation expansion, no small parameter. The single essential requirement is that |ψ⟩ be a genuine eigenstate (or, more generally, a stationary point of the energy functional), which is why the theorem also holds for variational wavefunctions optimized to stationarity.
Feynman's electrostatic theorem and a worked number
In his 1939 paper Forces in Molecules, Feynman specialized λ to a nuclear coordinate and drew a striking conclusion: once the electron density n(r) is known, the force on a nucleus is purely classical electrostatics. There are no mysterious quantum or exchange forces acting on the nuclei themselves; the quantum mechanics is entirely contained in the shape of n(r).
The force on nucleus A of charge Z_A is:
- F_A = Z_A e² [ Σ_B (Z_B (R_A − R_B)/|R_A − R_B|³) − ∫ n(r) (R_A − r)/|R_A − r|³ d³r ],
the Coulomb repulsion from the other nuclei minus the attraction from the electron cloud. At equilibrium these cancel and F_A = 0. As a scale check: two protons in H₂ sit about 0.74 Å apart; the bare nuclear repulsion there is roughly e²/(4πε₀ d) ≈ 19 eV, exactly balanced by the electron density piled up in the bond. Displace an atom by 0.1 Å in a typical covalent solid and the restoring force is of order 1 eV/Å ≈ 1.6 nN — the regime probed by force-field and DFT calculations.
How it is used: forces in modern computation
The theorem is the computational engine behind almost all atomistic simulation. To relax a molecule or crystal to its lowest-energy geometry, or to run ab initio molecular dynamics, you need the force on every atom at every step — and finite-difference (nudge each atom, recompute the energy) would cost 3N energy evaluations for N atoms. Hellmann-Feynman gives all 3N force components from a single converged wavefunction as an expectation value, an enormous saving.
- Density functional theory (DFT) codes (VASP, Quantum ESPRESSO, Gaussian) compute analytic forces this way for systems from small molecules to 10⁴–10⁵ atoms.
- Car-Parrinello and Born-Oppenheimer MD integrate Newton's equations using these forces at ~1 fs timesteps.
- Phonons, elastic constants, and reaction paths all derive from the same force expression.
A crucial practical caveat: with atom-centered basis sets that move with the nuclei, extra Pulay forces appear because ∂ψ/∂λ ≠ 0 for an incomplete basis. Plane-wave codes avoid them (the basis doesn't move with the atoms), which is one reason plane-wave DFT is popular for solids.
Related theorems and where it breaks down
The Hellmann-Feynman theorem sits in a family of exact quantum relations, and knowing its neighbors sharpens what it does and doesn't say.
- The virial theorem relates average kinetic and potential energy (2⟨T⟩ = −⟨V⟩ for Coulomb systems) and can itself be derived by applying Hellmann-Feynman with λ a uniform scaling of coordinates.
- First-order perturbation theory gives ΔE = ⟨ψ⁰|H'|ψ⁰⟩ — the same expression, but as an approximation for a fixed perturbation, whereas Hellmann-Feynman is exact for a continuously varied parameter.
- The generalized/off-diagonal form connects ⟨ψ_m|∂H/∂λ|ψ_n⟩ to matrix elements, underpinning response theory.
The theorem fails when its assumptions fail: if |ψ⟩ is not a true eigenstate (an unconverged or non-variational trial function), if the energy is not stationary, at level crossings and degeneracies where dE/dλ is not single-valued, or when the domain of H itself depends on λ (moving boundaries). In these cases the neglected ⟨∂ψ/∂λ|H−E|ψ⟩ term no longer vanishes and must be added back.
History, significance, and open questions
The result carries two names but was discovered at least four times. Paul Güttinger proved it in 1932, Wolfgang Pauli in 1933, and Hans Hellmann presented it in his 1937 textbook Einführung in die Quantenchemie — the first comprehensive quantum-chemistry book. Richard Feynman rederived it as an MIT undergraduate; on John Slater's suggestion it became his 1939 senior thesis and the paper Forces in Molecules, published in Physical Review when Feynman was 21.
Its significance is conceptual as much as computational: it shows that chemical bonding, at the level of forces, is electrostatic — the quantum weirdness lives in the charge density, not in some extra force law. That reframing made the covalent bond intuitive and gave simulation a rigorous, cheap force.
- Extensions exist to finite temperature (free-energy derivatives), to time-dependent and open systems, and to relativistic Hamiltonians.
- Open practical questions center on Pulay-force cancellation in machine-learning potentials and on force accuracy in strongly correlated systems where approximate wavefunctions violate the stationarity condition.
| Term | Physical origin | Present when ψ is exact? | Typical size |
|---|---|---|---|
| Hellmann-Feynman force | ⟨ψ|∂H/∂λ|ψ⟩ — bare Coulomb attraction of electrons and nuclei | Yes — this is the whole force | 0 to a few eV/Å per atom |
| Pulay (wavefunction) force | ∂ψ/∂λ terms that survive because basis functions move with the nuclei | No (vanishes for exact ψ) | Comparable to HF force; up to ~1 eV/Å |
| Incomplete-basis error | ⟨∂ψ/∂λ|H−E|ψ⟩ ≠ 0 for non-eigenstates | No | 0.1–1 eV/Å, shrinks with basis size |
| Electrostatic theorem check | Force reduced to pure classical electrostatics on nuclei | Yes (Feynman 1939) | Matches HF force exactly |
Frequently asked questions
What is the Hellmann-Feynman theorem in one sentence?
It states that for a Hamiltonian H(λ) with a normalized eigenstate |ψ(λ)⟩ of energy E(λ), the energy derivative is dE/dλ = ⟨ψ|∂H/∂λ|ψ⟩. In practice, this means you can compute forces and other derivatives from a fixed wavefunction without knowing how the wavefunction itself changes.
Why do the wavefunction-derivative terms cancel?
Because |ψ⟩ is an eigenstate, H acting on it just multiplies by the number E, turning the ∂ψ/∂λ terms into E times the derivative of the normalization ⟨ψ|ψ⟩. Since ⟨ψ|ψ⟩ = 1 is constant, its derivative is zero, so those terms drop out exactly. This requires ψ to be a true eigenstate or at least a stationary point of the energy.
Who discovered it — Hellmann or Feynman?
Both, plus others. Paul Güttinger derived it in 1932 and Wolfgang Pauli in 1933, but Hans Hellmann popularized it in his 1937 quantum chemistry textbook, and Richard Feynman independently proved it for his 1939 MIT undergraduate thesis and paper 'Forces in Molecules.' The dual name honors the two who most influenced its use in chemistry and physics.
What is Feynman's electrostatic theorem?
It is the special case where λ is a nuclear coordinate. Feynman showed that once the electron density is known, the force on each nucleus is purely classical Coulomb attraction from the electron cloud plus repulsion from the other nuclei — no separate quantum forces act on the nuclei. All quantum effects are encoded in the shape of the electron density.
What are Pulay forces and how do they relate?
Pulay forces are correction terms that appear when using atom-centered basis functions that move with the nuclei. For an incomplete basis, ∂ψ/∂λ is nonzero and the neglected terms no longer vanish, so the bare Hellmann-Feynman force is wrong and Pulay corrections must be added. Plane-wave DFT avoids them because its basis does not move with the atoms.
When does the Hellmann-Feynman theorem fail?
It fails when |ψ⟩ is not a true eigenstate or stationary variational solution — for example an unconverged trial function — and at degeneracies or level crossings where dE/dλ is not single-valued. It also needs correction when the domain of the Hamiltonian depends on λ, such as moving boundaries or basis functions that shift with the parameter.