Abstract
In this paper, a new form of the homotopy perturbation method has been adopted for solving nonlinear Duffing’s equations, which yields the Maclaurin series of the exact solution. The Laplace transformation is applied to the truncated Maclaurin series, and then the Padé approximation with fast convergence rate and high accuracy is used for the solution derived from the Laplace transformation. Illustrative examples are given to demonstrate the efficiency and the simplicity of the proposed method.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
In recent years, scientists and engineers have devoted an increasing interest to the analytical asymptotic techniques for solving nonlinear problems. Many new numerical techniques have been widely applied to nonlinear problems. Nonlinear phenomena play a crucial role in various fields of science and engineering. Similarly, the corresponding nonlinear equations and their analytical or numerical solutions are fundamentally important. Many physical phenomena are modeled by nonlinear differential equations in order to have more opportunities to handle the real objects in our real world. Therefore, solving these equations is in the circle of most scientists’ and engineers’ priority and requirements. Nonlinear differential equations are generally difficult to solve and their exact solutions are difficult to obtain; therefore, various approximate methods have recently been developed to solve these types of equations.
The Duffing equation is a well-known nonlinear equation of applied science which is used as a powerful tool to discuss some important practical phenomena such as orbit extraction, nonuniformity caused by an infinite domain, nonlinear mechanical oscillators, etc. Besides, the Duffing equation is applied in the field of disease prediction . In this paper, we consider the nonlinear Duffing equation of the form
where \(\alpha \), \(\beta \), \(\gamma \), a, and b are real constants. This equation was first introduced by Duffing to explain forced vibrations of industrial machinery with linear damping [38]. Duffing’s equation has many catastrophic, diverging, and oscillative behaviors by several stable and unstable states due to the value of its coefficients. The solutions of some versions of Duffing’s equation can be seen in [29, 33, 36, 37]. Yusufoglu in [41] applied the Laplace transform decomposition algorithm to solve Duffing’s equation. Vahidi et al. in [40] used the restarted Adomian’s decomposition method to solve Duffing’s equation. Cveticanin [14] applied the HPM to solve nonlinear differential equations by a cubic nonlinear term, as in Duffing’s equation, and showed that the method worked extremely well.
Perturbation techniques are widely used in science and engineering to handle nonlinear problems [34]. The HPM was first proposed by He in [20] and further developed and improved by him in [21–24]. This method is based on the use of traditional perturbation method and the homotopy technique. By using this method, a rapid convergent series solution can be obtained in most cases. Usually, a small number of terms of the series solution can be used for numerical purposes with a high degree of accuracy. The applications of the HPM in nonlinear problems have been demonstrated by many researchers, cf. [3, 13, 16, 17, 28]. Recently, the HPM was employed for solving singular second-order differential equations [10] and nonlinear population dynamics models [11]. Very recently, the standard HPM was successfully applied to the Klein–Gordon and sine-Gordon equations [12]. The applicability of the HPM has also been extended to fractional equations [8, 31, 32, 35]. In general, this method has been successfully applied to solve many types of linear and nonlinear problems in science and engineering by many authors [1, 4, 9, 15, 39]. Also, correction for the HPM based on the initial solution is done by Hesameddini [26]. However, development of the HPM can be found in [5, 25, 30]. Accordingly, it can be said that He’s homotopy perturbation method is a universal one, and is able to solve various kinds of nonlinear functional equations.
In this paper, we apply the NHPM to solve nonlinear Duffing’s equation (1.1). This method was presented in [4] for the Riccati equation and we extend it in order to solve nonlinear Duffing’s equation (1.1). By this method, we get a truncated series solution that often coincides with the Maclaurin expansion of the true solution. In order to improve the accuracy of the series solutions, we apply the Laplace transformation and then the Padé approximant [6, 7] yielding the analytic approximate solution with fast convergence rate and high accuracy, and finally adopt the inverse Laplace transformation to get an analytic solution.
2 HPM for Nonlinear Differential Equations
In this section, the HPM is described for the solution of nonlinear differential equations. Toward this end, suppose that
with boundary conditions
where A is a general differential operator, B is a boundary operator, f(r(x)) is a known analytic function, and \(\Gamma \) is the boundary of the domain \(\Omega \). The operator A can be divided into two parts L and N, where L is a linear operator and N is a nonlinear one. Therefore, Eq. (2.1) may be expressed as
By the homotopy technique, we construct a homotopy \(v(r(x),p):\Omega \times [0,1]\rightarrow R\), which satisfies
where \(p\in [0,1]\) is an embedding parameter and \(u_0(x)\) is an initial approximation of the solution of Eq. (2.1). Clearly, from Eq. (2.4) we have
and the changing process of p from zero to one is just that of H(U(x), p) from \(L(U(x))-u_0(x)\) to \(A(U(x))-f(r(x))\). If the embedding parameter \(p\in [0,1]\) is considered as a “small parameter,” applying the classical perturbation technique, we can naturally assume that the solution of Eqs. (2.5) and (2.6) can be given as a power series in p, i.e.,
setting \(p=1\) results in the approximate solution of Eq. (2.1) as
The series in (2.8) converges in most cases and the rate of convergence depends on \(A(u(x))-f(r(x))\) [19].
Note that in the HPM in order to obtain an approximate solution, the components \(U_i(x)\) for \(i=0,1,\ldots \) must be calculated. Specially for \(i \ge 3\), it needs large and sometimes complicated computations and, in the case of nonlinearity, the use of He’s polynomials [18]. To obviate this problem, the NHPM is introduced, in which \(U_0(x)\) is calculated in such a way that \(U_i(x)=0\) for \(i\ge 1\). So, the number of computations decreases in comparison with that in the HPM. The NHPM will be discussed in detail in the following section.
3 Basic Idea of the NHPM
In order to illuminate the solution procedure of the NHPM, we consider the equivalence convex homotopy (2.4) as
which can be written in the following form
Denoting \(d^2/dx^2\) by G, we have \(G^{-1}\) as a two-fold integration from 0 to x. By applying \(G^{-1}\) to both sides of Eq. (3.2), we have
where T incorporates the constants of integration and satisfies \(GT=0\). In order to apply the NHPM, suppose that the initial approximation of Eq. (2.1) has the form
where \(a_{0},a_{1},a_{2},\ldots \) are unknown coefficients and \(F_{0}(x),F_{1}(x),F_{2}(x),\ldots \) are specific functions depending on the problem. By substituting Eqs. (2.7) and (3.4) into Eq. (3.3), we obtain
Comparing coefficients of terms with identical powers of p leads to
Now, we solve these equations in such a way that \(U_1(x)=0\), then Eq. (3.6) results in \(U_{2}(x)=U_{3}(x)=\cdots =0\). Therefore, the exact solution may be obtained as follows:
4 NHPM for Duffing’s Equation
In this section, we consider Duffing’s equation (1.1) and apply the NHPM to solve it. To this end, by considering the convex homotopy defined in Eq. (2.4), we have
or equivalently
Denoting \(d^2/\mathrm{d}x^2\) by G, we have \(G^{-1}\) as a two-fold integration. Using the operator G, Eq. (4.2) becomes
Applying the inverse operator \(G^{-1}\) to both sides of Eq. (4.3), we obtain
By considering \(y_{0}(x)=\sum _{n=0}^{\infty }a_{n}F_{n}(x)\), where \(F_{n}(x)=x^{n}\), \(Y(0)=a\) and \(Y'(0)=b\), Eq. (4.4) is as follows:
By substituting \(Y(x)=\sum _{i=0}^{\infty }p^{i}Y_{i}(x)\) into the above equation, we have
where \(Y_{i}(x)\) for \(i=1,2,\ldots \) are unknown functions which should be determined. By equating the terms with identical powers of p, we obtain
Since the complicated excitation term f(x) can cause difficult integrations and proliferation of terms, we can express f(x) in the Taylor series at \(x_{0}=0\), which is truncated for simplification. By replacing \(\widetilde{f}(x)=\sum _{i=0}^{k}b_{i}x^{i}\), where \(b_{i}=f^{i}(0)/i!\), instead of f(x) into \(Y_{1}(x)\), one gets
Eliminating \(Y_{1}(x)\) lets the coefficients \(a_{n}\) for \(n=1,2,\cdots \) take the following values:
Therefore, we gain the solution of Eq. (1.1) as
and this, in the limit of infinitely many terms, yields the exact solution of Eq. (1.1).
5 Numerical Implementation
In this section, to give a clear overview of the analysis method presented above, we choose two test problems.
Example 5.1
Consider Duffing’s equation [27]
with the initial condition \(y(0)=0\) and \(y'(0)=1\) and the exact solution \(y(x)=\sin x\). In order to apply the NHPM to Eq. (5.1), consider the convex homotopy (2.4) as
or
Denoting \(d^2/\mathrm{d}x^2\) by G, we have \(G^{-1}\) as a two-fold integration. Using the operator G, Eq. (5.3) becomes
Applying the inverse operator \(G^{-1}\) to both sides of Eq. (5.4) and using the initial conditions, we obtain
By replacing \(y_{0}(x)=\sum _{n=0}^{\infty }a_{n}x^{n}\) in the above equation, one gets
Substituting \(Y(x)=\sum _{i=0}^{\infty }p^{i}Y_{i}(x)\) into Eq. (5.6), considering the Maclaurin series of the excitation term
and equating the terms with identical powers of p give
Solving the above equation for \(Y_{1}(x)\) leads to the result
Eliminating \(Y_{1}(x)\) lets the coefficients \(a_{n}\) for \(n=0,1,2,\cdots \) take the following values:
By substituting the above values into \(Y_0(x)\), we obtain
which is the partial sum of the Taylor series of the exact solution at \(x = 0\). In order to obtain a more accurate solution, we use the truncated series of Eq. (5.11). Consider five terms in y(x) as
By applying the Laplace transformation to both sides of Eq. (5.12), we have
If \(s=1/t\), then
All of the [L / M] Pade approximants of Eq. (5.14) with \(L\ge 2\), \(M\ge 2\) and \(L+M\le 10\) yield
Replacing \(t=1/s\), we obtain [L / M] in terms of s as
By using the inverse Laplace transformation in Eq. (5.16), we obtain the exact solution sin(x).
Example 5.2
Consider Duffing’s equation [2]
with the initial conditions \(y(0)=1\) and \(y'(0)=0 \) and the exact solution \(y(x)=\cos x\). In order to apply the NHPM to Eq. (5.17), consider the convex homotopy (2.4) as
which is equivalent to
Denoting \(d^2/\mathrm{d}x^2\) by G, we have \(G^{-1}\) as a two-fold integration. Using the operator G, Eq. (5.19) becomes
Applying the inverse operator \(G^{-1}\) to both sides of Eq. (5.20) and using the initial conditions, we obtain
By replacing \(y_{0}(x)=\sum _{n=0}^{\infty }a_{n}x^{n}\) in the above equation, we have
Substituting \(Y(x)=\sum _{i=0}^{\infty }p^{i}Y_{i}(x)\) into Eq. (5.21), considering the Maclaurin series of the excitation term
and equating the terms with identical powers of p give
Solving the above equation for \(Y_{1}(x)\) leads to the result
Eliminating \(Y_{1}(x)\) lets the coefficients \(a_{n}\) for \(n=0,1,2,\cdots \) take the following values:
This implies that
which is the partial sum of the Taylor series of the exact solution at \(x = 0\). In order to obtain a more accurate solution, we use the truncated series of Eq. (5.27). Consider four terms in y(x) as
which represents the partial sum of the Taylor series of the solution y(x) at \(x=0\). By applying the Laplace transformation to both sides of Eq. (5.28), we have
If \(s=1/t\), then
All of the [L / M] Pade approximants of Eq. (5.30) with \(L\ge 2\), \(M\ge 2\) and \(L+M\le 10\) yield
Replacing \(t=1/s\), we obtain [L / M] in terms of s as
By applying the inverse Laplace transformation to Eq. (5.32), we obtain the exact solution cos(x).
6 Conclusion
In this paper, we presented the NHPM to solve nonlinear Duffing’s equations, which yielded the Maclaurin series of the true solution. In order to obtain a more accurate solution, we applied the Laplace transformation to the truncated Maclaurin series and then the Padé approximation, as shown in the examples. In this method, there was no need to calculate He’s polynomials. Therefore, the number of computations in the NHPM was less than that in the HMP. The obtained results indicated that the method was very efficient and simple and led to the exact solution of nonlinear Duffing’s equations.
References
Abbasbandy, S.: Numerical solutions of the integral equations: homotopy perturbation method and Adomian’s decomposition method. Appl. Math. Comput. 173(1), 493–500 (2006)
Adomian, G.: Solving Frontier Problems of Physics: The Decomposition Method, Fundamental Theories of Physics, 60. Kluwer Academic Publisher, Dordrecht (1994)
Ablowitz, M.J., Herbst, B.M., Schober, C.: Homotopy perturbation method and axisymmetric flow over a stretching sheet. Int J. Nonlinear. Sci. Numer. Simul. 7(4), 399–406 (2006)
Aminikhah, H., Hemmatnezhad, M.: An efficient method for quadratic Riccati differential equation. Commun. Nonlinear Sci. Numer. Simul. 15(4), 835–839 (2010)
Babaelahi, M., Ganji, D.D., Joneidi, A.A.: Analytical treatment of mixed convection flow past vertical flat plate. Therm. Sci. 14, 409–416 (2010)
Baker, J.W.: Duality of semigroups and measure algebras. In: Symposia mathematica, (Convegno sui Gruppi Topologici e Gruppi di Lie, INDAM, Roma, Gennaio, 1974), vol. XVI, pp. 291–313. Academic Press, London (1974)
Baker Jr, G.A., Graves-Morris, P.: Padé approximants. Part I, Encyclopedia of Mathematics and its Applications, 13. Addison-Wesley Publishing Co., Reading (1981)
Biazar, J., Ghazvini, H.: Exact solutions for non-linear Schrödinger equations by He’s homotopy perturbation method. Phys. Lett. A 366(1–2), 79–84 (2007)
Biazar, J., Ghazvini, H.: He’s homotopy perturbation method for solving systems of Volterra integral equations of the second kind. Chaos Solitons Fractals 39(2), 770–777 (2009)
Chowdhury, M.S.H., Hashim, I.: Solutions of a class of singular second-order IVPs by homotopy-perturbation method. Phys. Lett. A 365(5–6), 439–447 (2007)
Chowdhury, M.S.H., Hashim, I., Abdulaziz, O.: Application of homotopy-perturbation method to nonlinear population dynamics models. Phys. Lett. A 368(3–4), 251–258 (2007)
Chowdhury, M.S.H., Hashim, I.: Application of homotopy-perturbation method to Klein-Gordon and sine-Gordon equations. Chaos Solitons Fractals 39(4), 1928–1935 (2009)
Cveticanin, L.: The homotopy-perturbation method applied for solving complex-valued differential equations with strong cubic nonlinearity. J. Sound Vib. 285(4–5), 1171–1179 (2005)
Cveticanin, L.: Homotopy-perturbation method for pure nonlinear differential equation. Chaos Solitions Fract. 30, 1221–1230 (2006)
Ganji, D.D.: The application of He’s homotopy perturbation method to nonlinear equations arising in heat transfer. Phys. Lett. A 355(4–5), 337–341 (2006)
Ganji, D.D., Rajabi, A.: Assessment of homotopy-perturbation and perturbation methods in heat radiation equations. Int. Commun. Heat Mass Transfer. 33, 391–400 (2006)
Ganji, D.D., Sadighi, A.: Application of homotopy-perturbation and variational iteration methods to nonlinear heat transfer and porous media equations. J. Comput. Appl. Math. 207(1), 24–34 (2007)
Ghorbani, A.: Beyond Adomian polynomials: he polynomials. Chaos Solitons Fractals 39(3), 1486–1492 (2009)
He, J.-H.: Homotopy perturbation technique. Comput. Methods Appl. Mech. Eng. 178(3–4), 257–262 (1999)
He, J.H.: Approximate analytical solution of Blasius equation. Commun. Nonlinear Sci. Numer. Simul. 3, 260–263 (1998)
He, J.H.: Variational iteration method a kind of nonlinear analytical technique: some examples. Int. J. Non Linear Mech. 34, 699–708 (1999)
He, J.-H.: A coupling method of a homotopy technique and a perturbation technique for non-linear problems. Int. J. Nonlinear Mech. 35(1), 37–43 (2000)
He, J.-H.: A simple perturbation approach to Blasius equation. Appl. Math. Comput. 140(2–3), 217–222 (2003)
He, J.-H.: Comparison of homotopy perturbation method and homotopy analysis method. Appl. Math. Comput. 156(2), 527–539 (2004)
He, J.H.: A note on the homotopy perturbation method. Therm. Sci. 14(2), 565–568 (2010)
Hesameddini, E., Latifizadeh, H.: An optimal choice of initial solutioins in the homotopy perturbation method. Int. J. Nonlinear. Sci. Numer. Simul. 10(11–12), 1389–1398 (2009)
Jiao, J.C., Yamamoto, Y., Dang, C., Hao, Y.: An aftertreatment technique for improving the accuracy of Adomian’s decomposition method. Comput. Math. Appl. 43(6–7), 783–798 (2002)
Joneidi, A.A., Domairry, G., Babaelahi, M.: Three analytical methods applied to Jeffery-Hamel flow. Commun. Nonlinear Sci. Numer. Simul. 15, 3423–3434 (2010)
Lim, C.W., Wu, B.S.: A new analytical approach to the Duffing-harmonic oscillator. Phys. Lett. A 311(4–5), 365–373 (2003)
Marinca, V., Herisanu, N., Nemes, I.: An optimal homotopy asymptotic method with application to thin film flow. Cent. Eur. J. Phys. 6, 648–653 (2008)
Momani, S., Odibat, Z.: Comparison between the homotopy perturbation method and the variational iteration method for linear fractional partial differential equations. Comput. Math. Appl. 54(7–8), 910–919 (2007)
Momani, S., Odibat, Z.: Homotopy perturbation method for nonlinear partial differential equations of fractional order. Phys. Lett. A 365(5–6), 345–350 (2007)
Murakami, W., Murakami, C., Hirose, K., Ichikawa, Y.H.: Integrable Duffing’s maps and solutions of the Duffing equation. Chaos Solitons Fractals 15(3), 425–443 (2003)
Nayfeh, A.H.: Perturbation Methods, reprint of the 1973 original. Wiley Classics Library, Wiley-Interscience, New York (2000)
Odibat, Z., Momani, S.: Modified homotopy perturbation method: application to quadratic Riccati differential equation of fractional order. Chaos Solitons Fractals 36(1), 167–174 (2008)
Potts, R.B.: Best difference equation approximation to Duffing’s equation. J. Aust. Math. Soc. Ser. B 23(4), 349–356 (1981/82)
Potts, RB: Exact solution of a difference approximation to Duffing’s equation. J. Aust. Math. Soc. Ser. B 23(1), 64–77 (1981/82)
Stokes, J.J.: Nonlinear Vibrations. Intersciences, New York (1950)
Siddiqui, A.M., Mahmood, R., Ghori, Q.K.: Homotopy perturbation method for thin film flow of a third grade fluid down an inclined plane. Chaos Solitons Fractals 35(1), 140–147 (2008)
Vahidi, A.R., Babolian, E., Asadi Cordshooli, Gh, Samiee, F.: Restarted Adomian’s decomposition method for Duffing’s equation. Int. J. Math. Anal. (Ruse) 3(13–16), 711–717 (2009)
Yusufoğlu, E.: Numerical solution of Duffing equation by the Laplace decomposition algorithm. Appl. Math. Comput. 177(2), 572–580 (2006)
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by Norhashidah Mohd. Ali.
Rights and permissions
About this article
Cite this article
Vahidi, A.R., Babolian, E. & Azimzadeh, Z. An Improvement to the Homotopy Perturbation Method for Solving Nonlinear Duffing’s Equations. Bull. Malays. Math. Sci. Soc. 41, 1105–1117 (2018). https://doi.org/10.1007/s40840-015-0191-4
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40840-015-0191-4
Keywords
- Homotopy perturbation method (HPM)
- Differential equations
- Nonlinear Duffing’s equations
- Padé approximant