Elsevier

Applied Mathematics and Computation

Volume 291, 1 December 2016, Pages 39-51
Applied Mathematics and Computation

An efficient variable step-size rational Falkner-type method for solving the special second-order IVP

https://doi.org/10.1016/j.amc.2016.06.033Get rights and content

Abstract

In this paper, firstly a rational one-parameter family of Falkner-type explicit methods is presented for directly solving numerically special second order initial value problems in ordinary differential equations. The proposed family of methods has second algebraic order of convergence. Imposing that the principal term of the local truncation error of the proposed family vanishes, we get an expression for the free parameter at the grid point (xn, yn). By substituting this value of the free parameter in the family, a new rational third order method is obtained. Further, by combining the third order method with any member of the second order family, their variable step-size formulation as an embedded pair is considered. Some numerical experiments are given to illustrate the performance and efficiency of the proposed methods.

Introduction

The present paper is concerned with the following so-called special second-order differential equation y(x)=f(x,y(x)),y(a)=y0,y(a)=y0,where x[a,b],y:[a,b]R  and f:[a,b]×RR are sufficiently differentiable functions. It is possible that (1) can be integrated by reformulating it as a system of two first order ODEs and applying one of the methods available for those systems (see for example [7], [13], [14], [17]). Nevertheless, it seems more natural to provide numerical methods to integrate (1) directly without transforming it in a first order system. These approaches result to be more efficient. For instance, it is well-known that a Runge–Kutta–Nyström method for solving (1) has a real improvement as compared to standard Runge–Kutta methods. In case of a linear k-step method for first order ODEs, it becomes a 2k-step method for (1), thus increasing the computational work.

For the general second order initial value problem of the form y(x)=f(x,y(x),y(x)),y(a)=y0,y(a)=y0one of the methods for solving it directly is the explicit method due to Falkner [1] which can be written in the form yn+1=yn+hyn+h2j=0k1βjjfn,yn+1=yn+hj=0k1γjjfn,where h is the step-size, yn and yn are numerical approximations to the theoretical solution and its derivative respectively, at the grid point xn=a+nh;n=0,1,2,3,N,h=(ba)N,fn=f(xn,yn,yn) and ∇jfn is the standard notation for the backward differences.

There exist similar implicit Falkner formulas [2] given by yn+1=yn+hyn+h2j=0kβj*jfn+1,yn+1=yn+hj=0kγj*jfn+1.Note here that the formulas given in (3) and (5) are the Adams–Bashforth and Adams–Moulton methods respectively for solving the problem (y(x))=f(x,y(x),y(x))which are used to obtain the approximate values of the first derivative.

The usual and unusual implementation of these methods have been considered in the literature. For instance, in molecular dynamics, when the acceleration at time only depends on position and not on velocity, the direct integration methods are usually implemented in a semi-implicit formulation. This is the case for the well-known Velocity Verlet algorithm [3]. This method uses the one-step explicit method in (2) to compute the positions: yn+1=yn+hyn+h22ynand the one-step implicit method in (5) to update the velocities: yn+1=yn+h2(yn+yn+1).Beeman [4] proposed the modification of the Verlet family of methods for the calculation of velocities. The method used to compute the positions at time xn+h is the following two-step explicit method given in (2) yn+1=yn+hyn+h26(4ynyn1)while the formula to update the velocities is the following two-step method (which we note it is not the two-step formula in (5)) yn+1=yn+h6(2yn+1+5ynyn1).Two important aspects must be considered in this paper in order to obtain the methods that will be proposed: the way to implement the formulas, and the variable stepsize character of the numerical scheme. We briefly outline some comments on them.

The implementation of the explicit Falkner method for the special second order IVP is considered in usual and unusual way in the literature, which are described below (see [5]).

The usual implementation of the explicit Falkner method on each step of integration for solving (1) consists in the following steps

  • Evaluate yn+1 using the formula given in (2).

  • Evaluate yn+1 using the formula given in (3).

  • Evaluate fn+1=f(xn+1,yn+1).

The unusual implementation of the explicit Falkner method (also called reformed Falkner method in [15], [16], at each step of integration for solving (1) consists in the following steps

  • Evaluate yn+1 using the formula given in (2).

  • Evaluate fn+1=f(xn+1,yn+1).

  • Evaluate yn+1 using the formula given in (5),

which can be accomplished due to the absence of the derivative on the function f. Therefore, having obtained the value yn+1 it is a straightforward task to calculate fn+1 to be used in (5). In this way, the implicit method given in (5) is no longer implicit, resulting in an explicit formulation of the method. For instance, the two-step procedure provided by Falkner formulas is given by yn+1=yn+hyn+h26(4ynyn1)yn+1=yn+h12(5yn+1+8ynyn1).

In virtually all modern codes for ODEs, the step-size is selected automatically to achieve reliability and efficiency [8]. Practically speaking, any discretization integrator with constant step-size performs poorly if the solution varies rapidly in some parts of the integration interval and slowly in other parts of the integration interval. As some authors have remarked, to be efficient, an integrator based on a particular formula must be suitable for a variable step-size formulation [10], [11]. There are mainly two ways to do that, using a formula where the coefficients depend on the ratios of the step-sizes (as in the variable-coefficient linear multistep codes) or using a second method (as in the embedding Runge–Kutta pairs). In all the cases the goal is to adjust the step-sizes so as to keep the estimated local errors smaller than a given tolerance and, at the same time, to solve the problem as efficiently as possible [12]. So, a reliable estimate of the local error will be needed.

This paper aims at developing some variable step-size rational Falkner-type pairs for directly solving numerically the problem in (1). In the present paper some rational 3(2) pairs of Falkner type are proposed and numerical results are given in comparison with some of the existing classical methods. The paper is organized as follows: Section 2 is concerned with the derivation of the methods. In Section 3, the error analysis of the methods are carried out. In Section 4 some rational Falkner methods are listed. In Section 5 the linear stability analysis of the methods is given. In Section 6 a variable step-size formulation of the proposed methods is considered. Some numerical experiments are presented in Section 7 to validate the performance of the proposed method, and some conclusions put at the end to the paper.

Section snippets

Derivation of rational Falkner-type formulas

The following rational approximation is proposed to the theoretical solution of (1) at the grid point x=xn+1y(xn+1)y(xn)+hy(xn)+αh2y(xn)y(xn)y(xn)+βhy(xn)+γh2y(xn),where α, β and γR. Further, we must choose the values of β, γ and h in such a way that y(xn)+βhy(xn)+γh2y(xn)0.

In order to get the values for the parameters we consider the following differential operator associated with (11) Fn[y(x),h]=[y(xn+1)y(xn)hy(xn)][y(xn)+βhy(xn)+γh2y(xn)]αh2y(xn)y(xn).

By expanding y(xn+1)

Error analysis

It is very practical and necessary to know how the local errors behave in implementation of any numerical method. In this regard, the local error analysis for the proposed methods is considered in this section.

New pairs of rational Falkner-type methods

By combining the family of methods given in (15) with the method in (24), we get the following rational Falkner-type family consisting in the two formulas yn+1=yn+hyn+3h2ynfn26ynfn2hynfn+6γh2fn2yn+1=yn+4hfn2(2fn+fn+1)12fn22hfnfn+h2(fn)2,which can be used for directly solving (1) numerically.

Similarly, by considering the methods in (34) and (30) we have a new rational Falkner-type method given by the two formulas yn+1=yn+hyn+18h2fn336fn212hfnfn+h2(4(fn)23fnfn)yn+1=yn+12hfn3(3fn+f

Stability analysis

The linear stability analysis of the proposed methods is discussed as it is usually done for linear multi-step methods for second order IVPs. Consider Dahlquist’s test equation y(x)=λ2y,y(xn)=yn,y(xn)=λyn.The theoretical solution of this test equation is y(x)=eλ(xxn)yn, from which we obtain that the expression for y(x) at the grid point x=xn+1 is given by y(xn+h)=eλhyn.This means that for λ < 0, the theoretical solution decreases. It should be expected that the application of the numerical

Formulation in variable step-size mode

The methods presented above have been formulated using a fixed stepsize h. However, as we mentioned before, they should be suitable for a variable step-size formulation. To do that we need a reliable estimate of the local error.

To proceed formally, we follow a similar approach to that adopted in [18], but in this case for the second order problem in (1).

In general, let the local error in using a method of order p to get yn+1 given by len=y(xn+h)yn+1,where y(x) is the true solution.

Now, if we

Numerical results

In this section we have solved several second order IVPs by using the proposed rational methods and by using some of the existing IVP solvers. In Section 7.1 a first numerical example is given for which the results are obtained by using the second order methods Verlet [(6) and (7)], Beeman [(8) and (9)], Falkner (10) and RFalkner (25) for γ=0 with constant step-sizes. In Section 7.2. the same problem is solved directly by an embedded RFalkner3(2) pair, that is, considering the second order

Conclusions

A one parameter family of single-step rational Falkner-type methods for solving initial-value problems of the special form y=f(x,y) has been developed. The methods consist in a couple of rational formulas, one to follow the solution, and the other to follow the derivative. The analysis of the local truncation errors and the stability regions are presented. From the error analysis we select an appropriate value for the parameter, leading to a third order method. Combining a second order method

Acknowledgments

The authors would like to thank the anonymous reviewers for their work and constructive comments that greatly contributed to improve the manuscript.

References (25)

  • C. Swope et al.

    A computer simulation method for the calculation of equilibrium constants for formulation of physical clusters of molecules: Application to small water clusters

    J. Chem. Phys.

    (1982)
  • H. Ramos et al.

    A rational Falkner method for solving special second order IVPs

    Proceedings of the Twelfth International Conference on Computational and Mathematical Methods in Science and Engineering, CMMSE 2012

    (July 2-5, 2012)
  • Cited by (24)

    • A third-derivative two-step block Falkner-type method for solving general second-order boundary-value systems

      2019, Mathematics and Computers in Simulation
      Citation Excerpt :

      In this manuscript, we derive a new 2-step Falkner-type block method that uses third derivatives, to obtain directly the approximate solution of a general second-order BVP with any of the boundary conditions in (2), (3), or (4). Falkner-type methods, block methods, or even block Falkner-type methods have been used efficiently for solving initial-value problems (see [3,12,23,25–28]), but not for solving BVPs. The 2-step Falkner block technique is not so much costly in terms of the number of function evaluations, compared to some existing methods, and the major advantage of this method over transformation approach is that it gives a better numerical performance when solving directly problems of the form of the equation in (1).

    • Third derivative modification of k-step block Falkner methods for the numerical solution of second order initial-value problems

      2018, Applied Mathematics and Computation
      Citation Excerpt :

      In Table 9, we can see the good performance of the proposed methods, where N refers to the number of integration intervals. The other methods used for comparison were the third-order variable step-size rational Falkner method RFalkner3(2) in [33] and the well-known ode23s solver of the Matlab environment [34]. In this manuscript, we have developed a family of modified k-step block Falkner methods using the third derivative, for solving general second-order initial value problem in ODEs directly without the need to convert it to an equivalent system of first order ODEs.

    View all citing articles on Scopus
    View full text