How Do We Solve the Schrödinger Equation of the Hydrogen Atom?

This page writes out the derivation in lecture notes (15)(16) step by step. Along a single path — separation of variables → three ordinary differential equations → the boundary condition of each — the three quantum numbers n, l and m come out entirely from boundary conditions. The names 1s, 2s, 2p, … and the restriction l ≤ n − 1 are also settled along the way.

0. Setup

An electron of mass me moves in the Coulomb potential created by a proton placed at the origin:

V(r)= − 14πε0 e02r

The equation we solve is the stationary-state Schrödinger equation

− ℏ22me ∇2ψ+Vψ=Eψ

In addition, for the azimuthal angle φ we impose the condition that the wave function returns to itself after one full turn.

ψ(r,θ,φ) = ψ(r,θ,φ+2π)
All of the quantization comes from boundary conditions It does not come from anything mysterious; it comes from the following three boundary conditions.
• The condition that the function returns to itself after one turn in φ → m is an integer
• The condition of no divergence at θ = 0, π → l is a non-negative integer and |m| ≤ l
• The condition of vanishing as r → ∞ → n is a positive integer and l ≤ n − 1
It is exactly the same logic as what we did for the one-dimensional well and the harmonic oscillator.

1. The Conclusion First (30-Second Version)

  1. Because of the spherical symmetry, we switch to polar coordinates and separate ψ = R(r)Y(θ,φ). The separation constant is set to l(l+1).
  2. Next we separate Y = Θ(θ)Φ(φ). The separation constant is set to m2.
  3. Φ″ + m2Φ = 0 gives Φ = eimφ. For it to return to itself after one turn, we need m ∈ ℤ.
  4. The equation for Θ is the associated Legendre equation. For the solution not to diverge at the two poles, l must be a non-negative integer and |m| ≤ l.
  5. For R, factoring out the far-field form e−κr gives the associated Laguerre equation. For the series to terminate after finitely many terms, n must be a positive integer and l ≤ n − 1.
  6. In that case E = −mee04/8ε02h2n2 = −13.606 eV/n2.
How the names are assigned n = 1, 2, 3, … is the principal quantum number, and l = 0, 1, 2, 3, … corresponds to s, p, d, f. That is, 1s means (n,l) = (1,0) and 3d means (3,2). Since l ≤ n − 1, 1p and 2d do not exist — this too comes out in the course of the derivation. Also, l is called the azimuthal quantum number, and m = −l, …, 0, …, +l is called the magnetic quantum number. In the simulator, the orbital buttons correspond to choosing the pair (n, l), and the buttons below them choose m.

2. Separation of Variables — Lecture Notes (15)

2.1 The Laplacian in polar coordinates

∇2= 1r2 ∂∂r (r2 ∂∂r) + 1r2sin⁡θ ∂∂θ (sin⁡θ ∂∂θ) + 1r2sin2⁡θ ∂2∂φ2

2.2 Separating r from (θ,φ)

Substitute ψ = R(r)Y(θ,φ), multiply both sides by −2me/ℏ2, then multiply by r2 and divide by RY. The equation splits into one in r only and one in (θ,φ) only.

1R (r2 d2Rdr2 +2r dRdr) + 2meℏ2 ( e024πε0r +E) r2 ⏟ depends on r only = − [ 1Y ( ∂2Y∂θ2 + 1tan⁡θ ∂Y∂θ) + 1sin2⁡θ 1Y ∂2Y∂φ2 ] ⏟ depends on θ, φ only

The left side is a function of r only and the right side a function of θ, φ only. Because two functions of independent variables are identically equal, both must equal the same constant. Following the notes, we set this constant to l(l+1) (we will see later that l is an integer, so this choice makes the equations neat).

2.3 Separating θ from φ

Next we separate Y = Θ(θ)Φ(φ), multiply by sin2θ and rearrange. This time the equation splits into one in θ only and one in φ only. Setting this separation constant to m2, we obtain three ordinary differential equations.

1R (r2 d2Rdr2 +2rdRdr) + 2meℏ2 (e024πε0r +E)r2 =l(l+1) … ① sin2⁡θΘ ( d2Θdθ2 + 1tan⁡θ dΘdθ) +l(l+1) sin2⁡θ =m2 … ② 1Φ d2Φdφ2 = −m2 … ③

3. The Radial Direction ① — Where n Is Born

3.1 Setting R = S/r to get a one-dimensional form

Multiplying ① by R and rearranging gives r2R″ + 2rR′ + [ … ]R = 0. Now set R(r) = S(r)/r, and the first-derivative term disappears neatly.

r2 d2Rdr2 +2r dRdr =r d2Sdr2

Now, defining κ and τ by 2meE/ℏ2 = −κ2, mee02/2πε0ℏ2 = τ (the electron is bound, so E < 0 and therefore κ2 > 0), we obtain

d2Sdr2 + [ −κ2 +τr −l(l+1)r2 ]S=0
This is exactly a one-dimensional Schrödinger equation With Veff(r) = −e02/4πε0r + ℏ2l(l+1)/2mer2 as the effective potential, this equation describes a one-dimensional particle moving in that potential. The second term is exactly the centrifugal potential of classical mechanics, and the larger l is, the less the electron can approach the origin. This is why, in tab ②, orbitals with larger l have a thinner inner tail.

3.2 Looking at the far-field form first

At very large r, both 1/r and 1/r2 are negligible, so S″ − κ2S = 0, that is, S ≃ Aeκr + Be−κr. Since S → 0 must hold as r → ∞, we need A = 0, so S ∝ e−κr is required. So we factor out this factor and set S(r) = X(r) e−κr, which gives

d2Xdr2 −2κ dXdr + [τr −l(l+1)r2 ]X=0

Making it dimensionless with x = 2κr puts the equation in a tidy form.

d2Xdx2 − dXdx + [ τ2κ 1x − l(l+1)x2 ]X=0

3.3 Expanding in a series (Frobenius)

Since x = 0 is a regular singular point, there is a solution of the form X(x) = Σk≥0 akxk+λ, and substituting it in and taking the coefficient of the lowest order (xλ−2) gives

{λ(λ−1) −l(l+1)} a0=0 ⟹ λ=l+1, −l

As for λ = −l, if l ≥ 1 then |X| → ∞ as x → 0, and even for l = 0, if X(0) ≠ 0 then R = S/r ∼ 1/r fails to satisfy the equation at the origin (∇2(1/r) produces a delta function), so in either case we discard this solution. Hence λ = l + 1, that is, X = xl+1F(x). Putting this into the original equation and dividing by xl gives

x d2Fdx2 + {2(l+1)−x} dFdx + {τ2κ −(l+1)} F=0

This is the associated Laguerre equation xy″ + (N+1−x)y′ + (m′−N)y = 0 once we identify N = 2l+1 and m′ = τ/2κ + l.

3.4 Quantization happens here

The series must terminate after finitely many terms The solution of the associated Laguerre equation is a polynomial (terminating at a finite order) only when m′ is an integer greater than or equal to N. If it does not terminate, F behaves like ex, so S = Xe−κr ∝ e+κr and it diverges as r → ∞. We want a normalizable solution, so this is not allowed.

So we set m′ = n + l (n ∈ ℕ). Then

τ2κ=n , m′≥N ⟹ n+l≥2l+1 ⟹ l≤n−1
This is why 1p and 2d do not exist l ≤ n − 1 comes from the condition for the series to terminate. For n = 1 only l = 0 is allowed (1s only), for n = 2 we have l = 0, 1 (2s, 2p), and for n = 3 we have 3s, 3p, 3d. This is the starting point of the structure of the periodic table.

Solving τ/2κ = n for κ gives κ = τ/2n. Going back to κ2 = −2meE/ℏ2, we obtain

En= − ℏ22me κ2= − mee04 8ε02h2 1n2 = − 13.606eVn2

E is determined by n alone and depends on neither l nor m. This is why 2s and 2p have the same energy, and 3s, 3p and 3d have the same energy. Counting l = 0, 1, …, n−1 and m = −l, …, +l, the states with the same n are Σ(2l+1) = n2-fold degenerate (2n2-fold if spin is included). The “degeneracy” shown in the simulator’s readout is this number.

Seeing the quantization. We integrate the equation for u(r) = rR(r), u″ = {l(l+1)/r2 − 2/r − 2E}u (atomic units), numerically outward from the origin, and plot how much of the far tail remains relative to the height of the peak, namely u(rf)/max|u| (the overall size of the wave function is fixed by normalization, so only this ratio is meaningful). The tail dies away only when E = −1/2n2 exactly, and rises if it is off even slightly. The horizontal axis is ν = 1/√(−2E), so the eigenvalues line up at equal spacing, ν = 1, 2, 3, …, and you can also see that there are no eigenvalues at ν ≤ l (l ≤ n − 1). It is the same experiment as the one on the harmonic oscillator page.

4. The Polar Angle Direction ② — Legendre

Rewriting ② in terms of Θ gives sin2θ Θ″ + sinθcosθ Θ′ + {l(l+1)sin2θ − m2}Θ = 0. Now change variables to x = cosθ. Using dΘ/dθ = −sinθ·dΘ/dx twice, we get

(1−x2) d2Θdx2 −2x dΘdx + {l(l+1) −m21−x2} Θ=0

This is the associated Legendre equation. The solution that can remain bounded at both poles is, using Rodrigues’ formula,

Θ(x)= D0 (1−x2) |m|/2 d|m| dx|m| { 12ll! dldxl (x2−1)l }
The restrictions on l and m appear here For the solution not to diverge at x = ±1 (θ = 0, π, that is, the north and south poles), l must be a non-negative integer. Moreover, since after differentiating l times we differentiate |m| more times, |m| > l would make the result identically 0. Therefore |m| ≤ l. This is the origin of the degeneracy of 2l+1 states, m = −l, …, 0, …, +l.

5. The Azimuthal Direction ③ — m Becomes an Integer

③ is exactly the equation of simple harmonic motion: Φ(φ) = c0eimφ + d0e−imφ. If we impose the boundary condition Φ(φ) = Φ(φ+2π) for all φ, then, since eimφ and e−imφ are linearly independent, coefficient by coefficient we get

c0= c0ei2mπ , d0= d0e−i2mπ ⟹ e±i2mπ=1 ⟹ m∈ℤ

The sign of m does not matter; if we push the plus and minus signs onto m itself, everything can be combined into one single form: Φ(φ) = c0eimφ (m = 0, ±1, ±2, …)

“Returning after one turn” alone quantizes the angular momentum Applying Lz = −iℏ∂/∂φ to this Φ gives LzΦ = mℏΦ. In other words, the z-component of the angular momentum can only be an integer multiple of ℏ. The reason the cloud rotates when you select “Complex m = ±|m|” in tab ① of the simulator is that this angular momentum shows up as a real flow of probability (|ψ|2 itself does not depend on φ, so the shape of the distribution does not change even as it rotates; see Section 8 for details).

6. Multiplying the Three Together

Putting ①②③ together gives ψ(r,θ,φ) = R(r)Θ(θ)Φ(φ). The constants are fixed by the normalization ∫|ψ|2dV = 1, and with the Bohr radius aB = 4πε0ℏ2/mee02 = 0.52918 Å we obtain the form in lecture notes (16).

Rnl(r)= 1aB (n−l−1)! n2{(n+l)!}3 e−r/aBnr ∑k=2l+1n+l (−1)k {(n+l)!}2 (k−2l−1)! k! (n+l−k)! (2rnaB) k−l
About the overall sign This sum starts from the term k = 2l+1, so (−1)2l+1 = −1, and as it stands R < 0 as r → 0. The table in lecture notes (16) (1s = 2aB−3/2e−r/aB, etc.) starts from a positive value, so in the simulator the overall sign is flipped to match the table. This comes from a difference in convention for the Laguerre polynomials (the old definition versus the modern one) and has no effect at all on |ψ|2.

7. The Table in Lecture Notes (16)

The radial part Rnl(r). We write ρ = r/aB.

nlOrbitalR(r) / aB−3/2 Radial nodesMost probable radius / aB
101s2 e−ρ01.000
202s(1/2√2)(2 − ρ) e−ρ/215.236
212p(1/2√6) ρ e−ρ/204.000
303s(2/81√3)(27 − 18ρ + 2ρ2) e−ρ/3213.074
313p(4/81√6)(6 − ρ) ρ e−ρ/3112.000
323d(4/81√30) ρ2 e−ρ/309.000
404s(1/768)(192 − 144ρ + 24ρ2 − ρ3) e−ρ/4324.618
414p(1/256√15)(80 − 20ρ + ρ2) ρ e−ρ/4223.580
424d(1/768√5)(12 − ρ) ρ2 e−ρ/4121.211
434f(1/768√35) ρ3 e−ρ/4016.000
Orbitals with l = n − 1 have the same radius as Bohr’s circular orbits The most probable radii of 1s, 2p, 3d and 4f are exactly 1, 4, 9, 16 aB — that is, n2aB. This agrees with the radius of the circular orbit that Bohr postulated in 1913. These are the solutions with no radial nodes at all, the ones that look most like “circular orbits.” Note, however, that only the radius agrees; this does not mean that a quantum-mechanical state becomes a classical circular orbit. The states that come closer to the picture of circular motion are those with |m| = l and large n; 1s is spherically symmetric to begin with.

The angular part Θ(θ)Φ(φ) (written as real combinations).

This angular part Y(θ,φ) = Θ(θ)Φ(φ) is the spherical harmonic, and it is what is drawn in tab ② of the simulator (the difference between the real and complex forms is explained in Section 8).

lmΘ(θ)Φ(φ)Common name
001/2√πs
10½ √(3/π) cos θpz
1±1½ √(3/π) sin θ · {cos φ, sin φ}px, py
20¼ √(5/π) (3cos2θ − 1)dz²
2±1½ √(15/π) sin θ cos θ · {cos φ, sin φ}dxz, dyz
2±2¼ √(15/π) sin2θ · {cos 2φ, sin 2φ}dx²−y², dxy
30¼ √(7/π) (5cos3θ − 3cos θ)fz³
3±1¼ √(21/2π) (5cos2θ − 1) sin θ · {cos φ, sin φ}fxz², fyz²
3±2¼ √(105/π) cos θ sin2θ · {cos 2φ, sin 2φ}fz(x²−y²), fxyz
3±3¼ √(35/2π) sin3θ · {cos 3φ, sin 3φ}fx(x²−3y²), fy(3x²−y²)
About the l = 1, m = ±1 row in the lecture notes Lecture notes (16) write √3/2 · sinθ, but the form that satisfies the normalization ∮|Y|2dΩ = 1 is ½√(3/π) sinθ (the √π in the denominator is missing). All the other rows were found to agree with this normalization. The simulator uses the correct form.

8. Real and Complex Orbitals — Which One “Rotates”?

For m ≠ 0 the table above is written in the form cosmφ, sinmφ, that is, as the sum and difference of e+imφ and e−imφ. Chemistry uses this form because the shapes are real and easy to draw, but these are not eigenstates of Lz.

The flow of probability (the probability current density) is

j= ℏme Im⁡ (ψ*∇ψ) ⟹ vφ= ℏmmersin⁡θ

For a complex orbital ψnlm ∝ eimφ, this does not vanish. Writing the distance from the z axis as r⊥ = rsinθ, the angular velocity is dφ/dt = ℏm/mer⊥2, that is, a differential rotation that is faster toward the inside. Since |ψ|2 does not depend on φ, this flow does not change the distribution at all (the continuity equation is satisfied automatically). Integrating gives exactly ⟨Lz⟩ = mℏ.

For real orbitals the flow is zero px and dxy are superpositions of +|m| and −|m|, so the oppositely directed flows cancel completely and j = 0. The same holds for the m = 0 orbitals (s, pz, dz² …). A probability flow corresponding to the picture of “the electron circling the proton” exists only when you choose a complex orbital. Even so, the “flow” here is the j that takes care of the conservation of probability density, and it does not mean that the electron traces out a single classical orbit. Tab ① of the simulator displays this distinction exactly as it is.

9. Checking Numerically

To confirm that the formulas used in the simulator are really correct, we computed them independently and compared the results.

What was checkedResult
General form in the notes vs. the table in lecture notes (16) (10 orbitals, 1s–4f)Relative difference < 3.4×10−13
Normalization ∫|R|2r2dr = 1 (all 10 orbitals)Deviation < 1×10−13
⟨r⟩ = (aB/2){3n2 − l(l+1)}Deviation < 2.2×10−12
Number of radial nodes = n − l − 1Agrees for all 10 orbitals
Angular part vs. the lower table of lecture notes (16)Relative difference < 1×10−14
∮|Y|2dΩ = 1 and orthogonality ⟨Ya|Yb⟩ = 0Deviation < 7.2×10−7 (accuracy of the numerical integration)
⟨Lz⟩ obtained from the probability currentExactly mℏ for m = 1, 2
Distribution of the 106 scattered points vs. P(r), ∫|Y|2dφTotal variation distance 0.002 (within statistical error)
Areal density of the points drawn on the screen vs. the analytic σ(R) (1s, section view)Agrees to within a few percent over two orders of magnitude

10. Summary

From the quantum mechanics lecture notes (15)(16) of the Mochizuki Research Group. All formulas are typeset in the browser’s native MathML (no external libraries or network communication are used). Back to the simulator