- Shooting method
In
numerical analysis , the shooting method is a method for solving aboundary value problem by reducing it to the solution of aninitial value problem . The following exposition may be clarified by this illustration of the shooting method.For a boundary value problem of a second-order
ordinary differential equation , the method is stated as follows.Let:
be the boundary value problem.Let "y"("t"; "a") denote the solution of the initial value problem
:
Define the function "F"("a") as the difference between "y"("t"1; "a") and the specified boundary value "y"1.
:
If the boundary value problem has a solution, then "F" has a root,and that root is just the value of "y"
' ("t"0) which yields a solution "y"("t") of the boundary value problem.The usual methods for finding roots may be employed here, such as the
bisection method orNewton's method .Linear shooting method
The boundary value problem is linear if "f" has the form :In this case, the solution to the boundary value problem is usually given by::where is the solution to the initial value problem::and is the solution to the initial value problem::See [http://mathews.ecs.fullerton.edu/n2003/shootingmethod/ShootingProof.pdf the proof] for the precise condition under which this result holds.
Example
A
boundary value problem is given as follows by Stoer and Bulirsch (Section 7.3.1).:
The
initial value problem :
was solved for "s" = −1, −2, −3, ..., −100, and "F"("s") = "w"(1;"s") − 1 plotted in the first figure.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 second figure.
Solutions of the initial value problem were computed by using the LSODE algorithm, as implemented in the mathematics package
GNU Octave .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).
See also
*
Direct multiple shooting method References
* Josef Stoer and Roland Bulirsch. "Introduction to Numerical Analysis". New York: Springer-Verlag, 1980. "(See Section 7.3.)"
External links
* [http://www.netlib.org/odepack/opks-sum Brief Description of ODEPACK] "(at
Netlib ; contains LSODE)"
* [http://numericalmethods.eng.usf.edu/topics/shooting_method.html Shooting method of solving boundary value problems - Notes, PPT, Maple, Mathcad, Matlab, Mathematica] at "Holistic Numerical Methods Institute" [http://numericalmethods.eng.usf.edu]
* [http://numericalmethods.eng.usf.edu/ebooks/shooting_08ode_ebook.htm Shooting Method]
* [http://math.fullerton.edu/mathews/n2003/ShootingMod.html Shooting Method for Boundary Value Problems]
* [http://www.amath.washington.edu/courses/301-autumn-2003/301lec15.pdf Boundary value problems: the shooting method]
Wikimedia Foundation. 2010.