Abstract

A new two-step modified explicit hybrid method with parameters depending on the step-size is constructed. This method is derived using the coefficients from a sixth-order explicit hybrid method with extended interval of absolute stability and then imposed each stage of the modified formula to exactly integrate the differential equations with solutions that can be expressed as linear combinations of and , where is the known frequency. Numerical results show the advantage of the new method for solving oscillatory problems.

1. Introduction

Second-order ordinary differential equations are important tools for modelling physical phenomena in science and engineering. This paper is concerned with the numerical solution of the second-order ordinary differential equations of the formhaving oscillatory solutions. These problems can be numerically solved by general-purpose methods or any other methods specially adapted to the structure of the intended problem. In the case of adapted numerical methods, particular algorithms have been proposed by several authors, see [13] to solve these classes of problems.

Franco [4] has established the following class of explicit hybrid methods:where h is the step-size while and represent and , respectively. The associated Butcher tableau for this class of methods is given bywhereand .

Kalogiratou et al. [5] have modified each stage of the explicit hybrid methods and the improved version is

The coefficients and are functions of  = wh, where is the known frequency of the second-order problems. The Butcher tableau for the modified hybrid method is given by

We develop a sixth-order explicit hybrid method with extended interval of absolute stability based on the class of explicit hybrid methods (2). Using the coefficients from the sixth-order hybrid method, we develop a new modified hybrid method. The construction of hybrid methods is described in Section 2. In Section 3, we give the stability analysis of the class of modified hybrid method (5). Numerical results are presented in Section 4 for several second-order problems.

2. Construction of Hybrid Methods

In this section, we derive the new method with four stages.

2.1. Sixth-Order Explicit Hybrid Method

Consider the explicit hybrid methods (2). The associated Butcher tableau for a class of four-stage explicit hybrid methods is given by

The sixth-order explicit hybrid method must satisfy the order conditions for a sixth-order hybrid method as stated in [6]. Solving the order conditions, we obtain

Next, we choose the free parameter to maximize the interval of absolute stability. For detail explanation on stability properties of hybrid methods, refer [4]. The resulting method has a phase-lag of order 6 and a dissipation error of order 7. The interval of absolute stability of this method is (0, 4.54).

2.2. The New Method with Parameters Depending on Step-Size

This method is derived using the coefficients from the sixth-order explicit hybrid method in Section 2.1. Consider the modified four-stage explicit hybrid method represented by this tableau:

Associate each formula stage of the modified four-stage explicit hybrid method with the following linear operators:

Using the coefficients from the sixth-order explicit hybrid method and imposing the linear operators to exactly integrate the set { and }, we getand , where  = wh.

For small , coefficients and may cause heavy calculations which lead to inaccuracy; hence, it is often convenient to use Taylor expansions for the coefficients. The resulting method is denoted by MEHM6.

3. Stability Analysis

In this section, we present the stability analysis of the modified hybrid method. Assume that H = λh, e = (1, 1, … ,1)T, σ() = (0, 0, σ3, σ4, …, σs)T, and µ() = (0, 0, µ3, µ4, … , µs)T. Employing the hybrid methods defined by (5) to the standard equationgives uswhereand the symbol “×” denotes component-wise multiplication. The characteristic polynomial which determines the solution (12) is

Definition 1 (see [5]). For the hybrid methods corresponding to the characteristic equation (13) and  = wh, the region in the H- plane, such thatis called the region of absolute stability of the method.
The region of stability of the new method is shown in Figure 1.
It is observed that, if  = 0, then the region of absolute stability collapses into the interval of absolute stability.

4. Numerical Results

The new and existing methods are coded using Microsoft Visual C++ version 6.0 software and applied to some special second-order problems to provide numerical comparisons of the accuracy and execution time of the methods. The accuracy of the methods is measured by maximum global errors, while execution time (in seconds) is measured after the computation of the starting values. For all codes, the starting values are computed using the exact solution formula of each problem. The abbreviations of the codes are as follows:(i)MEHM6: the modified sixth-order explicit hybrid method with four stages derived in this paper.(ii)TRIMHLI: trigonometrically fitted multistep hybrid method proposed in [7].(iii)TRIEFW: two-step trigonometrically fitted explicit hybrid method with four stages derived in [8].

Tables 15 show the numerical results of the new and existing methods for solving several second-order problems.

Problem 1 (the two-body problem). with e being the eccentricity of the orbit. The theoretical solution of this problem iswhere R satisfies the Kepler’s equation . In this paper, the eccentricity value is chosen to be e = 0. For all codes,  = h is used.

Problem 2. with and

Solution 1. . For all codes, we use  = 10h for the first component while  = 5h for the second component.

Problem 3 (linear oscillatory problem).

Solution 2. For MEHM6 and TRIEFW, we choose  = h while for TRIMHLI,  = 5h as given in [7].

Problem 4 (nonlinear oscillatory problem).

Solution 3.
For all codes,  = h.

Problem 5 (the almost periodic problem).

Solution 4. . For all codes, we use  = h.

It is observed from Table 1 that MEHM6 solves Problem 1 with very close accuracy to TRIMHL1. From the results in Tables 3 and 5, MEHM6 gives the best accuracy as compared to the other codes for most of the step-sizes, while in Table 2, MEHM6 is the most accurate for bigger step-sizes. For smaller step-sizes, the accuracy of MEHM6 is close to TRIEFW as shown in Table 2. Table 4 shows that both MEHM6 and TRIEFW codes have the same order of accuracy for all step-sizes.

On the other hand, TRIMHLI has the shortest execution time for all problems considered. This is mainly due to the fact that TRIMHLI has more starting values than that for MEHM6. Hence, less number of integration steps is needed by TRIMHLI to advance the computation as compared to MEHM6.

5. Conclusions

In this paper, a new two-step modified explicit hybrid method is developed where each stage of the modified method exactly integrates differential equations with solutions that are linear combinations of and . From the numerical results, the new method gives the best accuracy when compared with the multistep methods in [7, 8], particularly for linear oscillatory and almost periodic problems. The new method has two starting values, but the execution time is nevertheless acceptable. Hence, the new method is as competitive as the existing methods for solving oscillatory problems.

Data Availability

The maximum global error and execution time data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The authors acknowledge the financial support by Universiti Kebangsaan Malaysia through grant GGPM-2017-074.