Overlap and Hamiltonian Matrix Elements
Every quantum chemistry calculation eventually comes down to filling two matrices with numbers. Pick a basis of functions to describe an electron's possible whereabouts — atomic orbitals, Gaussians, plane waves, whatever suits the problem. The entire physical content of the trial wavefunction then collapses into two arrays. First, an overlap matrix that tells you how the basis functions crowd into each other's space. Second, a Hamiltonian matrix that tells you how much energy each pairing costs. Diagonalizing the resulting secular determinant then hands you the approximate energies and orbitals. But before any determinant can be solved, someone has to build and correctly. Understanding what each entry means physically — not just how to compute it — matters greatly. That understanding is what separates a chemist who can read a Hückel or extended-Hückel printout from one who is just following a recipe. This matters because and are not abstract bookkeeping devices; they encode chemistry. A large off-diagonal between two atomic orbitals signals a strong bonding or antibonding interaction. It is, essentially, a quantitative resonance integral. It is the direct ancestor of the "" that shows up in every Hückel diagram a student ever draws. A nonzero signals that two basis functions are not orthogonal — they physically overlap in space. This single fact is responsible for some of the least intuitive features of quantum chemical energy expressions. It explains why increasing basis-set overlap can sometimes raise rather than lower an orbital's apparent energy contribution. This holds unless the algebra is handled with full rigor. The big picture is this: any linear variational trial function is built from non-orthogonal basis functions . Via the variational principle, this leads to a generalized eigenvalue problem . This is different from the simpler you would get from an orthonormal basis. The matrices and are what stand between a chosen basis set and a usable energy spectrum. Get their definitions, symmetries, and physical interpretations right, and the secular determinant becomes almost self-explanatory. Get them wrong, and every downstream number is compromised — bond order, orbital energy, HOMO–LUMO gap. This article builds and from first principles. It works through the bookkeeping of Hermiticity and normalization. It connects the abstract integrals to concrete Hückel-style numbers. It shows exactly how each entry earns its place in the matrix. That matrix is what Solving the Secular Determinant will eventually diagonalize.
- measures the spatial overlap of basis functions and ; for normalized basis functions.
- measures the energetic coupling between basis functions and through the true Hamiltonian .
- Both matrices are Hermitian (, ); for real basis functions this means simply symmetric.
- is a Coulomb-type integral (the energy of an electron confined to orbital alone); () is a resonance/exchange-type integral driving bonding.
- The generalized eigenvalue equation , not the simpler , is the correct secular equation whenever for .
- Hückel theory is the famous special case where is approximated as the identity matrix even though the true atomic-orbital overlaps are not zero.
- Key idea: and are simply the matrix elements of the identity and Hamiltonian operators in a chosen (possibly non-orthogonal) basis, and together they convert an intractable differential eigenvalue problem into a solvable matrix one.
Where this lives today
Every modern electronic-structure package — Gaussian, ORCA, Psi4, NWChem, VASP, CP2K — builds and diagonalizes generalized eigenvalue problems of exactly the form (there called in Roothaan–Hall notation, with the Fock matrix playing the role of ) at every iteration of a self-consistent field calculation. The overlap matrix in these codes is computed from real, explicit Gaussian-type-orbital integrals, and is never treated as the identity except when the code performs an internal Löwdin or Gram–Schmidt orthogonalization step specifically to simplify diagonalization. The physical interpretation carried over from this article — diagonal elements as self-energies, off-diagonal elements as couplings — remains exactly the lens through which chemists read Mulliken population analyses, crystal-orbital Hamilton population (COHP) plots in solid-state chemistry, and tight-binding Hamiltonians in materials science and graphene/nanotube band-structure calculations. In drug design, semi-empirical and tight-binding QM/MM methods (used to model enzyme active sites, for instance in modeling proton or hydride transfer in dehydrogenases) rely on exactly this / machinery, often with parametrized (as in extended Hückel or DFTB, density-functional tight-binding) standing in for expensive ab initio integrals to make large biomolecular systems tractable. In materials science, the tight-binding models used to predict the electronic structure of graphene, transition-metal dichalcogenide monolayers, and topological insulators are structurally identical Hückel-style secular problems, with hopping integrals between lattice sites replacing the carbon–carbon of organic systems, and often (again) approximated as the identity for simplicity, exactly as in the original 1931 treatment. Spectroscopists extracting electronic coupling strengths in dimeric photosynthetic pigments or organic semiconductors from measured exciton splittings use precisely the overlap-corrected two-level formula derived in Example 3 of this article, since neglecting there would systematically bias the extracted electronic coupling — a quantity central to predicting charge-transfer and energy-transfer rates via Marcus theory and Förster/Dexter mechanisms.
Ask the tutor: Once I have built and for my basis, what is the actual step-by-step procedure for extracting the energies and coefficients from ?
The physical picture
Start with the Linear Variation and the Secular Equations setup: choose basis functions — atomic orbitals on different atoms, Gaussian primitives, or any convenient set — and write the trial wavefunction as a linear combination,
The variational theorem says that the "best" within this family minimizes the Rayleigh quotient . Expanding both integrals in the basis functions immediately produces sums of two kinds of integral: in the numerator, and in the denominator. These are exactly and . Physically, is a geometric quantity — it depends only on the shapes and positions of the basis functions, never on the Hamiltonian. If and are atomic orbitals centered on atoms that are far apart, their tails barely reach each other and . If the atoms are pulled closer, the orbitals interpenetrate and grows, approaching only in the unphysical limit that the two functions become identical (same center, same orbital). Overlap is always between and for real, normalized functions, a direct consequence of the Cauchy–Schwarz inequality . , by contrast, is an energetic quantity. It asks: if the system's true Hamiltonian acts on basis function , how much of the resulting function looks like , weighted by energy? The diagonal elements are the expectation value of the energy if the electron were (falsely) assumed to sit entirely in orbital — these are called Coulomb integrals in Hückel language, usually denoted , and are large negative numbers (bound-state energies) for atomic-orbital bases. The off-diagonal elements for are resonance (or exchange) integrals, denoted in Hückel theory — they quantify how strongly the true Hamiltonian mixes basis function into basis function 's domain, and it is precisely this mixing that lowers the energy of bonding combinations and raises the energy of antibonding ones. The key structural fact tying and together is Hermiticity. Because is a Hermitian operator (its eigenvalues, the physical energies, must be real), the matrix built from it obeys
The identity operator (implicit in the overlap integral) is trivially Hermitian too, so
For real basis functions — the overwhelmingly common case in introductory quantum chemistry — complex conjugation does nothing, and both statements simplify to ordinary symmetry: and . This halves the work of building the matrices, since only the upper (or lower) triangle needs to be computed independently.
The picture above is deliberately drawn with a real nonzero overlap region because that shaded lens is the geometric meaning of : it is literally the integral of the product over all space, largest where the two orbitals' amplitudes are simultaneously large. cannot be drawn as a simple region because the Hamiltonian operator (kinetic energy plus potential energy) reshapes before the overlap with is taken — it is an energetic overlap, not a spatial one, though for real bonding orbitals the two integrals do tend to have correlated signs (larger spatial overlap generally produces a more negative, more stabilizing , though this correlation is not a strict theorem).
The core ideas
The defining integrals are
where: are members of the chosen basis set, and the integral runs over all electronic coordinates the basis depends on.
Reading: is the projection of onto — a pure measure of how much the two functions coincide in space, with no reference to energetics.
where: is the full (or effective, in semi-empirical theories) Hamiltonian operator for the system.
Reading: is the amplitude for the Hamiltonian to connect basis states and — the diagonal terms are self-energies, the off-diagonal terms are couplings.
where: the star denotes complex conjugation, required for real eigenvalues/real overlaps.
Reading: Both matrices must be Hermitian because is Hermitian and the identity ("overlap") operator is trivially Hermitian; for real-valued basis functions both matrices are simply symmetric.
where: normalization fixes each diagonal overlap to unity, and the Cauchy–Schwarz inequality bounds every off-diagonal overlap.
Reading: The overlap matrix behaves like a "correlation matrix" between basis functions — its diagonal is always , its off-diagonals measure the degree of non-orthogonality.
where: is the column vector of linear-variation coefficients and is the variational energy being sought (an eigenvalue of this generalized problem).
Reading: This is the matrix form of the secular equations — it reduces to the ordinary eigenvalue problem only when is the identity matrix, i.e. only for an orthonormal basis.
where: this determinant condition is the requirement that have a nontrivial solution .
Reading: Expanding this determinant produces the secular polynomial in whose roots are the approximate energies — the object that Solving the Secular Determinant takes as its starting point.
Goal. Show explicitly how minimizing over the coefficients of a linear trial function forces and to appear, and derive the resulting matrix secular equation.
Step 1 — Write the trial function and substitute. Let with real coefficients and (for simplicity of notation) real basis functions . Then
These double sums are exact consequences of linearity of the integral — no approximation has been made yet. Every cross term in the expansion of (or for complex functions) becomes one matrix element.
Step 2 — Minimize with respect to each coefficient. Write with and . The variational condition is for every . Using the quotient rule,
where the last step used to replace .
Step 3 — Evaluate the derivatives. Because (Hermiticity, real case), differentiating the double sum with respect to a single coefficient picks up two equal contributions (one from each index touching ):
Step 4 — Assemble the secular equations. Substituting into Step 2 and cancelling the common factor of 2 gives, for every ,
This is exactly linear homogeneous equations in the unknowns , one equation for each choice of . Written as a single matrix equation, this is , or equivalently .
Step 5 — Nontrivial-solution condition. A homogeneous linear system has a solution other than the trivial only if the coefficient matrix is singular, i.e.
This is the secular determinant. Its roots are the variational estimates of the true energy levels accessible within the chosen basis, ordered from lowest (best estimate of the ground state, by the variational theorem) to highest.
Go deeper · Derivation B · 1 minHermiticity of and the reality of the eigenvalues
Goal. Prove that follows directly from the Hermitian character of , and show why this guarantees real eigenvalues out of the secular determinant — a property that must hold for any physically sensible energy matrix.
Step 1 — State the defining property of a Hermitian operator. An operator is Hermitian if, for any two well-behaved functions in its domain,
This is the operator-level statement of self-adjointness; physically it is required so that 's eigenvalues (observable energies) come out real.
Step 2 — Apply it to two basis functions. Set and . The left side is by definition. The right side is , which is the complex conjugate of ... more directly, note that
Step 3 — Conclude the symmetry relation. Equating the two sides from the Hermiticity condition gives
For a basis of real functions (the standard case for Hückel-type real atomic -orbitals or real Gaussians), complex conjugation is inert, so this collapses to the ordinary matrix symmetry
The identical argument applied to the identity operator (whose "Hamiltonian" role in the overlap integral is trivial, ) gives , or for real bases.
Step 4 — Why this forces real eigenvalues. Consider the generalized eigenvalue equation with both Hermitian and additionally positive definite (true whenever the basis functions are linearly independent). Multiply on the left by :
Both and are real numbers — this is a standard property of quadratic forms built from Hermitian matrices, since using . Since is positive definite, for , so
is manifestly a ratio of two real numbers, hence real. Every root of the secular determinant is therefore guaranteed to be a real energy — never a complex number — precisely because both and were built to be Hermitian from the start.
Worked examples
Example 1 — Foundational: building and for two non-orthogonal 1s-like functions. Take a minimal two-function basis, and , representing valence orbitals on two different atoms in a diatomic-like fragment, with the following (asymmetric, deliberately non-round) parameters obtained from an assumed Hamiltonian and overlap model:
Both basis functions are normalized, so . The secular determinant is
Expanding,
Substitute numbers. First the diagonal product:
Next the off-diagonal term:
Subtracting,
Divide through by :
Apply the quadratic formula:
This gives two roots:
Both energies lie close to, but shifted from, the original diagonal values and — exactly the qualitative behavior expected: nonzero and split and shift the two "atomic" levels into a bonding-like combination near eV and an antibonding-like combination near eV, with the lower root pushed to slightly below the lowest input diagonal energy, as the variational theorem requires. Limiting-case check: if (orthogonal basis) the same determinant reduces to , the ordinary two-level Hückel-type formula with no overlap correction. Setting in this example, keeping eV, gives , whose roots are , i.e. eV and eV — visibly different from the result above, confirming that overlap materially changes both roots and is not a negligible refinement.
Example 2 — Applied: the allyl radical with explicit overlap correction beyond simple Hückel. Simple Hückel theory for the allyl system (, three contiguous orbitals) sets , , , and — crucially — approximates (identity overlap matrix), even though the true carbon – overlap for adjacent, -bonded carbons is typically around , not zero. This example shows how including the real nearest-neighbor overlap changes the result. Keep (no direct 1–3 coupling, standard Hückel topology) and (atoms 1 and 3 are too far apart for meaningful direct overlap), but now include explicitly, alongside and . The generalized secular determinant is
Substitute for compactness and write (the same value appears twice by symmetry). The determinant expands (by cofactor expansion along the first row) as
So the roots satisfy either (i.e. ) or , i.e. . Take numerical values typical of a carbon basis: eV, eV (a slightly stronger resonance integral than the textbook eV default, chosen here to keep the numbers asymmetric and non-round), and . The middle root is exact and overlap-independent: eV (the nonbonding molecular orbital, unaffected by nearest-neighbor overlap because its coefficient vanishes on the central atom by symmetry). For the outer roots, write and , and solve self-consistently (since itself depends on ). Take for the bonding root (lower energy, more negative means ... actually check signs carefully): since and we expect the bonding combination to lie below (more negative , i.e. ), take the branch with , i.e. .
Collect terms:
Plug in numbers: , so eV, and .
Recompute carefully: eV. Hold on — that is less stabilized than eV, which cannot be right for a bonding MO; the sign convention must be rechecked. Retrying with the opposite branch assignment: the bonding root should use evaluated self-consistently, but the correct physical requirement is that as this must reduce to the standard Hückel allyl result (bonding) and (antibonding). Re-deriving with that boundary condition fixes the branch:
which at gives eV — correctly the strongly bonding root. The earlier arithmetic slip was dividing when ; redo that division precisely:
The issue is that dividing a more negative numerator by a number greater than 1 makes it less negative, which is the correct overlap effect direction for a bonding MO when : nonzero positive always reduces the magnitude of stabilization of the bonding MO relative to the naive Hückel value, because the denominator . So eV is in fact the physically expected, overlap-corrected result: less stabilized than the naive Hückel value of eV, as it must be, since overlap always damps apparent bonding energies in this normalization convention. Similarly, for the antibonding root, using with the other sign,
So the three overlap-corrected allyl energies are eV, eV, eV — a much narrower spread than the naive Hückel prediction (, , eV), illustrating concretely how neglecting overlap (as simple Hückel theory does) systematically overestimates the total -stabilization spread of a conjugated system. Limiting-case check: setting collapses both corrected formulas back exactly onto the textbook Hückel allyl energies , confirming internal consistency of the overlap-corrected derivation.
Example 3 — Competition-level: extracting from an experimental splitting when is known. A symmetric two-level model system (e.g., a homodimer with two equivalent monomer units, each described by one basis function with identical site energy ) shows an experimentally measured energy gap between its two eigenstates of eV. Independent structural/overlap calculations give . Because the site energies are equal (), the secular determinant
factors cleanly. Expanding,
Taking the two signs gives the two roots:
The gap between them is
Put over a common denominator :
Expand the numerator term by term:
Subtracting the second from the first,
Notice the term did not cancel here (both terms carry the same sign of -dependence), giving
Given that this problem provides a measured eV and asks to back out , one additional independent quantity is needed: the site energy , obtained from separate spectroscopy of an isolated monomer, say eV. Rearranging for :
Substitute the numbers: , so . Then eV, and half of that is eV. Also eV. Therefore
So the resonance integral extracted from the observed splitting, correcting properly for the nonzero overlap , is eV. Limiting-case check: if the analysis had (incorrectly) ignored overlap by setting in the formula, one would get simply (from the formula above with ), giving the naive estimate eV — nearly a factor of 1.8 smaller in magnitude than the overlap-corrected value of eV. This large discrepancy is exactly why competition-level problems and real spectroscopic analyses insist on tracking explicitly rather than assuming orthogonality by default.
Limiting cases, scope & common traps
| Situation | What happens to , | Consequence for the secular equation |
|---|---|---|
| Orthonormal basis (e.g. true molecular orbitals, or basis functions deliberately Löwdin-orthogonalized) | exactly | collapses to ordinary eigenvalue problem |
| Simple Hückel theory | approximated as even though true AO overlaps are – | Systematically overestimates orbital energy spreads (see Example 2) |
| Widely separated basis functions () | , | Fragments decouple; block-diagonal secular matrix |
| Two identical, coincident basis functions | Basis becomes linearly dependent; singular, secular equation ill-defined | |
| Extended Hückel / semi-empirical methods | computed explicitly from real AO overlap integrals; often approximated via the Wolfsberg–Helmholz formula | Generalized eigenvalue problem must be solved as-is; no shortcut to |
| Complex basis functions (rare in introductory contexts, common with spin–orbit or magnetic-field problems) | in general | Full complex-conjugate bookkeeping required; matrices are Hermitian, not merely symmetric |
The chemist behind it
The matrix formulation of quantum mechanical variational theory, and the specific machinery of overlap and Hamiltonian matrices in a non-orthogonal basis, sits at the intersection of several contributions, but the person whose name is most tightly bound to making these integrals usable for real molecules is Erich Hückel, whose 1931 treatment of conjugated systems turned the abstract secular-determinant machinery of Heisenberg, Born, and Jordan's matrix mechanics into a working tool for organic chemists. Hückel, trained as a physicist under Debye and collaborating closely with his brother Walter (an organic chemist), recognized that aromatic and conjugated systems could be treated by separating and electrons and building a secular determinant purely from -type orbitals — with the deliberately simplifying choice that let the "resonance integral" and "Coulomb integral" carry all the chemistry.
Origins · 1 minErich Hückel and how this was discovered
Trained in Göttingen under Max Born and Peter Debye, Hückel first made his name in 1923 alongside Debye developing the Debye–Hückel theory of strong electrolytes, correctly describing how ionic atmospheres screen charged ions in solution. He then turned to quantum mechanics as it was maturing in the late 1920s and, working with his brother Walter Hückel on questions of aromaticity and conjugation, developed in 1930–1931 the molecular-orbital treatment of planar unsaturated and aromatic hydrocarbons that now bears his name. His central insight was that a drastically simplified Hamiltonian and overlap matrix — real integers of chemical intuition standing in for messy multi-center integrals — could still correctly predict which conjugated ring systems were aromatically stabilized and which were not, culminating in the famous rule. The approximation of treating as the identity matrix, controversial among more rigorous quantum chemists, turned out to preserve the qualitative physics (bonding/antibonding energy ordering, nodal patterns) while being solvable by hand or slide rule, decades before digital computers made full ab initio treatments routine.
Why do we need at all — why not just diagonalize ?
Diagonalizing alone (solving ) is only correct when the basis functions used to build are orthonormal, i.e. when . Most chemically natural basis sets — atomic orbitals on different atoms, Gaussian-type functions placed at different nuclear centers — are not orthogonal, because their tails overlap in space. When basis functions overlap, the variational minimization of the Rayleigh quotient produces the more general equation , and is exactly the correction factor that accounts for this non-orthogonality. Ignoring it (setting when it is not really the identity) silently introduces errors, as shown quantitatively when comparing naive and overlap-corrected Hückel-style energies for the allyl radical.
Is the same thing as the resonance integral from Hückel theory?
Essentially yes, for the specific case of adjacent -bonded carbons in simple Hückel theory: for nearest neighbors. More generally, is the broader, model-independent definition — the matrix element for any choice of basis and any Hamiltonian, semi-empirical or exact. Hückel theory is one particular (highly simplified) recipe for assigning numerical values to : it sets for every carbon orbital, for bonded neighbors, and for everyone else, all calibrated empirically rather than computed from first principles.
Can ever be negative?
Yes. Overlap is a signed quantity because basis functions can have nodes and opposite-signed lobes. If and are, say, a orbital and a shifted orbital oriented so that a positive lobe of one overlaps a negative lobe of the other, the product integrates to a negative number, giving . This is exactly what happens for antibonding-type spatial arrangements even before any Hamiltonian is applied — a purely geometric, sign-carrying fact captured entirely within , independent of 's sign.
How is actually computed or estimated in practice?
In full ab initio theory, is computed as a genuine multi-center integral involving the kinetic energy operator and the full electron–nuclear and electron–electron potential (the latter self-consistently, in Hartree–Fock or DFT). In semi-empirical and Hückel-type theories, is instead parametrized — often set equal to (or scaled from) a measured valence-state ionization energy for that atomic orbital, sometimes with an electronegativity correction (as in the Wolfsberg–Helmholz and related schemes) so that more electronegative atoms get more negative values, reflecting their tighter grip on electron density.
Why is the lower root of a two-level secular problem always more stabilized than either diagonal element, and does overlap always make things "worse"?
When (a genuine coupling, not merely ) is nonzero, the variational theorem guarantees the lowest eigenvalue of must lie at or below the lowest diagonal entry , because the lowest root is by construction the best possible variational estimate using the full two-function basis, which cannot be worse than using either basis function alone. Overlap () does not uniformly make bonding "worse"; rather, as Example 2 shows explicitly, nonzero overlap in the conventional normalization used here reduces the magnitude of the apparent stabilization/destabilization spread relative to the naive Hückel treatment, which is why neglecting overlap systematically overestimates -conjugation energies in simple Hückel theory.
Does this framework only apply to -electron organic chemistry, or is it more general?
It is completely general. The definitions and apply to any linear variational calculation in any basis — atomic orbitals in Hückel or extended Hückel theory, Gaussian-type orbitals in modern ab initio Hartree–Fock/DFT calculations, plane waves in solid-state band-structure codes, or even vibrational/rotational basis functions in spectroscopic variational calculations. The physical roles — as a geometric non-orthogonality measure, as an energetic coupling measure — are universal; only the specific numerical recipe for filling in the matrix elements changes from method to method.
What goes wrong if the basis set is nearly linearly dependent?
If two basis functions become nearly identical, and the overlap matrix develops a near-zero eigenvalue (it approaches singularity). Solving then requires dividing by numbers close to zero at some stage of the diagonalization, which numerically amplifies any small errors in the input integrals into large, spurious swings in the computed energies and coefficients. This is a well-known practical hazard in large Gaussian basis sets with diffuse functions, and is normally handled by canonical orthogonalization (discarding or damping the near-zero eigenvalues of ) before diagonalizing .