Keywords

1 Introduction

Solving nonlinear equations is one of the most important problems in applied mathematics, engineering and science. Sometimes, analytical methods are not applicable to solve nonlinear equations. Let \(\psi \) : \( \mathbb {R} \rightarrow \mathbb {R}\) be a nonlinear differentiable function defined on an open interval \( \mathbb {D}\) such that

$$\begin{aligned} \psi (x)=0 \end{aligned}$$
(1)

We use iterative method for solving such nonlinear equations (1), which is defined as

$$\begin{aligned} x_{n+1}=P(\psi )(x_{n})~~ for ~~n ~=~ 1,~ 2,~ 3,... \end{aligned}$$
(2)

where \(P(\psi )\) is called the iterative function. Newton’s method (NM) [1, 2] is perhaps the most popular root-finding method for solving nonlinear equations, and it is given by

$$\begin{aligned} x_{n+1} = x_{n} - \frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})} \end{aligned}$$
(3)

This is quadratically convergent in some neighbourhood of simple roots. Let \(\alpha \) be the root of equation (1) with multiplicity \(\nu > 1\), i.e. \(\psi ^{(i)}(\alpha )=0\) for \(i=1,2,. . ., \nu -1\) and \(\psi ^{(\nu )}(\alpha ) \ne 0\). When used for finding multiple roots of such nonlinear equations, Newton’s method (3) is linearly convergent. The modified Newton’s method [3] is written as

$$\begin{aligned} x_{n+1} = x_{n} - \nu \frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})} \end{aligned}$$
(4)

This is quadratically convergent for the equation having multiple roots with multiplicity \(\nu >1\). Many researchers have developed iterative methods using the modified Newton method for solving nonlinear equations having multiple roots.

In 2013, Thukral [4] developed the following new six-order method (TM for short) for finding multiple roots of a nonlinear equation:

$$\begin{aligned} y_{n}&= x_{n}- \nu \frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})}\nonumber \\ z_{n}&= x_{n}- \nu \bigg (\sum _{i=1}^{3}i\bigg (\frac{\psi (y_{n})}{\psi (x_{n})}\bigg )^{i/\nu }\bigg )\bigg (\frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})}\bigg )\nonumber \\ x_{n+1}&=z_{n}-\nu \bigg (\sum _{i=1}^{3}i\bigg (\frac{\psi (y_{n})}{\psi (x_{n})}\bigg )^{i/\nu }\bigg )^{2}\bigg (\frac{\psi (z_{n})}{\psi (x_{n})}\bigg )^{\nu ^{-1}}\bigg (\frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})}\bigg ) \end{aligned}$$
(5)

where \(n \in \mathbb {N}\).

Geum et al. [5] also developed a new sixth-order method (GM for short) in 2016 which is written as follows:

$$\begin{aligned} y_{n}&=x_{n}-\nu \frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})}\nonumber \\ z_{n}&=x_{n} - \nu Q_{\psi }(s_{n}) \frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})}\nonumber \\ x_{n+1}&= x_{n} - \nu K_{\psi }(s_{n}, t_{n}) \frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})} \end{aligned}$$
(6)

where \(Q_{\psi }\) and \(K_{\psi }\) are weight functions, \(s_{n}=\bigg (\frac{\psi (y_{n})}{\psi (x_{n})}\bigg )^{\frac{1}{\nu }}\) and \(t_{n}=\bigg (\frac{\psi (z_{n})}{\psi (x_{n})}\bigg )^{\frac{1}{\nu }}\).

In 2017, Qudsi et al. [6] developed the following method (QM for short) of sixth order:

$$\begin{aligned} y_{n}&=x_{n} - t\nonumber \\ z_{n}&=x_{n}-t\bigg ( 1+\frac{\psi (y_{n})}{\psi (x_{n})}\bigg (1+2\frac{\psi (y_{n})}{\psi (x_{n})}\bigg )\bigg )\nonumber \\ x_{n+1}&= x_{n}-t\bigg ( 1+\frac{\psi (y_{n})}{\psi (x_{n})}\bigg (1+2\frac{\psi (y_{n})}{\psi (x_{n})}\bigg ) +\frac{\psi (z_{n})}{\psi (x_{n})}\bigg (1+2\frac{\psi (y_{n})}{\psi (x_{n})}\bigg )\bigg ) \end{aligned}$$
(7)

where \(t=\frac{2\psi ^{2}(x_{n})}{\psi (x_{n}+\psi (x_{n}))-\psi (x_{n}-f(x_{n}))}\).

Moreover, Singh et al. [7] developed a new fourth-order method in 2015. In the year 2019, Bhel et al. [8] developed multiple roots version of Ostrowski’s method having fourth order of convergence. W. H. Chanu et al. also proposed an iterative method of fifth order in [9], Qudsi et al. [10] developed a new iterative method of order six, Kattri [11] proposed a new sixth-order iterative method, etc. In this work, we have introduced a higher order iterative method for solving nonlinear equations having multiple roots. In the following sections, we present the development of our new method, numerical results and conclusion.

2 Development of the Method

In this section, we propose a new sixth-order method for determining the multiple roots of nonlinear equation (1) with multiplicity \(\nu >1\) as follows:

$$\begin{aligned} y_{n}&= x_{n} - \frac{2\nu }{\nu +1}\frac{\psi (x_{n})}{\psi ^{\prime }(x_{n})}\nonumber \\ z_{n}&=x_{n}-\frac{\psi (y_{n})(\nu ^{2}-1)-\big (\frac{\nu -1}{\nu +1}\big )^{\nu }(\nu (\nu -4)-1)\psi (x_{n})}{{4\big (\frac{\nu -1}{\nu +1}\big )^{\nu }}\psi ^{\prime }(x_{n})}\nonumber \\ x_{n+1}&= z_{n} - \nu \frac{\psi (z_{n})}{\psi ^{\prime }(z_{n})} \end{aligned}$$
(8)

Theorem 1

Let \( \alpha \in \mathbb {R}\) be a multiple root of multiplicity \(\nu \) of a sufficiently differentiable function \(\psi : \mathbb {D} \rightarrow \mathbb {R}\) in an open interval \(\mathbb {D}\) which is a subset of \(\mathbb {R}\). Let \(x_0\) be an initial guess of the root \( \alpha \). Then, the method defined by (8) has six orders of convergence.

Proof

Let \(\alpha \) be a root of multiplicity \(\nu \) of \(\psi (x)=0 \) and let \(e_n = x_n - \alpha \) be the error at \( n\textrm{th}\) iteration. Then, using Taylor expansion, we get

$$\begin{aligned} \psi (x_n) =\bigg ( \frac{\psi ^{(\nu )}(\alpha )}{\nu !} \bigg ) e_{n}^{\nu }[1+C_1 e_n + C_2 e_n^{2} + C_3 e_n^{3} +C_4e_n^{4} +C_5e_n^{5} + C_6e_n^{6} + O[e_{n}]^{7}] \end{aligned}$$
(9)
$$\begin{aligned} \psi ^{\prime }(x_{n}) = \bigg ( \frac{\psi ^{(\nu )}(\alpha )}{(\nu -1)!}\bigg ) e_n^{\nu -1} \bigg [ 1+\bigg (\frac{\nu +1}{\nu }\bigg ) C_1e_n+\bigg (\frac{(\nu +2)}{\nu }\bigg )C_2e_n^{2}+ O[e_{n}]^{7}\bigg ] \end{aligned}$$
(10)
$$\begin{aligned} \tilde{e_{n}} = y_{n} - \alpha =B_1 e_n + B_2 e_n^{2} + B_3 e_n^{3} +B_4e_n^{4} +B_5e_n^{5} + B_6e_n^{6}+ O[e_n]^{7} \end{aligned}$$
(11)

where

$$\begin{aligned} \nonumber B_{1}&=\frac{\nu -1}{\nu +1},&\\ \nonumber B_{2}&=\frac{2 C_{1}}{\nu + \nu ^{2}},&\\ \nonumber B_{3}&=\frac{2\bigg ( \frac{2\nu C_{2}}{1+\nu } - C_{1}^{2} \bigg )}{\nu ^{2}}&\\ \nonumber \end{aligned}$$
$$\begin{aligned} \nonumber B_{4}&=\frac{2((1+\nu )^{2}C_1^{3}-\nu (4+3\nu )C_1C_2+3\nu ^{2}C_3) }{\nu ^{3}(1+\nu )}&\\ \nonumber B_{5}&= \frac{1}{\nu ^{4}(1+\nu )}\bigg ( -2((1+\nu )^{3}C_1^{4}-2\nu (1+\nu )(3+2\nu )C_1^{2}C_2&\\ \nonumber&\quad +2\nu ^{2}(3+2\nu )C_1C_3+2\nu ^{2}((2+\nu )c_2^{2}-2\nu C_4))\bigg )&\\ \nonumber B_{6}&=\frac{1}{\nu ^{5}(1+\nu )}\bigg ( 2((1+\nu )^{4}C_1^{5}-\nu (1+\nu )^{2}\times (8+5\nu )C_1^{3}C_2&\\ \nonumber&\quad +\nu ^{2}(1+\nu )(9+5\nu )C_1^{2}C_3+\nu ^{2}C_1((2+\nu )(6+5\nu )C_2^{2}-\nu (8+5\nu )C_4)&\\ \nonumber&\quad +\nu ^{3}(-(12+5\nu )C_2C_3 + 5\nu C_5))\bigg )&\nonumber \end{aligned}$$
$$\begin{aligned} \psi (y_n)&= e_n^{\nu }\frac{\psi ^{(\nu )}(\alpha )}{\nu !}[((\frac{\nu -1}{\nu +1})^{\nu }+ D_1 e_n +D_2 e_n^{2}+ D_3 e_n^{3})+\frac{1}{3\nu ^{2}}D_4e_n^{4}&\\ \nonumber&\quad +\frac{1}{15\nu ^{4}}D_5e_n^{5}+O[e_n]^{6}]&\end{aligned}$$
(12)

where

$$\begin{aligned} D_1&= \frac{(\frac{\nu -1}{\nu +1})^{\nu }(\nu ^{2}+3)C_1}{\nu ^{2}-1} \\ \nonumber D_2&= \frac{(\nu -1)^{\nu -1}(\nu +1)^{-\nu -2}(-2(\nu +1)^{2}C_1^{2} +\nu (3+\nu (11+\nu +\nu ^{2}))C_2)}{\nu })\\ \nonumber D_3&=\frac{1}{3\nu ^{2}}\bigg ( (\nu ^{2}-1)^{\nu -2}(\nu +1)^{-\nu -3}(2(\nu +1)^{4}(3\nu -4)C_1^{3}-24(\nu -1)\nu ^{2}\\ \nonumber&\quad \times (\nu +1)(\nu +2)C_1C_2+3(\nu -1)\nu ^{2}(7+\nu (14+\nu (24+\nu (2+\nu ))))C_3)\bigg )\\ \nonumber D_4&= (\nu -1)^{\nu -3}(\nu +1)^{-\nu -4}(-2(\nu +1)^{4}(3+\nu (3+\nu (-9+(-2+3\nu ))))C_1^{4}\\ \nonumber&\quad +6(\nu -1)\nu (\nu +1)^{3}(-2+\nu (-15+\nu (4+5\nu )))C_1^{2}C_2-12(-1+\nu )^{2}\nu ^{2}\\ \nonumber&\quad \times (\nu +1)C_1C_3 +3(-1+\nu )^{2}\nu ^{2}(-8(\nu +1)^{2}(-1+\nu (2+\nu ))C_2^{2}\\ \nonumber&+\nu (7+\nu (37+\nu (42+\nu )))C_4))\\ \nonumber D_5&= (\nu -1)^{\nu -4}(\nu +1)^{-\nu -5}(2(\nu +1)^{5}(\nu +2)(-9+\nu (-2+\nu (22+15(1\\ \nonumber&\quad +(-3+\nu )\nu ))))C_1^{5}-20(\nu -1)\nu ^{2}(\nu +1)^{4}(30+\nu (-11+\nu (-49+\nu \\ \nonumber&\quad \times (9\nu +5))))C_1^{3}C_2+30\nu ^{2}(\nu ^{2}-1)^{2}(-18+\nu (-7+\nu (-34+\nu (-16+ \\ \nonumber&\quad \times \nu (20+7\nu )))))+120(\nu -1)^{2}\nu ^{2}(\nu +1)^{2}(2+\nu (\nu +1)(-9+2\nu (\nu +1)))C_2^{2} \\ \nonumber&\quad -2(\nu -1)\nu ^{2}(\nu +4)(\nu ^{2}+1)C_4+15(\nu -1)^{3}\nu ^{4}(-8(\nu +1)^{2}(-2\\ \nonumber&\quad +3\nu (\nu +3))C_2C_3+ (11+\nu (44+\nu (115+\nu (80+\nu (65+\nu (\nu +4))))))C_5)) \nonumber \end{aligned}$$

Using the expression of Eqs. (9), (10), (11) and (12) in the second step of the proposed method defined in Eq. (8), we get

$$\begin{aligned} \hat{e}_n = z_n - \alpha = E_1e_{n}^{3}+E_2e_{n}^{4}+E_3e_{n}^{5}+E_4e_{n}^{6}+O[e_{n}]^{7} \end{aligned}$$
(13)

where

$$\begin{aligned} \nonumber E_1&= \frac{1}{2\nu ^{2}(1+\nu )} \big ( (1+\nu )^{2}C_1^{2}-2(-1+\nu )\nu C_2 \big )\\ \nonumber E_2&= \frac{1}{6((-1+\nu )\nu ^{3}(1+\nu )^{2})} \big ( (1+\nu )^{4}(-7+6\nu )C_1^{3}-6(-1+\nu )\nu (1+\nu ) \\ \nonumber&\quad \times (-1+\nu (4+3\nu ))C_1C_2+6(-1+\nu )^{2}\nu ^{2}(1+3\nu )C_3 \big ) \\ \nonumber E_3&= \frac{1}{6(-1+\nu )^{2}\nu ^{4}(1+\nu )^{3}}\big ( (1+\nu )^{4}(10+\nu (4+\nu (-22-3\nu +9\nu ^{2})))C_1^{4}\\ \nonumber&\quad -6(-1+\nu )\nu (1+\nu )^{3} (-1+\nu (-13+4\nu +6\nu ^{2}))C_1C_2+12(-1+\nu )^{2}\nu ^{2}\\ \nonumber&\quad \times (1+\nu ^{2}(2+\nu )(2+3\nu ))C_1C_3 +6\nu ^{2}((-1+\nu ^{2})^{2}(-4+\\ \nonumber&\quad \times \nu (5+3\nu ))C_2^{2}-2(-1+\nu )^{3}\nu (1+\nu (2+3\nu ))C_4)\big )\\ \nonumber E_4&=\frac{1}{30(-1+\nu )^{3}\nu ^{5}(1+\nu )^{4}}\big (-(1+\nu )^{5}(-68+\nu (-33+\nu (202\\ \nonumber&\quad +\nu (87+10\nu (-23-3\nu +6\nu ^{2})))))C_1^{3}+ 5(-1+\nu )\nu (1+\nu )^{4}(20+\\ \nonumber&\quad \times \nu (147+\nu (-77+\nu (-227+15\nu (3+4\nu )))))C_1^{3}C_2-15\nu ^{2}(-1+\nu ^{2})^{2} (-25+\\ \nonumber&\quad \times \nu (-10+\nu (-52+\nu (-26+5\nu (9+4\nu )))))C_1^{2}C_3 + 60(-1+\nu )^{2}\nu ^{2}(1+\nu )C_1\\ \nonumber&\quad \times ((-1+\nu )^{2}(5+\nu (-16+\nu (-12+5\nu (2+\nu ))))C_2^{2}+(-1\\ \nonumber&\quad +\nu )\nu (-1+\nu (6+5\nu ^{2}(2+\nu )))C_4)+30(-1+\nu )^{3}\nu ^{3}(5(1+\\ \nonumber&\quad \times \nu )^{2}(-1+\nu (-2+\nu (5+2\nu )))C_2C_3+2\nu (1+4\nu -5\nu ^{4}C_5))\big ) \nonumber \end{aligned}$$

Using the expression of \(z_n\) from Eq. (13) in the third step of the proposed method defined by Eq. (8), we get

$$\begin{aligned} e_{n+1}= \frac{C_1((\nu +1)^{2}C_1^{2}-2(\nu -1)\nu C_2)^{2}}{4\nu ^{5}(1+\nu )^{2}}e_n^{6} +O[e_n]^{7} \end{aligned}$$
(14)

Equation (14) shows that the newly developed method defined by (8) has sixth order of convergence.

3 Numerical Results

In this section, we analyse the computational efficiency of the introduced iterative method (8) using several test functions and compare it with other existing methods. In Table 2, we have displayed the comparison of the convergence of the methods. Table 2 shows the absolute residual error (\(\mid \psi (x_n)\mid \)) of the functions after four full iterations of the methods have been completed. We have compared the newly proposed method (NPM for short) defined in Eq. (8) with the methods given in Eqs. (5), (6) and (7) denoted by TM [4], GM [5] and QM [6], respectively. Mathematica 11.3 software has been used to generate the numerical results in Table 2.

Table 1 Test function with initial guess \(x_{0}\) and multiplicity \(\nu \)
Table 2 Comparison of various iterative methods

4 Conclusion

We have introduced a new sixth-order iterative method based on Newton’s method for finding multiple roots of nonlinear equations. We compare the newly introduced method with existing methods having the same convergence order using some examples of nonlinear equations. The results given in Table 2, have demonstrated the superiority of the introduced method as compared to the existing methods even though the same examples with the same initial guess are used. It affirms that the introduced iterative method has smaller \(|\psi (x)|\) and simple asymptotic error terms. Therefore, the introduced method is efficient than the other equivalent methods in comparison to finding multiple roots of nonlinear equations.