Computation, Spectroscopy & the Quantum Toolkit
The last part connects the machinery to the two places a chemist actually meets it: the computer and the spectrometer. It explains what a basis set is and what the acronyms on a paper's methods line mean, derives the transition-moment integral that every selection rule in spectroscopy comes from, shows how symmetry decides whether an integral vanishes without computing it, and closes with the master index to all nine parts. Two layers on every section: a slow, hand-held beginner path and a research-grade advanced/reference path.
The 15 sections in Part 9
- 1Basis sets — the vocabulary the molecule is described in Free below
- 2Past Hartree–Fock — the correlation energy and how to get it back
- 3Density functional theory
- 4Semi-empirical methods, geometry optimisation, and reading an output file
- 5The transition dipole moment — where every selection rule comes from
- 6Rotational and vibrational spectra — the rules derived
- 7Electronic spectra and the Franck–Condon principle
- 8Raman, magnetic resonance and photoelectron spectroscopy
- 9The master formula sheet
- 10Every exactly solvable system, side by side
- 11Units, constants and conversions
- 12Which method for which problem
- 13The top exam traps, Parts 1–9
- 14Section-by-section index
- 15The argument, from Part 1 to Part 9
Basis sets — the vocabulary the molecule is described in
Free extractSection J.1 of Part 9, reproduced in full from the book — figures and all. No sign-in, no paywall on this section.
Start here. A basis set is a vocabulary, and the whole subject follows from one algebraic accident about Gaussians.
Part 8 built molecular orbitals as linear combinations of atomic orbitals: ψ = Σi ciφi. The variational method of Part 6 then finds the best coefficients ci. But it finds the best coefficients only for the functions φi you gave it. If the right answer cannot be written as a combination of your φi, no amount of optimisation will produce it.
So the first question is which functions to use. There are two natural candidates and they differ in a single exponent.
The Slater function is the right shape. It is the exact form of the hydrogen 1s orbital of Part 5, it has the correct cusp at the nucleus, and it decays exponentially, which is what the true wavefunction of a bound electron does far from the nuclei. The Gaussian is the wrong shape in both places: it is flat at the nucleus instead of pointed, and it dies far too fast in the tail.
And yet essentially every molecular calculation done in the last fifty years uses Gaussians. The reason is one theorem.
That collapses a four-centre two-electron integral — four different atoms, the computational bottleneck of every ab initio calculation — into a two-centre integral with a closed-form answer. With Slater functions those integrals must be evaluated numerically, one at a time, and there are of order N4 of them. The Gaussian is a worse function that makes a vastly better program. Boys saw this in 1950 and the field has never looked back.
The fix for the wrong shape is brute force. Take several Gaussians of different widths, fix their relative weights once and for all, and use the whole combination as a single basis function.
| Number of primitives | Exponents α (our fit) | Coefficients (our fit) | Overlap with the Slater function |
|---|---|---|---|
| 1 | 0.3022 | 1.0000 | 0.97698 |
| 2 | 0.1441, 0.7854 | 0.6502, 0.4584 | 0.99838 |
| 3 | 0.1126, 0.4560, 1.8468 | 0.4904, 0.4954, 0.1449 | 0.99958 |
The four ways a basis set gets bigger
Once contraction is settled, every remaining decision is about how many functions to use and of what kind. There are four independent axes and each fixes a specific physical deficiency.
- Minimal basis. One contracted function per occupied atomic orbital. Carbon gets 1s, 2s, 2px, 2py, 2pz — five functions. Hydrogen gets one. STO-3G is the classic. Defect: the size of every orbital is frozen, so an atom cannot become more compact when it gains positive charge or more diffuse when it gains negative charge.
- Double zeta / split valence. Two functions per orbital, one tight and one loose. Their ratio is now variational, so the orbital can breathe. Full double zeta doubles the core as well, which is wasteful because core orbitals barely change on bonding; split-valence sets double only the valence and leave the core minimal. 6-31G and 3-21G are split-valence.
- Polarisation functions. Functions of one higher angular momentum than the atom needs: d functions on carbon, nitrogen, oxygen; p functions on hydrogen. Defect they fix: an s orbital on hydrogen is perfectly spherical and can only sit on the nucleus. Mixing in a little p lets the density shift off-centre, which is what actually happens when a bond forms. Without polarisation functions, bond angles in strained rings, hypervalent geometries and the entire barrier to inversion in NH3 come out wrong.
- Diffuse functions. Extra functions with very small exponents, so they extend far from the nucleus. Marked by
+in Pople notation andaug-in Dunning notation. Essential for anions (where the extra electron is loosely held), lone pairs, excited and Rydberg states, and any weak intermolecular interaction. Omitting them from an anion calculation is one of the commonest errors in the literature.
Now the arithmetic. Here is the same molecule — water, ten electrons — in eight standard basis sets, with the number of contracted basis functions counted by the build script from the published contraction patterns.
| Basis set | Character | Basis functions for H2O | Note |
|---|---|---|---|
| STO-3G | minimal | 7 | one function per occupied atomic orbital, nothing more |
| 3-21G | split valence (double-zeta valence) | 13 | core single, valence split into two |
| 6-31G | split valence (double-zeta valence) | 13 | same size as 3-21G, better primitives |
| 6-31G(d) | + d polarisation on heavy atoms | 19 | 6 Cartesian d functions on O |
| 6-31G(d,p) | + p polarisation on H | 25 | the standard workhorse |
| 6-311++G(d,p) | triple-split valence + diffuse on all atoms | 36 | core 1 + valence 3 + diffuse 1 for each of s and p; 5 pure d — the 6-311 family default, unlike 6-31G's 6 Cartesian d |
| cc-pVDZ | correlation-consistent double zeta | 24 | 5 pure d functions, designed to recover correlation energy |
| cc-pVTZ | correlation-consistent triple zeta | 58 | the first basis worth extrapolating from |
Basis-set superposition error, the counterpoise correction, and the complete-basis-set limit.
The standard repair is the counterpoise correction of Boys and Bernardi: compute each monomer in the full basis of the complex, with the other monomer's nuclei removed but its basis functions ('ghost functions') retained. Then
Counterpoise usually overcorrects, so a common convention is to quote both the corrected and uncorrected values and treat their difference as an error bar. BSSE vanishes only in the complete-basis limit, which suggests the other repair: extrapolate.
Complete-basis-set extrapolation. The correlation-consistent sets were designed so that the correlation energy converges smoothly with the cardinal number X (D = 2, T = 3, Q = 4, 5 = 5). The Hartree–Fock energy converges roughly exponentially in X; the correlation energy converges as X−3, a consequence of how slowly a product basis describes the electron–electron cusp. The standard two-point formula is
| Symptom in the output | Likely basis-set cause | Repair |
|---|---|---|
| Anion binding energy far too small, or the anion is unbound | no diffuse functions | add + (or aug-) |
| Bond angles at strained or hypervalent centres badly wrong | no polarisation functions | add (d) — and (d,p) if H is involved in bonding |
| Interaction energy of a dimer much too large | BSSE with a small basis | counterpoise correction, or a much larger basis |
| Two programs disagree in the same nominal basis | 6d versus 5d Cartesian/pure convention | state the convention explicitly |
| SCF fails with a ‘linear dependence’ warning | over-complete diffuse set | canonical orthogonalisation, or drop functions |
| Energies of a heavy-element compound are absurd | no ECP, no relativistic treatment | use an ECP-matched basis |
Decode 6-311++G(2df,2p) completely, and count the basis functions for CH3OH Medium
6 before the hyphen: each core orbital is a single contracted function built from six primitive Gaussians. Carbon and oxygen each get one core function (their 1s).311 after the hyphen: the valence is split three ways, into contracted functions of 3, 1 and 1 primitives. So each valence orbital (2s and each 2p) is represented by three functions. This is a triple-zeta valence basis.++: the first plus adds one diffuse s and one diffuse p shell to each heavy atom; the second plus adds a diffuse s to each hydrogen.(2df,2p): before the comma, heavy atoms get two sets of d functions and one set of f. After the comma, hydrogens get two sets of p.⚠ Common mistakes & exam traps
- Believing that a bigger basis set always gives a better answer. It gives a better answer to the equations you are solving. HF/cc-pV5Z converges beautifully to the Hartree–Fock limit, which is not the experimental answer, and never will be: the missing correlation energy is a fixed deficit no basis can repair.
- Confusing the number of primitives with the number of basis functions. STO-3G uses three primitives per function, but the variational problem has one coefficient per contracted function. Water in STO-3G has 21 primitives and 7 basis functions, and it is the 7 that sets the cost of the diagonalisation.
- Running an anion without diffuse functions. The extra electron in F− or an enolate sits well outside the neutral density. Without small-exponent functions the basis cannot describe it, and electron affinities come out far too small — sometimes negative.
- Quoting an interaction energy without saying whether it is counterpoise corrected. For a hydrogen-bonded dimer in a modest basis, BSSE can be a substantial fraction of the interaction energy itself.
- Assuming ‘double zeta’ and ‘split valence’ are synonyms. A true double-zeta basis doubles the core as well. 6-31G doubles only the valence and is a split-valence basis; the distinction is a favourite one-mark question.
- Forgetting that basis functions live on atoms, not on molecules. The basis moves with the nuclei during a geometry optimisation, which is why the gradient of the energy contains Pulay forces — terms from the derivative of the basis functions themselves, not just of the Hamiltonian.
Read the rest of Part 9
The remaining 14 sections of this part — Past Hartree–Fock — the correlation energy and how to get it back, Density functional theory, Semi-empirical methods, geometry optimisation, and reading an output file, The transition… — and all nine parts of Quantum Chemistry are part of ChemVidya Full Access, along with the other books, 55 Study Notes and 6,000+ practice questions.
See plans Open in the app