For the second-order boundary value problem, introduce an unknown initial slope and solve the initial value problem , with , . Its endpoint mismatch is . The shooting method seeks a root ; in general the dependence of the flow on is nonlinear. A sign-changing bracket for a continuous allows the bisection method, provided the intervening initial value solutions exist up to .
For Newton's method, solve the parameter sensitivity equation alongside the trajectory. With and ,
Then and the update is whenever .
For the third-order problem, shooting from leaves both and unknown, requiring two shooting parameters to satisfy two right-endpoint conditions. Shooting backwards from already knows and ; only is unknown, with the single residual . Backward shooting reduces the nonlinear solve from two scalar unknowns to one. This parameter-count advantage does not by itself guarantee numerical stability of backward integration.
The four-point midpoint third derivative uses the four values at , centred at . The Taylor theorem about that midpoint gives
Thus, for , take the interior equations
Impose the two value conditions exactly, , , and approximate the remaining condition with the second-order backward finite difference:
This gives equations for . The endpoint derivative formula equals , so its residual tends to zero along with those of the four-point equations. Every stencil lies within ; no unprescribed ghost value is introduced. The construction is therefore a consistent finite difference method for all three boundary conditions.

Articles by others on the same topic (0)

There are currently no matching articles.