

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!


Runge-Kutta Method This method is given by the formula
Its global truncation error is bounded by a constant multiple of h^4 and its local truncation error is on the order of h^5.
Multi-step Method 1: Adams Methods The Adams method is a multistep method. We fix a step size h. Adams methods use a polynomial of degree k denoted Pk(t) to approximate φ′(t) in the equation
φ(tn+1) − φ(tn) =
∫ (^) tn+
tn
φ′(t)dt
We take the simple case with k = 1 and set P 1 (t) = At + B. We require P 1 (tn) = f (tn, yn) and P 1 (tn− 1 ) = f (tn− 1 , yn− 1 ). Plugging in for P 1 and solving for A and B, we find
Plugging this into our integral equation, integrating, and plugging y’s in for the φ’s , we get the equation
This is the second order Adams-Bashforth formula. It requires knowing yn and yn− 1. Its local truncation error is on the order of h^3. Note that the first order Adams-Bashforth formula (i.e. when k = 0) is merely Euler’s method. Note also that the accuracy of this method increases as you increase k. Varying this formula slightly by forcing P 1 (tn+1) to be equal to f (tn+1, yn+1), we get a new formula:
This is the second order Adams-Moulton formula. Note this is an implicit equation with local truncation error on the order of h^3. We can increase the degree of the polynomial as in A-B to get more accurate results. Note that the first order A-M formula (i.e. k = 0) is just the backward Euler method. Though it has the same LTE as the A-B method, A-M is considerably more accurate for moderate orders, though it is slower. What method to use depends on the given problem. These two methods can be used together as a predictor-corrector method. A-B is the predictor, while A-M plays the role of the corrector. We use A-B to compute the first approximation yn+1. We then compute fn+1 for A-M and get a more accurate value of yn+1. If the difference between these two values is too large, we use A-M again. If we have to use A-M more than once or twice, our step size h is too large and must be decreased. In order to compute the first few terms needed for the multi-step methods, you can use a one- step method to compute these values. Another approach is to use a low order method with a very small step size to calculate some initial values, and then increase the order and step size gradually until enough values have been computed to use the higher order method.
Multi-step Method 2: Backward Differentiation Formula In this method, the idea is use a polynomial of degree k, denoted Pk(t), to approximate φ(t), as opposed to φ′(t) for the formula φ′(t) = f (t, y). We then differentiate P and set P 1 ′(tn+1) = f (tn+1, yn+1) to get an implicit formula for yn+1. Taking the k = 1 case, we require P 1 (tn, yn) = f (tn, yn) and P 1 (tn+1, yn+1) = f (tn+1, yn+1) as well as the condition on P 1 ′. Plugging all this in to our equation, we get the formula
Note this is just the backward Euler formula. Increasing the degree of the polynomial yields more accurate backward differentiation formulas. For example, the second order formula is given by
See the end of section 8.4 for a discussion of relative merits of R-K and these multi-step methods. Here’s a brief rundown: