Abstract

The closed Newton-Cotes differential methods of high algebraic order for small number of function evaluations are unstable. In this work, we propose a new closed Newton-Cotes trigonometrically fitted differential method of high algebraic order which gives much more efficient results than the well-know ones.

1. Introduction

In the recent years, there is a great interest in the construction of numerical methods for ordinary differential equations that preserve qualitative properties of the analytic solution.

Symplectic integrators are necessary in the case that we wish to preserve the characteristics of the Hamiltonian system in the approximate solution. Much research has been done recently mainly on the development of one-step symplectic integrators (see [1, 2]). In their work, Zhu et. al [3] and Chiou and Wu [4] constructed multistep symplectic integrators by writing open Newton-Cotes differential schemes as multilayer symplectic structures.

Last decades much work has been done on trigonometrically fitting and the numerical solution of periodic initial value problems (see [520] and references therein).

In this paper, we follow the steps described below.(i) The new condition is described.(ii)The trigonometrically fitted method is developed.(iii)The closed Newton-Cotes differential methods are presented as multilayer symplectic integrators.(iv)The closed Newton-Cotes methods are applied to nonlinear problems and the efficiency of the new methods is presented.

We note that the aim of this paper is to generate methods that can be used for nonlinear differential equations as well as linear ones.

The construction of the paper is given below.(i)The theory for the symplectic schemes is presented in Section 2.(ii)In Section 3, we present the closed Newton-Cotes differential methods and the new condition for the development of the methods. We also develop the new trigonometrically-fitted methods.(iii)In Section 4, the conversion of the closed Newton-Cotes differential methods into multilayer symplectic structures is presented.(iv)Numerical results are presented in Section 5.

2. Basic Theory on Symplectic Schemes and Numerical Methods

Based on Zhu et al. [3] and on the division of the interval with points, we have the following discrete scheme for the n-step approximation to the solution: Based on the above we can write the n-step approximation to the solution as Defining the discrete transformation can be written as

A discrete scheme (2.1) is a symplectic scheme if the transformation matrix is symplectic. A matrix is symplectic if , where The product of symplectic matrices is also symplectic. Hence, if each matrix is symplectic the transformation matrix is symplectic. Consequently, the discrete scheme (3.5) is symplectic if each matrix is symplectic.

Remark 2.1. The proposed methods can be used for nonlinear differential equations as well as linear ones.

3. Trigonometrically Fitted Closed Newton-Cotes Differential Methods

3.1. General Closed Newton-Cotes Formulae

The closed Newton-Cotes integral rules can be presented with the formula: where The coefficient as well as the weights are given in Table 1.

Remark 3.1. It is easy for one to see that the coefficients in the Table 1 are symmetric, that is, one has the following relation:

The closed Newton-Cotes differential methods are produced from the integral rules. From Table 1 we have the following differential methods:

In the present paper, we will investigate the case and we will produce trigonometrically fitted differential methods of order 1.

3.2. Development of Closed Newton-Cotes Differential Schemes

For the development of a Newton-Cotes differential method of the above form, two procedures can be applied.(i)The procedure which is based on the minimization of the local truncation error. Based on this procedure and for the case , we can produce the well known coefficients: , , , , and (see the closed Newton-Cotes differential scheme for presented above). (ii)The procedure which is based on (1)the minimization of the local truncation error;(2)the satisfaction of the condition: . This condition is produced by application of least squares method to the production of the differential method (see more details in [21] (about stable quadrature rules) and [22]).

The above procedure leads to the following coefficients for the case: : , , , and to the condition . We choose the value: , which satisfies the above condition.

3.3. Exponentially Fitted Closed Newton-Cotes Differential Method

Requiring the differential scheme: to be accurate for the following set of functions (we note that ): the following set of equations is obtained: Requesting that and solving the above system of equations, we obtain where .

For small values of , the above formulae are subject to heavy cancellations. In this case the following Taylor series expansions must be used:

The behaviour of the coefficients is given in the following Figure 1.

The local truncation error for the above differential method is given by The L.T.E is obtained expanding the terms and in (3.5) into Taylor series expansions and substituting the Taylor series expansions of the coefficients of the method.

In Figure 2, we present the behaviour of the quantity for several values of .

So, we have the following theorem.

Theorem 3.2. The method (3.5) with coefficients , obtained by the solution of the system (3.7) is accurate for the set of functions (3.6) and is of eighth algebraic order.

4. Closed Newton-Cotes Can Be Expressed as Symplectic Integrators

Let consider Hamilton’s equations of motion: where is a constant scalar or matrix. It is well known that (4.1) is important in the fields of physics, chemistry, material sciences, and so forth.

Theorem 4.1. A discrete scheme of the form: is symplectic.

Proof. We rewrite (4.2) as Defining it can easily be proved that Thus, the matrix is symplectic.
In [3], Zhu et al. have studied the well-known second-order differential scheme (SOD). They have proved that the scheme: has a symplectic structure.
The above methods have been produced by the simplest Open Newton-Cotes integral formula.
Based on [4, 7], the Closed Newton-Cotes differential schemes will be written as multilayer symplectic structures.
Application of the Newton-Cotes differential formula for to the linear Hamiltonian system (4.1) gives where , where is defined in (4.1).
From (4.6), we have that
We now consider the approximation based on the first formula of (4.8) for -step gives (taking into account the second formula of (4.8))
Substituting (4.9) into (4.7) and considering that , , , and , we have: and with (4.8) we have which gives:
The above formula in matrix form can be written as where which is a discrete scheme of the form (4.2) and hence it is symplectic.

5. Numerical Example

5.1. A Nonlinear Orbital Problem

Consider the nonlinear system of equations:

The analytical solution of the problem is the following:

The system of (5.1) has been solved for and using the methods(i)The eighth-order multistep method developed by Quinlan and Tremaine [23] (which is indicated as Method I). (ii)The tenth-order multistep method developed by Quinlan and Tremaine [23] (which is indicated as Method II). (iii)The twelfth-order multistep method developed by Quinlan and Tremaine [23] (which is indicated as Method III). (iv)The Newton-Cotes classical tenth-algebraic-order differential method (which is indicated as Method IV), (with the term classical we mean the closed Newton-Cotes differential method with constant coefficients).(v)The Newton-Cotes eight-algebraic-order differential method with constant coefficient which corresponds to the New Developed Method VII (which is indicated as Method V). (vi)The Newton-Cotes tenth-algebraic-order differential method developed in [8] (which is indicated as Method VI). (vii)The stable Newton-Cotes eight-algebraic-order trigonometrically fitted differential method (which is indicated as Method VII).

For this problem, we have . The numerical results obtained for the seven methods mentioned above were compared with the analytical solution. Figure 3 shows the absolute errors defined by for several values of the number of function evaluations (NFEs).

5.2. Duffing’s Equation

Consider the nonlinear initial value problem:

The analytical solution of the problem is the following:

The above equation (5.4) has been solved for using the methods mentioned above.

For this problem, we have . The numerical results obtained for the seven methods mentioned above were compared with the analytical solution. Figure 4 shows the absolute errors defined by for several values of the number of function evaluations (NFEs).

We note here that analogous results for both problems are obtained for interval of integration or .

6. Conclusions

In this paper, we have introduced a new procedure for the development of Newton-Cotes differential schemes. The new procedure consists from the following steps: (i)requirement the Newton-Cotes differential scheme to be accurate for the following set of functions: (ii)Satisfaction of the condition , where are the coefficients of the Newton-Cotes differential scheme;(iii)Expression of the Newton-Cotes differential scheme as multilayer symplectic integrators.

We applied the new developed methods to several problems. We presented in this paper the application to a nonlinear orbital problem and to Duffing’s equation and we compared them with well-known integrators from the literature. Based on these illustrations, we conclude that the new procedure produces much more efficient methods than well-known methods of the literature.