Why atoms need a new mechanics
In Atomic structure and the periodic table you met orbitals, shells and electron configurations, and in Chemical bonding you used them to explain why atoms share or transfer electrons. Those lessons asked you to accept the orbitals as given. This one shows where they come from.
By 1911 Ernest Rutherford's scattering experiments had shown that an atom is a tiny, heavy, positive nucleus with electrons somewhere around it. The obvious picture is a miniature solar system, and classical physics says at once that it cannot work:
- Atoms would collapse. An electron going round a nucleus is accelerating, and Maxwell's electromagnetism says an accelerating charge radiates. A classical hydrogen atom would spiral inwards, giving off a continuous smear of light, and hit the nucleus in about seconds. Real hydrogen atoms last indefinitely.
- Spectra are lines, not smears. Hot hydrogen glows at a few sharp wavelengths — red at 656 nm, blue-green at 486 nm, violet at 434 and 410 nm — and absorbs at exactly the same ones. Something lets the atom hold only certain energies.
- All hydrogen atoms are identical. A classical orbit could have any size. Every hydrogen atom in the universe has the same size, the same spectrum and the same chemistry.
The fix, worked out between 1900 and 1928, is quantum mechanics. For chemists it is not an optional extra: the shapes of molecules, the colours of dyes, the strength of bonds and every spectrum in Spectroscopy come out of one equation. This lesson builds it up, solves it exactly where we can, and numerically — with a few lines of NumPy — where we cannot.
Electrons as standing waves
In 1924 Louis de Broglie proposed that matter has a wavelength, , where is momentum and J s is Planck's constant. For anything you can hold, the wavelength is absurdly small: a cricket ball of 0.16 kg bowled at 30 m/s has m. But an electron with a kinetic energy of 13.6 eV (a typical energy inside an atom) has pm — a few times the size of an atom. When the wavelength is as big as the space available, wave behaviour stops being a detail and becomes the whole story. Electron diffraction, seen by Clinton Davisson and Lester Germer in the United States and by George Paget Thomson in Scotland in 1927, confirmed it.
Now think of what waves do when they are confined.
Analogy, not a formal construction
A guitar string is pinned at both ends. It can vibrate only in patterns that fit a whole number of half-wavelengths between the pins: the fundamental, the second harmonic, the third. Nothing in between is possible, not because a rule forbids it but because any other pattern would have to move at the pinned ends. An electron held near a nucleus is confined too, and its allowed patterns — orbitals — and their energies are discrete for the same reason. The analogy has limits: a string's wave is a displacement of something you can see, while an electron's wave is a probability amplitude.
That is the central idea of the whole lesson: quantisation comes from confinement plus boundary conditions. A free electron can have any energy. A confined one can have only the energies whose standing waves fit.
Wavefunctions and the Schrödinger equation
Definition— Wavefunction and the Born rule
The state of a particle is described by a wavefunction , a complex-valued function of position. The probability of finding the particle in a small volume around is (Max Born, 1926). So a wavefunction must be normalised, , and it must be finite, single-valued and continuous.
Only is measured directly; itself can be positive, negative or complex. Its relative sign or phase from place to place is still physical, because when two waves overlap their signs decide whether they add or cancel — the heart of the next lesson, Molecular orbitals.
Definition— Hamiltonian and the time-independent Schrödinger equation
The Hamiltonian is the operator for total energy: kinetic plus potential. For one particle of mass in a potential ,
The states of definite energy (stationary states) satisfy the time-independent Schrödinger equation
It is an eigenvalue equation: the allowed energies are the eigenvalues of , and the stationary states are its eigenfunctions.
The kinetic-energy term measures curvature: a wavefunction that wiggles fast has high kinetic energy. So a confined electron faces a trade-off we will see again and again. Spreading out lowers its kinetic energy; staying close to attractive nuclei lowers its potential energy. Orbitals are the compromises.
If you have studied linear algebra, the eigenvalue language is not a metaphor. Sample at points and becomes an matrix; the Schrödinger equation becomes . That is how we will solve it on a computer, and it is how almost every quantum-chemistry program works (Computational chemistry). The mathematics of the infinite-dimensional case is in Mathematical foundations of quantum mechanics.
Theorem— Energies are real; different stationary states are orthogonal
The Hamiltonian is Hermitian: for all well-behaved . Consequently every eigenvalue of is real, and eigenfunctions with different eigenvalues are orthogonal: when .
Proof
Write . If , Hermiticity gives , that is, . Taking and using gives , so is real. For with , forces .
∎
On a grid the same theorem says that the matrix is real symmetric (or complex Hermitian), which is exactly what numpy.linalg.eigh is built for: it returns real eigenvalues in increasing order and orthonormal eigenvectors.
The particle in a box
The simplest confined system is a particle of mass free to move along a line between two impenetrable walls at and : inside and outside. The wavefunction must vanish outside the box and, being continuous, at the walls.
Example— Solving the box exactly
Inside, , whose general solution is with .
- forces .
- forces , so with ( would make zero everywhere: no particle).
- Normalising, , so .
For an electron in a box 1 nm long, eV, and .
Four features of this little model run through all of chemistry:
- Zero-point energy. The lowest energy is not zero. A confined particle can never be completely still; that is why molecules vibrate even at absolute zero.
- Nodes. State has interior nodes, points where . More nodes means more curvature, so more kinetic energy.
- Smaller boxes, bigger gaps. : halving the box quadruples every energy and every gap. Electrons in atoms and short molecules have gaps of electronvolts, matching ultraviolet and visible light; long conjugated molecules have smaller gaps and absorb at longer wavelengths.
- Lighter particles, bigger gaps. . Electrons are about 1800 times lighter than a hydrogen nucleus, which is why electronic energies are far larger than vibrational ones, and why nuclei can be treated almost classically when we build molecules.
Solving it numerically
For a box we found the answer with pencil and paper. For almost any other potential there is no formula, so chemists solve the equation numerically. The simplest method replaces the second derivative by a finite difference on a grid of spacing :
With at the walls, becomes a matrix eigenvalue problem , where is tridiagonal: on the diagonal and next to it, with . The error of the approximation shrinks like , so we can check the method against the exact energies and watch it converge.
import numpy as np
# SI constants (CODATA)
h = 6.62607015e-34 # J s
hbar = h / (2 * np.pi)
m_e = 9.1093837e-31 # kg
eV = 1.602176634e-19 # J
L = 1.0e-9 # a box 1 nm wide
n_inner = 500 # grid points strictly inside the box
dx = L / (n_inner + 1)
# -hbar^2/(2m) d2/dx2 with psi = 0 at both walls: a tridiagonal matrix
t = hbar**2 / (2 * m_e * dx**2)
H = (np.diag(np.full(n_inner, 2 * t))
+ np.diag(np.full(n_inner - 1, -t), 1)
+ np.diag(np.full(n_inner - 1, -t), -1))
E, psi = np.linalg.eigh(H) # eigenvalues in increasing order
print(" n finite differences (eV) exact n^2 h^2/(8 m L^2) (eV) rel. error")
for n in range(1, 6):
exact = n**2 * h**2 / (8 * m_e * L**2)
print(f"{n:2d} {E[n-1]/eV:20.6f} {exact/eV:24.6f} {abs(E[n-1]-exact)/exact:12.2e}")
# The lowest eigenvector should be a half sine wave: compare its shape
x = np.linspace(dx, L - dx, n_inner)
ground = psi[:, 0] / np.sqrt(dx) # normalise so sum |psi|^2 dx = 1
ground *= np.sign(ground[n_inner // 2]) # eigenvectors come with an arbitrary sign
exact_ground = np.sqrt(2 / L) * np.sin(np.pi * x / L)
print("\nlargest difference from sqrt(2/L) sin(pi x/L):",
f"{np.max(np.abs(ground - exact_ground)) / np.max(exact_ground):.1e} (relative)")
# Halving the grid spacing should cut the error by about four: the method is second order
for n_pts in [50, 100, 200, 400]:
d = L / (n_pts + 1)
tt = hbar**2 / (2 * m_e * d**2)
Hs = np.diag(np.full(n_pts, 2 * tt)) - np.diag(np.full(n_pts - 1, tt), 1) - np.diag(np.full(n_pts - 1, tt), -1)
E1 = np.linalg.eigvalsh(Hs)[0]
exact1 = h**2 / (8 * m_e * L**2)
print(f"{n_pts:4d} points: error in E1 = {abs(E1 - exact1)/exact1:.2e}")With 500 points the ground-state energy agrees with eV to about three parts in a million, and each doubling of the number of points cuts the error by a factor of four, as a second-order method should. The higher states are slightly less accurate, because they wiggle more and the grid samples each wiggle less finely.
The same thirty lines solve any one-dimensional potential: change the diagonal from to . You will do exactly that for a vibrating bond in the exercises.
Conjugated dyes as boxes
In 1949 the Swiss chemist Hans Kuhn noticed that the π electrons of certain dyes behave very much like particles in a box. The cyanine dyes are the cleanest case: two nitrogen atoms joined by an odd-numbered chain of carbon atoms. One drawing puts the positive charge on the left nitrogen and alternates single and double bonds along the chain; an equally good drawing puts it on the right and swaps them. The true molecule is the average of the two, so every bond along the chain has the same length, about 139 pm, and a π electron feels a nearly flat potential from one end to the other — a box. Cyanines were used to extend the colour sensitivity of photographic film, and descendants such as Cy3 and Cy5 are standard fluorescent labels in biology laboratories today.
The free-electron model, in four steps:
- Count the π electrons. For a chain of carbon atoms between the two nitrogens there are : one from each carbon and three from the two nitrogens together.
- Fill the box levels two electrons at a time, lowest first (the Pauli principle, below). The highest occupied level (the HOMO) is , and the lowest empty one (the LUMO) is .
- The lowest-energy absorption lifts one electron from HOMO to LUMO:
- Estimate . Kuhn took the length of the chain plus one bond length beyond each nitrogen: pm.
Below we apply it to the family of 2,2′-cyanine dyes, whose two nitrogens sit in quinoline rings, with carbon atoms between the nitrogens. Their measured absorption maxima are roughly 523, 604 and 707 nm (they vary by a few nanometres with the solvent; spectra for individual dyes are in PubChem).
import numpy as np
h = 6.62607015e-34 # J s
m_e = 9.1093837e-31 # kg
c = 2.99792458e8 # m/s
bond = 139e-12 # m, a typical C-C bond length in a conjugated chain
def box_lambda(n_electrons, L):
"""Wavelength (nm) of the HOMO -> LUMO jump for n_electrons in a box of length L (m)."""
homo = n_electrons // 2 # two electrons per level
dE = (2 * homo + 1) * h**2 / (8 * m_e * L**2) # E(homo+1) - E(homo)
return h * c / dE * 1e9
# Symmetric cyanine dyes: p carbon atoms in the chain between the two nitrogens.
# pi electrons: p + 3. Box: the p + 2 atoms' bonds plus one bond length beyond each N.
measured = {3: 523, 5: 604, 7: 707} # approximate absorption maxima (nm) of the 2,2'-cyanine series
print(" p pi electrons L (pm) box model (nm) measured (nm)")
for p in (3, 5, 7):
N = p + 3
L = (p + 3) * bond
print(f"{p:2d} {N:12d} {L*1e12:6.0f} {box_lambda(N, L):14.0f} {measured[p]:13d}")
# The model is too short by a similar amount each time: the conjugation leaks into the rings.
# Fit one extra length, alpha bond lengths, to all three dyes (least squares on lambda).
alphas = np.linspace(0, 3, 3001)
def sq_error(a):
return sum((box_lambda(p + 3, (p + 3 + a) * bond) - lam)**2 for p, lam in measured.items())
best = alphas[np.argmin([sq_error(a) for a in alphas])]
print(f"\nbest extra length: alpha = {best:.2f} bond lengths ({best*bond*1e12:.0f} pm)")
for p, lam in measured.items():
print(f"p = {p}: fitted model {box_lambda(p + 3, (p + 3 + best) * bond):.0f} nm, measured {lam} nm")The bare model predicts 328, 453 and 579 nm: the right order of magnitude, the right trend (longer chain, longer wavelength), but 100 to 200 nm too short; the real dyes absorb green, orange and red light respectively. The reason is chemical: the "ends" of the box are not at the nitrogens, because the π system continues into the aromatic rings. Adding one fitted length of 1.29 bond lengths (180 pm) to every dye brings all three within 40 nm, under 8%. A one-parameter model with no computer and no quantum-chemistry program gets the colour of a dye that close; that is why it is still taught.
The hydrogen atom
The hydrogen atom is the one real atom whose Schrödinger equation can be solved exactly, and its solutions are the orbitals that chemists use as a vocabulary for every other atom. One electron moves in the Coulomb attraction of one proton:
where is the reduced mass (the proton moves slightly too). Because the potential depends only on the distance , the equation separates in spherical polar coordinates: , a radial function times a spherical harmonic. Boundary conditions — finite at the nucleus, vanishing far away, single-valued round the axis — quantise three numbers.
| Symbol | Name | Allowed values | What it fixes |
|---|---|---|---|
| principal | the energy (in hydrogen) and the size | ||
| orbital angular momentum | (s, p, d, f, …) | the shape; | |
| magnetic | the orientation; |
The energies depend on alone:
So shell contains orbitals of the same energy (one 1s; one 2s and three 2p; one 3s, three 3p and five 3d). An orbital has nodes in all: of them are angular nodes (planes or cones through the nucleus, which give p and d orbitals their lobes) and are radial nodes (spheres). A 3s orbital has two spherical nodes; a 3p has one sphere and one plane; a 3d has two angular nodes and no radial one.
Computing the levels
Writing turns the radial part into a one-dimensional problem, a particle on the half-line in an effective potential:
The first term in the bracket is a centrifugal barrier that keeps electrons with away from the nucleus. This is our finite-difference box again, with a different . In atomic units (; length in bohr, 52.9 pm; energy in hartree, 27.211 eV) the numbers are pleasant. The block also computes the visible Balmer lines, the jumps down to , using the Rydberg constant corrected for the reduced mass.
import numpy as np
# Atomic units: hbar = m_e = e = 4 pi eps0 = 1. Lengths in bohr (52.9 pm), energies in hartree (27.211 eV).
hartree_eV = 27.211386
def radial_levels(l, r_max=60.0, n_pts=1200):
"""Energies of -1/2 u'' + [l(l+1)/(2 r^2) - 1/r] u = E u, with u(0) = u(r_max) = 0."""
dr = r_max / (n_pts + 1)
r = dr * np.arange(1, n_pts + 1)
V = l * (l + 1) / (2 * r**2) - 1 / r # centrifugal term + Coulomb attraction
k = 1 / (2 * dr**2)
H = np.diag(2 * k + V) - k * np.eye(n_pts, k=1) - k * np.eye(n_pts, k=-1)
return np.linalg.eigvalsh(H)
print("orbital computed (eV) exact -13.606/n^2 (eV)")
for l, letter in [(0, "s"), (1, "p"), (2, "d")]:
E = radial_levels(l)
for n in range(l + 1, 5): # shells n = 1..4
print(f" {n}{letter} {E[n - l - 1]*hartree_eV:10.4f} {-hartree_eV/2/n**2:10.4f}")
# The Balmer lines: jumps down to n = 2, using the Rydberg constant for hydrogen
R_inf = 10973731.568 # m^-1
mass_ratio = 1836.15267 # proton mass / electron mass
R_H = R_inf / (1 + 1 / mass_ratio) # reduced-mass correction: the nucleus moves a little too
print("\nBalmer line wavelength in vacuum (nm)")
for n_upper, name in [(3, "H-alpha"), (4, "H-beta"), (5, "H-gamma"), (6, "H-delta")]:
lam = 1 / (R_H * (1 / 2**2 - 1 / n_upper**2))
print(f"{n_upper} -> 2 {name:8s} {lam*1e9:10.2f}")The grid reproduces eV to within 0.01 eV, and it shows something the formula hides: 2s and 2p come out with the same energy, as do 3s, 3p and 3d, even though they solve different equations. The computed Balmer lines, 656.47, 486.27, 434.17 and 410.29 nm, agree with the measured lines in the NIST Atomic Spectra Database to a few hundredths of a nanometre. (Most tables quote wavelengths in air, which are shorter by the refractive index of air: H-alpha is the famous 656.28 nm in air.)
From hydrogen to everything else
For an atom with several electrons no exact solution exists, because each electron repels every other. Chemists keep hydrogen's vocabulary anyway: each electron is given an orbital with the same labels and shapes, in the average field of the nucleus and the other electrons. This orbital approximation is what an electron configuration such as means, and making it quantitative is the subject of Computational chemistry.
Spin and the Pauli principle
In 1922 Otto Stern and Walther Gerlach, in Frankfurt, sent a beam of silver atoms through a non-uniform magnetic field. A classical magnet would be deflected by any amount; the beam split cleanly into two. In 1925 George Uhlenbeck and Samuel Goudsmit, in Leiden, explained this and the fine detail of atomic spectra by giving the electron an intrinsic angular momentum, spin, with quantum number and only two possible components along any axis, ("up", ) or ("down", ). An electron's state is now an orbital and a spin state: four quantum numbers .
In the same year Wolfgang Pauli, in Hamburg, stated the rule that organises the periodic table: no two electrons in an atom can have the same four quantum numbers. So an orbital holds at most two electrons, with opposite spins; a shell holds .
Definition— Antisymmetry (the Pauli principle)
Electrons are identical: no experiment can tell which is "electron 1". The wavefunction of several electrons must change sign when the space and spin coordinates of any two of them are exchanged:
where stands for position and spin together. Particles with this property are fermions.
The "four quantum numbers" rule follows. Put two electrons in orbitals and and build the antisymmetric combination (a 2 × 2 Slater determinant, after John Slater's 1929 paper):
If — same orbital and same spin — the bracket is identically zero. There is no such state. But antisymmetry does more than forbid; it shapes where electrons go. Two electrons with the same spin have an antisymmetric spatial wavefunction, which vanishes whenever they are at the same place, so they keep apart. Let us measure how much, for two electrons in a box, ignoring their repulsion so that only antisymmetry acts.
import numpy as np
# Two electrons in a box of length 1, ignoring their repulsion. One-electron orbitals:
def phi(n, x):
return np.sqrt(2) * np.sin(n * np.pi * x)
x = np.linspace(0, 1, 401)
X1, X2 = np.meshgrid(x, x, indexing="ij")
dA = (x[1] - x[0])**2
def normalised(P):
return P / (P.sum() * dA)
# Spatial parts of three two-electron states
both_in_1 = phi(1, X1) * phi(1, X2) # opposite spins only
sym_12 = (phi(1, X1) * phi(2, X2) + phi(2, X1) * phi(1, X2)) / np.sqrt(2) # opposite spins (singlet)
anti_12 = (phi(1, X1) * phi(2, X2) - phi(2, X1) * phi(1, X2)) / np.sqrt(2) # same spin (triplet)
close = np.abs(X1 - X2) < 0.1 # the two electrons within a tenth of the box of each other
print("state P(|x1 - x2| < 0.1) largest |psi| at x1 = x2")
for name, psi in [("(1,1), spins opposite", both_in_1), ("(1,2) symmetric, spins opposite", sym_12),
("(1,2) antisymmetric, same spin", anti_12)]:
P = normalised(psi**2)
on_diagonal = np.max(np.abs(np.diag(psi)))
print(f"{name:33s} {P[close].sum() * dA:12.3f} {on_diagonal:18.3f}")
# Swapping the electrons: the antisymmetric state changes sign, the others do not
print("\nsymmetric under exchange: ", np.allclose(sym_12, sym_12.T))
print("antisymmetric under exchange:", np.allclose(anti_12, -anti_12.T))
# A same-spin pair in the SAME orbital would be phi1*phi1 - phi1*phi1 = 0 everywhere: Pauli
same_orbital_same_spin = (phi(1, X1) * phi(1, X2) - phi(1, X1) * phi(1, X2)) / np.sqrt(2)
print("same orbital, same spin, largest |psi|:", np.max(np.abs(same_orbital_same_spin)))With opposite spins, the two electrons are within a tenth of the box of each other 29% or 39% of the time; with the same spin, only 1.6% of the time, and never at exactly the same point. This exchange hole around every electron is purely a consequence of antisymmetry, not of any force. It is why, when electrons occupy orbitals of equal energy, they prefer to spread out with parallel spins (Hund's first rule): the nitrogen atom's three 2p electrons sit one in each 2p orbital, all with the same spin. And it is why two electrons can share a bonding orbital only if their spins are paired — the electron-pair bond of Chemical bonding.
The professional view
Every first-principles calculation in chemistry starts from the Schrödinger equation and turns it into a matrix eigenvalue problem like the ones you have just solved. What changes in practice is scale and care:
- Many electrons. A benzene molecule has 42 electrons, and its wavefunction depends on 126 spatial coordinates plus spins. A grid with even ten points per coordinate would need numbers, so practical methods expand orbitals in a modest set of well-chosen functions instead (Computational chemistry). The cost of doing this exactly grows exponentially with the number of electrons, which is the reason chemistry is one of the first hoped-for applications of quantum computers (Quantum computing for chemistry).
- Nuclei and electrons separately. Because nuclei are so much heavier, chemists solve for the electrons with the nuclei held still, then move the nuclei on the resulting energy surface (the Born–Oppenheimer approximation, used throughout Molecular orbitals and Spectroscopy).
- Relativity. In heavy atoms the inner electrons move at a sizeable fraction of the speed of light, and the Schrödinger equation must be replaced by Dirac's or corrected for it. Relativistic effects are why gold is yellow rather than silvery and a large part of why mercury is a liquid at room temperature (Pyykkö, 1988).
- Data. Measured atomic energy levels and line wavelengths, the reference against which theory is tested, are compiled by NIST in the Atomic Spectra Database, and the constants themselves by CODATA (NIST).
The same equation, applied to electrons in solids, gives the band structures of electronic structure and bands in Lumenary Materials.
Common misconceptions
Misconception
"Electrons orbit the nucleus in circles" or "an orbital is the electron's container". Bohr's 1913 orbits got hydrogen's energies right for the wrong reason. A 1s electron has zero orbital angular momentum and no path at all, only a probability distribution, densest at the nucleus; the drawn orbital surface is a convention enclosing, say, 90% of that probability, not a wall.
Misconception
"How does an electron in a 2p orbital cross the node to get from one lobe to the other?" It does not travel between lobes. The orbital is a standing wave, like a vibrating string that has a node in its middle; a string does not need to "carry" its vibration across the still point. The question assumes a classical trajectory that does not exist.
Misconception
"The + and − on orbital lobes are charges." They are the sign of the wavefunction, a phase. Squaring removes it, so both lobes of a 2p orbital hold equal electron density. The signs matter only when two orbitals overlap, where like signs add and unlike signs cancel.
Misconception
"Spin means the electron is a tiny spinning ball." Spin is an intrinsic angular momentum with no classical picture: treating the electron as a spinning charged sphere of any plausible size would require its surface to move faster than light. Keep the word, not the image.
A short history
Max Planck introduced the quantum of energy in 1900 and Niels Bohr quantised hydrogen's orbits by decree in 1913. Louis de Broglie's matter waves (1924) led Erwin Schrödinger, in Zürich, to his wave equation and the exact hydrogen atom in 1926, months after Werner Heisenberg, Max Born and Pascual Jordan in Göttingen had found the equivalent matrix mechanics. Paul Dirac in Cambridge unified the two and, in 1928, made the theory relativistic. Chemistry followed at once: Walter Heitler and Fritz London explained the bond in H₂ in 1927, and by 1931 Linus Pauling, Friedrich Hund and Robert Mulliken had laid the foundations of the valence-bond and molecular-orbital theories of the next lesson.
Exercises
1. Quantum mechanics for chemists
Warm-upHumanAn electron is described by a normalised one-dimensional wavefunction . What does tell you?
2. Quantum mechanics for chemists
CoreHumanAn electron is confined in a one-dimensional box of length nm. What is the wavelength, in nanometres to the nearest whole number, of the photon absorbed when it jumps from to ?
Use J s, kg and m/s.
3. Quantum mechanics for chemists
Warm-upHumanHow many radial (spherical) nodes does a hydrogen 5d orbital have?
4. Quantum mechanics for chemists
CoreHumanWhich set of quantum numbers is not allowed for an electron in an atom?
5. Quantum mechanics for chemists
Warm-upHumanHow many electrons can the shell hold in total?
6. Quantum mechanics for chemists
CoreHumanIn the free-electron (box) model of a cyanine dye, the chain is lengthened by one CH=CH unit. This adds two π electrons and about two bond lengths to the box. What does the model predict?
7. Quantum mechanics for chemists
CoreComputationalWrite fd_levels(V, L, n_pts=800, k=3), which returns the lowest k energies (in eV, as a NumPy array in increasing order) of an electron confined to (in nm) with walls at both ends and a potential V(x) inside. V takes a NumPy array of positions in nm and returns energies in eV.
Use the finite-difference method of the lesson: n_pts interior grid points, spacing , diagonal and off-diagonals with . The constant eV nm² is provided.
The tests check an empty box and a harmonic oscillator, , the model of a vibrating bond in Spectroscopy, whose exact levels are .
8. Quantum mechanics for chemists
StretchComputationalA one-electron ion with nuclear charge (H, He⁺, Li²⁺, …) has energies , where the Rydberg constant is corrected for the nucleus's motion: .
Write line_nm(Z, n_upper, n_lower, mass_ratio) returning the vacuum wavelength in nm of the emission line, where mass_ratio is . Use m⁻¹ (provided).
The tests include hydrogen's red Balmer line and the He⁺ line from to , which astronomers use to find very hot stars.
Further reading and resources
- Quantisierung als Eigenwertproblem (Erste Mitteilung) · Erwin Schrödinger · 1926The first of the 1926 papers, which solves the hydrogen atom as an eigenvalue problem.
- An Undulatory Theory of the Mechanics of Atoms and Molecules · Erwin Schrödinger · 1926Schrödinger's own English summary of wave mechanics.
- A Quantum-Mechanical Theory of Light Absorption of Organic Dyes and Similar Compounds · Hans Kuhn · 1949The free-electron model of conjugated dyes used in this lesson.
- Der experimentelle Nachweis der Richtungsquantelung im Magnetfeld · Otto Stern, Walther Gerlach · 1922
- Über den Zusammenhang des Abschlusses der Elektronengruppen im Atom mit der Komplexstruktur der Spektren · Wolfgang Pauli · 1925The exclusion principle.
- Relativistic effects in structural chemistry · Pekka Pyykkö · 1988Why gold is yellow and mercury is a liquid.
- NIST Atomic Spectra DatabaseMeasured energy levels and line wavelengths for every element, including hydrogen.
- CODATA fundamental physical constants (NIST)
- MIT OpenCourseWare 5.61: Physical ChemistryA complete university course in quantum chemistry, with lecture notes and problem sets.