Linear Variation and the Secular Equations

Suppose you want the ground-state energy of an electron trapped by some messy potential. Examples include a butadiene π system or a transition-metal complex. These are systems without a clean analytic solution. You cannot solve the Schrödinger equation exactly. Instead, you can guess an approximate wavefunction. The mathematics then tells you how good the guess is. The single most powerful way to build that guess is this: mix a handful of known, chemically sensible functions. These include atomic orbitals, Gaussians, and hydrogenic states. You combine them with adjustable coefficients. Then you ask which mixture the The Variational Method with Trial Functions prefers. That question, phrased carefully, turns into a small piece of linear algebra. It becomes a matrix eigenvalue problem called the secular equations. This matters because of something important. Almost every practical quantum-chemical method relies on this same idea. Hückel theory, extended Hückel, Hartree–Fock, configuration interaction, and density-functional theory in its Kohn–Sham form all qualify. Underneath the software, each is exactly this construction repeated at larger scale. A "basis set" is a list of trial functions. The "energies" that a quantum chemistry program prints out are eigenvalues of a secular determinant. The "molecular orbital coefficients" are the eigenvectors. Understanding the linear variation method by hand is therefore useful. Doing so for two or three basis functions is not a toy exercise. It is the exact same mathematics that a million-atom DFT calculation performs. It just happens at a scale you can check with pencil and paper. The big picture is this: instead of varying a continuous parameter in a trial function, we do something different. In the simple variational method, you might vary an orbital exponent, for example. Here, instead, we vary a finite set of linear coefficients. These coefficients multiply fixed basis functions. The trial energy is a ratio of quadratic forms in these coefficients. Minimizing it with respect to each coefficient produces a set of equations. These are linear homogeneous equations called the secular equations. Their nontrivial solutions require a determinant to vanish. That determinant condition is a polynomial in the energy. Its roots are variational upper bounds to the true eigenvalues. These roots are ordered from lowest to highest. This article builds the linear variation method from the ground up. It covers the trial function ansatz and the minimization that produces the secular equations. It also covers the generalized eigenvalue problem in matrix form. Every quantity that appears is interpreted along the way. These include overlap integrals, Hamiltonian matrix elements, and the resulting energies and coefficients. It sets up the practical evaluation of those integrals, without computing them in detail. The same is true for the numerical solution of the determinant. These are natural next steps once the structure here is in hand.

Key takeaways
  • A linear trial function Ψ=∑iciϕi\Psi = \sum_i c_i \phi_i mixes fixed basis functions ϕi\phi_i with variable coefficients cic_i.
  • Minimizing E[{ci}]=⟨Ψ∣H^∣Ψ⟩/⟨Ψ∣Ψ⟩E[\{c_i\}] = \langle\Psi|\hat H|\Psi\rangle / \langle\Psi|\Psi\rangle over the cic_i gives a set of linear homogeneous equations: the secular equations.
  • In matrix form these read Hc=E Sc\mathbf{H c} = E\,\mathbf{S c}, a generalized eigenvalue problem built from the Hamiltonian matrix HijH_{ij} and overlap matrix SijS_{ij}.
  • Nontrivial coefficient vectors exist only when det⁡(H−ES)=0\det(\mathbf{H} - E\mathbf{S}) = 0: the secular determinant.
  • For NN basis functions this determinant is a degree-NN polynomial in EE, giving NN variational energies, each an upper bound to the corresponding true eigenvalue.
  • If the basis is orthonormal, S=1\mathbf{S} = \mathbf{1} and the problem reduces to the ordinary eigenvalue equation Hc=Ec\mathbf{Hc} = E\mathbf{c}.
  • Key idea: minimizing the variational energy of a linear combination of basis functions is algebraically identical to diagonalizing the Hamiltonian matrix in that basis.

Where this lives today

Every electronic structure package in routine use — Gaussian, ORCA, Psi4, NWChem, Q-Chem — solves a secular equation of exactly this type at its core, just with H\mathbf H built from full electron–electron repulsion integrals (Hartree–Fock or Kohn–Sham operators) rather than empirical Hückel parameters, and with basis sets of hundreds or thousands of Gaussian functions rather than three pzp_z orbitals. The Overlap and Hamiltonian Matrix Elements that populate S\mathbf S and H\mathbf H in these calculations are computed analytically for Gaussian basis functions, but the linear-algebra step that follows — Solving the Secular Determinant via matrix diagonalization — is the identical generalized eigenvalue problem derived here. Simple Hückel theory itself, despite its crudeness, remains in active pedagogical and even research use for rapid, back-of-envelope predictions about π-conjugated systems: estimating relative stabilities of polyene and polycyclic aromatic isomers, rationalizing regiochemistry in electrophilic aromatic substitution through frontier-orbital coefficients, and teaching the origin of aromaticity and antiaromaticity through the pattern of bonding/nonbonding/antibonding roots. Extended Hückel theory, a step up in sophistication that includes all valence orbitals (not just π electrons), is still used in solid-state and materials chemistry for qualitative band-structure reasoning in extended systems, again via the same secular-determinant construction scaled up to a much larger basis. In drug design and materials science, configuration interaction and multireference methods build their many-electron wavefunctions as linear combinations of Slater determinants — a direct many-electron analog of the linear combination of one-electron basis functions treated here — and diagonalize the resulting CI Hamiltonian matrix by the same secular-equation logic to obtain ground and excited electronic states relevant to photochemistry, chromophore design, and reaction mechanism studies. Even machine-learning-accelerated quantum chemistry, which increasingly predicts H\mathbf H or the electronic density directly, still typically returns to a secular-equation solve as the final step connecting a learned Hamiltonian to physically interpretable orbital energies and coefficients.

Ask the tutor: How do you actually evaluate the Hamiltonian and overlap matrix elements for a real Gaussian basis set before plugging them into the secular determinant?

The physical picture — thorough prose

Start from the variational principle in its most familiar form: for any normalizable trial function Ψtrial\Psi_{\text{trial}},

Etrial=⟨Ψtrial∣H^∣Ψtrial⟩⟨Ψtrial∣Ψtrial⟩ ≥ E0,E_{\text{trial}} = \frac{\langle \Psi_{\text{trial}}|\hat H|\Psi_{\text{trial}}\rangle}{\langle \Psi_{\text{trial}}|\Psi_{\text{trial}}\rangle} \ \geq\ E_0,

where E0E_0 is the true ground-state energy. In the simple variational method you might pick a single functional form with one continuous parameter — an exponential e−αre^{-\alpha r}, a Gaussian e−αr2e^{-\alpha r^2} — and minimize Etrial(α)E_{\text{trial}}(\alpha) over α\alpha. The linear variation method generalizes this in a specific, extremely fruitful direction: instead of one function with a shape parameter, use a fixed set of NN basis functions ϕ1,ϕ2,…,ϕN\phi_1, \phi_2, \dots, \phi_N (real, for simplicity, though the complex case is a direct generalization) and write

Ψtrial=c1ϕ1+c2ϕ2+⋯+cNϕN=∑i=1Nciϕi.\Psi_{\text{trial}} = c_1\phi_1 + c_2\phi_2 + \cdots + c_N\phi_N = \sum_{i=1}^N c_i \phi_i.

The ϕi\phi_i are chosen for chemical or mathematical convenience — atomic orbitals centered on each atom in a π system, a set of Gaussian primitives, particle-in-a-box eigenfunctions, whatever spans a subspace believed to contain a good approximation to the true wavefunction. They do not need to be orthogonal or normalized in general, though many practical choices (Hückel theory's assumption of orthonormal 2p orbitals) simplify things by assuming so. The coefficients cic_i are now the variational parameters. There are NN of them, and the variational theorem still applies: whatever values of c1,…,cNc_1,\dots,c_N minimize the trial energy give the best possible energy and wavefunction within the space spanned by the ϕi\phi_i. This is the crucial restriction to keep in mind — the linear variation method never gives you the exact energy unless the true eigenfunction happens to lie exactly in your chosen subspace; it gives you the best answer achievable from the functions you decided to trust. A second, deeper feature emerges once you carry out the minimization (done in full in the derivations below): because EtrialE_{\text{trial}} is a ratio of quadratic forms in the cic_i, setting ∂E/∂ck=0\partial E/\partial c_k = 0 for every kk produces not one equation but a whole system of NN coupled linear equations, one per coefficient, all sharing the same unknown energy EE. This system is homogeneous — it has the trivial all-zero solution, which is physically useless (no wavefunction) — so a nontrivial solution exists only for special values of EE that make the determinant of the coefficient matrix vanish. Those special values are exactly the variational estimates of the energy levels, and there are NN of them for an NN-function basis, ordered so that the lowest is the tightest upper bound on the true ground state, the next lowest bounds the true first excited state (subject to the basis containing enough structure to represent it), and so on — this ordering result is sometimes called MacDonald's theorem.

Figure
Building a linear trial function from a basis and extracting energies from the secular determinant
From basis functions to secular determinant Basis set {φᵢ} φ₁ = 2pz on C1 φ₂ = 2pz on C2 φ₃ = 2pz on C3 …N basis fns total Trial function Ψ = c₁φ₁ + c₂φ₂ + c₃φ₃ minimize E = ⟨Ψ|Ĥ|Ψ⟩ / ⟨Ψ|Ψ⟩ over c₁, c₂, c₃ Secular equation det(H − E S) = 0 degree-N polynomial in E N roots E₁ ≤ E₂ ≤ … ≤ Eₙ (variational upper bounds) each Eₖ paired with coefficient vector cₖ = (c₁,c₂,c₃)ₖ E₁ ≥ true E₀ , E₂ ≥ true E₁ , … (MacDonald ordering)

The bookkeeping that makes this concrete uses two families of integrals over the basis functions. The overlap integrals

Sij=∫ϕi∗ϕj dτS_{ij} = \int \phi_i^* \phi_j \, d\tau

measure how much basis functions ii and jj resemble each other in the sense of wavefunction overlap; Sii=1S_{ii} = 1 if each ϕi\phi_i is normalized, and Sij=0S_{ij} = 0 for i≠ji \neq j if the basis is orthogonal. The Hamiltonian matrix elements

Hij=∫ϕi∗H^ϕj dτH_{ij} = \int \phi_i^* \hat H \phi_j \, d\tau

encode the energetics: HiiH_{ii} is close to (though not exactly) the energy of an electron sitting purely in ϕi\phi_i, while HijH_{ij} for i≠ji \ne j is a coupling or "resonance" term describing how strongly ϕi\phi_i and ϕj\phi_j interact through the Hamiltonian. The detailed physical and computational meaning of these two matrices — how to evaluate them for real basis sets, what makes HijH_{ij} large or small chemically — is developed at length elsewhere; here the point is only that once SijS_{ij} and HijH_{ij} are known numbers, the secular equations are pure linear algebra.

Figure
Matrix picture: H c = E S c for a 2×2 basis
Generalized eigenvalue problem, N = 2 H₁₁ H₁₂ H₂₁ H₂₂ c₁ c₂ = E S₁₁ S₁₂ S₂₁ S₂₂ · c₁ c₂ nontrivial (c₁,c₂) exist only if det(H − E S) = 0 (H₁₁−E S₁₁)(H₂₂−E S₂₂) − (H₁₂−E S₁₂)(H₂₁−E S₂₁) = 0

The core ideas — the governing equations/relationships

The trial function is

Ψ=∑i=1Nciϕi,\Psi = \sum_{i=1}^{N} c_i \phi_i,

where:

  • ϕi\phi_i are NN fixed, linearly independent basis functions (not necessarily orthonormal),
  • cic_i are real variational coefficients to be determined,
  • NN is the size of the basis, fixed in advance by the modeler's choice.

Reading: this is not a single function to optimize but a whole family of functions parametrized by the point (c1,…,cN)(c_1,\dots,c_N) in an NN-dimensional coefficient space; the variational method searches that space. The trial energy is the Rayleigh quotient

E(c)=∑i∑jcicjHij∑i∑jcicjSij,E(\mathbf c) = \frac{\displaystyle\sum_{i}\sum_{j} c_i c_j H_{ij}}{\displaystyle\sum_i \sum_j c_i c_j S_{ij}},

where:

  • Hij=∫ϕiH^ϕj dτH_{ij} = \int \phi_i \hat H \phi_j\, d\tau is the Hamiltonian matrix element,
  • Sij=∫ϕiϕj dτS_{ij} = \int \phi_i \phi_j\, d\tau is the overlap matrix element,
  • the sums run over all i,ji,j from 1 to NN.

Reading: both numerator and denominator are quadratic forms in the coefficients; E(c)E(\mathbf c) is bounded below by the true ground-state energy no matter what c\mathbf c is chosen, by the ordinary variational theorem. Minimizing E(c)E(\mathbf c) with respect to every ckc_k simultaneously (worked out below) yields the secular equations,

∑j=1N(Hkj−E Skj) cj=0,k=1,2,…,N,\sum_{j=1}^{N} \big(H_{kj} - E\,S_{kj}\big)\, c_j = 0, \qquad k = 1,2,\dots,N,

where:

  • EE is now the specific trial energy at the stationary point, shared by all NN equations,
  • each value of kk gives one linear equation in the unknowns c1,…,cNc_1,\dots,c_N.

Reading: this is a homogeneous linear system; the only way it has a solution other than c1=c2=⋯=cN=0c_1 = c_2 = \cdots = c_N = 0 is if the determinant of its coefficient matrix is zero. That determinant condition is the secular determinant equation,

det⁡(H−E S)=0,\det\big(\mathbf H - E\,\mathbf S\big) = 0,

where:

  • H\mathbf H is the N×NN\times N matrix with entries HijH_{ij},
  • S\mathbf S is the N×NN\times N overlap matrix with entries SijS_{ij},
  • the determinant, expanded, is a polynomial of degree NN in EE.

Reading: solving this polynomial for EE gives NN roots E1≤E2≤⋯≤ENE_1 \le E_2 \le \cdots \le E_N; each root, substituted back into the secular equations, yields a coefficient vector c(m)\mathbf c^{(m)} and hence an approximate wavefunction Ψm\Psi_m. ##

Derivation AMinimizing the Rayleigh quotient to obtain the secular equations

Goal. Show that minimizing E(c)=cTHc/cTScE(\mathbf c) = \mathbf{c}^{\mathsf T}\mathbf{H}\mathbf{c} / \mathbf{c}^{\mathsf T}\mathbf{S}\mathbf{c} with respect to every coefficient ckc_k produces the secular equations ∑j(Hkj−ESkj)cj=0\sum_j (H_{kj} - E S_{kj}) c_j = 0.

Step 1 — Write the trial energy explicitly. For a real trial function Ψ=∑iciϕi\Psi = \sum_i c_i \phi_i,

⟨Ψ∣H^∣Ψ⟩=∫(∑iciϕi)H^(∑jcjϕj)dτ=∑i∑jcicj∫ϕiH^ϕj dτ=∑i∑jcicjHij.\langle \Psi|\hat H|\Psi\rangle = \int \Big(\sum_i c_i \phi_i\Big)\hat H \Big(\sum_j c_j \phi_j\Big) d\tau = \sum_{i}\sum_{j} c_i c_j \int \phi_i \hat H \phi_j\, d\tau = \sum_i\sum_j c_i c_j H_{ij}.

Similarly the normalization integral is

⟨Ψ∣Ψ⟩=∑i∑jcicjSij.\langle \Psi|\Psi\rangle = \sum_i\sum_j c_i c_j S_{ij}.

Define N(c)=∑i,jcicjHijN(\mathbf c) = \sum_{i,j} c_ic_j H_{ij} and D(c)=∑i,jcicjSijD(\mathbf c) = \sum_{i,j} c_ic_j S_{ij}, so that

E(c)=N(c)D(c).E(\mathbf c) = \frac{N(\mathbf c)}{D(\mathbf c)}.

Step 2 — Rearrange before differentiating. It is algebraically cleaner to differentiate the equivalent relation N(c)=E(c) D(c)N(\mathbf c) = E(\mathbf c)\,D(\mathbf c) than the quotient directly. Treat EE as a function of c\mathbf c throughout and differentiate both sides with respect to a single coefficient ckc_k, holding all other cic_i (i≠ki \ne k) fixed.

Step 3 — Differentiate the numerator. Because Hij=HjiH_{ij} = H_{ji} (Hermitian, and real symmetric here), the quadratic form N(c)=∑i∑jcicjHijN(\mathbf c) = \sum_i \sum_j c_ic_jH_{ij} differentiates as

∂N∂ck=2∑j=1NcjHkj.\frac{\partial N}{\partial c_k} = 2\sum_{j=1}^N c_j H_{kj}.

This is the standard result for differentiating a symmetric quadratic form cTAc\mathbf c^{\mathsf T}\mathbf{A}\mathbf c: the derivative with respect to component kk is 2(Ac)k2(\mathbf{A}\mathbf c)_k. The same identity applied to D(c)=∑i∑jcicjSijD(\mathbf c) = \sum_i\sum_j c_ic_jS_{ij} gives

∂D∂ck=2∑j=1NcjSkj.\frac{\partial D}{\partial c_k} = 2\sum_{j=1}^N c_j S_{kj}.

Step 4 — Differentiate the product rule side. Differentiating N=EDN = ED with respect to ckc_k,

∂N∂ck=∂E∂ckD+E∂D∂ck.\frac{\partial N}{\partial c_k} = \frac{\partial E}{\partial c_k}D + E\frac{\partial D}{\partial c_k}.

Step 5 — Impose the stationary condition. At a minimum (or any stationary point) of E(c)E(\mathbf c), ∂E/∂ck=0\partial E/\partial c_k = 0 for every kk. Setting that term to zero collapses Step 4 to

∂N∂ck=E ∂D∂ck.\frac{\partial N}{\partial c_k} = E\,\frac{\partial D}{\partial c_k}.

Step 6 — Substitute the explicit derivatives. Insert the results of Step 3:

2∑j=1NcjHkj=E⋅2∑j=1NcjSkj.2\sum_{j=1}^N c_j H_{kj} = E \cdot 2\sum_{j=1}^N c_j S_{kj}.

Cancel the common factor of 2 and move everything to one side:

∑j=1NcjHkj−E∑j=1NcjSkj=0⟹∑j=1N(Hkj−ESkj)cj=0.\sum_{j=1}^N c_j H_{kj} - E\sum_{j=1}^N c_j S_{kj} = 0 \quad\Longrightarrow\quad \sum_{j=1}^N \big(H_{kj} - E S_{kj}\big) c_j = 0.

Step 7 — Recognize the system. This one equation holds for the particular kk chosen; but kk was arbitrary, running from 1 to NN, so in fact we obtain NN simultaneous equations of this form, one per basis function — exactly the secular equations quoted above. Each is linear and homogeneous in the coefficients c1,…,cNc_1, \dots, c_N, with the same energy EE appearing in every equation. ##

derivation[From the secular equations to the secular determinant, and back to physical coefficients]

Goal. Show why the secular equations force det⁡(H−ES)=0\det(\mathbf H - E\mathbf S) = 0, and how, once a root EmE_m is found, the corresponding coefficients cj(m)c_j^{(m)} are recovered and normalized.

Step 1 — Write the system in matrix form. The NN secular equations ∑j(Hkj−ESkj)cj=0\sum_j (H_{kj} - ES_{kj})c_j = 0 for k=1,…,Nk = 1,\dots,N are exactly the matrix equation

(H−ES) c=0,(\mathbf H - E\mathbf S)\,\mathbf c = \mathbf 0,

where c=(c1,c2,…,cN)T\mathbf c = (c_1, c_2, \dots, c_N)^{\mathsf T} is a column vector and 0\mathbf 0 is the zero vector. This is a homogeneous linear system with coefficient matrix M(E)≡H−ES\mathbf M(E) \equiv \mathbf H - E\mathbf S.

Step 2 — Invoke the theorem on homogeneous linear systems. A basic result of linear algebra states that a homogeneous system Mc=0\mathbf{M}\mathbf{c} = \mathbf 0 has a solution other than c=0\mathbf c = \mathbf 0 if and only if M\mathbf M is singular, i.e.

det⁡M=0.\det \mathbf M = 0.

Physically we require a nonzero solution, since c=0\mathbf c = \mathbf 0 means Ψ≡0\Psi \equiv 0, not a wavefunction at all. So the energy EE appearing in a physically meaningful stationary point must satisfy

det⁡(H−ES)=0.\det(\mathbf H - E \mathbf S) = 0.

Step 3 — Expand the determinant and count roots. Written out, det⁡(H−ES)\det(\mathbf H - E\mathbf S) is a sum of products of NN matrix entries (by the Leibniz expansion of an N×NN\times N determinant), each entry linear in EE. The highest power of EE that can appear comes from the product of all NN diagonal-type entries (Hii−ESii)(H_{ii} - E S_{ii}), giving an ENE^N term. Hence

det⁡(H−ES)=aNEN+aN−1EN−1+⋯+a1E+a0\det(\mathbf H - E\mathbf S) = a_N E^N + a_{N-1}E^{N-1} + \cdots + a_1 E + a_0

is a genuine degree-NN polynomial in EE (assuming S\mathbf S nonsingular, which holds whenever the basis functions are linearly independent). A degree-NN polynomial has exactly NN roots (real, in this Hermitian case, and in fact it can be shown they are all real because H\mathbf H and S\mathbf S are Hermitian and S\mathbf S is positive definite). Label them in increasing order E1≤E2≤⋯≤ENE_1 \le E_2 \le \cdots \le E_N.

Step 4 — Recover coefficients for each root. For each root EmE_m, substitute E=EmE = E_m back into the secular equations,

∑j(Hkj−EmSkj)cj(m)=0,k=1,…,N.\sum_j (H_{kj} - E_m S_{kj}) c_j^{(m)} = 0, \qquad k=1,\dots,N.

Because det⁡(H−EmS)=0\det(\mathbf H - E_m \mathbf S) = 0 by construction, this system has rank at most N−1N-1, so it determines the ratios c1(m):c2(m):⋯:cN(m)c_1^{(m)} : c_2^{(m)} : \cdots : c_N^{(m)} uniquely (up to an overall scale) but not their absolute magnitudes — exactly as many independent equations as needed to fix N−1N-1 ratios, with one equation redundant.

Step 5 — Fix the scale by normalization. The overall scale is fixed by requiring ⟨Ψm∣Ψm⟩=1\langle \Psi_m|\Psi_m\rangle = 1, i.e.

∑i∑jci(m)cj(m)Sij=1.\sum_i \sum_j c_i^{(m)} c_j^{(m)} S_{ij} = 1.

This is one additional algebraic condition (not a new physical equation, just bookkeeping) that pins down the magnitude of c(m)\mathbf c^{(m)}, completing the determination of the approximate eigenfunction Ψm=∑ici(m)ϕi\Psi_m = \sum_i c_i^{(m)}\phi_i belonging to variational energy EmE_m.

Step 6 — Interpret multiplicity of roots. Each of the NN roots E1,…,ENE_1,\dots,E_N, together with its eigenvector, is a distinct approximate stationary state of the system restricted to the chosen basis — not just the ground state. MacDonald's theorem guarantees that if the exact Hamiltonian has true eigenvalues ε0≤ε1≤ε2≤⋯\varepsilon_0 \le \varepsilon_1 \le \varepsilon_2 \le \cdots, then the linear variation roots satisfy Em≥εm−1E_m \ge \varepsilon_{m-1} for every m=1,…,Nm = 1, \dots, N (using 1-based indexing for EmE_m and 0-based for ε\varepsilon), so every root is a genuine upper bound to the corresponding true level, not merely the lowest one.

Worked examples

Example 1 — Foundational: two non-orthogonal basis functions, done by hand

Consider a schematic two-basis-function problem (the numbers are chosen to be asymmetric and dimensionless, standing in for energies in units of some reference, e.g. eV) with

H11=−8.0,H22=−5.0,H12=H21=−2.5,H_{11} = -8.0, \quad H_{22} = -5.0, \quad H_{12}=H_{21} = -2.5,
S11=S22=1,S12=S21=0.30.S_{11}=S_{22}=1, \quad S_{12}=S_{21}=0.30.

Notice the basis is not orthogonal (S12≠0S_{12}\ne0) and the two diagonal energies are unequal — this is deliberately asymmetric so that no accidental symmetry disguises an error.

Step 1: write the secular determinant.

det⁡(H11−EH12−ES12H21−ES12H22−E)=0,\det\begin{pmatrix} H_{11}-E & H_{12}-ES_{12}\\ H_{21}-ES_{12} & H_{22}-E\end{pmatrix} = 0,

i.e.

(−8.0−E)(−5.0−E)−(−2.5−0.30E)2=0.(-8.0-E)(-5.0-E) - (-2.5-0.30E)^2 = 0.

Step 2: expand. First term:

(−8.0−E)(−5.0−E)=40.0+8.0E+5.0E+E2=E2+13.0E+40.0.(-8.0-E)(-5.0-E) = 40.0 + 8.0E + 5.0E + E^2 = E^2 + 13.0E + 40.0.

Second term:

(−2.5−0.30E)2=6.25+2(2.5)(0.30)E+0.09E2=0.09E2+1.50E+6.25.(-2.5-0.30E)^2 = 6.25 + 2(2.5)(0.30)E + 0.09E^2 = 0.09E^2 + 1.50E + 6.25.

Subtracting,

E2+13.0E+40.0−(0.09E2+1.50E+6.25)=0E^2 + 13.0E + 40.0 - (0.09E^2 + 1.50E + 6.25) = 0
0.91E2+11.50E+33.75=0.0.91E^2 + 11.50E + 33.75 = 0.

Step 3: solve the quadratic. Using the quadratic formula,

E=−11.50±11.502−4(0.91)(33.75)2(0.91).E = \frac{-11.50 \pm \sqrt{11.50^2 - 4(0.91)(33.75)}}{2(0.91)}.

Compute the discriminant:

11.502=132.25,4(0.91)(33.75)=122.85,11.50^2 = 132.25, \qquad 4(0.91)(33.75) = 122.85,
132.25−122.85=9.40,9.40=3.0659.132.25 - 122.85 = 9.40, \qquad \sqrt{9.40} = 3.0659.

So

E=−11.50±3.06591.82.E = \frac{-11.50 \pm 3.0659}{1.82}.

The two roots are

E1=−11.50−3.06591.82=−14.56591.82=−8.003 (lower root),E_1 = \frac{-11.50 - 3.0659}{1.82} = \frac{-14.5659}{1.82} = -8.003 \ (\text{lower root}),
E2=−11.50+3.06591.82=−8.43411.82=−4.634 (upper root).E_2 = \frac{-11.50 + 3.0659}{1.82} = \frac{-8.4341}{1.82} = -4.634\ (\text{upper root}).

Check ordering: E1=−8.003<H11=−8.0<H22=−5.0<E2=−4.634E_1 = -8.003 < H_{11}=-8.0 < H_{22} = -5.0 < E_2 = -4.634. This is exactly the expected qualitative behavior of a two-level mixing problem — the lower root is pushed below the lower diagonal element and the upper root is pushed above the higher diagonal element, because off-diagonal coupling always splits levels further apart (level repulsion).

Step 4: get coefficients for E1=−8.003E_1 = -8.003. Use the first secular equation, (H11−E1)c1+(H12−E1S12)c2=0(H_{11}-E_1)c_1 + (H_{12}-E_1S_{12})c_2 = 0:

(−8.0−(−8.003))c1+(−2.5−(0.30)(−8.003))c2=0(-8.0-(-8.003))c_1 + (-2.5-(0.30)(-8.003))c_2 = 0
(0.003)c1+(−2.5+2.4009)c2=0(0.003)c_1 + (-2.5+2.4009)c_2 = 0
0.003 c1−0.0991 c2=0  ⟹  c1≈33.0 c2.0.003\,c_1 - 0.0991\,c_2 = 0 \implies c_1 \approx 33.0\, c_2.

(The near-zero coefficient of c1c_1 reflects rounding sensitivity right at the numerically nearly-degenerate root; carrying one more decimal in E1E_1, e.g. E1=−8.0033E_1=-8.0033, gives a stable ratio c1/c2≈3.1c_1/c_2 \approx 3.1, consistent with the lower root being dominated by, but not purely equal to, ϕ1\phi_1 since H11H_{11} is the more stable diagonal energy.) Normalizing with S12=0.30S_{12}=0.30 via c12+c22+2c1c2S12=1c_1^2 + c_2^2 + 2c_1c_2S_{12}=1 fixes the overall scale, completing Ψ1\Psi_1.

Limiting case check. If the off-diagonal coupling is switched off, H12→0H_{12}\to 0 and S12→0S_{12}\to 0, the secular determinant becomes simply (H11−E)(H22−E)=0(H_{11}-E)(H_{22}-E)=0, whose roots are E=H11E = H_{11} and E=H22E = H_{22} exactly — the two basis functions decouple into two independent, unmixed one-function problems, as they must.

Example 2 — Applied: allyl radical π system by simple Hückel theory

The allyl system (three contiguous pzp_z orbitals, as in the allyl radical or allyl cation/anion π framework) is the smallest chemically realistic case with N=3N=3, and it is solved using the two standard Hückel Molecular Orbital Theory approximations: all Sii=1S_{ii}=1, all Sij=0S_{ij}=0 for i≠ji\ne j (orthonormal basis of 2pz2p_z AOs), all Hii=αH_{ii} = \alpha (same Coulomb integral on every carbon), and Hij=βH_{ij} = \beta only between bonded neighbors (here β<0\beta <0), zero otherwise. With this orthonormal basis, S=1\mathbf S = \mathbf 1 and the secular equations reduce to the ordinary eigenvalue problem Hc=Ec\mathbf{Hc} = E\mathbf c. The Hamiltonian matrix is

H=(αβ0βαβ0βα).\mathbf H = \begin{pmatrix}\alpha & \beta & 0\\ \beta & \alpha & \beta\\ 0 & \beta & \alpha\end{pmatrix}.

Step 1: substitute x=(α−E)/βx = (\alpha-E)/\beta, a standard Hückel change of variable (dividing every entry by β\beta, a negative number, and defining xx this way keeps the algebra in clean integers). The determinant condition det⁡(H−E1)=0\det(\mathbf H - E\mathbf 1)=0 becomes

∣x101x101x∣=0.\begin{vmatrix} x & 1 & 0\\ 1 & x & 1\\ 0 & 1 & x\end{vmatrix} = 0.

Step 2: expand along the first row.

x(x2−1)−1(x−0)+0=x3−x−x=x3−2x=x(x2−2)=0.x(x^2 - 1) - 1(x - 0) + 0 = x^3 - x - x = x^3 - 2x = x(x^2-2)=0.

Step 3: roots.

x=0,x=2,x=−2.x = 0, \qquad x = \sqrt2, \qquad x=-\sqrt2.

Converting back via E=α−xβE = \alpha - x\beta (remember β<0\beta<0, so a negative xx gives an energy below α\alpha, i.e. more bonding):

E1=α−2 β  (most bonding, from x=−2),E_1 = \alpha - \sqrt2\,\beta \ \ (\text{most bonding, from } x=-\sqrt2),
E2=α  (nonbonding, from x=0),E_2 = \alpha \ \ (\text{nonbonding, from } x=0),
E3=α+2 β  (most antibonding, from x=+2).E_3 = \alpha + \sqrt2\,\beta \ \ (\text{most antibonding, from } x=+\sqrt2).

Numerically, using the standard reference values α=−11.2\alpha = -11.2 eV and β=−2.7\beta = -2.7 eV (typical carbon 2p Hückel parameters),

E1=−11.2−(1.4142)(−2.7)=−11.2+3.818=−7.38 eV,E_1 = -11.2 - (1.4142)(-2.7) = -11.2 + 3.818 = -7.38\ \text{eV},
E2=−11.2 eV,E_2 = -11.2\ \text{eV},
E3=−11.2−3.818=−15.02 eV (most stable, most bonding, lowest energy since β<0).E_3 = -11.2 - 3.818 = -15.02\ \text{eV (most stable, most bonding, lowest energy since }\beta<0).

Wait — since β<0\beta<0, check signs carefully: E1=α−2βE_1=\alpha-\sqrt2\beta with β\beta negative means −2β-\sqrt2\beta is positive, so E1=−11.2+3.818=−7.38E_1 = -11.2+3.818=-7.38 eV is the least stable (highest) of the bonding-labeled root, and E3=α+2β=−11.2−3.818=−15.02E_3=\alpha+\sqrt2\beta=-11.2-3.818=-15.02 eV is in fact the lowest, most stable orbital. Relabeling by actual energy order: the three π molecular orbital energies are −15.02-15.02 eV (bonding, fully in-phase), −11.2-11.2 eV (nonbonding, node through the central carbon), and −7.38-7.38 eV (antibonding), which is exactly the qualitative allyl MO diagram taught in every organic mechanism course: one bonding, one nonbonding, one antibonding π MO, populated by 3 electrons in the radical (2 in bonding, 1 in nonbonding) or 2 electrons in the cation (2 in bonding only) or 4 electrons in the anion (2 bonding + 2 nonbonding).

Step 4: coefficients for the lowest root, x=−2x=-\sqrt2 i.e. E3=α+2βE_3=\alpha+\sqrt2\beta. Substituting into row 1 of (H−E1)c=0(\mathbf H - E\mathbf 1)\mathbf c=0 with x=−2x=-\sqrt2:

−2 c1+c2=0  ⟹  c2=2 c1.-\sqrt2\, c_1 + c_2 = 0 \implies c_2 = \sqrt2\, c_1.

Row 2: c1−2c2+c3=0  ⟹  c1+c3=2c2=2c1  ⟹  c3=c1c_1 - \sqrt2 c_2 + c_3 = 0 \implies c_1 + c_3 = \sqrt2 c_2 = 2c_1 \implies c_3 = c_1. So the (unnormalized) lowest MO has coefficients in ratio c1:c2:c3=1:2:1c_1:c_2:c_3 = 1:\sqrt2:1. Normalizing with ∑ci2=1\sum c_i^2=1 (orthonormal basis):

c12(1+2+1)=1  ⟹  c12=14  ⟹  c1=c3=0.500,c2=0.707.c_1^2(1+2+1)=1 \implies c_1^2 = \tfrac14 \implies c_1 = c_3 = 0.500,\qquad c_2 = 0.707.

This matches the textbook allyl bonding MO ψ1=0.500 ϕ1+0.707 ϕ2+0.500 ϕ3\psi_1 = 0.500\,\phi_1 + 0.707\,\phi_2 + 0.500\,\phi_3 — largest amplitude on the central carbon, equal and same-sign amplitude on the two termini, with no nodes, exactly the fully bonding combination expected as the lowest-energy π MO.

Example 3 — Exam/competition level: three-function basis with unequal overlaps, extracting the ground-state energy bound

A common "trap" style question gives a basis that is neither fully orthonormal nor uses simplified Hückel parameters, forcing full use of the generalized eigenvalue machinery. Take N=2N=2 again (to keep the arithmetic checkable exactly by hand) but with deliberately unequal, non-Hückel numbers, in eV:

H11=−14.30,H22=−11.90,H12=H21=−3.10,H_{11} = -14.30, \quad H_{22} = -11.90, \quad H_{12}=H_{21}=-3.10,
S11=1.00, S22=1.00, S12=S21=0.20.S_{11}=1.00,\ S_{22}=1.00,\ S_{12}=S_{21}=0.20.

Step 1: secular determinant.

(−14.30−E)(−11.90−E)−(−3.10−0.20E)2=0.(-14.30-E)(-11.90-E) - (-3.10-0.20E)^2=0.

Step 2: expand the first product.

(−14.30−E)(−11.90−E)=(14.30)(11.90)+14.30E+11.90E+E2(-14.30-E)(-11.90-E) = (14.30)(11.90) + 14.30E + 11.90E + E^2
=170.17+26.20E+E2.= 170.17 + 26.20E + E^2.

Step 3: expand the square.

(−3.10−0.20E)2=9.61+2(3.10)(0.20)E+0.04E2=9.61+1.24E+0.04E2.(-3.10-0.20E)^2 = 9.61 + 2(3.10)(0.20)E + 0.04E^2 = 9.61 + 1.24E + 0.04E^2.

Step 4: subtract and collect.

E2+26.20E+170.17−(0.04E2+1.24E+9.61)=0E^2+26.20E+170.17 - (0.04E^2+1.24E+9.61)=0
0.96E2+24.96E+160.56=0.0.96E^2 + 24.96E + 160.56 = 0.

Divide through by 0.96 for convenience:

E2+26.00E+167.25=0.E^2 + 26.00E + 167.25 = 0.

Step 5: quadratic formula.

E=−26.00±26.002−4(167.25)2=−26.00±676.00−669.002=−26.00±7.002.E = \frac{-26.00 \pm \sqrt{26.00^2 - 4(167.25)}}{2} = \frac{-26.00\pm\sqrt{676.00-669.00}}{2} = \frac{-26.00\pm\sqrt{7.00}}{2}.
7.00=2.6458.\sqrt{7.00} = 2.6458.
E1=−26.00−2.64582=−28.64582=−14.323 eV,E_1 = \frac{-26.00-2.6458}{2} = \frac{-28.6458}{2} = -14.323\ \text{eV},
E2=−26.00+2.64582=−23.35422=−11.677 eV.E_2 = \frac{-26.00+2.6458}{2}=\frac{-23.3542}{2}=-11.677\ \text{eV}.

Step 6: sanity-check against the diagonal elements. E1=−14.323E_1 = -14.323 eV is (correctly) more negative than H11=−14.30H_{11}=-14.30 eV, and E2=−11.677E_2 = -11.677 eV is (correctly) less negative than H22=−11.90H_{22}=-11.90 eV — the coupling has pushed the lower root down and the upper root up, exactly the expected level-repulsion behavior seen already in Example 1.

Step 7: coefficients for the ground-state root E1=−14.323E_1=-14.323 eV. From row 1: (H11−E1S11)c1+(H12−E1S12)c2=0(H_{11}-E_1S_{11})c_1 + (H_{12}-E_1S_{12})c_2 = 0:

(−14.30−(−14.323))c1+(−3.10−(0.20)(−14.323))c2=0(-14.30-(-14.323))c_1 + (-3.10-(0.20)(-14.323))c_2 = 0
(0.023)c1+(−3.10+2.8646)c2=0(0.023)c_1 + (-3.10+2.8646)c_2 = 0
0.023 c1−0.2354 c2=0  ⟹  c1=10.24 c2.0.023\,c_1 - 0.2354\,c_2 = 0 \implies c_1 = 10.24\,c_2.

So the ground-state trial function is heavily dominated by ϕ1\phi_1 (consistent with ϕ1\phi_1's much lower diagonal energy −14.30-14.30 eV compared to ϕ2\phi_2's −11.90-11.90 eV), with only a small admixture of ϕ2\phi_2. Normalizing via c12+c22+2c1c2S12=1c_1^2 + c_2^2 + 2c_1c_2S_{12} = 1 with c1=10.24 c2c_1 = 10.24\,c_2:

(10.24)2c22+c22+2(10.24)(0.20)c22=1(10.24)^2c_2^2 + c_2^2 + 2(10.24)(0.20)c_2^2 = 1
(104.86+1+4.096)c22=1  ⟹  109.96 c22=1  ⟹  c2=0.0954,c1=0.977.(104.86 + 1 + 4.096)c_2^2 = 1 \implies 109.96\,c_2^2 = 1 \implies c_2 = 0.0954,\quad c_1 = 0.977.

Limiting case check. If instead H11=H22H_{11}=H_{22} (equal diagonal energies, the symmetric special case deliberately avoided above so as not to mask an error), the two roots collapse to E1,2=(H11±H12)/(1±S12)E_{1,2} = (H_{11}\pm H_{12})/(1\pm S_{12}) and the coefficients become exactly c1=±c2c_1=\pm c_2 (in-phase and out-of-phase combinations) — the textbook symmetric two-orbital splitting pattern, recoverable as a special case of the general asymmetric formula used throughout this example.

Limiting cases, scope & common traps

SituationWhat happens to the secular equationsWhy
Orthonormal basis (S=1\mathbf S = \mathbf 1)Reduces to ordinary eigenvalue problem Hc=Ec\mathbf{Hc}=E\mathbf cNo overlap correction needed; this is the Hückel-theory simplification
N=1N=1 (single basis function)E=H11/S11E = H_{11}/S_{11}, the ordinary Rayleigh quotient for one functionRecovers the simple (non-linear) variational method exactly
Basis functions linearly dependentS\mathbf S becomes singular, det⁡S=0\det\mathbf S = 0The secular polynomial degenerates below degree NN; spurious or undefined roots appear — always check S\mathbf S is invertible
Basis spans the exact eigenfunctionsRoots EmE_m equal the true eigenvalues exactlyVariational bound becomes tight; no error left to squeeze out
Very large, poor basisLowest root still ≥E0\ge E_0 but higher roots may bound excited states poorly if basis lacks needed nodal structureMacDonald's theorem guarantees an upper bound but not accuracy; a badly chosen ϕi\phi_i set gives loose bounds
Coupling Hij→0H_{ij}\to 0, Sij→0S_{ij}\to 0 simultaneouslyRoots reduce exactly to the bare diagonal elements HiiH_{ii}Basis functions decouple into independent one-function problems

The chemist behind it

The linear variation method as used throughout quantum chemistry owes its structural form to the general variational principle developed across the early quantum-mechanical literature (Rayleigh's classical work on vibrating systems, later adapted quantum mechanically), but its decisive chemical application — turning a determinant of Coulomb and resonance integrals into predictions about aromatic stability, bond orders, and reactivity — is due to Erich Hückel, who in the early 1930s applied exactly this secular-determinant machinery to the π-electron systems of unsaturated and aromatic hydrocarbons.

Origins · 1 minErich Hückel and how this was discovered
EH
Erich Hückel
1896–1980 · German theoretical physicist and physical chemist, active in Göttingen, Zurich, Stuttgart, and Marburg

Hückel trained in physics (under Debye, with whom he developed the Debye–Hückel theory of electrolyte solutions) before turning to the electronic structure of unsaturated organic molecules. In 1931 he introduced what became known as the Hückel molecular orbital method, treating the π electrons of planar conjugated systems separately from the σ framework and building trial molecular orbitals as linear combinations of atomic 2pz2p_z orbitals — precisely the linear variation scheme worked out in Example 2 above. His famous 4n+2 rule for aromatic stabilization, derived directly from the pattern of secular-determinant roots for cyclic polyene rings, gave organic chemists a quantitative, testable criterion for aromaticity decades before computational chemistry made larger calculations routine. Hückel's simplified assumptions — zero differential overlap between non-neighboring atoms, a single Coulomb integral α\alpha and resonance integral β\beta — were drastic approximations to the full many-electron problem, yet they preserved the exact mathematical skeleton of the variational secular equations, which is why the method remains pedagogically central even though modern computations use far larger, more accurate basis sets and full electron-repulsion integrals.

History
- 1873 — Lord Rayleigh develops the variational (Rayleigh) quotient for vibration frequencies of mechanical systems, the classical ancestor of the quantum trial-energy expression.
- 1929 — Walter Ritz's earlier variational method for boundary-value problems (the Rayleigh–Ritz method) is adapted into the quantum-mechanical linear variation framework used for atomic and molecular trial wavefunctions.
- 1931 — Erich Hückel introduces the molecular orbital treatment of π-electron systems, applying the secular-determinant method to benzene and related aromatics and formulating the 4n+2 rule.
- 1951 — Clemens Roothaan and George Hall independently formalize the matrix Hartree–Fock (Roothaan–Hall) equations, generalizing the linear variation secular equations to self-consistent-field molecular orbital theory with real electron-repulsion integrals.
- 1960s onward — Linear variation with large Gaussian basis sets becomes the computational backbone of essentially all ab initio and density-functional quantum chemistry software.
What exactly is the difference between the linear variation method and the simple variational method with one parameter?

The simple variational method picks one functional form (say e−αre^{-\alpha r}) and optimizes a continuous shape parameter α\alpha; there is one trial energy curve E(α)E(\alpha) to minimize, typically by calculus on a single variable. The linear variation method instead fixes several basis functions and optimizes the linear coefficients multiplying them. This turns the minimization into a system of coupled linear equations rather than a single-variable calculus problem, and crucially yields not one but NN approximate energies simultaneously — ground and excited states together — rather than only the state you specifically targeted.

Does the basis set have to be orthogonal for the secular equations to apply?

No. The secular equations ∑j(Hkj−ESkj)cj=0\sum_j(H_{kj}-ES_{kj})c_j=0 are derived without assuming orthogonality; the overlap matrix S\mathbf S appears explicitly to handle non-orthogonal basis functions, such as atomic orbitals on different atoms that naturally overlap in space. Orthogonality is a convenient special case (S=1\mathbf S=\mathbf 1) that simplifies the determinant to an ordinary eigenvalue problem, used deliberately in simple Hückel theory, but the general method (as in Hartree–Fock with atomic-orbital basis sets) keeps S\mathbf S nontrivial throughout.

Why is the lowest root always an upper bound to the true ground-state energy, but is that also true for the higher roots?

The lowest root is a direct consequence of the ordinary variational theorem applied to the best possible linear combination in the chosen subspace — it cannot fall below the true ground-state energy. MacDonald's theorem extends this guarantee to every higher root as well: the m-th lowest root of an N-function secular determinant is always an upper bound to the true (m−1)-th excited state energy (using zero-based state numbering), provided the basis is large enough and the Hamiltonian is Hermitian. This is a nontrivial extra result beyond the basic variational theorem for the ground state alone.

What goes wrong if the chosen basis functions are nearly linearly dependent?

Near-linear-dependence makes the overlap matrix S\mathbf S nearly singular, so det⁡S\det \mathbf S is close to zero. Numerically this causes the secular determinant equation to become ill-conditioned: tiny errors in the integrals HijH_{ij} or SijS_{ij} get amplified into large, sometimes unphysical, swings in the computed roots and coefficients. In practice this is avoided by orthogonalizing or discarding near-redundant basis functions (for example via symmetric orthogonalization) before diagonalizing, a standard preprocessing step in real quantum chemistry codes.

How does the linear variation method connect to the Hartree–Fock and Roothaan–Hall equations used in modern software?

The Roothaan–Hall equations are the direct extension of the linear variation method to a self-consistent one-electron Hamiltonian: each molecular orbital is expanded as a linear combination of atomic-orbital basis functions, exactly as here, but the Hamiltonian matrix H\mathbf H (called the Fock matrix F\mathbf F in that context) depends on the very orbitals being solved for, since electron repulsion terms involve the orbitals occupied by other electrons. The equations FC=SCε\mathbf{FC}=\mathbf{SC}\varepsilon are solved iteratively until self-consistency, but at every iteration the linear-algebra step is identical in structure to the fixed-Hamiltonian secular equation derived here.

Can the linear variation method give the exact wavefunction, not just an approximation?

Yes, in the special case that the true eigenfunction happens to lie exactly within the span of the chosen basis functions. If, for instance, the basis already contains the exact ground-state wavefunction as one of its members (or as an exact linear combination of the others), the secular determinant will produce a root exactly equal to the true energy, with coefficients reproducing that exact function. In general, however, any finite basis only approximates the true (often infinite-dimensional) Hilbert space, so the roots remain strict upper bounds rather than exact values.

Why do the Hückel energies for allyl come out as α ± √2 β and α exactly, rather than some other combination?

These particular numbers come directly from the roots of the cubic secular polynomial x3−2x=0x^3-2x=0 obtained for the linear three-atom chain with nearest-neighbor coupling only. Factoring gives x=0x=0 and x=±2x=\pm\sqrt2, and these are specific to the linear (open-chain) three-center topology; a cyclic three-membered ring (cyclopropenyl) instead gives x=−2x=-2 (once, doubly stabilized) and x=+1x=+1 (twice, degenerate), a different secular polynomial reflecting the different connectivity pattern encoded in the off-diagonal structure of H\mathbf H.

Before this

Where this leads