Radial Schrödinger Solvers
A radial bound-state solver is a boundary-value eigensolver on the half-line. It must find both an energy and a nonzero radial function that is regular at the origin, decays at large radius, has the intended node count, and remains stable under changes of grid, box, propagation direction, and solver tolerance.
The differential equation is short; the evidence chain is not. The most common failures are:
- starting at the singular origin with inconsistent data;
- integrating a forbidden-region growing solution instead of the desired decaying one;
- finding a zero of an unreliable boundary residual;
- resolving the grid while leaving the finite box unconverged;
- confusing a pseudostate with a bound state;
- and validating only the energy while the wavefunction or radial integrals remain inaccurate.
This page develops two complementary routes:
- shooting and matching, which propagate trial solutions and search for a matching energy;
- matrix discretization, which converts the radial operator into a finite Hermitian eigenproblem.
Numerov propagation exploits the special second-order structure and can be used in either route. Hydrogenic ions provide an unusually complete benchmark: exact energies, node counts, moments, degeneracies, scaling laws, and wavefunctions.
Canonical Scope
Section titled “Canonical Scope”The Radial Schrödinger Equation owns the separation from three dimensions and the relation between and . The Boundary Conditions for Radial Wavefunctions page owns the physical half-line domain and self-adjointness cautions. The ODE Solvers and Finite Difference Methods pages own generic integration and stencil theory.
This page owns their atomic radial specialization:
- asymptotic numerical starting data at both boundaries;
- stable outward and inward propagation;
- two-sided logarithmic-derivative or Wronskian matching;
- Numerov startup, recurrence, and renormalization;
- radial finite-difference Hamiltonians;
- node-aware energy bracketing;
- stitching, normalization, and observable checks;
- and a reproducible hydrogenic benchmark ladder.
The target is a local, energy-independent, single-channel central potential. Nonlocal Hartree–Fock exchange, coupled radial channels, resonances, and continuum scattering require extensions; they are discussed only at the boundary.
Problem Contract
Section titled “Problem Contract”For reduced mass , angular momentum , and a local central potential , define
The reduced radial equation is
It is convenient to collect the centrifugal term into
For a regular bound state in the usual central-potential problem,
and
The normalization measure is , not , because the factor of has already been absorbed into .
Rewrite as a propagation equation
Section titled “Rewrite as a propagation equation”In atomic units with , write
where
The sign of identifies local behavior:
| Region | Sign | Leading behavior |
|---|---|---|
| classically allowed | oscillatory | |
| classically forbidden | exponential | |
| turning point | neither local form is uniform |
This sign convention must remain consistent with the Numerov recurrence. Many implementation errors arise from copying a formula written for while supplying .
Inputs and outputs
Section titled “Inputs and outputs”A solver interface should make the mathematical contract explicit.
Inputs
- potential function and parameter provenance;
- reduced mass and unit system;
- angular momentum ;
- radial domain and mapping;
- origin and asymptotic boundary models;
- target state or node count;
- energy bracket;
- integration, matrix, and root tolerances.
Outputs
- energy and units;
- normalized on a stated grid;
- node count and symmetry label;
- boundary and matching residuals;
- normalization and expectation-value checks;
- grid, box, and tolerance convergence tables;
- status flags for failed brackets, overflow, or ambiguous roots.
Returning an energy without diagnostics makes silent misidentification too easy.
Nondimensionalize First
Section titled “Nondimensionalize First”Choose a length scale and define
Then
with
Nondimensionalization keeps matrix entries and residuals near natural scales, clarifies which tolerances are meaningful, and exposes parameter scaling. Atomic units already provide a useful physical nondimensionalization, but a second problem-specific scaling can still help for high- ions or diffuse Rydberg states.
For a hydrogenic ion, the change
removes from the nonrelativistic radial equation. A correct code should therefore satisfy
after the radial domain and spacing are rescaled consistently.
The Origin Is a Singular Endpoint
Section titled “The Origin Is a Singular Endpoint”The formal boundary condition does not supply two initial values for a second-order propagation. Setting both and to zero produces the trivial solution. Instead, start at a small positive radius using a regular series.
For
and fixed , the regular solution has
The arbitrary constant fixes only the propagation scale. It disappears from logarithmic derivatives and is replaced by physical normalization after the eigenvalue is found.
Starting values
Section titled “Starting values”On a uniform grid , a minimal regular startup is
For high-order propagation, use enough terms of the local series that startup error is smaller than the interior discretization error. A first-order startup can reduce the observed global order even when the interior Numerov formula is high order.
For large , can underflow. Since the equation is linear, rescale the starting pair or initialize logarithmic ratios instead of storing the physical amplitude.
Potentials more singular than Coulomb
Section titled “Potentials more singular than Coulomb”If
with , the regular exponent and even the allowed self-adjoint boundary condition can differ from the Coulomb case. Do not reuse automatically. Analyze the dominant-balance equation and the operator domain first.
This is not a minor numerical correction: some attractive inverse-square problems require a boundary parameter, and more singular attractive potentials can exhibit collapse without additional short-distance physics.
The Outer Boundary
Section titled “The Outer Boundary”Suppose
and . Define
The physical tail decays approximately as
If the long-range potential is Coulombic,
the leading refinement is
Use this asymptotic form to initialize inward propagation at . The overall scale remains arbitrary.
Choosing the box
Section titled “Choosing the box”A bound-state box is adequate only when:
- the wavefunction tail is small at ;
- the energy and target radial moments are stable as grows;
- the outer boundary lies beyond the relevant turning point;
- and the grid still resolves the larger domain.
Diffuse states are much more demanding than compact ones. For a hydrogenic state, the radial scale grows like
A box that is excellent for can severely distort a Rydberg state.
Box and mesh errors must be separated
Section titled “Box and mesh errors must be separated”At fixed , reducing approaches the eigenproblem in that finite box. At fixed , increasing changes both the number of points and the physical domain. To identify the errors:
- converge for several fixed boxes;
- compare the converged result across boxes;
- then choose a production pair .
A single sequence with constant point count and growing box entangles finer domain coverage with coarser resolution.
Turning Points and Match Radius
Section titled “Turning Points and Match Radius”A classical turning point satisfies
For a typical bound state, outward propagation is well conditioned through the inner allowed region but eventually enters an outer forbidden region. There, any tiny admixture of the growing exponential
will dominate the desired decaying solution. Inward propagation has the opposite advantage: the decaying physical boundary condition can be imposed directly at large radius.
Match the two solutions at a radius in or near the classically allowed region, often close to an outer turning point but away from a node. The result should be stable as is moved within a reasonable interval.
Two-sided shooting suppresses the exponentially unstable direction at each boundary. A trial energy is an eigenvalue when the outward and inward solutions can be rescaled to match both value and derivative at . Logarithmic-derivative or Wronskian residuals remove the arbitrary amplitudes.
At a node, diverges, so move the match point or use a Wronskian residual. A turning point is not a singularity of the exact equation, but a coarse mesh there can degrade matching because the local wavelength changes rapidly.
Shooting as an Eigenvalue Problem
Section titled “Shooting as an Eigenvalue Problem”For a trial energy , origin data determine an outward solution up to scale. Large-radius asymptotics determine an inward solution up to another scale. At an eigenvalue they represent the same global solution.
One-sided endpoint shooting
Section titled “One-sided endpoint shooting”The simplest residual is
One then searches for
This can work for compact low-lying states and moderate boxes. It becomes fragile because the physical forbidden-region solution is the numerically unstable direction under outward propagation. Roundoff and local truncation continually seed the growing exponential.
The sign and magnitude of can then be governed more by the arbitrary propagation scale and overflow than by proximity to an eigenvalue. A zero at one box size can move substantially when the box is enlarged.
Use one-sided shooting as a teaching method or a cross-check, not the only evidence for a production radial solver.
Logarithmic-derivative matching
Section titled “Logarithmic-derivative matching”Define
The mismatch
is independent of both arbitrary amplitudes. Eigenvalues satisfy
The logarithmic derivative also avoids very large or very small wavefunction amplitudes. Its limitation is a pole whenever the selected match point is a node.
Wronskian matching
Section titled “Wronskian matching”An amplitude-independent alternative is the Wronskian
For an exact equation without a first-derivative term, the Wronskian is constant in . It vanishes if and only if the two nonzero solutions are linearly dependent. Numerically, its overall magnitude still scales with the two arbitrary amplitudes, so normalize or rescale the propagated solutions before using it in a root finder.
Wronskian drift across several nearby match points is a useful discretization diagnostic. A root found only at one grid point but not at adjacent points is suspect.
Stitching the state
Section titled “Stitching the state”After finding an eigenvalue, rescale the inward solution by
and define
Then check the derivative mismatch
The scale floor prevents a meaningless relative blow-up when both derivatives are close to zero. Finally normalize over the entire domain:
Normalization must follow stitching; normalizing the two halves separately destroys their relative amplitude.
Node Counting and State Identity
Section titled “Node Counting and State Identity”For a regular scalar Sturm–Liouville problem, eigenvalues within a fixed sector are ordered by the number of interior nodes. The lowest radial state has no node, the next has one, and so on.
For a hydrogenic state,
Thus:
| State | Interior radial nodes | |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 0 | 2 | |
| 1 | 1 | |
| 2 | 0 |
Node count protects an energy search from converging to the wrong root. During outward propagation, count sign changes only after suppressing roundoff-scale values and excluding the origin. If a node falls between grid points, interpolate or infer it from a sign-changing bracket.
When node counting needs care
Section titled “When node counting needs care”The simple theorem assumes:
- a scalar second-order equation;
- a self-adjoint boundary-value problem;
- a local real potential;
- and a regular ordering within one symmetry sector.
Coupled channels, nonlocal exchange, energy-dependent potentials, and some singular endpoint extensions need generalized methods. A node counter written for the scalar equation should fail explicitly rather than silently assign atomic labels in those settings.
Energy Bracketing
Section titled “Energy Bracketing”A robust root search begins with a bracket
For a potential tending to zero, bound states require . A lower bound can come from a known potential minimum or a comparison potential; an upper bound can lie just below the continuum threshold. Central-field estimates, WKB quantization, or neighboring parameter values can provide tighter initial intervals.
Bracket with nodes and mismatch
Section titled “Bracket with nodes and mismatch”Use two pieces of information:
- the node count identifies the spectral interval;
- the matching residual locates the root within that interval.
A practical search is:
choose target radial node count n_restablish an energy interval below the continuumscan energies coarselyfor each energy: propagate the regular solution outward count reliable interior nodes evaluate a two-sided matching residualidentify an interval containing the desired node branch and a residual rootrefine with a bracket-preserving root solververify the node count and move the match pointThe coarse scan is not wasted work. It reveals residual poles, missed narrow intervals, and state rearrangements that a blind Newton iteration can skip.
Root algorithms
Section titled “Root algorithms”| Method | Advantage | Main risk |
|---|---|---|
| bisection | guaranteed contraction for a continuous sign-changing residual | linear convergence |
| secant | derivative-free and faster near a simple root | can leave the bracket |
| Brent-style hybrid | robust bracket with superlinear steps when useful | still requires a valid continuous bracket |
| Newton or Cooley correction | rapid near a well-resolved root | derivative/correction failure far from root or near poles |
For production, a bracket-preserving hybrid is a strong default. Stop only when both the energy interval and the physical matching residual meet their tolerances. A small energy step alone is insufficient if the residual is flat or ill scaled.
Residual poles are not eigenvalues
Section titled “Residual poles are not eigenvalues”The logarithmic mismatch has poles when either propagated solution vanishes at . A sign change across a pole can fool a bracketing solver. Detect large residual magnitudes, track the signs of both denominator values, or switch to a scaled Wronskian near the suspected interval.
Moving is a powerful test: an eigenvalue remains fixed within discretization error, while a pole tied to moves.
Numerov Propagation
Section titled “Numerov Propagation”Numerov exploits the absence of a first-derivative term in
On a uniform grid , Taylor expansion gives the recurrence
For the radial Schrödinger equation in atomic units,
Numerov has a local recurrence defect of order under the usual smoothness assumptions; the accumulated wavefunction error is commonly . Eigenvalue convergence depends on startup, boundary matching, potential regularity, and root extraction, so measure the observed order instead of assigning it from the interior formula alone.
Derivation in one line of structure
Section titled “Derivation in one line of structure”Let . The centered identity
becomes the recurrence after substituting and collecting the terms.
This derivation shows the assumptions:
- a uniform step in the coordinate used by the recurrence;
- sufficient smoothness through the stencil;
- a linear second-order equation;
- and no first-derivative term.
Stable startup
Section titled “Stable startup”Numerov requires two adjacent values. For outward propagation, obtain them from the origin series. For inward propagation, use the large- asymptotic form at and .
Do not generate the second value with a low-order Euler step. That can dominate the global error. If a high-order asymptotic series is unavailable, start farther inside a region where an adaptive high-order first-order-system solver can supply a consistent pair, then switch to Numerov and test the handoff point.
Renormalized recurrence
Section titled “Renormalized recurrence”Define
The recurrence is
Using the ratio
gives
This renormalized form avoids unbounded absolute amplitudes and supports logarithmic-derivative matching. Ratios have poles at nodes, so practical implementations monitor reciprocal ratios or rescale ordinary solution pairs when needed.
An alternative is periodic amplitude rescaling:
Store the cumulative scale only if an absolute amplitude is needed before final normalization.
Derivatives at the match point
Section titled “Derivatives at the match point”A centered five-point derivative is
with error for a smooth function. The derivative formula should be commensurate with the propagation accuracy. A first-order one-sided difference can dominate an otherwise high-order matching residual.
Near a boundary or a node, use an appropriate one-sided high-order stencil, move the match point, or derive the logarithmic derivative directly from renormalized ratios.
Nonuniform grids
Section titled “Nonuniform grids”The basic recurrence cannot be applied unchanged on a logarithmic or arbitrary nonuniform mesh. Under a coordinate map ,
The transformed equation contains a first derivative. One may:
- use a generalized nonuniform Numerov formula;
- transform the dependent variable to remove the first derivative;
- use finite elements or collocation in the mapped coordinate;
- or integrate the first-order system with an adaptive solver.
Calling a grid “logarithmic” does not specify which transformed operator or quadrature was used.
Where Numerov loses its advantage
Section titled “Where Numerov loses its advantage”Numerov’s formal order can be degraded by:
- discontinuous or nonsmooth potentials;
- a singular origin treated without an asymptotic startup;
- abrupt mesh changes;
- a turning point resolved by too few steps;
- an energy-dependent or nonlocal interaction;
- coupled equations not handled by a matrix generalization;
- and floating-point overflow in forbidden regions.
A lower-order method with controlled adaptivity and correct boundary data can be more trustworthy than an unverified high-order recurrence.
Finite-Difference Hamiltonian
Section titled “Finite-Difference Hamiltonian”Matrix discretization enforces both boundaries first and solves for several eigenpairs together. On a uniform grid,
impose
and retain the interior values. In atomic units,
The tridiagonal Hamiltonian has
No potential is evaluated at . Origin regularity enters through the Dirichlet boundary and the reduced radial representation.
What the matrix eigenvalues mean
Section titled “What the matrix eigenvalues mean”The finite matrix has discrete eigenvalues. Negative eigenvalues stable under box growth approximate physical bound states when the continuum threshold is zero. Positive eigenvalues are generally cavity pseudostates: they move as changes and sample the continuum rather than represent isolated bound levels.
A discrete eigenvalue is therefore classified by:
- its sign relative to the physical threshold;
- stability under box enlargement;
- node count and localization;
- amplitude near the outer boundary;
- and continuity under mesh refinement.
Hermiticity
Section titled “Hermiticity”For a real local potential, the standard matrix is real symmetric:
Use a Hermitian eigensolver. If an implementation produces appreciably complex eigenvalues, the likely causes include an asymmetric boundary row, an incorrect mapped-coordinate discretization, or a nonsymmetric operator assembly.
The generic eigensolver choices are discussed in Sparse Eigensolvers. For a tridiagonal radial matrix, specialized symmetric tridiagonal routines are often simpler and faster than a general sparse package.
Discrete versus physical normalization
Section titled “Discrete versus physical normalization”A standard eigensolver returns
The physical radial normalization on a uniform grid is approximately
Thus a Euclidean-normalized eigenvector must be divided by before it is interpreted as sampled values of a continuum-normalized radial function, up to the chosen quadrature accuracy. On a nonuniform grid,
uses quadrature weights .
Confusing the two normalizations leaves energies unchanged but corrupts radial matrix elements.
Higher-order stencils
Section titled “Higher-order stencils”A five-point fourth-order approximation is
It makes the Hamiltonian pentadiagonal. The first two and last two rows need boundary formulas of compatible order. Using a fourth-order interior stencil with a first-order boundary closure often returns the whole eigenproblem to low-order convergence.
For Coulomb potentials, the solution has a known cusp structure but remains regular in . Observed convergence can nevertheless differ by and state because high derivatives near the origin grow with .
Do finite-difference energies approach from above?
Section titled “Do finite-difference energies approach from above?”Do not assume so. A Rayleigh–Ritz basis method has a variational upper-bound property when its integrals are evaluated consistently. A standard finite-difference operator is a discrete approximation, not automatically the projection of the continuum Hamiltonian onto a nested trial space.
Its eigenvalues can approach from above or below depending on the stencil, boundary treatment, and potential. Monotone behavior observed for one state is not a theorem for the implementation.
Matrix Numerov
Section titled “Matrix Numerov”The Numerov identity can also be assembled as a matrix eigenproblem. Let be the unscaled tridiagonal second-difference matrix with on the diagonal and on adjacent diagonals, and define
For
the Numerov discretization implies
Equivalently,
Because and are both functions of the same symmetric second-difference matrix, is symmetric in exact arithmetic for the standard boundary setup. Do not form a dense inverse explicitly; use structured solves or an equivalent generalized formulation.
Matrix Numerov can improve accuracy per grid point for smooth problems. It does not remove:
- finite-box error;
- origin startup or boundary-closure questions;
- singular-potential sensitivity;
- conditioning limits;
- or the need to classify positive-energy pseudostates.
Compare against the simpler tridiagonal Hamiltonian before trusting the more elaborate assembly.
Mapped and Adaptive Radial Grids
Section titled “Mapped and Adaptive Radial Grids”Uniform grids are transparent but inefficient when a compact core and diffuse tail coexist. A map can distribute points nonuniformly. The physical norm becomes
Defining
makes the -space norm ordinary:
The kinetic operator must be transformed consistently with this change of function and measure. Applying a uniform-grid second derivative to samples on a nonuniform grid generally produces a non-Hermitian and inconsistent operator.
Useful maps include:
- exponential or logarithmic-like maps for resolving a Coulombic core;
- algebraic maps that retain a long diffuse tail;
- piecewise meshes with controlled transition regions;
- finite elements with local polynomial refinement.
Document map parameters as part of the numerical model. “Two thousand radial points” is not reproducible without their locations and quadrature.
Shooting and Matrix Methods Compared
Section titled “Shooting and Matrix Methods Compared”| Criterion | Two-sided shooting | Matrix diagonalization |
|---|---|---|
| main output | selected eigenvalue and state | several states in one symmetry block |
| memory | for tridiagonal storage, more for wider operators | |
| eigenvalue location | nonlinear scalar root search | algebraic eigensolver |
| boundary stability | requires inward/outward design | imposed in matrix rows |
| state identity | node count plus matching branch | eigenvalue order plus node count |
| continuum | requires scattering normalization or special treatment | finite-box pseudostates appear automatically |
| nonlocal potential | awkward | natural as a matrix, but often dense |
| implementation cross-check | propagation residual | algebraic residual |
The two approaches have different failure modes. Agreement across converged implementations is much stronger evidence than agreement between two root algorithms wrapped around the same propagation routine.
Which should be the default?
Section titled “Which should be the default?”For a single local bound state with known node count, two-sided shooting is fast and interpretable. For many low-lying states, response sums, or nonlocal operators, matrix methods are often preferable. A mature codebase typically keeps both for unit tests and method cross-checks.
Post-Processing the Wavefunction
Section titled “Post-Processing the Wavefunction”An accurate eigenvalue does not guarantee an accurate sampled wavefunction. Post-processing must preserve the radial measure, phase convention, and interpolation order.
Phase and normalization
Section titled “Phase and normalization”An eigenfunction has arbitrary overall sign. Choose a reproducible convention, such as
at the first grid point where its magnitude exceeds a stated threshold. Then normalize with a quadrature rule whose error is smaller than the wavefunction discretization error.
The Numerical Quadrature page owns generic integration rules.
Radial moments
Section titled “Radial moments”For a normalized reduced radial function,
Important tests include
Positive powers emphasize the diffuse tail; inverse powers emphasize the origin and core. Converging both is more informative than checking normalization alone.
Off-diagonal radial integrals
Section titled “Off-diagonal radial integrals”Transition and coupling calculations require integrals such as
If and live on different grids, interpolate both onto a common quadrature representation or evaluate them through their basis representations. Low-order interpolation can become the dominant error even when each energy is accurate.
An independent differential residual
Section titled “An independent differential residual”Evaluate
with a derivative formula or collocation grid independent of the one used to solve the problem. Applying the same matrix that produced the eigenvector mostly measures eigensolver tolerance. An independent residual probes representation error more directly.
A scale-aware norm is
Inspect the residual as a function of as well. A small global norm can hide a localized boundary defect.
Hydrogenic Benchmark
Section titled “Hydrogenic Benchmark”For
in atomic units with infinite nuclear mass,
The reduced radial functions have the form
with . This provides exact energies, shapes, nodes, and moments without fitting numerical data.
Anchor values
Section titled “Anchor values”| State | Exact energy | Nodes | for |
|---|---|---|---|
| 0 | |||
| 1 | |||
| 0 | |||
| 2 | |||
| 1 | |||
| 0 |
The moment formula used here is
Two further exact checks are
and the virial decomposition
Ground-state shape
Section titled “Ground-state shape”The normalized reduced radial function is
It tests:
- the boundary;
- the -wave Coulomb cusp;
- exponential tail decay;
- normalization with measure ;
- and radial moments.
A pointwise comparison should exclude a meaningless relative error exactly at the node . Use absolute error near zeros and relative error where the reference amplitude is safely nonzero.
Coulomb degeneracy
Section titled “Coulomb degeneracy”In the exact nonrelativistic Coulomb problem,
for all allowed . A radial grid can break this accidental degeneracy because each has different origin behavior and centrifugal structure. The splitting
is a sensitive cross-channel discretization diagnostic. It should vanish under a balanced refinement.
Do not enforce the degeneracy by averaging the numerical energies; that hides the error being measured.
Scaling with nuclear charge
Section titled “Scaling with nuclear charge”Run the same dimensionless calculation for several . After scaling and , the results should collapse. Failure can reveal:
- a unit conversion error;
- an unscaled box or step size;
- a hard-coded hydrogen parameter;
- or loss of resolution near the increasingly compact origin.
Reduced mass
Section titled “Reduced mass”For a finite-mass hydrogenic two-body problem, replace the electron mass by
Then
when energies are expressed in electron-mass atomic units. A benchmark must state whether it uses or a finite nuclear mass. Comparing a finite-mass numerical result to the infinite-mass analytic value creates a physical offset that mesh refinement cannot remove.
Benchmark Protocol
Section titled “Benchmark Protocol”Use a staged benchmark rather than one final decimal comparison.
Stage 1: Algebraic checks
Section titled “Stage 1: Algebraic checks”- verify the sign convention in ;
- verify matrix symmetry;
- test the Numerov recurrence on a function with known second derivative;
- test quadrature on analytic radial functions;
- and confirm unit conversions.
Stage 2: One state, two methods
Section titled “Stage 2: One state, two methods”Compute hydrogen with:
- two-sided shooting;
- a tridiagonal finite-difference Hamiltonian.
Compare energy, , , normalization, pointwise shape, and independent residual.
Stage 3: Nodes and angular momentum
Section titled “Stage 3: Nodes and angular momentum”Compute , , and the multiplet. Verify:
- radial nodes;
- orthogonality within each sector;
- Coulomb degeneracy;
- and moment formulas.
Stage 4: Domain stress
Section titled “Stage 4: Domain stress”Increase to test diffuse tails, increase to test compact cores, and vary and independently. This exposes a solver tuned only to the length scale.
Stage 5: Perturbed potential
Section titled “Stage 5: Perturbed potential”Add a smooth short-range perturbation with a separately verified first-order energy shift:
For sufficiently weak coupling, the numerical energy derivative should agree with this expression. This tests potential injection and quadrature without relying solely on Coulomb special structure.
Measuring Convergence
Section titled “Measuring Convergence”Suppose a quantity has an asymptotic discretization error
Using three grids , , and , estimate the observed order by
If is stable and consistent with the method, a Richardson estimate from the two finest values is
Vary the fit window and include an additional grid where affordable. A fitted from three nonasymptotic points is not evidence of asymptotic behavior.
Converge every reported quantity
Section titled “Converge every reported quantity”Track at least:
- eigenvalue;
- matching or algebraic residual;
- normalization;
- node locations;
- and ;
- selected off-diagonal radial integrals;
- and pointwise error in core, allowed, and tail regions.
Energies are stationary and often converge faster than wavefunctions or matrix elements. Stopping when only stabilizes can leave the physical target unconverged.
A two-dimensional domain study
Section titled “A two-dimensional domain study”Construct a table
At each , refine until the mesh limit is visible. Then compare those mesh-extrapolated values across . This separates:
The terms need not add linearly in detail, but the decomposition keeps their evidence distinct.
Tolerance hierarchy
Section titled “Tolerance hierarchy”Root and eigensolver tolerances should be tighter than the representation error. A practical hierarchy is
where is the required physical accuracy. Driving a root finder far below mesh error wastes computation and can expose roundoff without improving the continuum result.
Roundoff limit
Section titled “Roundoff limit”For the second-difference operator, matrix entries scale as . As , truncation error falls but cancellation and condition numbers worsen. A schematic balance is
The exact roundoff exponent depends on the algorithm. The key signature is loss of monotone improvement or an error floor under refinement. Confirm it with higher precision or a rescaled formulation rather than declaring the last grid “converged.”
Near-Threshold States
Section titled “Near-Threshold States”When lies just below the continuum,
is small in atomic units and the decay length is large. Near-threshold states therefore amplify:
- finite-box error;
- sensitivity to the long-range potential;
- loss of significance in energy differences;
- residual poles near distant nodes;
- and dependence on reduced mass.
A state that disappears when grows may be a box artifact. A physical weakly bound state should stabilize while its tail extends across more of the enlarged domain.
For a finite-box matrix, positive pseudostates accumulate near threshold as grows. Do not infer a new bound state merely from a dense set of small positive eigenvalues.
Extending the Solver
Section titled “Extending the Solver”Nonlocal potentials
Section titled “Nonlocal potentials”Atomic Hartree–Fock exchange has the form
The radial equation is then integro-differential. Ordinary local shooting no longer applies directly because the derivative at one point depends on the whole orbital. Basis or grid matrix methods, often inside a self-consistent iteration, are more natural.
Coupled channels
Section titled “Coupled channels”Spin–orbit interactions, multichannel scattering, and configuration-coupled radial equations lead to
The scalar logarithmic derivative becomes a matrix:
Matrix log-derivative and renormalized Numerov propagators generalize the stability ideas, but channel thresholds and boundary conditions require a separate treatment.
Resonances
Section titled “Resonances”Resonances are not square-normalizable bound states satisfying . They require scattering phase shifts, outgoing-wave conditions, stabilization, complex scaling, absorbing boundaries, or related methods. A box eigenvalue that drifts slowly can suggest a resonance but does not establish its pole position or width.
Reproducible Solver Workflow
Section titled “Reproducible Solver Workflow”Step 1: State the equation
Section titled “Step 1: State the equation”Record , units, reduced mass, , continuum threshold, and any short-distance regularization.
Step 2: Analyze both endpoints
Section titled “Step 2: Analyze both endpoints”Derive the regular origin series and large-radius decay for the actual potential. Choose and from physical scales.
Step 3: Build two independent routes
Section titled “Step 3: Build two independent routes”Implement two-sided propagation with matching and a finite-difference matrix. Test their elementary stencils and boundary rows separately.
Step 4: Identify the state
Section titled “Step 4: Identify the state”Use an energy bracket, target node count, and stable exact labels. Scan before applying a fast local root solver.
Step 5: Normalize and post-process
Section titled “Step 5: Normalize and post-process”Stitch first, normalize second, fix a phase convention, and evaluate moments with documented quadrature.
Step 6: Separate convergence axes
Section titled “Step 6: Separate convergence axes”Vary step size, box size, match radius, startup radius/order, and algebraic tolerances independently.
Step 7: Run the hydrogenic ladder
Section titled “Step 7: Run the hydrogenic ladder”Check energies, nodes, moments, degeneracies, scaling, and reduced-mass conventions for compact and diffuse states.
Step 8: Preserve evidence
Section titled “Step 8: Preserve evidence”Store input parameters, grid arrays, convergence tables, residuals, code version, and machine-readable benchmark outputs. A plot alone is not a reproducibility artifact.
Common Mistakes
Section titled “Common Mistakes”Propagating from exactly zero
Section titled “Propagating from exactly zero”The pair yields only the trivial solution. Start from a regular series at .
Using the wrong radial function
Section titled “Using the wrong radial function”is normalized with , while is normalized with . Applying the reduced equation to or the three-dimensional measure to changes both the operator and observables.
Copying a Numerov sign convention
Section titled “Copying a Numerov sign convention”Formulas written for
use the opposite sign from . Verify the recurrence on a known exponential and sinusoid before using a Coulomb potential.
Shooting only through the forbidden tail
Section titled “Shooting only through the forbidden tail”Outward propagation selects the growing exponential numerically. Match to an independently imposed inward-decaying solution before that contamination dominates.
Bracketing a logarithmic pole
Section titled “Bracketing a logarithmic pole”A sign change in can come from a node at the match point rather than an eigenvalue. Move the match point or use a scaled Wronskian.
Losing formal order at startup
Section titled “Losing formal order at startup”A sixth-order local Numerov recurrence cannot repair a first-order initial pair or boundary derivative. Test observed global order.
Refining points at fixed point count
Section titled “Refining points at fixed point count”Increasing the box while holding fixed makes larger. The apparent box study simultaneously worsens the mesh.
Interpreting Euclidean normalization physically
Section titled “Interpreting Euclidean normalization physically”An eigensolver’s is not the radial . Apply quadrature weights before computing observables.
Calling every discrete state bound
Section titled “Calling every discrete state bound”A finite box discretizes the continuum. Test threshold sign, localization, and box stability.
Comparing different masses
Section titled “Comparing different masses”Infinite-mass and finite-reduced-mass hydrogen have different exact energies. No numerical refinement removes that modeling difference.
Trusting accidental agreement
Section titled “Trusting accidental agreement”Mesh and box errors can cancel at one parameter pair. A two-dimensional convergence table exposes the cancellation.
Exercises
Section titled “Exercises”Exercise 1: Coulomb origin series
Section titled “Exercise 1: Coulomb origin series”Insert
into the atomic-unit Coulomb radial equation and show that
Solution
The equation is
The leading terms cancel because is the regular centrifugal exponent. At order ,
The first two terms combine to , so
and therefore
The energy first enters at the next power.
Exercise 2: Three-point radial Hamiltonian
Section titled “Exercise 2: Three-point radial Hamiltonian”Write the finite-difference Hamiltonian for three interior -wave grid points with , spacing , and potential values .
Solution
For in atomic units,
The omitted boundary values multiply off-matrix stencil coefficients but vanish because the Dirichlet data are zero. The matrix is real symmetric.
If an eigensolver returns a Euclidean-normalized vector , sampled radial values are approximately before higher-order quadrature corrections.
Exercise 3: Derive the Numerov recurrence
Section titled “Exercise 3: Derive the Numerov recurrence”Starting from
with , derive the recurrence used on this page.
Solution
Substitution gives
Move the future term to the left and collect the other two:
The sign of follows the definition .
Exercise 4: Matching is scale independent
Section titled “Exercise 4: Matching is scale independent”Let the propagated solutions be rescaled as
with nonzero constants and . Show that logarithmic matching is unchanged and explain how the Wronskian root is affected.
Solution
For either solution,
Therefore is exactly invariant.
The Wronskian scales as
Its magnitude changes, but its zero does not because . In floating point, uncontrolled or can overflow or underflow, so rescale before passing the Wronskian to a root finder.
Exercise 5: Identify hydrogenic roots
Section titled “Exercise 5: Identify hydrogenic roots”A numerical -wave calculation returns three negative-energy states with zero, one, and two interior radial nodes. Assign their hydrogenic principal quantum numbers.
Solution
For a wave, , and
Therefore:
- zero nodes gives , the state;
- one node gives , the state;
- two nodes gives , the state.
The magnetic quantum number does not enter the radial equation.
Exercise 6: Estimate convergence order
Section titled “Exercise 6: Estimate convergence order”For hydrogen , a solver returns
with box error negligible. Estimate and Richardson-extrapolate the energy.
Solution
The successive differences are
and
Their ratio is , so
Using the two finest grids,
This exact recovery was constructed for the exercise. Real data require more grids and a stability check on .
Exercise 7: Ground-state tail probability
Section titled “Exercise 7: Ground-state tail probability”For hydrogen with ,
Show that the probability beyond a box radius is
Estimate it at .
Solution
The tail probability is
Two integrations by parts, or the incomplete gamma function, give
Multiplying by yields
At ,
This is a probability diagnostic, not directly the energy error. Tail-sensitive moments can require a larger box.
Exercise 8: Hydrogenic scaling
Section titled “Exercise 8: Hydrogenic scaling”A code uses a grid that converges hydrogen at . How should and change to represent the corresponding state at with the same dimensionless resolution?
Solution
Hydrogenic radii scale as . To preserve the same grid in ,
The energy should scale as
Keeping the original physical would give twenty times fewer points per dimensionless radial scale near the nucleus.
Exercise 9: Diagnose a false root
Section titled “Exercise 9: Diagnose a false root”A logarithmic mismatch changes sign near . Moving the match point by two grid cells shifts the apparent root to , while a Wronskian scan shows no zero. What is the likely explanation, and what should the solver do?
Solution
The sign change likely crosses a pole where the outward or inward solution has a node at the match point. A true eigenvalue is independent of the arbitrary match radius up to discretization error, whereas the pole moves as the sampled node relation changes.
The solver should reject intervals whose logarithmic denominator changes sign or becomes too small, move , and use a scaled Wronskian or renormalized matching condition. It should also verify the target node count before refining the root.
Key Takeaways
Section titled “Key Takeaways”- The radial equation is a half-line boundary-value eigenproblem, not merely an initial-value ODE.
- Use regular origin series and physical large-radius asymptotics instead of arbitrary endpoint values.
- Two-sided shooting controls forbidden-region instability better than one-sided endpoint shooting.
- Combine a matching residual with node counting and a bracket-preserving root search.
- Numerov is powerful for smooth second-order equations, but startup, boundaries, mesh mapping, and renormalization determine realized accuracy.
- A finite-difference matrix gives an independent route and naturally returns several bound states and continuum pseudostates.
- Normalize eigenvectors with the radial quadrature measure before evaluating observables.
- Separate mesh, box, algebraic, and model errors.
- Hydrogenic energies alone are too weak a benchmark; test nodes, moments, degeneracy, scaling, reduced mass, and wavefunction shape.
Cross-Links
Section titled “Cross-Links”- Computational Atomic Structure
- Radial Schrödinger Equation
- Boundary Conditions for Radial Wavefunctions
- Effective Radial Potential
- Hydrogen Atom
- Radial Wavefunctions
- Hydrogenic Ions
- ODE Solvers
- Finite Difference Methods
- Sparse Eigensolvers
- Convergence Tests
- Numerical Benchmarks
- Reproducibility Benchmarks records the hydrogen energy and degeneracy anchors as an analytic specification and labels the present evidence level explicitly.
References
Section titled “References”- J. W. Cooley, “An Improved Eigenvalue Corrector Formula for Solving the Schrödinger Equation for Central Fields,” Mathematics of Computation 15, 363–374 (1961), doi:10.1090/S0025-5718-1961-0129566-X.
- B. R. Johnson, “New Numerical Methods Applied to Solving the One-Dimensional Eigenvalue Problem,” Journal of Chemical Physics 67, 4086–4093 (1977), doi:10.1063/1.435384.
- M. Pillai, J. Goglio, and T. G. Walker, “Matrix Numerov Method for Solving Schrödinger’s Equation,” American Journal of Physics 80, 1017–1019 (2012), doi:10.1119/1.4748813.
- D. Baye, “The Lagrange-Mesh Method,” Physics Reports 565, 1–107 (2015), doi:10.1016/j.physrep.2014.11.006, with corrigendum.
- C. Froese Fischer, T. Brage, and P. Jönsson, Computational Atomic Structure: An MCHF Approach, Institute of Physics Publishing (1997).
- W. R. Johnson, Atomic Structure Theory: Lectures on Atomic Physics, Springer (2007), doi:10.1007/978-3-540-68013-0.
- R. J. LeVeque, Finite Difference Methods for Ordinary and Partial Differential Equations, SIAM (2007), doi:10.1137/1.9780898717839.
- E. Hairer, S. P. Nørsett, and G. Wanner, Solving Ordinary Differential Equations I: Nonstiff Problems, 2nd ed., Springer (1993), doi:10.1007/978-3-540-78862-1.
- J. M. Thijssen, Computational Physics, 2nd ed., Cambridge University Press (2007), doi:10.1017/CBO9781139171397.
- S. E. Koonin and D. C. Meredith, Computational Physics: Fortran Version, Addison-Wesley (1990).
- NIST Digital Library of Mathematical Functions, Chapter 18: Orthogonal Polynomials and Chapter 33: Coulomb Functions, National Institute of Standards and Technology, accessed 2026-07-26.
Further Study
Section titled “Further Study”Use the converged hydrogenic solver as a reusable one-electron test fixture. Variational Helium Notebook introduces electron–electron interaction and correlation diagnostics, while the later Hartree–Fock workflow will turn radial solving into a nonlinear self-consistency problem.