Learning Objectives
By the end of this section, you will be able to:
- Explain why the hydrogen atom is the only atom for which the Schrödinger equation can be solved exactly — and why this one solution sets the language for all of chemistry.
- Derive the separation from spherical symmetry of the Coulomb potential.
- Identify the three quantum numbers and their allowed ranges, and explain what each one physically "counts".
- Compute hydrogen energy levels from first principles and connect them to the Lyman, Balmer, and Paschen spectral series.
- Visualise the shapes of atomic orbitals (1s, 2s, 2p, 3d, …) and predict their number of radial and angular nodes.
- Implement a numerical eigenvalue solver for the radial Schrödinger equation in PyTorch and verify that it reproduces the Bohr formula.
Why Hydrogen is the Rosetta Stone
"The hydrogen atom is the most important problem in modern physics. Solve it, and you understand every atom." — paraphrasing Wolfgang Pauli
Hydrogen is the simplest possible atom: one proton sitting at the origin, and one electron bound to it by the electric force. Two particles. That is it. There are no electron–electron repulsions to worry about, no inner shells to model, no shielding to approximate. Strip everything else away and the only physics left is one charge orbiting another.
Yet this single "trivial" example is the only atom in nature whose Schrödinger equation can be solved exactly, by pencil and paper, in closed form. Every other atom in the periodic table is solved numerically by perturbing around hydrogen, by combining hydrogen-like orbitals, or by approximating with hydrogen-shaped basis sets. The structure of the periodic table itself — the s, p, d, f blocks; the row lengths 2, 8, 18, 32; the "diagonal" chemistry of elements — is just hydrogen's quantum-number rules played out under the influence of many electrons.
The intuition in one sentence
Historical Context
Hydrogen's spectrum was the puzzle that made quantum mechanics. The story is worth telling because it shows how an embarrassing pile of empirical observations forced physicists into a completely new view of nature.
1885: Balmer's mysterious formula
A Swiss school teacher, Johann Balmer, noticed that the four visible lines of hydrogen (red, cyan, blue-violet, deep violet) fit the empirical formula with . He had no idea why.
1913: Bohr's "atom of the impossible"
Niels Bohr fused Rutherford's nuclear model with Planck's quantum hypothesis to claim — without justification — that electrons only travel in orbits whose angular momentum is a multiple of . Out fell the formula , which explained every hydrogen line. It was a miracle that worked for the wrong reasons.
1926: Schrödinger's right reasons
Erwin Schrödinger applied his new wave equation to the Coulomb problem and recovered Bohr's answer exactly — but now as the eigenvalues of a differential operator. Bohr's quantised orbits became standing waves on a 3D potential well. The answer was the same; the understanding was new.
Everything after
From hydrogen's solution flowed: the periodic table's block structure (Pauli + hydrogen-like orbitals), all of molecular orbital theory, the laser, magnetic resonance imaging, every density-functional calculation in modern chemistry. Hydrogen is literally the "Hello World" of quantum mechanics.
The Coulomb Potential
Two charges and separated by feel an electric potential energy
where is the Coulomb constant. The minus sign is everything: the electron is bound, sitting in an infinitely deep well. The walls slope gently — they fall off like , which is slow enough that infinitely many bound states fit inside the well, getting denser and denser as they approach the top.
Intuition: a sloped funnel
The visualisation below plots and overlays the discrete energy ladder . Slide n and watch the highlighted rung; the yellow dot marks the classical turning point where a classical particle of energy would stop.
Read off the pattern
- The rungs thin out exponentially toward E = 0 because of the 1/n² spacing.
- Higher rungs live further from the proton: .
- There is no lowest energy below eV — quantum mechanics forbids the electron from spiralling into the proton.
Spherical Symmetry and Separation of Variables
Write the time-independent Schrödinger equation for one electron in the proton's field:
Because depends only on the distance from the origin — not on direction — the natural coordinates are spherical: . In those coordinates the Laplacian splits into a radial piece and an angular piece:
Because the potential talks only to and the angular Laplacian talks only to , we can try a separable ansatz:
Plug it in, divide by , and the equation cleanly separates into two pieces: an angular eigenproblem whose eigenvalue we'll call , and a radial ODE that inherits that eigenvalue as a centrifugal term:
The bracketed quantity is the effective radial potential: the true Coulomb attraction plus a centrifugal repulsion that grows like at small . The centrifugal term is the quantum echo of the classical fact that a planet with non-zero angular momentum cannot fall straight into the sun.
The trick to remember
The Angular Part: Spherical Harmonics
The angular eigenproblem has solutions called spherical harmonics . They are labelled by two integers:
| Quantum number | Allowed values | What it counts |
|---|---|---|
| ℓ (orbital) | 0, 1, 2, 3, … | Total angular momentum: |L| = ℏ √ℓ(ℓ+1) |
| m (magnetic) | −ℓ, −ℓ+1, …, +ℓ (2ℓ+1 values) | z-component of angular momentum: L_z = ℏ m |
The first few real spherical harmonics have shapes you have probably seen in chemistry class:
| ℓ | m | Y (proportional to) | Picture |
|---|---|---|---|
| 0 | 0 | 1 | Uniform sphere (s-orbital) |
| 1 | 0 | cos θ (= z/r) | p_z — two lobes along z-axis |
| 1 | ±1 | sin θ cos φ, sin θ sin φ (= x/r, y/r) | p_x, p_y — two lobes along x or y |
| 2 | 0 | 3 cos²θ − 1 | d_{z²} — donut + lobes along z |
| 2 | ±1, ±2 | various combinations | d_{xy}, d_{xz}, d_{yz}, d_{x²−y²} — four-lobed cloverleaves |
The number of angular nodes (flat planes or cones where ) equals . So an s-orbital has zero angular nodes (it's round), a p-orbital has one nodal plane (the equator for ), a d-orbital has two nodal surfaces, and so on. This is exactly what your 3D viewer below will show.
The Radial Equation
With chosen, the radial ODE becomes a 1D eigenvalue problem for . After substituting (a standard trick that kills the awkward factor) it takes the deceptively familiar form
— a 1D Schrödinger equation in with boundary conditions (the wavefunction must be finite at the origin since the volume element is ) and as (a bound state must die off).
The bound-state solutions are with built from exponentials and Laguerre polynomials. The closed-form expression (with in units of the Bohr radius ) is
Don't panic at the size of this formula — every piece earns its keep:
- — the exponential decay at infinity. Higher means slower decay, larger orbital.
- — suppresses the wavefunction near the origin for ; this is the centrifugal barrier saying "no angular momentum near r = 0".
- — a polynomial of degree ; its zeros are exactly the radial nodes of the wavefunction.
- The square-root prefactor enforces .
Use the explorer below to feel how these pieces combine. Drag and ; watch the yellow line track the most-probable radius:
Pattern to look for
Energy Levels: Where the −13.6 eV Comes From
The miracle of the potential is that the radial equation's eigenvalues are dictated by a single integer:
The combination is the Rydberg energy. It is the ionisation energy of the hydrogen atom — the work you must do to pull the ground-state electron infinitely far from the proton.
Where do the units come from?
Equally important is the Bohr radius, the natural length scale of the problem:
sets the size of the ground state; the n-th excited state grows as . A Rydberg atom with is times bigger than the ground state — comparable to the size of a bacterial cell!
Why does E only depend on n?
The fact that ignores and — so e.g. 2s and 2p have the same energy — is called accidental degeneracy. It isn't really accidental: the Coulomb potential has an extra hidden symmetry (the SO(4) Runge–Lenz symmetry) that ties radial and angular pieces together. In any other central potential — say, a screened — this degeneracy disappears and states with the same but different split apart. That splitting is exactly why the periodic table fills s < p < d rather than all-at-once.
Spectral Series and the Photon
When an electron drops from state to state the energy difference comes out as a single photon:
Photons grouped by the same form a spectral series:
| Series | n_f | Wavelength region | Famous lines |
|---|---|---|---|
| Lyman | 1 | UV (91–122 nm) | Lyman-α at 121.6 nm — brightest UV line in the cosmos |
| Balmer | 2 | Visible (365–656 nm) | Hα 656 nm (red), Hβ 486 nm, Hγ 434 nm |
| Paschen | 3 | Infrared (820–1875 nm) | Pα 1875 nm — important in stellar spectra |
| Brackett | 4 | Mid-IR (1.46–4.05 µm) | Brα at 4.05 µm |
Hover any transition arrow below to see the predicted wavelength. Compare what you read off to a photo of a real hydrogen spectrum tube — Balmer lines line up to the nanometre.
Astronomy connection
Quantum Numbers (n, ℓ, m) — Three Knobs
Every bound state of hydrogen is uniquely labelled by three integers — three knobs you can turn independently within their allowed ranges:
| Symbol | Range | Physical meaning | What it sets |
|---|---|---|---|
| n | 1, 2, 3, … | Principal quantum number | Energy E_n and overall size n² a_0 |
| ℓ | 0, 1, …, n−1 | Orbital angular momentum | Shape of orbital: |L| = ℏ √ℓ(ℓ+1) |
| m | −ℓ, −ℓ+1, …, +ℓ | Magnetic quantum number | Orientation: L_z = ℏ m |
And there is a fourth — spin — which the non-relativistic Schrödinger equation does not produce, but Dirac's relativistic equation does. Spin is what doubles the capacity of each spatial orbital from 1 electron to 2, and is the reason the periodic table's rows have lengths 2, 8, 8, 18, …
The 'degeneracy' counting
Atomic Orbitals: 1s, 2s, 2p, 3d, …
An orbital is shorthand for the 3D wavefunction . The chemistry names use a letter for :
| ℓ | Letter | Why this letter |
|---|---|---|
| 0 | s | "sharp" — historical spectroscopic naming |
| 1 | p | "principal" |
| 2 | d | "diffuse" |
| 3 | f | "fundamental" |
| ≥ 4 | g, h, i, … | alphabetical from f |
The number of nodes in the 3D wavefunction breaks down cleanly:
Drag the sliders below to walk through orbitals. Cyan and magenta encode the sign of so you can see the angular nodal planes as boundaries between the two colours. The yellow dot is the nucleus.
What to try
- (1, 0, 0) — 1s: a single round cyan cloud, no nodes anywhere.
- (2, 0, 0) — 2s: a round magenta core nested inside a cyan shell — that gap is the radial node.
- (2, 1, 0) — 2p_z: two lobes along the z-axis, cyan top, magenta bottom — the xy-plane is the angular node.
- (3, 2, 0) — 3d_z²: a peanut along z plus an equatorial torus — two angular nodal cones.
- (3, 2, ±2) — d_{xy} / d_{x²−y²}: the iconic four-lobed cloverleaf.
Worked Example: The 1s Ground State by Hand
It is worth doing one full computation on paper — once. The 1s state is the cleanest possible target.
▶ Click to work through the 1s ground state step-by-step
Step 1 — Write down the ansatz
For the angular harmonic is constant . The radial ansatz with no nodes is the simplest decaying exponential:
Step 2 — Normalise
We need . Using the standard integral :
So , matching the closed form in the section above.
Step 3 — Plug into the radial equation
With the centrifugal term is zero and the radial equation reduces to
Compute and . Substitute back:
Step 4 — Cancel the 1/r terms
For the equation to hold for all , the coefficient of must vanish:
The Bohr radius drops out automatically. Plugging numbers gives .
Step 5 — Read off the energy
What is left is , so
Plug in , , , :
Step 6 — Most probable and mean radius
The radial probability density is .
Maximise: . So the most probable radius equals the Bohr radius — exactly the classical Bohr orbit radius. Wonderful coincidence.
Mean radius: Larger than because the exponential tail extends well past the peak.
Sanity numbers
| Quantity | Symbol | Value |
|---|---|---|
| Ground-state energy | E_1 | −13.6057 eV |
| Bohr radius | a_0 | 0.5292 Å |
| Most-probable radius | r_* | a_0 = 0.5292 Å |
| Mean radius | ⟨r⟩ | (3/2) a_0 = 0.7937 Å |
| Ionisation energy | |E_1| | 13.6 eV ≈ 109,737 cm⁻¹ |
| Lyman-α wavelength (n=2→1) | λ_Lyα | 121.567 nm |
Python: Build the Wavefunctions Yourself
Theory is comforting; numbers are convincing. Here is a complete, self-contained Python program that (1) builds every hydrogen radial wavefunction from the closed-form, (2) verifies the energy ladder, (3) checks normalisation, (4) computes expectation values, and (5) plots the radial probability densities for the first six orbitals.
Read line-by-line: every card on the right explains why the corresponding line exists and what the numerical output looks like when you run it.
PyTorch: Solve the Radial Schrödinger Equation Numerically
The closed-form is beautiful, but for any potential more complicated than (think: helium, screened Coulomb, anything molecular) you must solve the radial equation numerically. The cleanest approach is to discretise on a grid, build the Hamiltonian as a symmetric matrix, and call an eigensolver.
PyTorch is a natural fit: tensors give us BLAS-level linear algebra, diagonalises in milliseconds, and the same code runs on a GPU if we ever want bigger matrices. The snippet below recovers every analytical energy to ~6 decimal places on a 2000-point grid.
What you should see in your terminal
For : the first five energies read Hartree — matching for . For the lowest is (= ), for the lowest is (= ) — confirming the rule and the accidental degeneracy.
Connections — Chemistry, Spectroscopy, ML
Chemistry & the periodic table
All of multi-electron atomic structure is built from hydrogen-like orbitals (Slater-type or Gaussian basis sets), modified by electron-electron repulsion. The (n, ℓ) ordering you learned here, combined with the Pauli exclusion principle, is exactly what predicts the periodic table's s, p, d, f blocks.
Astronomy & spectroscopy
Almost everything astronomers measure about distant stars and galaxies comes from hydrogen spectral lines. Redshift is just the Doppler shift of the 656 nm Hα line; the cosmic 21 cm signal is a hyperfine transition in 1s hydrogen; quasar absorption lines map the Lyman series back through cosmological time.
Machine learning
Neural network potentials (SchNet, NequIP, MACE) learn anenergy surface over molecular geometries. Their features almost always include radial functions inspired by hydrogen-like exponentials, and their angular features are spherical harmonics — the exact same that solve hydrogen. The symmetries of hydrogen are baked into how modern molecular ML represents atoms.
Modern physics
Refinements to the hydrogen calculation introduced every major idea of 20th-century physics: spin (fine structure), QED (Lamb shift), nuclear structure (hyperfine), and now precision measurements of the 1S–2S transition that test charge-parity-time symmetry to 1 part in 10¹⁵.
Test Your Understanding
Six conceptual questions covering the main ideas of this section. Take your time — the explanations are designed to clarify the intuition, not just judge your answer.
Summary
The hydrogen atom in one page
- Potential: — spherically symmetric, so separable.
- Wavefunction: .
- Quantum numbers: , , ; plus spin .
- Energies: — depend only on (accidental SO(4) degeneracy).
- Length scale: Bohr radius ; orbital size .
- Nodes: radial, angular, total .
- Spectrum: photon energy ; Lyman → UV, Balmer → visible, Paschen → IR.
- Periodic table: shell capacities come from spatial states × 2 spins.
Everything else in atomic physics is a refinement of these eight bullets. The next section turns from this analytic gem to the general-purpose numerical methods you need for atoms heavier than hydrogen.