Shooting Methods
Shooting treats the energy in a stationary Schrödinger equation as an unknown parameter in an initial-value problem. One integrates from one boundary and adjusts the energy until the other boundary condition is satisfied. The method is economical for a few one-dimensional states, but forbidden-region growth can make one-sided shooting numerically unstable.
Required background. Boundary conditions in computation specifies the endpoint problem; numerical error and stability separates a root residual from solution accuracy.
The energy-dependent initial-value problem
Section titled “The energy-dependent initial-value problem”For , with , integrate
On a regular finite interval with Dirichlet endpoints, choose , . The derivative fixes an arbitrary nonzero scale; the final eigenfunction is normalized later. Define the shooting residual . Eigenvalues are zeros of .
Bracket a desired root and use a safeguarded scalar solver. The inner ODE accuracy must be tight enough that the sign and magnitude of are resolved. Reducing the root tolerance below the integration error creates a misleading precision claim.
An exact shooting residual
Section titled “An exact shooting residual”For , , and , positive energies give
The nonzero roots are with . At , the continuous limit is , not zero. Replacing by without treating separately introduces a spurious “ground state.” This example tests the initialization as well as the energy search.
At a regular separated Sturm–Liouville problem’s th eigenvalue, counting from , the eigenfunction has interior nodes. Node counting helps identify which root has been found and exposes skipped levels. Count resolved sign changes away from endpoint roundoff, not fluctuations in an underresolved tail.
Sensitivity equations and safeguarded Newton steps
Section titled “Sensitivity equations and safeguarded Newton steps”When the initial data are independent of energy, differentiate the ODE with respect to . With ,
Then can be computed alongside , yielding a Newton proposal . Retain a bracket and reject proposals that leave it or rely on an unresolved derivative. If the boundary initial data themselves depend on energy, their derivatives must also be included; the zero sensitivity initial conditions no longer apply.
A small depends on the arbitrary solution scale. Use a scale-aware residual or combine it with bracket width and refinement. Periodically rescaling the integrated solution prevents overflow, but the sensitivity bookkeeping must respect that rescaling if Newton derivatives are used.
What the residual says about energy error
Section titled “What the residual says about energy error”For the real regular Dirichlet problem above, an exact eigenvalue has a nonzero residual derivative. To see why, form from the solution and its energy sensitivity. Their equations give
At an eigenvalue, , so integration yields
The endpoint derivative cannot vanish together with for a nontrivial regular solution. Thus the root is simple. Close to it, estimates the energy error in this fixed boundary-value problem; it is unchanged by an energy-independent rescaling of the shooting solution. An uncertainty in the integrated residual correspondingly produces an energy uncertainty of order . Neither quantity measures the error caused by replacing an infinite domain with a finite interval.
Forbidden-region growth and matching
Section titled “Forbidden-region growth and matching”In a region with approximately constant , the solutions are , . A tiny contamination of the growing branch eventually overwhelms the desired decaying branch. Smaller time or space steps reduce local error but do not remove the exponential conditioning of a long outward integration.
For a bound state with two tails, integrate stable solutions inward from each side and match near the classically allowed region. Matching methods develops Wronskian and logarithmic-derivative residuals. A logarithmic derivative avoids amplitude overflow but has poles at wavefunction nodes; it is not a universally smooth scalar residual.
For a symmetric potential, parity reduces the problem to a half interval. Even states use with nonzero ; odd states use with nonzero derivative. Search the parity sectors separately, but do not impose this reduction on an asymmetric potential.
An oscillator with two independent numerical limits
Section titled “An oscillator with two independent numerical limits”In oscillator units , the even ground state satisfies
The whole-line energy is . Replacing its decaying tail by instead defines an oscillator confined by walls at . Wagner’s shooting examples discuss this parity reduction and the difficulty of the growing forbidden-region solution. The following calculation keeps the finite boundary and integration step separate.
Integrate the two first-order equations with classical fourth-order Runge–Kutta, using constant step . Bisect the ground-state bracket for 45 iterations, evaluating the integrated endpoint at each trial energy. Repeating for three boundaries gives:
| Step | Energy at | Energy at | Energy at |
|---|---|---|---|
For each fixed , successive energy differences decrease by approximately sixteen, as expected for fourth-order integration in this resolved range. Yet the three columns approach different limits. The finite-boundary energies are approximately , , and . In particular, retains an error of about relative to the whole-line energy even though all the unrounded numerical roots have with the stated initial scale. The small residual means that the numerical endpoint equation was solved accurately; rounding the displayed energies can increase that residual.
One independent check of these finite-boundary limits uses the exact even solution
Here is the solution of Kummer’s equation analytic at zero, normalized to one there. With and , the oscillator equation becomes , fixing the parameters above; the NIST definition also supplies a convergent series for evaluating it. Its zeros at give the quoted limits. An independently refined finite-difference Hamiltonian on the same interval approaches the same limits. The Harmonic Oscillator Spectrum lab provides that matrix calculation and its separate mesh and boundary studies.
Enlarging removes the artificial-wall error but worsens the conditioning of outward shooting. For longer forbidden regions, use inward propagation or two-sided matching and repeat both refinements. A smaller root tolerance cannot replace either one.
Radial starts and independent refinements
Section titled “Radial starts and independent refinements”For a regular three-dimensional radial problem, the reduced function behaves as near the origin. Begin at a small positive using a Frobenius expansion and its derivative, rather than evaluating a singular coefficient at zero. Coulomb and other singular potentials require the appropriate next terms and domain assumptions.
Vary , outer boundary, ODE tolerance, and root tolerance independently. A stable energy under one of these changes does not establish convergence in the others. Normalize with the correct radial measure: has norm .
For each reported state, retain energy, node count, boundary residual, normalization, and an independent comparison with a matrix discretization or analytic limit. Shooting excels at low-dimensional boundary-value problems; it is not the natural method for a generic high-dimensional many-body Hamiltonian.
Exercises
Section titled “Exercises”Why does setting both and make a linear shooting calculation useless?
Solution
Uniqueness of the regular linear initial-value problem gives the identically zero solution for every energy. Its right boundary residual vanishes trivially and contains no spectral information. One unconstrained amplitude or derivative must be nonzero.
For the free Dirichlet problem, use the sensitivity identity to find at . How would multiplying the initial derivative by affect and the local estimate ?
Solution
With , the integral of is and . Hence
Both and acquire the factor when the initial derivative is rescaled. A fixed absolute residual threshold then becomes easier to satisfy without improving the energy, while remains unchanged wherever that ratio is resolved. This local estimate still refers to the chosen finite-interval problem.
References
Section titled “References”- Ascher, U. M., R. M. M. Mattheij, and R. D. Russell, Numerical Solution of Boundary Value Problems for Ordinary Differential Equations, SIAM, 1995 — shooting, conditioning, and multiple shooting.
- LeVeque, R. J., Finite Difference Methods for Ordinary and Partial Differential Equations, SIAM, 2007 — initial-value integration and boundary-value verification.
- National Institute of Standards and Technology, Digital Library of Mathematical Functions, §13.2 — Kummer’s differential equation and the defining series for used in the independent finite-boundary check.
- Wagner, Marc, Numerical Methods in Physics, Goethe-Universität Frankfurt am Main, Summer 2018, §§6.2.1–6.2.2 — box and oscillator shooting, parity conditions, and outward-integration instability.