

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Jim Lambers MAT 461/ Spring Semester 2009- Lecture 25 Notes
These notes correspond to Sections 11.1 and 11.2 in the text.
We now consider the two-point boundary value problem (BVP)
ํฆโฒโฒ^ = ํ (ํฅ, ํฆ, ํฆโฒ), ํ < ํฅ < ํ,
a second-order ODE, with boundary conditions
ํฆ(ํ) = ํผ, ํฆ(ํ) = ํฝ.
This problem is guaranteed to have a unique solution if the following conditions hold:
โ ํ , ํํฆ, and ํํฆโฒ are continuous on the domain
ํท = {(ํฅ, ํฆ, ํฆโฒ) โฃ ํ โค ํฅ โค ํ, โโ < ํฆ < โ, โโ < ํฆโฒ^ < โ}.
โ ํํฆ > 0 on ํท
โ ํํฆโฒ is bounded on ํท.
There are several approaches to solving this type of problem. The first method that we will examine is called the shooting method. It treats the two-point boundary value problem as an initial value problem (IVP), in which ํฅ plays the role of the time variable, with ํ being the โinitial timeโ and ํ being the โfinal timeโ. Specifically, the shooting method solves the initial value problem
ํฆโฒโฒ^ = ํ (ํฅ, ํฆ, ํฆโฒ), ํ < ํฅ < ํ,
with initial conditions ํฆ(ํ) = ํผ, ํฆโฒ(ํ) = ํก,
where ํก must be chosen so that the solution satisfies the remaining boundary condition, ํฆ(ํ) = ํฝ. Since ํก, being the first derivative of ํฆ(ํฅ) at ํฅ = ํ, is the โinitial slopeโ of the solution, this approach requires selecting the proper slope, or โtrajectoryโ, so that the solution will โhit the targetโ of ํฆ(ํฅ) = ํฝ at ํฅ = ํ. This viewpoint indicates how the shooting method earned its name. Note that since the ODE associated with the IVP is of second-order, it must normally be rewritten
as a system of first-order equations before it can be solved by standard numerical methods such as Runge-Kutta or multistep methods. In the case where ํฆโฒโฒ^ = ํ (ํฅ, ํฆ, ํฆโฒ) is a linear ODE, selecting the slope ํก is relatively simple. Let ํฆ 1 (ํฅ) be the solution of the IVP
ํฆโฒโฒ^ = ํ (ํฅ, ํฆ, ํฆโฒ), ํ < ํฅ < ํ, ํฆ(ํ) = ํผ, ํฆโฒ(ํ) = 0,
and let ํฆ 2 (ํฅ) be the solution of the IVP
ํฆโฒโฒ^ = ํ (ํฅ, ํฆ, ํฆโฒ), ํ < ํฅ < ํ, ํฆ(ํ) = 0, ํฆโฒ(ํ) = 1.
These can be computed using any analytical or numerical method. Then, the solution of the original BVP has the form ํฆ(ํฅ) = ํฆ 1 (ํฅ) + ํกํฆ 2 (ํฅ)
where ํก is the correct slope, since any linear combination of solutions of the ODE also satisfies the ODE, and the initial values are linearly combined in the same manner as the solutions themselves. To find the proper value of ํก, we evaluate ํฆ(ํ), which yields
ํฆ(ํ) = ํฆ 1 (ํ) + ํกํฆ 2 (ํ) = ํฝ,
and therefore ํก = (ํฝ โ ํฆ 1 (ํ))/ํฆ 2 (ํ). It follows that as long as ํฆ 2 (ํ) โ= 0, then ํฆ(ํฅ) is the unique solution of the original BVP. This condition is guaranteed to be satisfied due to the previously stated assumptions about ํ (ํฅ, ํฆ, ํฆโฒ) that guarantee the existence and uniqueness of the solution. If the ODE is nonlinear, however, then ํก satisfies a nonlinear equation of the form
ํฆ(ํ, ํก) = 0,
where ํฆ(ํ, ํก) is the value of the solution, at ํฅ = ํ, of the IVP specified by the shooting method, with initial sope ํก. This nonlinear equation can be solved using an iterative method such as the bisection method, fixed-point iteration, Newtonโs Method, or the Secant Method. The only difference is that each evaluation of the function ํฆ(ํ, ํก), at a new value of ํก, is relatively expensive, since it requires the solution of an IVP over the interval [ํ, ํ], for which ํฆโฒ(ํ) = ํก. The value of that solution at ํฅ = ํ is taken to be the value of ํฆ(ํ, ํก). If Newtonโs Method is used, then an additional complication arises, because it requires the derivative of ํฆ(ํ, ํก), with respect to ํก, during each iteration. This can be computed using the fact that ํง(ํฅ, ํก) = โํฆ(ํฅ, ํก)/โํก satisfies the ODE
ํงโฒโฒ^ = ํํฆํง + ํํฆโฒ ํงโฒ, ํ < ํฅ < ํ, ํง(ํ, ํก) = 0, ํงโฒ(ํ, ํก) = 1,
which can be obtained by differentiating the original BVP and its boundary conditions with respect to ํก. Therefore, each iteration of Newtonโs Method requires two IVPs to be solved, but this extra effort can be offset by the rapid convergence of Newtonโs Method.