APP下载

An Iterative Scheme of Arbitrary Odd Order and Its Basins of Attraction for Nonlinear Systems

2021-12-15ObadahSaidSolaimanandIshakHashim

Computers Materials&Continua 2021年2期

Obadah Said Solaiman and Ishak Hashim

Department of Mathematical Sciences, Universiti Kebangsaan Malaysia, Bangi Selangor, 43600,Malaysia

Abstract:In this paper, we propose a fifth-order scheme for solving systems of nonlinear equations.The convergence analysis of the proposed technique is discussed.The proposed method is generalized and extended to be of any odd order of the form 2n-1.The scheme is composed of three steps,of which the first two steps are based on the two-step Homeier’s method with cubic convergence, and the last is a Newton step with an appropriate approximation for the derivative.Every iteration of the presented method requires the evaluation of two functions,two Fréchet derivatives, and three matrix inversions.A comparison between the efficiency index and the computational efficiency index of the presented scheme with existing methods is performed.The basins of attraction of the proposed scheme illustrated and compared to other schemes of the same order.Different test problems including large systems of equations are considered to compare the performance of the proposed method according to other methods of the same order.As an application,we apply the new scheme to some real-life problems,including the mixed Hammerstein integral equation and Burgers’ equation.Comparisons and examples show that the presented method is efficient and comparable to the existing techniques of the same order.

Keywords:System of nonlinear equations;root finding method;iterative method;order of convergence;Burgers’equation

1 Introduction

One popular research area in mathematics is to find the solution α=(α1,α2,...,αn)tof the system of nonlinear equationF X( )=0,whereF X( )=(f1x( ),f2x( ),...,fn x( ))t,andX=(x1,x2,...xn)t∈Rn.This type of problems occurs in many applied sciences like engineering, physics, biology and chemistry.Many researchers developed iterative methods for solving this kind of systems using different techniques.The most popular iterative method for solving system of nonlinear equations is the well-known Newton’s method which has second order of convergence [1].To improve the order of convergence and increase the accuracy of the solution obtained, many researchers tried to improve Newton’s method.Some authors used different forms and modifications based on Adomian decomposition technique for solving systems of nonlinear equations, see for instance [2-6].Another way to improve some schemes for systems of nonlinear equation is by using homotopy analysis method and homotopy perturbation method, see for example [7,8].Grau-Sánchez et al.[9] used the harmonic mean of the derivative to improve an iterative scheme for solving systems of nonlinear equations.By applying some quadrature formulas, some researchers implement their techniques to solve systems of nonlinear equations, for instance [10-12].Also, some derivative-free schemes for systems of nonlinear equations were proposed, see for example[13-15] and the references therein.One of the well-known modifications of Newton method is Jarratt method of order four.Cordero et al.[16] extended Jarratt method to solve systems of nonlinear equations preserving the same order of convergence.Many variants of Jarratt type methods have been developed,see for example [17-19] and the references therein.Many other different orders of convergence schemes for nonlinear modules can be found in the literature, see for example [20,21] and the references therein.

Some techniques to improve the order of convergence of the iterative schemes for systems of nonlinear equations have been proposed,for instance,see[22,23].In general,obtaining a higher-order iterative method is not the only important thing;as the computational and the time cost are crucial issue also.So,establishing a high order iterative method based on low computational and time cost is very important.

In this paper,we develop a new multi-step scheme of arbitrary odd order for nonlinear equations.The proposed method can be used in the multidimensional case preserving the same order.The convergence analysis of the new scheme is discussed.Several examples are given to show the efficiency of the generalized method and its comparison with other iterative schemes of the same order.To confirm the applicability of the new technique,we apply the new technique to some real-life problems.

2 The Proposed Method

In this section we will derive the proposed technique for nonlinear modules.We begin by writing the functionf(x)as:

As we wantf(x)=0,and by using midpoint quadrature formula and writing the equation as an iterative scheme,one gets

Now,to write the iterative scheme(2)in explicit form,replace

whereis the Newton step.So,scheme(2)becomes:

The iterative method (3) was proposed by Frontini and Sormani [10].The multidimensional case of scheme(3)was discussed by Homeier [24]and can be written as:

whereF′(Xn)-1andF′(Yn)-1are the inverse of the first Fréchet derivative ofF(Xn)andF(Yn)respectively.Scheme (4)is of third-order of convergence,and requires at each iteration the evaluation of one function,two Fréchet derivatives and two matrix inversions.In order to increase the convergence order and the computational efficiency of scheme (4) Sharma et al.[20] proposed a new scheme of the ffith-order of convergence by adding one step to scheme(4):

Per iteration, scheme (5) requires the evaluations of two functions, two Fréchet derivatives and two matrix inversions.

Now, to derive the new scheme for solving systems of nonlinear equations, we start by composing scheme(3)to additional Newton step,that is:appro ximation to write the derivativef′(wn) using some already computed functions from the previous

Now, to reduce number of functional evaluations at each iteration, we will use divided difference steps.To do that, one can write

in the same manner, we have

by adding(7)and (8),one easily can conclude that

Now,if we substitute(9)in(6),then we will have a new scheme for solving nonlinear equations:

To generalize scheme (10) to the multidimensional case to solve systems of nonlinear modules, the scheme becomes:

Scheme(11)requires at each iteration the evaluation of two functions,two Fréchet derivatives and three matrix inversions.The proposed scheme is of fifth-order of convergence as we will see in the next section.

If we repeat using the same idea of the derivation of scheme (11),we can write a general scheme for solving system of nonlinear equations,and this is the main motivation of our work.The general scheme can be written as:

Per iteration,scheme (12)requires the evaluation ofm-1 functions,two Fréchet derivatives and three matrix inversions.We will prove in the next section that scheme (12) is of order 2m-1 for any integerm≥3.

3 Order of Convergence

We will discuss in this section the order of convergence of the proposed schemes(11)and(12).Assume for the next theorems that

Theorem 1Let α be the solution of the system F (X )=0 where F:D ⊆Rn→Rnbe a sufficiently differentiable function on a neighborhood D of α.Suppose that F′(X ) is continuous and nonsingular in α.If X0∈D is an initial approximation which is close enough to α, then the sequence {Xn}n≥0obtained by scheme (11) converges to the root α, and the order of convergence equals 5, with asymptotic equation

Proof.By using the Taylor expansion ofF(Xn) we can writeNow, we use the following Mathematica code to show the convergence order of scheme(11)form=3:the code shows that we haveen+1=which can be written as:

By this,we show that scheme(11) is at least of fifth-order of convergence.

Now, we want to discuss the order of convergence of the generalized scheme given by(12).

Theorem 2Let α be the solution of the system F (X )=0 where F:D ⊆Rn→Rnbe a sufficiently differentiable function on a neighborhood D of α.Suppose that F′(X ) is continuous and nonsingular in α.If X0∈D is an initial approximation which is close enough to α, then the sequence {Xn}n≥0obtained by scheme (12) converges to the root α, and the order of convergence equals 2m-1, for any integer m ≥3,with asymptotic equation of the form

Proof.We will use the mathematical induction to prove the convergence order of scheme(12).

Firstly, we will prove that scheme (12) is convergent form=3, and the convergence order satisfies 2(3 )-1=5.Note that form=3, scheme (12) reduces to scheme (11) which we have been proved that it has the fifth-order of convergence in the previous theorem.Now, to complete the proof using the mathematical induction, suppose that scheme (12) is true and converges for allm≤rfor some positiver>3 and satisfy the given asymptotic equation.We need to show that the scheme converges form=r+1,and satisfy the given asymptotic equation.To do so,consider the following code of Mathematica:

4 Computational Efficiency

In this section, we compare the effciiency index of our proposed method with other methods in the literature.Commonly in the literature, the efficiency indexis used, wherepis the order of convergence of the iterative scheme, anddis the number of functions needed to be found per iteration in the iterative scheme.Another common index that can be used in the comparison between iterative scheme is the computational efficiency indexCEI=whereopis the number of operations per iteration in the iterative scheme.The evaluation of any scalar function is considered as an operation.

To find the number of functions required to be found per iteration in an iterative scheme,the following rules applied:Any computation ofF(X) needsnevaluations of scalar functions.Any computation of the JacobianF′(X) needsn2evaluations of scalar functions.Also, the floating points for obtaining the LU factorization areoperations required to find a matrix-vector multiplication, andn3operations needed to find a matrixand to solve the triangular system we needn2floating points operations.Finally,n2matrix multiplication.

We compare the efficiency index and the computational efficiency index for the proposed method(PM)(11) to the following iterative schemes:

• The third-order Frontini-Sormani method(FS) [10] given by(4).

• The fifth order scheme(CHMT) proposed by Cordero et al.[23],given by

• The fifth order scheme(MMK) proposed by Waseem et al.[4],which is given by:

• The fifth-order iterative scheme(SG)presented by Sharma et al.[20],which is defined by scheme(5).

A comparison of the number of functional evaluations of the selected iterative schemes is illustrated in Tab.1.Also, the computational efficiency indices of the selected schemes are compared (forn=2,3,4,5,10,20,50), see Fig.1.Note that the proposed scheme does not attain the best efficiency in this comparison, especially for smalln.We will see in the next two sections that this issue does not affect the scheme negatively when applied to some numerical tests.

Figure 1:Computational efficiency indices for different sizes of system

Table 1:Comparisons of required functional evaluations per iteration

Fig.2 illustrates the efficiency indices for the selected methods.Note that CHMT,SG and our proposed method have the same efficiency indices.However,this does not guarantee that they have the same behavior,accuracy and computational time cost.

Figure 2:Efficiency indices for different values of n

5 Basins of Attraction

The concept of basins of attraction is a method to show how different starting points affect the behavior of the function.In this way,we can compare different root-finding schemes depending on the convergence area of the basins of attraction.In this sense, the iterative scheme is better if it has a larger area of convergence.Here, we mean by the area of convergence, the number of convergent points to a root α off(x) in a selected range.

To check the stability and the area of convergence of our proposed method,we select the casem=3 of scheme (12).We denote the proposed method by PM5.For comparison,we compare PM5with the following schemes of the same order of convergence:The scheme CHMT given by Cordero et al.(13),the scheme SG proposed by Sharma and Gupta(5),and the scheme MMK presented by Waseem et al.(14).We choose three test examples to visualize the basins of attraction.All examples are polynomials with roots of multiplicity one.The test polynomials are

•P1(z)=z3-z,with rootsz=0, ±1.

•P2(z)=z4-1,with rootsz=±i,±1.

•P3(z)=z5+2z-1, with rootsz=-0.945068±0.854518i, 0.486389,0.701874±0.879697i

A 4×4 region is centered at the origin to cover all the zeros of the selected polynomials.The step size selected is 0.01; thus, 401×401=160801 points in a uniform grid are selected as initial point for the iterative schemes to generate the basins of attraction.The exact roots were assigned as black dots on the graph.If the scheme needs less number of iterations to converge to a specifci root, then the region of that roots appears darker.The convergence criterion selected is a tolerance of 10-3with a maximum of 100 iterations.All calculations have been performed on Intel Xeon CPU-E5-2690 0@2.90 GHz with 32 GB RAM, using Microsoft Windows 10, 64 bit based on X64-based processor.Mathematica 9 has been used to generate all graphs and computations.The dynamics of the four test problems are shown in Figs.3-5 respectively.

Figure 3:Basins of attraction of P1 ( z)=z3-z.The top row from left to right:CHMT and MMK.The bottom row from left to right:SG and PM5

Basins of attraction of PM5shows that the proposed method is comparable to other methods of the same order, with an area of convergence which is larger or the same as the areas of convergence of the other methods used in the comparison.

6 Numerical Tests and Applications

In this part, we consider some numerical problems to clarify the computational efficiency and convergence behavior of the proposed scheme.All calculations have been performed using 4000 significant digits on Mathematics 9.For comparisons, we find the number of iterationsnneeded to satisfy the stopping criterion ‖Xn-Xn-1‖+‖F(Xn)‖<10-150for each selected method.Also, we use the approximated computational order of convergence for each iterative scheme, which can be found by

Finally, we compare for the selected schemes the distance between two consecutive iterations‖Xn-Xn-1‖ and the value of ‖F(Xn)‖forn=1,2,3.

Figure 4:Basins of attraction of P2 ( z)=z4-1.The top row from left to right:CHMT and MMK.The bottom row from left to right:SG and PM5

To be consistent in the comparison, we compare the proposed scheme PM5defnied by scheme (12)form=3, to the original method which we derived from, that is, FS scheme given by (4).Also, we use the following ffith-order iterative schemes in the comparison:CHMT5method defined by scheme (13),MMK method defined by(14),and SG method defnied by(5).To test the effciiency of the extension of our proposed scheme to higher orders schemes, we compare the proposed scheme PM7of seventh-order given by scheme(12)form=4,to the extension of CHMT5to the seventh-order scheme CHMT7given by:

Figure 5:Basins of attraction of P3 ( z)=z5+2z-1.The top row from left to right:CHMTand MMK.The bottom row from left to right:SG and PM5

6.1 Numerical Tests

To be not selective in our examples,we choose most test problems from the same papers which contain the schemes used in the comparisons, see [4,20,23].Also, we choose two distinct initial guesses for all problems to test the validity and the applicability of iterative schemes.We consider the following test problems and applications:

Example 1Consider the following system of two nonlinear equations:

with initial guesses X0={0,0}tand X0={2,2}t.The exact solution of this problem is α={1.3401918575555883401...,0.8502329164169513268...}t.

Example 2Consider the following system of three nonlinear equations:

We consider as an initial solution X0={1,1,2}tand X0=1}t.The exact solution of this problem is α={0.90956949452004488381..., 0.66122683227485173542...,1.5758341439069990361...}t.

Example 3Consider the following system

For odd n,the exact zeros of F(X)are α=For n=49,we select as an initial guess

Example 4Consider the nonlinear boundary value problem:

Assume the following partitioning for the interval [0 ,1]:

We solve this system for m=10 by selecting X0=as initial guesses.The exact solution for this problem is α={0.680945648372..., 1.359281828740...,2.016862032948..., 2.606640128407..., 3.050046273378..., 3.258957241540..., 3.181812502482...,2.838449171715...,2.306087498753...,1.672371573489...}t.

Tabs.2-5 show that our proposed methods PM5and PM7are efficient with a good performance and comparable to the other methods of the same order.The proposed methods converge to the desired solution either by less number of iterations based on the convergence criterion (Examples 1 and 2), or by the same number of iterations needed to satisfy the convergence criterion with more accurate answers(Examples 3 and 4).

Table 2:Comparisons between different methods for Example 1

Table 3:Comparisons between different methods for Example 2

Table 4:Comparisons between different methods for Example 3

Table 5:Comparisons between different methods for Example 4

6.2 Applications

To check the applicability of the proposed scheme on real-life problems, we apply it on the mixed Hammerstein integral equation and Burgers’equation.

Problem 1Consider the mixed Hammerstein integral equation:

such that x ∈C[0 ,1],and s,t ∈[0 ,1],and the kernel G( s,t)is given by

The integral equation is transformed into a finite-dimensional problem using the Gauss-Legender quadrature formula given by

where the abscissastjand the weights ωjare determined forn=8 by the Gauss-Legendre quadrature formula.If we setx(ti)=xi,fori=1,2,...,8,then we obtain the following system of nonlinear equations

where the abscissastjand the weights ωjare known and presented in Tab.6 form=8.The initial solutions considered areX0={0,0,0,0,0,0,0,0}tandX0={2,2,2,2,2,2,2,2}t.The exact solution of this problem is α={1.002096245031..., 1.009900316187..., 1.019726960993..., 1.026435743030...,1.026435743030...,1.019726960993..., 1.009900316187..., 1.002096245031...}t.

Comparisons in Tab.7 show that the proposed schemes have a good functioning and comparable to the other iterative methods of the same order.

Table 6:Abscissas and weights and of Gauss-Legendre quadrature formula for m=8

Table 7:Comparisons between different methods for Problem 1

Problem 2Consider the following Burgers’equation selected from [25]:

We use discretization to solve this problem.Leth=be the spatial and temporal step sizes respectively,whereNandMare numbers of subintervals inxandtdirections respectively.Therefore,for this problem we select pointsfrom a grid of domain [0,1 ]× [0,T], where,xi=0+ih,i=0,1,...,Mandtj=0+jk,j=0,1,...,N.Letwijbe the approximate solution atBy applying the central differences touxanduxx, and the backward difference tout, we get the following nonlinear system:

For the unknownsz1,z2,...,zM.The last termwi,j-1is known from the previous time step.The first and the last equations in the system can be replaced by using the given boundary conditions.In our problem,the first and the last equations in the system are

So, we haveMequations withMunknowns.

We find the approximate solution of the problem using the proposed method PM5atx=0.5 andt=0.2.To check the effect of the temporal step sizes on the solution,we select different values fork,which means a different number of steps to reach the wanted time.Consider for our problem that the diffusion coefficientD=0.05,α=5, and β=4.The exact solution of the given Burgers’ equation is given by:

The exact solution for this problem isu( 0.5,0.2)=0.2277071734....Based on spatial step size equalswe chooseX0=Tab.8 illustrates the numerical results of this problem.The effect of the selectedkis clear.The results become better whenever we have a smaller temporal step size.Based on that,we will compare our proposed schemes to the other schemes forh=0.1 andk=0.01.We compare the approximate solutions atx=0.5 andt=0.2 forn=3 andn=4,that isX3andX4.Also,we find the norms of the functionsF X3( )andF X3( ).Finally,we find the norm of the difference between the two consecutive iterationsX4-X3for each selected method.Comparisons results are shown in Tab.9.It is clear that the proposed schemes perform in a good way, and in general, give results which are better than the other selected schemes.

Table 8:Numerical results for Problem 2

Table 9:Comparisons between different methods for Problem 2

7 Conclusion

In this study,we have proposed an iterative scheme for systems of nonlinear equations of fifth-order of convergence.We have improved the proposed scheme to a generalized scheme of arbitrary odd order.The proposed method is based on Frontini-Sormani iterative method and developed using additional step with the usage of first derivative approximation.The software Mathematica has been used to show the order of convergence of the proposed method.Different comparisons were used to compare our proposed scheme to the other schemes of the same order, including the efficiency index, computational efficiency index,basins of attractions and several numerical problems.Comparisons show that the efficiency index and the computational efficiency index need not be proper tools for the efficiency of the iterative scheme.As an application, we test the proposed method on the mixed Hammerstein integral equation and Burgers’equation.Comparisons show that the proposed scheme is of excellent performance and overall, it is comparable to the other iterative techniques used in the comparisons regarding the convergence speed,accuracy and the area of convergence in the basins of attraction.

Funding Statement:We are grateful for the financial support from UKM’s research Grant GUP-2019-033.

Conflicts of Interest:The authors declare that they have no conflicts of interest to report regarding the present study.