↑ arvau

Wikipedia / Shooting method

In numerical analysis, the shooting method is a method for solving a boundary value problem by reducing it to an initial value problem. It involves finding solutions to the initial value problem for different initial conditions until one finds the solution that also satisfies the boundary conditions of the boundary value problem. In layman's terms, one "shoots" out trajectories in different directions from one boundary until one finds the trajectory that "hits" the other boundary condition.

Mathematical description

is also a solution of the boundary-value problem.

that satisfies the desired boundary conditions. Typically, one does so numerically and find the root, one can employ standard root-finding algorithms like the bisection method or Newton's method.

.

Etymology and intuition

The term "shooting method" has its origin in artillery. An analogy for the shooting method is to

  • , then

  • of the cannon, then

  • .

Between each shot, the direction of the cannon is adjusted based on the previous shot, so every shot hits closer than the previous one. The trajectory that "hits" the desired boundary value is the solution to the boundary value problem — hence the name "shooting method".

Linear shooting method

The boundary value problem is linear if f See the proof for the precise condition under which this result holds.

Examples

Standard boundary value problem

A boundary value problem is given as follows by Stoer and Bulirsch

The initial value problem was solved for s = −1, −2, −3, ..., −100, and F(s) = w(1;s) − 1 plotted in the Figure 2. Inspecting the plot of F, we see that there are roots near −8 and −36. Some trajectories of w(t;s) are shown in the Figure 1.

Stoer and Bulirsch state that there are two solutions, which can be found by algebraic methods. These correspond to the initial conditions w′(0) = −8 and w′(0) = −35.9 (approximately).

Eigenvalue problem

The shooting method can also be used to solve eigenvalue problems. Consider the time-independent Schrödinger equation for the quantum harmonic oscillator In quantum mechanics, but also serves as an excellent illustration of the shooting method. To apply it, first note some general properties of the Schrödinger equation:

  • is an eigenfunction.

  • .

  • is symmetric and nonzero at the origin.

  • is antisymmetric and thus zero at the origin.

, the shooting method is then to:

  1. .

Integrate the Schrödinger equation. For example, use the central finite difference

.

  • or less roots, the guessed energy is too low, so increase it and repeat the process.

  • roots, the guessed energy is too high, so decrease it and repeat the process.

The energy-guessing can be done with the bisection method, and the process can be terminated when the energy difference is sufficiently small. Then one can take any energy in the interval to be the correct energy.

See also

Notes

References