1 Introduction

In many branches of applied mathematics, chemistry, physics and engineering, efficient solvers of nonlinear problems are needed: in mass and heat transfer within porous catalyst particles, some boundary value problems for integro-differential equations appear that, after accurate discretization, Adomian decomposition or other techniques, yield to a nonlinear system of equations (see, for example [1] and [2]). Also nonlinear reaction-diffusion equations arise in autocatalytic chemical reactions (see [3]) or the analysis of the electronic structure of the hydrogen-atom in strong magnetic fields can be treated numerically, [4], by using iterative procedures for solving nonlinear problems. In fact, the numerical treatment of some specific chemical problems can help researchers to check their models of observable phenomena [5].

Efficient iterative methods are necessary for solving nonlinear Hammerstein integral equations arising from chemical phenomena. The following integral equation, called COSMO-RS (see [6, 7]), forms the basis for the conductor like screening model for real solvent which appeared in chemical phenomenon:

$$\begin{aligned} \mu _{S}(\sigma )= {}_{R}T \ln {\left[ \int P_{S}(\sigma ') \exp {\left( -\frac{E_{int}(\sigma ,\sigma ')-\mu _{S}(\sigma ')}{RT} \right) d\sigma '} \right] }, \end{aligned}$$

where \(R\) is the gas constant, \(T\) is the temperature and the term \(E_{int}(\sigma , \sigma ')\) denotes the interaction energy expression for the segments with screening charge density \(\sigma \) and \(\sigma '\) respectively, the molecular interaction in solvent is \(P_S(\sigma )\) and the chemical potential of the surface segments is described by \(\mu _S(\sigma )\) which is to be determined. The resulting chemical potentials are the basis for other thermodynamic equilibrium properties such as activity co-efficients, solubility, partition co-efficients, vapor pressure and free energy of solvation (see [811]. Quantum chemical effects like group-group interaction, mesomeric effects and inductive effects also are incorporated into COSMO-RS by this approach.

By using a particular discretization we can reduce the integral equation to algebraic nonlinear system and we can solve it by any iterative method.

The best known iterative scheme for solving a nonlinear system of equations \(F(x)=0\) (being \(F:D\subset {\mathbb {R}}^{n}\rightarrow {\mathbb {R}}^{n}\)), \(n\ge 1\) and the most used one, is Newton’s method. Its iterative expression is

$$\begin{aligned} x^{(k + 1)}&= x^{(k)} - [F'(x^{(k)})]^{-1}F(x^{(k)}),\ \ k=0,1,\ldots \end{aligned}$$
(1)

where \(F'(x)\) denotes the Jacobian matrix associated to function \(F\). In last years, some researchers in the area have developed higher order iterative procedures, trying to improve the efficiency and applicability of Newton’s method. See, for example [12] and the references therein. Some concepts related with these aims are described in the rest of the section.

Firstly, we remember some known notions and results that we need in order to analyze the convergence of the developed methods.

Definition 1

Let \(\{x^{(k)}\}_{k \ge 0}\) be a sequence in \({\mathbb {R}}^{n}\) convergent to \(\alpha \). Then, convergence is said to be

  1. (a)

    linear, if there exist \(M\), \(0 < M < 1\), and \(k_0 \in {\mathbb {N}}\) such that

    $$\begin{aligned} ||x^{(k+1)}- \alpha || \le M ||x^{(k)}- \alpha ||,\quad \forall k \ge k_0. \end{aligned}$$
  2. (b)

    of order \(p\), \(p>1\), if there exist \(M\), \(M>0\), and \(k_0 \in {\mathbb {N}}\) such that

    $$\begin{aligned} ||x^{(k+1)}- \alpha || \le M ||x^{(k)}- \alpha ||^p,\quad \forall k \ge k_0. \end{aligned}$$

In the numerical tests, we will use the concept of approximated computational order of convergence, that was introduced in [13] as follows

Definition 2

Let \(\alpha \) be a zero of a function \(F\) and suppose that \(x^{(k-1)}\), \(x^{(k)}\) and \(x^{(k+1)}\) are three consecutive iterations close to \(\alpha \). Then, the approximated computational order of convergence \(p\) estimates the theoretical order of convergence and can be calculated by means of the formula

$$\begin{aligned} p \approx ACOC = \frac{ln(||x^{(k+1)}- x^{(k)}||/||x^{(k)}- x^{(k-1)}||)}{ln(||x^{(k)}- x^{(k-1)}||/||x^{(k-1)}- x^{(k-2)}||)}. \end{aligned}$$

In addition, in order to compare different methods, we will also use the efficiency index, \(I=p^{1/d}\), where \(p\) is the order of convergence and \(d\) is the total number of new functional evaluations, per iteration, required by the scheme. Related to this, Kung and Traub [14] conjectured that the order of convergence of any iterative method without memory for solving nonlinear equations cannot exceed the bound \(2^{d-1}\), (called the optimal order). This conjecture was defined only for scalar equations but it can be useful to classify the methods for systems and to select the most efficient ones. Ostrowski’s method [15], Jarratt’s scheme [16] and King’s procedure [17] are some of optimal one-dimensional fourth order methods, being Jarratt’s procedure specially useful for the multidimensional case. The notation that will be used in the proof of the main result of the convergence analysis was introduced in [18].

The dynamical behavior of the rational function obtained by applying the fixed point operator of an iterative method on a low degree polynomial gives us important information about its stability and reliability. In this context, recently different results have appeared in the literature (see for example [1925]).

The rest of the paper is organized as follows: in Sect. 2, we introduce the parametric family of iterative methods and show its local order of convergence. A dynamical study of the parametric family is presented in Sect. 3, in order to see which is the relation between the stability of a method and the value of the parameter. In the numerical section, we apply different elements of our family for solving the nonlinear system resulting from the discretization of the equation of molecular interaction. Finally, some conclusions are established in the last section.

2 The proposed family and its convergence

In this paper, we propose a one-parametric family of iterative methods, that can be used for \(n \ge 1\), whose expression is

$$\begin{aligned} y^{(k)}&= x^{(k)} - \frac{2}{3}\left[ F'(x^{(k)})\right] ^{-1}F\left( x^{(k)}\right) ,\nonumber \\ x^{(k + 1)}&= x^{(k)} - \left( I - \frac{3}{4}A^{-1} B\right) \left[ F'(x^{(k)})\right] ^{-1}F\left( x^{(k)}\right) ,\quad k=0,1,\ldots \end{aligned}$$
(2)

where \(u ^{(k)} = [F'(x^{(k)})]^{-1}\left( F'(y^{(k)}) - F'(x^{(k)})\right) \), \(A= I + (\frac{3}{2} + \beta )u^{(k)}\), \(B=u^{(k)} + \beta u^{(k)^{2}}\) and \(\beta \) is an arbitrary parameter.

A known method appear in this family when an specific value of the parameter is chosen; if \(\beta =0\), Jarratt’s scheme is obtained.

Theorem 1

Let \(\alpha \in D\) be a zero of a sufficiently differentiable function \(F:D \subseteq \mathbb {R}^n \rightarrow \mathbb {R}^n, n \ge 1\), in a convex set D with nonsingular Jacobian at \(\alpha \), and let also \(x^{(0)}\) be an initial approximation close enough to \(\alpha \). For any real value of parameter \(\beta \), the scheme defined in (2) provides fourth order of convergence, whose error equation is given by

$$\begin{aligned} e^{(k + 1)} = \left( \left( 1 - \frac{8}{3}\beta \right) C_{2}^3 - {C_{3}}{C_{2}} + \frac{1}{9}{C_{4}}\right) e^{(k)^4} + O\left( e^{(k)^5}\right) , \end{aligned}$$

where \(C_j = \frac{1}{j!}[F'(\alpha )]^{ - 1}F^{(j)}(\alpha )\), \(j = 2,3,\ldots \) and \({e^{(k)}} = x^{(k)} - \alpha \).

Proof

By using Taylor expansion of \(F({x^{(k)}})\)v and \({F'}({x^{(k)}})\) around \(\alpha \),

$$\begin{aligned} F({x^{(k)}}) = {F'}(\alpha )\left( {e^{(k)}} + {C_2}{e^{(k)}}^2 +{C_3}{e^{(k)}}^3 + {C_4}{e^{(k)}}^4 + O\left( {e^{(k)}}^5\right) \right) \end{aligned}$$

and

$$\begin{aligned} {F'}({x^{(k)}}) = {F'}(\alpha )\left( I + 2{C_{2}}{e^{(k)}} + 3{C_{3}}{e^{(k)}}^{2} + 4{C_{4}}{e^{(k)}}^3 + O\left( {e^{(k)}}^4\right) \right) . \end{aligned}$$
(3)

Forcing \([{F'}({x^{(k)}})]^{ - 1}{F'}({x^{(k)}})={F'}({x^{(k)}})[{F'}({x^{(k)}})]^{ - 1}=I\), we get

$$\begin{aligned} {\left[ {F'}({x^{(k)}})\right] ^{ - 1}} = \left( I + {X_{2}}{e^{(k)}} + {X_{3}}{e^{(k)}}^{2} + {X_{4}}{e^{(k)}}^3 + O({e^{(k)}}^4) \right) {[{F'}(\alpha )]^{ - 1}}, \end{aligned}$$

where \(X_1=I\) and \({X_m} = -\sum _{j=2}^{m}{j X_{m-j+1}C_j}\), \(m=2,3,\ldots \). Then, the error expression in the first step of the method is

$$\begin{aligned} {y^{(k)}} - \alpha&= \frac{1}{3}{e^{(k)}} + \frac{2}{3}{C_{2}}{e^{(k)}}^{2} - \frac{4}{3}\left( C_{2}^{2} - {C_{3}}\right) {e^{(k)}}^3\\&\quad +\, \frac{2}{3}\left( 4C_{2}^3 - 4{C_{2}}{C_{3}} - 3{C_{3}}{C_{2}} + 3{C_{4}}\right) {e^{(k)}}^4 + O\left( {e^{(k)}}^5\right) . \end{aligned}$$

Furthermore,

$$\begin{aligned} {F'}\left( {y^{(k)}}\right) \!=\!{F'}(\alpha )\left( I\!+ \frac{2}{3}{C_{2}}{e^{(k)}} \!+\frac{4}{3}C_{2}^{2} + \frac{1}{3}{C_{3}}{e^{(k)}}^{2} + {Y_{4}}{e^{(k)}}^3 + O\left( {e^{(k)}}^4\right) \right) ,\quad \end{aligned}$$
(4)

where \({Y_{4}} = - \frac{8}{3}C_{2}^3 + \frac{8}{3}{C_{2}}{C_{3}} + \frac{4}{3}{C_{3}}{C_{2}} + \frac{4}{{27}}{C_{4}}\).

We get the Taylor expansion of \({u^{(k)}}\) by using (3) and (4):

$$\begin{aligned} {u^{(k)}}&= {\left[ {F'}({x^{(k)}})\right] ^{ - 1}}\left[ {F'}({y^{(k)}}) - {F'}({x^{(k)}})\right] \\&= - \frac{4}{3}{C_{2}}{e^{(k)}} + \left( 4C_{2}^{2} - \frac{8}{3}{C_{3}} \right) {e^{(k)}}^{2} + \left( - \frac{{32}}{3}C_{2}^3 \right. \\&\left. \quad +\, 8{C_{2}}{C_{3}}+ \frac{{16}}{3}{C_{3}}{C_{2}} - \frac{{104}}{{27}}{C_{4}} \right) {e^{(k)}}^3 + O\left( {e^{(k)}}^4\right) . \end{aligned}$$

So, we can obtain

$$\begin{aligned}&{\left[ I + \left( \frac{3}{2} + \beta \right) {u^{(k)}}\right] ^{ - 1}} = I + \frac{4}{3}\left( \frac{3}{2} + \beta \right) {C_{2}}{e^{(k)}}\\&\qquad + \frac{2}{9}(3 + 2\beta )\left( (4\beta - 3)C_{2}^{2} + 6{C_{3}} \right) {e^{(k)}}^{2} \\&\qquad +\, \frac{4}{{27}}(2\beta + 3) \left( (8{\beta ^{2}} - 12\beta )C_{2}^3+ (24\beta + 9){C_{2}}{C_{3}} - 18{C_{3}}{C_{2}} + 13{C_{4}} \right) {e^{(k)}}^3 \\&\qquad +\, \frac{2}{{81}}(2\beta + 3) (144\beta C_{3}^{2} + 100{C_{5}}){e^{(k)}}^4 + O\left( {e^{(k)}}^5\right) . \end{aligned}$$

Then,

$$\begin{aligned}&\left( I - \frac{3}{4} A^{-1}B \right) [F'(x^{(k)})]^{-1}F(x^{(k)})= e^{(k)} \\&\qquad +\, \left( \left( 1 - \frac{8}{3}\beta \right) C_{2}^3+ C_{3}C_{2} - \frac{1}{9}C_{4} \right) {e^{(k)}}^4 + O\left( {e^{(k)}}^5\right) . \end{aligned}$$

Hence, the error equation is

$$\begin{aligned} {e^{(k + 1)}} = \left( \left( 1 - \frac{8}{3}\beta \right) C_{2}^3 - {C_{3}}{C_{2}} + \frac{1}{9}{C_{4}} \right) {e^{(k)}}^4 + O\left( {e^{(k)}}^5\right) \end{aligned}$$

and the proof is finished. \(\square \)

As this class of methods holds an infinity of specific procedures, it is necessary to extract some particular cases. The criterium to do this must be of efficiency, in some sense:

  • When \(\beta =-\frac{3}{2}\), the iterative expression becomes simpler,

    $$\begin{aligned} x^{(k + 1)}&= x^{(k)} - \left( I - \frac{3}{4} \left( u^{(k)} - \frac{3}{2} u^{(k)^{2}}\right) \right) \left[ F'(x^{(k)})\right] ^{-1}F\left( x^{(k)}\right) . \end{aligned}$$
  • When \(\beta =0\), classical Jarratt’s method is found,

    $$\begin{aligned} x^{(k + 1)}&= x^{(k)} - \left( I - \frac{3}{4}\left[ A \right] ^{-1} u^{(k)}\right) \left[ F'(x^{(k)})\right] ^{-1}F(x^{(k)}), \end{aligned}$$

    where \(A= I + \frac{3}{2}u^{(k)}\).

  • If \(\beta =\frac{3}{8}\), the error equation is simpler,

    $$\begin{aligned} x^{(k + 1)}&= x^{(k)} - \left( I - \frac{3}{4}\left[ A \right] ^{-1} B\right) \left[ F'(x^{(k)})\right] ^{-1}F\left( x^{(k)}\right) , \end{aligned}$$

    where \(A=I + \frac{15}{8}u^{(k)}\) and \(B=Au^{(k)}=u^{(k)} + \frac{15}{8} u^{(k)^{2}}\).

These elements of the family can be, or not, the best ones. In order to have objective criteria to select them, we introduce in the following section a dynamical analysis of the family. This study will allow us to find the most stable and efficient elements of the class.

3 Dynamical study of the family

Firstly, some dynamical concepts of complex dynamics that are used in this work are shown (see [26]). Given a rational function \(R:\hat{\mathbb {C}}\rightarrow \hat{\mathbb {C}}\), where \(\hat{\mathbb {C}}\) is the Riemann sphere, the orbit of a point \(z_{0} \in \hat{\mathbb {C}}\) is defined as

$$\begin{aligned} \left\{ z_{0},\,R\left( z_{0}\right) ,\,R^{2}\left( z_{0}\right) ,\ldots ,R^{n}\left( z_{0}\right) ,\ldots \right\} . \end{aligned}$$

A point \(z_0\in \hat{\mathbb {C}}\), is called a fixed point of \(R(z)\) if it verifies that \(R(z)=z\). Moreover, \(z_0\) is called a periodic point of period \(p>1\) if it is a point such that \(R^{p}\left( z_{0}\right) =z_{0}\) but \(R^{k}\left( z_{0}\right) \ne z_{0}\), for each \(k<p\). Moreover, a point \(z_0\) is called pre-periodic if it is not periodic but there exists a \(k>0\) such that \(R^{k}\left( z_{0}\right) \) is periodic.

There exist different types of fixed points depending on its associated multiplier \(|R^{\prime }(z_{0})|\). Taking the associated multiplier into account, a fixed point \(z_{0}\) is called:

  • superattractor if \(|R^{\prime }(z_{0})|=0\),

  • attractor if \(|R^{\prime }(z_{0})|<1\),

  • repulsor if \(|R^{\prime }(z_{0})|>1\),

  • and parabolic if \(|R^{\prime }(z_{0})|=1\).

The fixed point operator of any iterative method on an arbitrary polynomial \(p(z)\) is a rational function. The fixed points of this rational function that do not correspond to the roots of the polynomial \(p(z)\) are called strange fixed points. On the other hand, a critical point \(z_{0}\) is a point which satisfies that \(R^{\prime }\left( z_{0}\right) =0\).

The basin of attraction of an attractor \(\alpha \) is defined as

$$\begin{aligned} {\mathcal {A}}\left( \alpha \right) =\left\{ z_{0}\in \hat{\mathbb {C}} \ : \ R^{n}\left( z_{0}\right) {\rightarrow }\alpha , \ n{\rightarrow }\infty \right\} . \end{aligned}$$

The Fatou set of the rational function \(R\), \(\mathcal {F} \left( R\right) \), is the set of points \(z \in \hat{\mathbb {C}}\) whose orbits tend to an attractor (fixed point, periodic orbit or infinity). Its complement in \(\hat{\mathbb {C}}\) is the Julia set, \(\mathcal {J}\left( R\right) \). That means that the basin of attraction of any fixed point belongs to the Fatou set and the boundaries of these basins of attraction belong to the Julia set.

The fixed point operator associated to the family of methods (2) in the scalar case, on a nonlinear function \(f(z)\) is

$$\begin{aligned} G(z)=z-\left( 1-\frac{3}{4} \frac{u(1+\beta u)}{1+u (\beta +\frac{3}{2})}\right) \frac{f(z)}{f'(z)}, \end{aligned}$$
(5)

where \(u=\frac{f'(y)-f'(z)}{f'(z)}\) and \(y\) is

$$\begin{aligned} y=z-\frac{2}{3}\frac{f(z)}{f'(z)}. \end{aligned}$$
(6)

By applying this operator on a generic polynomial \(p(z)=(z-a)(z-b)\), and by using the Möebius map \(h(z)=\frac{z-a}{z-b}\), whose properties are

$$\begin{aligned} \text{(i) } \quad h\left( \infty \right) =1, \qquad \text{(ii) } \quad h\left( a \right) =0, \qquad \text{(iii) } \quad h\left( b \right) =\infty , \end{aligned}$$

the rational operator associated to the family of iterative schemes is finally

$$\begin{aligned} Op(z,\beta )=\frac{z^4 \left( 8 \beta -3z^{2} + (4\beta -6)z - 3\right) }{(8 \beta -3 )z^{2}+(4 \beta -6)z-3}. \end{aligned}$$
(7)

3.1 Study of the fixed points and their stability

It is clear that \(z=0\) and \(z=\infty \) are fixed points of \(Op(z,\beta )\) (related to the roots \(a\) and \(b\), respectively, of the polynomial \(p(z)\)). On the other hand, we can see, by solving the equation \(Op(z,\beta )=z\), that \(z=1\) is a strange fixed point, which is associated with the original convergence to infinity. Moreover, there are also another four strange fixed points which correspond with the roots of the polynomial

$$\begin{aligned} q(z)=3+(9-4 \beta )z+12(1-\beta ) z^{2}+(9-4\beta ) z^3+3 z^4, \end{aligned}$$

whose analytical expressions, depending on \(\beta \), are:

$$\begin{aligned} ex_1(\beta )&= \frac{1}{12}\Biggl (-9 + 4\beta - \sqrt{9 + 8\beta (9 + 2\beta )}\\&\quad -\,\sqrt{32\beta ^{2} - 8\beta \sqrt{9 + 8\beta (9 + 2\beta )} + 18\left( -3 + \sqrt{9 + 8\beta (9 + 2\beta )} \right) } \Biggr ),\\ ex_{2}(\beta )&= \frac{1}{12} \Biggl (-9+4 \beta -\sqrt{9+8 \beta (9+2 \beta )}\\&\quad +\,\sqrt{32 \beta ^{2}-8 \beta \sqrt{9+8 \beta (9+2 \beta )}+18 \left( -3+\sqrt{9+8 \beta (9+2 \beta )}\right) }\Biggr ),\\ ex_{3}(\beta )&= \frac{1}{12} \Biggl (-9+4 \beta +\sqrt{9+8 \beta (9+2 \beta )}\\&\quad -\,\sqrt{-18 \left( 3+\sqrt{9+8 \beta (9+2 \beta )}\right) +8 \beta \left( 4 \beta +\sqrt{9+8 \beta (9+2 \beta )}\right) }\Biggr ),\\ ex_{4}(\beta )&= \frac{1}{12} \Biggl (-9+4 \beta +\sqrt{9+8 \beta (9+2 \beta )}\\&\quad +\,\sqrt{-18 \left( 3+\sqrt{9+8 \beta (9+2 \beta )}\right) +8 \beta \left( 4 \beta +\sqrt{9+8 \beta (9+2 \beta )}\right) }\Biggr ). \end{aligned}$$

There exist relations between the strange fixed points and they are described in the following result.

Lemma 1

The number of simple strange fixed points of operator \(Op\left( z,\beta \right) \) is five, except in the following cases:

  1. (i)

    If \(\beta =0\), then \(ex_1(\beta )=ex_{2}(\beta )=-1\) that is not a fixed point, so there only exist three simple strange fixed points.

  2. (ii)

    If \(\beta = \frac{9}{5}\), then \(ex_{3}(\beta )=ex_{4}(\beta )=1\), and as a consequence the family has three strange fixed points, one of them of multiplicity three.

  3. (iii)

    If \(\beta =\frac{3}{4} \left( -3-2 \sqrt{2}\right) \) or \(\beta = \frac{3}{4} \left( -3+2 \sqrt{2}\right) \), then \(ex_1(\beta )=ex_{3}(\beta )\) and \(ex_{2}(\beta )=ex_{4}(\beta )\) and there exist three strange fixed points, two of them double.

Moreover, for all values of the parameter \(\beta \), \(ex_1(\beta )=\frac{1}{ex_{2}(\beta )}\) and \(ex_{3}(\beta )=\frac{1}{ex_{4}(\beta )}\).

Related to the stability of that strange fixed points, the first derivative of \(Op(z,\beta )\) must be calculated

$$\begin{aligned} Op'\left( z,\beta \right) =\frac{12 z^3 (1+z)^{2} \left( 3+6 z+3 z^{2}-8 \beta -4 z \beta -8 z^{2} \beta +8 z \beta ^{2}\right) }{\left( -3-6 z-3 z^{2}+4 z \beta +8 z^{2} \beta \right) ^{2}}. \end{aligned}$$
(8)

Taking into account that the methods of family (2) have order of convergence four and the origin and \(\infty \) correspond to the roots of \(p(z)\) from Möebius map, it is immediate that the origin and \(\infty \) are superattractive fixed points for every value of \(\beta \).

The stability of the other fixed points is more complicated and will be shown in a separate way. First of all, focussing the attention in the strange fixed point \(z=1\), which is related to the original convergence to \(\infty \), and the following result can be shown.

Due to the complexity of the stability function of each one of the strange fixed points, \(Op'\left( ex_i,\beta \right) \), to characterize its domain analytically is not affordable. We will use the graphical tools of software Mathematica in order to obtain the regions of stability of each of them (those \(z \in {\mathbb {C}}\) such that \(|Op'(z, \beta )|<1\)), in the complex plane. In Fig. 1, the stability region of \(z=1\) can be observed, whose shape is an oval in the complex plane, symmetric respect to the real axis. In Fig. 2, the regions of stability of \(ex_1(\beta )\) and \(ex_{3}(\beta )\) are shown (the ones of \(ex_{2}(\beta )\) and \(ex_{4}(\beta )\) are the same respectively, as the points are conjugated). Taking into account these regions the following result summarize the behavior of the strange fixed points.

Fig. 1
figure 1

Stability region of \(z=1\)

Fig. 2
figure 2

Stability region of \(ex_{1}(\beta )\) and \(ex_{3}(\beta )\)

Theorem 2

The strange fixed point \(z=1\) is super-attractor if \(\beta =1.5\) or if \(\beta \) is inside the oval that appears in Fig. 1. On the other hand:

  • The stability of \(ex_{1}(\beta )\) and \(ex_{2}(\beta )\) is the same. In particular, they are attractive if \(\beta \) is inside the cardioid that appears in the left hand of Fig. 2.

  • The stability of \(ex_{3}(\beta )\) and \(ex_{4}(\beta )\) is the same. In particular, they are attractive if \(\beta \) is inside the oval that appears in the right hand of Fig. 2.

As a conclusion we can remark that the number and the stability of the fixed points depend on the parameter \(\beta \).

3.2 Study of the critical points and parameter spaces

In this section, the critical points will be calculated and the parameter spaces associated to the free critical points will be shown. It is well known that there is at least one critical point associated with each invariant Fatou component. The critical points of the family are the solutions of \(Op'(z,\beta )=0\), where \(Op'(z,\beta )\) is described in (8).

By solving this equation, it is clear that \(z=0\) and \(z=\infty \) are critical points, which are related to the roots of the polynomial \(p(z)\) and they have associated their own Fatou component. Moreover, there exist critical points no related to the roots, these points are called free critical points. Their expressions are:

$$\begin{aligned} cr_0&= -1,\\ cr_1(\beta )&= \frac{3-2 \beta +4 \beta ^{2}-2 \sqrt{9 \beta -9 \beta ^{2}-4 \beta ^3+4 \beta ^4}}{-3+8 \beta }\\ \end{aligned}$$

and

$$\begin{aligned} cr_{2}(\beta )=\frac{3-2 \beta +4 \beta ^{2}+2 \sqrt{9 \beta -9 \beta ^{2}-4 \beta ^3+4 \beta ^{4}}}{-3+8 \beta }. \end{aligned}$$

The relations between the free critical points are described in the following result.

Lemma 2

  1. (a)

    If \(\beta =0\) or \(\beta =-3/2\)

    1. (i)

      \(cr_1=cr_{2}=-1\).

  2. (b)

    If \(\beta =1\) or \(\beta = 3/2\)

    1. (i)

      \(cr_1=cr_{2}=1\).

  3. (c)

    For other values of \(\beta \)

    1. (i)

      The family has three free critical points.

It is easy to see that \(cr_{0}=-1\) is a pre-periodic point as it is the pre-image of the fixed point related to the convergence to infinity, \(z=1\), and the other free critical points are conjugated \(cr_1(\beta )=1/cr_{2}(\beta )\). So, there are only two independent free critical points and only one is not pre-periodic. Without loss of generality, we consider in this paper the free critical point \(cr_1(\beta )\). In order to find the best members of the family in terms of stability, the parameter space corresponding to this independent free critical point will be shown.

The study of the orbits of the critical points gives rise about the dynamical behavior of an iterative method. In concrete, to determine if there exists any attracting strange fixed point or periodic orbit, the following question must be answered: For which values of the parameter, the orbits of the free critical points are attracting periodic orbits? In order to answer this question we are going to draw the parameter space [27]. In it, each point is associated to a complex value of parameter \(\beta \), that is, to an element of the family of iterative methods. When the critical point is used as an initial estimation, for each value of the parameter, the color of the point tell us about the place it has converged to: to a fixed point, to an attracting periodic orbit or even the infinity.

Fig. 3
figure 3

Parameter space associated to the free critical point \(cr_{1}(\beta )\)

In Fig. 3, the parameter space associated to \(cr_1(\beta )\) is shown. A point is painted in cyan if the iteration of the method starting in \(z_0=cr_1(\beta )\) converges to the fixed point 0 (related to root \(a\)), in magenta if it converges to \(\infty \) (related to root \(b\)) and in yellow if the iteration converges to 1 (related to \(\infty \)). Moreover, it appears in red the convergence, after a maximum of 2,000 iterations and with a tolerance of \(10^{-6}\), to any of the strange fixed points, in orange the convergence to 2-cycles, in light green the convergence to 3-cycles, in dark red to 4-cycles, in dark blue to 5-cycles, in dark green to 6-cycles, dark yellow to 7-cycles, and in white the convergence to 8-cycles. The regions in black correspond to zones of convergence to other cycles. As a consequence, every point of the plane which is neither cyan nor magenta is not a good choice of \(\beta \) in terms of numerical behavior.

Fig. 4
figure 4

Details of parameter space associated to the free critical point \(cr_1(\beta )\), where there exist regions with convergence problems

In Fig. 4 some details of the parameter spaces are shown. It can be seen that in this region there exist values of \(\beta \) for which the iteration of \(cr_1(\beta )\) converges to cycles, strange fixed points or even to \(z=1\). In concrete, in the left hand it can be observed two large circular zones: the yellow one corresponds to values of \(\beta \) for which \(z=1\) is (super)attractive and the red one is the region where the iteration of the free critical point converges to some of the other strange fixed points.

Fig. 5
figure 5

Dynamical planes for different values of \(\beta \) in which there are no convergence anomalies

Fig. 6
figure 6

Dynamical planes for different values of \(\beta \) in which there are no convergence anomalies

Once the values of the parameter where anomalies appear have been detected, the next step consists on finding them in the dynamical planes. In these dynamical planes the convergence to 0 appear in magenta, in cyan it appears the convergence to \(\infty \) and in black the zones with no convergence to the roots. First of all, in Figs. 5 and 6 the dynamical planes associated with the values of \(\beta \) for which there is no convergence problems, are shown.

Then, focussing the attention in the region shown in Fig. 4 it is evident that there exist members of the family with complicated behavior. In Fig. 7, the dynamical planes of some of this members are shown. In concrete, in the left hand appears the dynamical plane of a member of the family with regions of convergence to any of the strange fixed points, and in the right hand the dynamical plane of a member of the family with regions of convergence to \(z=1\), which is related to the convergence to \(\infty \), is shown.

Fig. 7
figure 7

Dynamical planes for different values of \(\beta \)

Finally, in Figs. 8 and 9, some dynamical planes of members of the family with convergence to different attracting cycles are shown.

Fig. 8
figure 8

Dynamical planes for different values of \(\beta \) for which there exist attracting cycles

Fig. 9
figure 9

Dynamical planes for different values of \(\beta \) for which there exist attracting cycles

4 Numerical results

To solve the equation of molecular interaction, (see [28])

$$\begin{aligned} u_{xx}+u_{yy}&= u^{2},\quad (x,y)\in [0,1]\times [0,1]\nonumber \\ u(x,0)&= 2x^{2}-x+1, \qquad u(x,1)=2 \nonumber \\ u(0,y)&= 2y^{2}-y+1, \qquad u(1,y)=2 \end{aligned}$$
(9)

we need to deal with a boundary value problem with a nonlinear partial differential equation of second order. To estimate its solution numerically, we have used central divided differences in order to transform the problem in a nonlinear system of equations, which is solved by using some elements of the proposed family (for specific values of the parameter \(\beta \)) and also by known methods, as Newton’ and Sharma’s ones ([29]), which has order four and its iterative expression is

$$\begin{aligned} y^{(k)}&= x^{(k)}-\frac{2}{3}\left[ F'(x^{(k)})\right] ^{-1}F\left( x^{(k)}\right) ,\\ x^{(k+1)}&= x^{(k)}-\frac{1}{2}\left[ -I+\frac{9}{4}\left[ F'(y^{(k)})\right] ^{-1} F'\left( x^{(k)}\right) \right. \\&\left. +\frac{3}{4}\left[ F'(x^{(k)})\right] ^{-1}F'\left( y^{(k)}\right) \right] \left[ F'(x^{(k)})\right] ^{-1}F\left( x^{(k)}\right) . \end{aligned}$$

The discretization process yields to the nonlinear system of equations,

$$\begin{aligned}&u_{i+1,j}-4u_{i,j}+u_{i-1,j}+u_{i,j+1}+u_{i,j-1}\nonumber \\&\quad -\,h^{2} u_{i,j}^{2} =0 \ \ i=1,\ldots ,nx, \ \ j=1,\ldots ,ny, \end{aligned}$$
(10)

where \(u_{i,j}\) denotes the estimation of the unknown \(u(x_i,y_j)\), \(x_i=i h\) with \(i=0,1,\ldots ,nx\), \(y_j=j k\) with \(j=0,1,\ldots ,ny\), are the nodes in both variables, being \(h=k=\frac{1}{nx}=\frac{1}{ny}\).

Table 1 Numerical tests
Table 2 Approximated solutions

In this case, we fix \(nx=ny=4\), so a mesh of \(5 \times 5\) is generated. As the boundary conditions give us the value of the unknown function at the nodes \((x_0,y_j), (x_{4},y_j)\) for all \(j\) and also at \((x_i,y_0), (x_i,y_{4})\) for all \(i\), we have only nine unknowns, that are renamed as:

$$\begin{aligned} x_1=u_{1,1},\quad x_{2}=u_{2,1},\quad x_{3}=u_{3,1}, \\ x_{4}=u_{1,2},\quad x_{5}=u_{2,2},\quad x_{6}=u_{3,2}, \\ x_{7}=u_{1,3},\quad x_{8}=u_{2,3},\quad x_{9}=u_{3,3}. \end{aligned}$$

So, the system can be expressed as

$$\begin{aligned} F(x)=Ax+\phi (x)-b=0, \qquad F'(x)=A + 2h^{2} diag(x_1,x_{2},\ldots ,x_{9}) \end{aligned}$$

where

$$\begin{aligned} \begin{array}{cll} A=\left( \begin{array}{ccc} M &{}\quad -I &{}\quad 0\\ -I&{}\quad M &{}\quad -I\\ 0 &{}\quad -I &{}\quad M \end{array} \right) , &{}\quad \text{ being } \quad M=\left( \begin{array}{ccc} 4 &{}\quad -1 &{}\quad 0\\ -1&{}\quad 4 &{}\quad -1\\ 0 &{}\quad -1 &{}\quad 4 \end{array} \right) , \\ \quad \quad \phi (x)= h^{2} (x_1^{2},x_{2}^{2},\ldots ,x_{9}^{2})^T, \end{array} \end{aligned}$$

\(I\) is the \(3\times 3\) identity matrix and \(b=\left( \frac{7}{4},1,\frac{27}{8},1,0,2,\frac{27}{8},2,4 \right) ^T\). Now, we will check the performance of the methods by means of some numerical tests, by using variable precision arithmetics of 2,000 digits of mantissa. These tests have been made by using the stopping criterium \(\Vert F(x^{(k+1)})\Vert +\Vert x^{(k+1)}-x^{(k)}\Vert <10^{-500}\). In this way we assure that, in case of convergence, we have converged to a solution. In Table 1, we show the numerical results obtained for the problem of molecular interaction (10), with different initial estimations. We show, for each method, the number of iterations, the residual of the function at the last iteration, \(\Vert F(x^{(k+1)})\Vert \) and the approximated computational order of convergence \(ACOC\) defined in the Introduction. The value of \(ACOC\) that appears in Table 1 is the last coordinate of vector \(ACOC\) when the variation between its values is small.

In Table 1, we notice that the performance of the selected elements of the proposed family is at least equal and sometimes better than the classical known schemes. The elements of the class that showed good stability in the dynamical study (most of them around 0, like \(\beta =\pm \frac{1}{6}\)) hold very good behavior. In fact, the best results are obtained for \(\beta =\frac{3}{8}\), which simplifies the error equation and presents a basin of good starting points wider than the rest of methods, as we can observe in the last column of Table 1, where the initial estimation is very far from the solution \(\alpha _1\) of the problem, which is approximately shown in Table 2. Although all the methods converge to \(\alpha _1\) for \(x^{(0)}=(1,\ldots ,1)\) and \(x^{(0)}=(5,\ldots ,5)\), a second solution \(\alpha _{2}\) of the nonlinear system appears when \(x^{(0)}=(25,-25,\ldots ,-25,25)\) for \(\beta =-1\).

5 Conclusions

A family of Jarratt-type iterative root-finding algorithms has been extensively studied in terms of stability and convergence. All the fixed points has been calculated and their stability has been also analyzed. Moreover, by means of the parameter space, some anomalies such us convergence to the strange fixed points, convergence to cycles or even chaotical behavior has been found. Some dynamical planes are presented validating the results given. The main conclusion drawn from this study is that the stability of a member of the family depends clearly on the value of the parameter that defines it. By applying stable selected elements of this family, we obtain good numerical results solving the equation of molecular interaction.