Numerical Analysis/Order of RK methods/Derivation of a second order RK method

Let a single step numerical method for solving ODE of the type

 

 

 

 

(1.1)

be given by the following [2,4] recurrence formula

 

 

 

 

(method)

with

Using Taylor series expansion about tn, the following can be obtained

 

 

 

 

(1.2)

Assuming that the previous point in (1.2) is exact (which we may because we are analyzing the local truncation error, i.e. the error generated at the last step), we will denote . Therefore, both and are considered exact values of at and , respectively.

Then,

 

 

 

 

(1.3)


Using the differential equation (1.1) and replacing the derivatives of y, (1.3) becomes


 

 

 

 

(1.4)

where

 

 

 

 

(1.5)

or in the compact form (1.5) is

and

 

 

 

 

(1.6)

or in the compact form (1.6) is

After substituting the expressions for f′ and f″ into the Taylor series expansion (1.4), the following is obtained

 

 

 

 

(1.7)

Now, our objective is to adjust the method's recurrence equation (1.2), such that it can be compared, term by term, with the equation obtained using the Taylor series expansion (1.7). This step requires the Taylor series expansion of the term about the point, as follows.

 

 

 

 

(1.8)

or in the compact symbolic form (1.8) is:

 

 

 

 

(1.9)

By substituting (1.9) into (method), the following is obtained

 

 

 

 

(1.10)

Finally, the method's equation (1.10) and the exact one step solution (1.7) can be compared. By substracting (1.10) from (10.7), the following error expression is obtained.

 

 

 

 

(1.11)

where

 

 

 

 

(1.12)

It can be noticed that the multiplier expression of in (1.12) does not cancel out in (1.11) for any combination of the parameters, since there are terms that appear only once without any parameter. This means that the dominant term in the error expression cannot be of higher order than . In order to achieve the local truncation error of the third order, all terms in the error expression containing must be eliminated, by adjusting the 4 parameters. By satisfying the equations (1.13-1.15), the local error is of , and, consequently, the global error is of order. Therefore, the resulting method is a second order method.


The equation set that must satisfied is the following

 

 

 

 

(1.13)

 

 

 

 

(1.14)

 

 

 

 

(1.15)


There are three equations (1.13,1.14,1.15) but with four unknown parameters. This means that one parameter must be chosen. Now, it is tempting to ask whether the extra parameter (additional degree of freedom) could be used to cancel next term in the error expression. However, we have already seen that it is not possible in this case, due to the additional term that are not associated (multiplied) with a parameter.

Since one parameter can be chosen, then there is non-unique form of a second order method.


  • (case 1) Choose , then

The method equation (1.2) for these parameter becomes

with

or in a compact form


  • (case 2) If is chosen (notice that cannot be selected, because of the last two equations), then




or in a compact form