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

Computer Geometries for Finding All Real Zeros of Polynomial Equations Simultaneously

Naila Rafiq1, Saima Akram2, Mudassir Shams3,* and Nazir Ahmad Mir1

1Department of Mathematics, NUML, Islamabad, 44000, Pakistan
2Centre for Advanced Studies in Pure & Applied Mathematics, Bahauddin Zakariya University, Multan
3Department of Mathematics and Statistics, Riphah International University I-14, Islamabad, 44000, Pakistan
*Corresponding Author: Mudassir Shams. Email: mudassir4shams@gmail.com
Received: 26 March 2021; Accepted: 27 April 2021

Abstract: In this research article, we construct a family of derivative free simultaneous numerical schemes to approximate all real zero of non-linear polynomial equation. We make a comparative analysis of the newly constructed numerical schemes with a well-known existing simultaneous method for determining all the distinct real zeros of polynomial equations using computer algebra system Mat Lab. Lower bound of convergence of simultaneous schemes is calculated using Mathematica. Global convergence property of the numerical schemes is presented by taking random starting initial approximation and their convergence history are graphically presented. Some real life engineering applications along with some higher degree polynomials are considered as numerical test problems to show performance and efficiency of the derivative free family of numerical methods with comparison of an existing method of same order in literature. Local computational order of convergence, CPU time, graph of computational order of convergence and residual error graphs elaborate efficiency, robustness and authentication of the suggested family of numerical methods in its domain.

Keywords: Polynomials; simultaneous iterative methods; random initial guesses; lower bound; local computational order; CAS-mathematica and mat lab

1  Introduction

One of the most primal problem of science and engineering is locating the zeros of polynomial of degree k with arbitrary real coefficient.

f(x)=i=1kaixi,ak0.(1)

Let ξ1,,ξk denote all the simple zeros of Eq. (1). According to Abel’s impossibility theorem [1] “There is no solution in radical to general polynomial with arbitrary co-efficient of degree five or higher” we therefore look toward numerical schemes to approximate zeros of polynomial Eq. (1).

There exist a lot of numerical schemes in literature which approximate single zeros at a time (see, e.g., [24]). Here, we consider the following family of numerical schemes [5]:

x(n+1)=y(n)-f(x(n))f(x(n))((f(x(n)))2f(y(n))+2f(x(n))f(y(n))+β(f(y(n)))3(f(x(n)))3),(2)

where y(n)=x(n)-f(x(n))f(x(n)) and βR.

The numerical scheme Eq. (2) approximate single zero of Eq. (1) at a time.

Beside these single roots finding methods, mathematicians and engineers are interested in simultaneous numerical schemes which approximate all roots simultaneously. More detail on simultaneous methods, their global convergence and parallel implementation on computer algebra system (CAS) and stability are found in [6,7] and reference cite there in [814].

Therefore, the main aim of this research article is to construct a derivative free numerical scheme which approximates all real zero of Eq. (1). Using CAS-Mathematica, we find the lower bound of convergence to verify convergence order theoretically. Computational order of convergence [15] and convergence history for random initial approximations are graphed to show the efficiency and performance of numerical schemes as compared to other existing methods of same order. Log of residual graph, graphs of computational order of convergence and local computational order of convergence [16] support the global convergence behavior of our newly constructed numerical scheme for estimating all real zeros of Eq. (1).

2  Construction of Numerical Scheme

Corresponding to numerical schemes

y(n)=x(n)-f(x(n))f(x(n)),(3)

for approximating all zeros of Eq. (1), the numerical method is

xi(n+1)=xi(n)-f(xi(n))jij=1k(xi(n)-xj(n)).(i=1,,k)(4)

This numerical method is well known Weierstrass method [17] for approximating all zeros of polynomial Eq. (1) having local quadratic convergence. Using in analogical way as above, we convert Eq. (2) into simultaneous method as:

xi(n+1)=yi(n)-f(xi(n))jij=1k(xi(n)-xj(n))((f(xi(n)))2f(yi(n))+2f(xi(n))f(yi(n))+β(f(yi(n)))3(f(xi(n)))3),(5)

where yi(n)=xi(n)-f(xi(n))jij=1k(xi(n)-xj(n)) and βR. Thus, we have constructed here, a new derivative free family of numerical schemes (abbreviated as MD).

Nedzhibov et al. [18] in 2005, present the following cubic convergence derivative free family of simultaneous numerical schemes (abbreviated as ND) as:

xi(n+1)=xi(n)-f(xi(n))jij=1k(xi(n)-xj(n))(1+f(yi(n))f(xi(n))-2βf(yi(n))).(6)

2.1 Convergence Analysis

Here, we prove the convergence order of the suggested derivative free family of numerical schemes.

Theorem: Let algebraic polynomial Eq. (1) has k number of simple zeros ξ1,,ξk and for sufficiently close initial guesses x1(0),,xk(0) of the zeros, then for arbitrary real parameter β,the numerical scheme MD has third order convergence.

Proof: let i=xi(n)-ξi, i=yi(n)-ξi, i=xi(n+1)-ξi be the errors in xi(n), yi(n) ,xi(n+1) respectively and

Ði=jij=1k(xi(n)-ζjxi(n)-xj(n)). (7)

Iterative schemes Eq. (5) can be written as:

xi(n+1)=yi(n)-wi(xi(n))(Ģi+2Ģi2+βĢi3),(8)

where Ģi=f(yi(n))f(xi(n)) and wi(xi(n))=f(xi(n))jij=1k(xi(n)-xj(n)).

If we express Eq. (1) as f(xi(n))=(x1(n)-ξ1)(xk(n)-ξk)=ijij=1k(xi(n)-ξj), then we have:

f(yi(n))=(y1(n)-ξ1)(yi(n)-ξi).(9)

Substitution in Eq. (5), we have:

f(yi(n))=j=1k(xi(n)-wi(xi(n)-ξj)=(ξi-wi(xi(n)))jij=1k(xi(n)-wi(xi(n))-ξj)=i(1-Ði)jij=1k(xi(n)-wi(xi(n))-ξj).

Then, for Ģi, we have:

Ģ i=i(1-Ði)jij=1k(xi(n)-wi(xi(n))-ξj)ijij=1k(xi(n)-wi(xi(n))-ξj)=(1-Ði)Ri, (10)

where Ri=xi(n)-wi(xi(n))-ξjxi(n)-wi(xi(n))-ξj. Thus, Eq. (5) become:

i=i-iÐi(Ģ i+2Ģ i2+βĢ i3) (11)

i=i-iÐi-iÐi(Ģ i+2Ģ i2+βĢ i3),=i(1-Ði)((1-ÐiRi)-2Ði(1-Ði)Ri2-β(1-Ði)2Ri3).

The following relation holds true:

jij=1k(xi(n)-ζj)(xi(n)-xj)-1=tikεtxi(n)-xt(n)jit-1(xi(n)-ζt)(xi(n)-xj(n)).(12)

If we assume that, absolute values of all errors are of the same order, say |εi|=|εj|=O(|ε|), then

Ði-1=tikεtxi(n)-xt(n)jit-1(xi(n)-ζt)(xi(n)-xj(n))=O(|ε|) (13)

holds. Using ÐiRi=jij=1k(xi(n)-wi(xi(n))ξjxi(n)-xj(n)), we have:

ÐiRi-1=tikxt(n)-wi(xi(n))-ξtxi(n)-xt(n)jit-1xi(n)-wi(xi(n))-ξt(xi(n)-xj(n)),=tikt-iÐixi(n)-xt(n)jit-1xi(n)-wi(xi(n))-ξt(xi(n)-xj(n))=O(||).

Thus,

i=itiktxi(n)-xtjit-1(xi(n)-ζt)(xi(n)-xj(n))(O(||)+2O(||2)Ri+O(||2)Ri3β)=O(3).(14)

Hence, the theorem is proved.

2.2 Using CAS-Mathematica for Finding Lower Bound of Convergence

Consider

f(x)=(x-φ1)(x-φ2)(x-φ3)(15)

and the first component H(x(n)) of iterative scheme Eq. (5) to find zeros of Eq. (15), simultaneously. In order to find lower bound of convergence, we have to express the differential of an operator H(x(n)) in terms of their partial derivate of its component as Hi(x):

H1(x)x1H1(x)x2H1(x)x32H1(x)x122H1(x)x1x22H1(x)x222H1(x)x2x33H1(x)x133H1(x)x12x23H1(x)x1x223H1(x)x233H1(x)x22x3

and to so on.

The lower bound of the convergence is obtained until the first non-zero element of row is found zero (see [19]). The Mathematica program is given for each of the considered method as:

•   MD method

H1(x1,x2,x3):=(x)2jij=1n(xi-xj)xjij=1n(xi-xj)+f(x),

In[1]:=D[H1[x1x2x3], x1]/.{x1φ1,x2φ2,x3φ3}

Out[1]:=0

In[2]:=D[H1[x1x2x3], x2]/.{x1φ1,x2φ2,x3φ3}]

Out[2]:=0

In[2]:=D[H1[x1x2x3], x2]/.{x1φ1,x2φ2,x3φ3}]

Out[2]:=0

In[34]:=Simplify[D[H1[x1x2x3], x1,x1,x1,x2]/.{x1φ1,x2φ2,x3φ3}]

Out[34]:=6(-1+φ3)φ12φ33.

•   ND method

H1(x1,x2,x3):=x-f(x)j=1jin(xi-xj)(1+f(y)f(x)-2βf(y)),

where y=x-f(x)j=1jin(xi-xj) and βR.

In[1]:=D[H1[x1x2x3], x1]/.{x1φ1,x2φ2,x3φ3}]

Out[1]:=0

In[39]:=Simplify[D[H1[r1r2r3], r1,r3,r1,r2]/.{x1φ1,x2φ2,x3φ3}]

Out[39]:=-6(2-2φ3)φ1φ32

3  Numerical Results

Here, some numerical examples from [20,21] are considered with and without random initial approximation to estimate all real zeros of polynomial equation of higher degree. All the computations are performed using Mat Lab R@2011 with 64 digits floating point arithmetic. We take =10-30 as tolerance and use the following stopping criteria

ei=|xi(n+1)-xi(n)|<,

where ei represents the absolute error. We compare our iterative schemes MD with ND of the same convergence order. In all numerical calculations, we take β=2.

Example 1: Consider a stirred tank reactor (SCRT) in which two items A and R are feed in reactor at Q and q-Q rate respectively. A complex reaction

a+rb;b+rc;c+rr;c+re, develops the following function

hc2.98(x+2.25)(x+1.45)(x+2.85)2(x+4.35)=1.(16)

We obtained an algebraic polynomial equation of degree 4 by taking c=0 in Eq. (16)

f1(x)=x4+11.5x3+47.49x2+83.06325x+51.32366875=0

with exact roots:

ζ1=-1.45,ζ2=-2.85,ζ3=-2.85,ζ4=-4.45

Convergence history and computational order of convergence graph (Figs. 1, 4, 7 and 10) of numerical schemes ND, MD are obtained by taking the following random initial guessed valued in our computer program i.e.,

X1=[0.032601;0.5612;0.88187;0.66918],

where X1=[xi(0),i=1,,4]. Using random initial guessed value X1, the iterative scheme MD converges to exact zeros after 100 iteration by consuming 16.848368 s CPU time while ND converges after 155 iterations and consumes 37.249147 s.

images

Figure 1: Shows convergence history of numerical scheme MD for polynomial equation f1(x)

images

Figure 2: Shows convergence history of numerical scheme MD for polynomial equation f2(x)

images

Figure 3: Shows convergence history of numerical scheme MD for polynomial equation f3(x)

images

Figure 4: Shows convergence history of numerical scheme ND for polynomial equation f1(x)

images

Figure 5: Shows convergence history of numerical scheme ND for polynomial equation f2(x)

images

Figure 6: Shows convergence history of numerical scheme ND for polynomial equation f3(x)

images

Figure 7: Shows computational order of convergence of numerical scheme MD for polynomial equation f1(x)

images

Figure 8: Shows computational order of convergence of numerical scheme MD for polynomial equation f2(x)

images

Figure 9: Shows computational order of convergence of numerical scheme MD for polynomial equation f3(x)

images

Figure 10: Shows computational order of convergence of numerical scheme ND for polynomial equation f1(x)

Convergence rates increase by taking the following initial guessed value:

x1(0)=-1.0,x2(0)=-1.1,x3(0)=-2.2,x4(0)=-3.9.

The numerical results are presented in Tabs. 16. In all Tabs. 16, CO presents convergence order, CPU, presents CPU time and local computational order of convergence (LCOC) by σ.

Example 2: Consider

f2(x)=x5-3x4-23x3+51x2+94x-120(17)

with exact roots:

ζ1=1,ζ2=-2,ζ3=3,ζ4=-4,ζ5=5.

For convergence history and computational order of convergence graph (Figs. 2, 5, 8 and 11) of numerical schemes ND, MD, we used the following initial guessed valued in our computer program i.e.,

X2=[0.81472;0.90579;0.12699;0.91338;0.63236]

where X2=[xi(0),i=1,,5]. Using random initial guessed values X2, the iterative scheme MD converges to exact zeros after 92 iteration by consuming 27.056098 s CPU time while ND converges after 98 iterations and consumes 31.444833 s.

Convergence rates increase by taking the following initial guessed value:

x1(0)=0.9,x2(0)=-1.9,x3(0)=2.9,x4(0)=-3.9,x5(0)=4.9

Example 3: Consider

f3(x)=x7-27x6+282x5-1410x4+3249x3-1923x2-3532x+3360(18)

with exact roots:

ζ1=-1,ζ2=1,ζ3=3,ζ4=4,ζ5=7,ζ6=5,ζ7=8.

For convergence history and computational order of convergence graph (Figs. 3, 6, 9 and 12) of numerical schemes ND, MD are obtained by taking the following initial guessed valued in our computer program i.e.,

X3=[0.77029;0.35022;0.66201;0.41616;0.84193;0.83193;0.83292;0.25644],

where X3=[xi(0),i=1,,7]. Using random initial guessed value X3, the iterative scheme MD converges to exact zero after 19 iterations by consuming 13.7714 s CPU time while ND converges after 23 iterations and consumes 18.120062 s.

images

images

images

images

images

images

images

Figure 11: Shows computational order of convergence of numerical scheme ND for polynomial equation f2(x)

images

Figure 12: Shows computational order of convergence of numerical scheme ND for polynomial equation f3(x)

images

Figure 13: Shows residual fall for iterative method MD and ND for polynomial f1(x) respectively

images

Figure 14: Shows residual fall for iterative method MD and ND for polynomial f2(x) respectively

images

Figure 15: Shows residual fall for iterative method MD and ND for polynomial f3(x) respectively

Convergence rates increase by taking the following initial guessed value:

x1(0)=-0.9,x2(0)=0.9,x3(0)=2.5,x4(0)=3.9,x5(0)=6.9,x6(0)=4.5,x7(0)=7.9.

4  Conclusions

Here, we have developed a family of derivative free method for approximating all real zeros of polynomial. Lower bound of convergence of iterative methods MD and ND are calculated using CAS-Mathematica. Using Mat Lab, we graph convergence history and computational order of convergence. From Tabs. 16 and Figs. 115, we observe that our method MD is much better in terms of convergence history, computational order of convergence, numerical results, log of residual and local computational order of convergence as compared to ND method.

Funding Statement: The authors received no specific funding for this study.

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

References

 1.  M. I. Rosen, “Niels hendrik abel and equations of the fifth degree,” American Mathematical Monthly, vol. 102, no. 6, pp. 495–505, 1995. [Google Scholar]

 2.  O. S. Solaiman and I. Hashim, “An iterative scheme of arbitrary odd order and its basins of attraction for nonlinear systems,” Computers, Materials & Continua, vol. 66, no. 2, pp. 1427–1444, 2021. [Google Scholar]

 3.  S. A. Sariman and I. Hashim, “New optimal newton-householder methods for solving nonlinear equations and their dynamics,” Computers, Materials & Continua, vol. 65, no. 1, pp. 69–85, 2020. [Google Scholar]

 4.  C. Chun, “Some variants of king’s fourth-order family of methods for nonlinear equations,” Applied Mathematics and Computation, vol. 190, no. 1, pp. 57–62, 2007. [Google Scholar]

 5.  N. Rafiq, S. Akram, N. A. Mir and M. Shams, “Study of dynamical behavior and stability of iterative methods for nonlinear equation with application in engineering,” Mathematical Problems in Engineering, vol. 2020, pp. 1–20, 2020. [Google Scholar]

 6.  Y. M. Chu, N. Rafiq, M. Shams, S. Akram, N. A. Mir et al., “Computer methodologies for the comparison of some efficient derivative free simultaneous iterative methods for finding roots of non-linear equations,” Computers, Materials & Continua, vol. 66, no. 1, pp. 275–290, 2021. [Google Scholar]

 7.  P. D. Proinov and S. I. Ivanov, “On the convergence of halley’s method for multiple polynomial zeros,” Mediterranean Journal of Mathematics, vol. 12, no. 2, pp. 555–572, 2015. [Google Scholar]

 8.  O. S. Solaiman, S. A. A. Karim and I. Hashim, “Dynamical comparison of several third-order iterative methods for nonlinear equations,” Computers, Materials & Continua, vol. 67, no. 2, pp. 1951–1962, 2021. [Google Scholar]

 9.  N. A. Mir, M. Shams, N. Rafiq, S. Akram and M. Rizwan, “Derivative free iterative simultaneous method for finding distinct roots of polynomial equation,” Alexandria Engineering Journal, vol. 59, no. 3, pp. 1629–1636, 2020. [Google Scholar]

10. P. D. Proinov and M. T. Vasileva, “On a family of weierstrass-type root-finding methods with accelerated convergence,” Applied Mathematics and Computation, vol. 273, pp. 957–968, 2016. [Google Scholar]

11. M. Shams, N. A. Mir, N. Rafiq, A. O. Almatroud and S. A. Akram, “On dynamics of iterative technique for nonlinear equation with application in engineering,” Mathematical Problems in Engineering, vol. 2020, pp. 1–17, 2020. [Google Scholar]

12. S. C. Chapra, Applied Numerical Methods with MATLAB® for Engineers and Scientists, 6th ed. New York: McGraw Hill, 2010. [Google Scholar]

13. V. K. Kyncheva, V. V. Yotov and S. I. Ivanov, “Convergence of newton, halley and chebyshev iterative methods as methods for simultaneous determination of multiple polynomial zeros,” Applied Numerical Mathematics, vol. 112, pp. 146–154, 2017. [Google Scholar]

14. S. I. Cholakov, “Local and semi local convergence of Wang-Zheng’s method for simultaneous finding polynomial zeros,” Symmetry, vol. 11, no. 6, pp. 1–16, 2019. [Google Scholar]

15. F. Soleymani and D. K. R. Babajee, “Computing multiple zeros using a class of quartically convergent methods,” Alexandria Engineering Journal, vol. 52, no. 3, pp. 531–541, 2013. [Google Scholar]

16. S. Akram, M. Shams, N. Rafiq and N. A. Mir, “On the stability of weierstrass type method with king’s correction for finding all roots of non-linear function with engineering application,” Applied Mathematical Sciences, vol. 14, no. 10, pp. 461–473, 2020. [Google Scholar]

17. N. A. Mir, M. Shams, S. Akram and R. Ahmed, “On the family of simultaneous method for finding distinct as well as multiple roots of nonlinear equation,” Punjab University Journal of Mathematics, vol. 52, no. 6, pp. 31–44, 2020. [Google Scholar]

18. G. H. Nedzhibov, “Convergence of the modified inverse weierstrass method for simultaneous approximation of polynomial zeros,” Communication in Numerical Analysis, vol. 16, no.1, pp. 74–80, 2016. [Google Scholar]

19. M. Shams, N. Rafiq, B. Ahmad and N. A. Mir, “Inverse numerical iterative technique for finding all roots of non-linear equations with engineering applications,” Journal of Mathematics, vol. 2021, no. 1, pp. 1–10, 2021. [Google Scholar]

20. M. Shams, N. Rafiq, N. A. Mir, B. Ahmad, S. Abbasi et al., “On computer implementation for comparison of inverse numerical schemes,” Computer System Science and Engineering, vol. 36, no. 3, pp. 493–507, 2021. [Google Scholar]

21. M. R. Farmer, “Computing the zeros of polynomials using the divide and conquer approach,” Ph.D. Thesis, Department of Computer Science and Information Systems, Birkbeck, University of London, 2014. [Google Scholar]

images This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.