[BACK]
Computers, Materials & Continua
DOI:10.32604/cmc.2022.025933
images
Article

Optimized Hybrid Block Adams Method for Solving First Order Ordinary Differential Equations

Hira Soomro1,*, Nooraini Zainuddin1, Hanita Daud1 and Joshua Sunday2

1Department of Fundamental and Applied Sciences, Universiti Teknologi PETRONAS, 32610, Seri Iskandar, Perak, Malaysia
2Department of Mathematics, University of Jos, 930003, Jos, Nigeria
*Corresponding Author: Hira Soomro. Email: soomro_19001048@utp.edu.my
Received: 09 December 2021; Accepted: 24 January 2022

Abstract: Multistep integration methods are being extensively used in the simulations of high dimensional systems due to their lower computational cost. The block methods were developed with the intent of obtaining numerical results on numerous points at a time and improving computational efficiency. Hybrid block methods for instance are specifically used in numerical integration of initial value problems. In this paper, an optimized hybrid block Adams block method is designed for the solutions of linear and nonlinear first-order initial value problems in ordinary differential equations (ODEs). In deriving the method, the Lagrange interpolation polynomial was employed based on some data points to replace the differential equation function and it was integrated over a specified interval. Furthermore, the convergence properties along with the region of stability of the method were examined. It was concluded that the newly derived method is convergent, consistent, and zero-stable. The method was also found to be A-stable implying that it covers the whole of the left/negative half plane. From the numerical computations of absolute errors carried out using the newly derived method, it was found that the method performed better than the ones with which we compared our results with. The method also showed its superiority over the existing methods in terms of stability and convergence.

Keywords: Initial value problem (IVPs); linear multi-step method; block; interpolation; hybrid; Adams-Moulton method

1  Introduction

There are multiple fields of applications where differential equations are found, however, among those; only a few applications have analytical solutions [1,2]. One of the major reasons why scientists are inspired by differential equations is that they have the ability to replicate similar dynamics in the natural world. This paper focuses on solving the first-order Initial Value Problems (IVPs) of the form:

y=f(t,y(t)),y(t0)=y0,t[a,b].(1)

where, f is the continuous function in [a,b] intervals and the assumption of f gratifying Lipchitz condition ensures the solution to the problem Eq. (1) exists and is unique [3].

ODEs appear in a variety of contexts in mathematics and science. Several approaches have been adopted by several authors for the numerical solutions of ODEs among which block methods have the advantages of being more cost-effective [47]. In general, with each block has r-point, the followings are the advantages of the implementation of the block method [8,9]:

     i)  Each application of the block method generates r solutions simultaneously.

    ii)  The computational time reduces as well as the overall number of steps.

   iii)  Overcoming the overlapping of pieces of solutions.

Reference [10] advocated the use of block implicit techniques as a way of acquiring beginning values for predictor-corrector systems. Similar considerations were made by [11]. Further, [12] expanded Milne's suggestions into general-purpose algorithms, based on the Newton-Cotes integration equations. A method for higher-order ODEs (stiff and non-stiff) was devised by [13]. For the non-stiff algorithm, a split difference formulation was used, but for the stiff algorithm, a backward differentiation formulation was employed. As a direct solution to non-stiff higher-order ODEs, [13] developed a split difference formulation known as Direct Integration (DI). While creating a block algorithm, [14] created a novel variant of the DI technique. According to [15,16], one-step methods based on Newton backward difference formulae were used to solve first-order ODEs. An eighth order seven-step block Adams type method has been proposed and implemented as a self-starting method to generate the solutions at (tn+1,yn+1), (tn+2,yn+2), (tn+3,yn+3), (tn+4,yn+4), (tn+6,yn+6), (tn+7,yn+7), and (tn+8,yn+8) by [17] for the solution of ODEs. Through interpolation and collocation procedures, a self-starting multistep method was proposed by [18] in which the derivation of Adams-type methods was compiled into block matrix equations for solving IVPs with an obsessive focus on stiff ODEs. Reference [19] constructed an improved class of linear multistep block technique based on Adams Moulton block methods in their study. The enhanced approaches were A-stable, which was a beneficial attribute when dealing with stiff ODEs. Different implementation methods have also been developed, ranging from predictor-corrector technique to block method, by many researchers [2023]. A block technique based on a stability zone was obtained, in which [24] presented one nonlinear and three linear ODEs using the block technique. Since it has a large range of absolute stability, it could solve both nonlinear and linear IVPs in ODEs, as well as stiff problems in systems. The key flaw of this approach is that the accuracy of the predictors decreased with the increasing step length, and the results were presented at an overlapping interval [25].

Despite having many advantages, block method, also possessed a major setback which pointed out that the order of interpolation points must not exceed the differential equations. Because of this setback, hybrid methods were introduced. Hybrid methods are highly efficient and have been reported to circumvent the “Dahlquist Zero-Stability Barrier” condition by introducing function evaluation at off-step points which takes some time in its development but provides better approximation than two conventional methods (Runge-Kutta and linear multistep methods) [26,27].

Recently, many scholars have developed hybrid methods for the numerical solutions of ODEs. A four-step hybrid block method is formulated by [28] in which the author has discussed about the new strategy for the selection of hybrid points. A new single-step hybrid block method with fourth-order has been proposed by [29] in which the increment of three off-step points enhanced the performance of the developed method comparatively. The main persistence of [9] is to generate a higher-order block algorithm with excellent stability properties, such as A-stability, for addressing various types of IVPs. Reference [30] worked on the hybrid block approach with power series expansion which would aid in the development of a more computationally stable integrator capable of solving problems relating to first-order differential equations of the form Eq. (1). A highly efficient hybrid technique to find out the approximate solution of first-order quadratic Riccati differential equations is derived by [31]. Insignificant convergence, implementation regions and inefficiency in terms of accuracy were some of the major drawbacks of these methods. Due to these, we are motivated to formulate an efficient algorithm that will address these setbacks. Therefore, the objective behind of this study is to develop a sixth order hybrid block Adams method for finding the solutions of linear and nonlinear first-order ODEs using Lagrange polynomial as the basis function. The basis on which the new method is built based on the suggestion that halved step-size helps to acquire the desired stability and optimized method according to [24]. For choosing the hybrid points, various points have been examined and it is concluded that by selecting the points where the step-size is halved will lead toward the zero-stable formulae. The advantage of the proposed hybrid block method is that it is useful in reducing the step number of the problem and remains zero stable.

This paper is organized as follows: in Section 2, the derivation of the proposed method is discussed. Section 3 contains an analysis of the basic properties of the derived method. In Section 4, some numerical examples are presented, and the discussion of results is examined in Section 5. Finally, Section 6 consists of conclusions and future recommendations.

2  Derivation of 3-Points Hybrid Block Adams Moulton Method (AMM)

This section comprises the derivation of the proposed method for finding the solution of Eq. (1). Derivation of the block method is based on the derivation presented in [15]. As illustrated in Fig. 1, the approximate solutions are split into block’s series, and every block comprises three points with one off-step point.

images

Figure 1: 3-Points hybrid block AMM

In Fig. 1, three solutions of yn+1,yn+2, and yn+3 having one off-step point yn+52 are simultaneously computed while using two back values yn1 and yn in a block.

Three points will be computed using the previous block with a fixed step size h. The 3-point hybrid block method equations are obtained by integrating Eq. (1) using the Lagrange interpolation polynomial with interpolating points (xn1,yn1), (xn,yn), (xn+1,yn+1), (xn+2,yn+2), (xn+52,yn+52) and (xn+3,yn+3).

Consider the Lagrange interpolation polynomial given as,

Pq(x)=j=0kLq,j(x)f(xn+3j)(2)

Where

Lq,j=i=0ijxxn+3ixn+3jxn+3i

By expanding Eq. (2) and substituting s=xxn+3h and then replace dx=hds, the corrector formula for 3-point hybrid block Adams Moulton Method (AMM) can be obtained as, (the detailed derivation can be seen in [32]),

yn+1=yn+h[11fn+3180+88fn+5231549fn+2120+283fn+1360+151fn36013fn1840]

yn+2=yn+h[1fn+390+17fn+245+19fn+115+17fn451fn190]

yn+52=yn+h[125fn+34608+65fn+52252+125fn+2192+2875fn+12304+55fn144125fn110752](3)

yn+3=yn+h[3fn+320+24fn+5235+21fn+240+51fn+140+3fn83fn1280]

Assemble the predictor for the 3-point hybrid block AMM by adopting the same procedure carried out above. Therefore, the predictor formulae for 3-point hybrid block AMM are obtained as,

yn+1p=yn+h2(fn1+3fn)

yn+2p=yn+h(2fn1+4fn)

yn+52p=yn+h2(9fn1+15fn)(4)

yn+3p=yn+h8(49fn1+77fn)

Thus, Eq. (4) together with Eq. (3) gives the 3-point hybrid predictor-corrector AMM for the solutions of problems in the form of Eq. (1).

3  Analysis of the Basic Properties of the Proposed Method

This section encompasses the essential features of the proposed method, such as order and error constants, stability analysis, consistency, and convergence. The stability region of the 3-point hybrid block AMM will also be determined.

3.1 Order and Error Constant

Definition 3.1. (Order and Error Constant)

The linear multistep method (LMM)

j=0kαjyn+j=hj=0kβjfn+j,(5)

where αj and βj are the coefficients of Eq. (3) and k=4, is said to be of order p if C0=C1==Cp=0 and Cp+10 where;

C0=j=0kαj,C1=j=0kjαj+j=0kβj,C2=j=0kj2αj2!+j=0kjβj,C3=j=0kj3αj3!+j=0kj2βj2!,

Cq=j=0kjpαjp!+j=0kjp1βj(p1)!,q=4,5,6,(6)

The term Cp+1 is called the error constant of the method [26]. This, therefore, means that the local truncation error is calculated as in Eq. (7).

tn+k=Cp+2hp+2y(p+2)(tn)+O(hp+3)(7)

Reshaping Eq. (3) in a matrix form gives,

[1000010000100001][yn+1yn+2yn+52yn+3]=[0001000100010001][yn2yn1yn12yn]+h[28336049120883151118019151745019028752304125192652521254608514021402435320][fn+1fn+2fn+52fn+3]+h[013840015136001900174501251075205514403280038][fn2fn1fn12fn](8)

By applying the formulae Eqs. (6) to (8) we obtained, C1=C2=,,=C6=[0,0,0,0]T and C70. According to Definition 3.1, the order of the 3-point hybrid block AMM is proven to be 6 as Cp+10 (p=6) with the error constant as shown in Eq. (9),

C7=[311120960175611757741441896].(9)

3.2 Stability Analysis

In this section, we will discuss the stability analysis of the 3-point hybrid block AMM which is obtained by applying the linear test problem

y=f=λy(10)

where λ represents the complex constant with Re(λ) < 0.

For a technique to be useful in practice, it must have a zone of stability that ensures the approach can solve at least slightly stiff problems. The technique must be zero-stable as well.

3.2.1 Zero-stability

Definition 3.2. (Zero-Stability)

The linear multistep method is said to be zero-stable if the characteristic polynomial R(t), has no root larger than one, and if all modular roots are simple [3335].

To determine the zero-stability of the 3-point hybrid block AMM for Eqs. (3), (10) is substituted in Eq. (3) which gives,

yn+1=yn11hλyn+3180+88hλyn+5231549hλyn+2120+283hλyn+1360+151hλyn36013hλyn1840,

yn+2=yn1hλyn+390+17hλyn+245+19hλyn+115+17hλyn451hλyn190,

yn+52=yn125hλyn+34608+65hλyn+52252+125hλyn+2192+2875hλyn+12304+55hλyn144125hλyn110752,(11)

yn+3=yn+3hλyn+320+24hλyn+5235+21hλyn+240+51hλyn+140+3hλyn83hλyn1280

Eq. (11) can be inscribed in the matrix form as

[1283hλ36049hλ12088hλ31511hλ18019hλ15117hλ4501hλ902875hλ2304125hλ192165hλ252125hλ460851hλ4021hλ4024hλ3513hλ20][yn+1yn+2yn+52yn+3]=[0001000100010001][yn2yn1yn12yn]+h[013λ8400151360λ0190λ01745λ012510752λ055144λ03280λ038λ][yn2yn1yn12yn],(12)

and Eq. (12) is equivalent to

AYm(B+Ch)Ym1=0,(13)

where,

A=[1283hλ36049hλ12088hλ31511hλ18019hλ15117hλ4501hλ902875hλ2304125hλ192165hλ252125hλ460851hλ4021hλ4024hλ3513hλ20], B=[0001000100010001] ,

C=[013λ8400151360λ0190λ01745λ012510752λ055144λ03280λ038λ] , Ym=[yn+1yn+2yn+52yn+3] and Ym1=[yn2yn1yn12yn]

The following stability polynomial of 3-point hybrid block AMM is obtained by using |tA(B+Ch)|=0

R(t,H)=t4(139612520H+1308112096H24311080H3+2834032H4)+t3(1257180H65577560H25832160H329672H4)+t2(12520H+1160480H2+14320H3+120160H4),(14)

assuming H=hλ, we obtain R(t,H) at H=0 as

R(t,H)=t3+t4=0,(15)

Resolving Eq. (15) for t, implies t=0,0,0,1. In conclusion, according to Definition 3.2, if all the major roots are on or in the unit circle, the method is zero-stable.

3.2.2 Stability Region

The collection of points found by substituting t=eiθ=sinθ+icosθ, 0θ2π in the stability polynomial Eq. (14) defined the stability area. Fig. 2 depicts the stability region which were obtained using Mathematica software.

images

Figure 2: The stability region of the 3-point Hybrid Block AMM

3.3 Consistency

Definition 3.3. (Consistency)

The linear multistep method is said to be consistent if it has order p greater than or equal to one, i.e., p ≥ 1. The 3-point hybrid block AMM is a technique of order six, p=61; thus, it is consistent.

3.4 Convergence

To determine the convergence of the method, we analyze its consistency and zero-stability according to the following theorem.

Theorem 3.1. (Convergence)

The necessary and sufficient conditions for the linear multistep method to be convergent are consistent and zero-stable.

Therefore, the 3-point hybrid block AMM is convergent since it is both consistent and zero-stable.

4  Numerical Examples

We have gone through a few case studies to show the competence of the 3-point hybrid block AMM . Specified numerical examples have been taken from [3640]. For computational purpose, C++ code was used.

Problem 1: Susceptible, Infected, and Recovered (SIR) Model

In the SIR model, the number of individuals infected with an infectious illness in a closed population, overtime is calculated. In this class of models, the number of susceptible person S(