The Duffing oscillator equation is one of important equations that model several nonlinear phenomena in science and engineering. The differential transform method (DTM) is applied to obtain the solutions of homogeneous and non-homogeneous Duffing oscillator equations under the influence of different initial conditions. In fact, the DTM can only find the solutions of the Duffing oscillator equation in a small domain, therefore the method has been improved using Padé approximation. We obtain the solutions by the Padé-DTM (PDTM) in long domain. This article proves the validity, simplicity and applicability of the PDTM method. In addition, the accuracy of the PDTM and the instability of the solution are discussed.
Over the recent decades, many scientific phenomena and applications have been described by nonlinear ordinary differential equations (ODEs) and Partial differential equations (PDEs).1–6 One of these significant equations is called the Duffing oscillator equation which is utilized in many sciences such as physics and engineering.7,8 It was discovered in 1918 by electrical engineer Ger man Duffing.9 The general form of Duffing equation10 is given by the following formand it subjects to following initial conditions (ICs)where α, β, γ, w and z are real constants. The parameters α, β and γ control the size of damping, stiffness and amount of non-linearity in the restoring force, respectively. If β > 0, the system is hardening, dealing with a softening system if β < 0 and if β = 0, the system is softening stiffness system. The Duffing equation has many applications such as pendulum application. In nonlinear dynamics, the pendulum is the quintessential dynamical system. The equation of motion describing the angular displacement θ of the harmonically excited pendulum iswhere l is the length of the pendulum, g is the acceleration due to gravity and M is the amplitude of the applied moment.11 Because of the negative cubic term in the stiffness moment, the pendulum exhibits a softening stiffness characteristic.12
The Duffing equation has been solved in the literature by several methods such as Variation iteration method,13–15 Homotopy perturbation transform method,16,17 an effective approach,18 a new approach method,19 Homotopy analysis method9,20 and modified differential transform method.2,21 The mathematician continuously have improved the computational methods to obtain fast and high accurate results. In this paper, we will turn the light on the differential transformation method (DTM).
The DTM was first introduced by Pukhov to compute linear and nonlinear initial value problems in electric circuit analyses.22 Chen and Ho invented the DTM for solving PDE and discovered closed-form series solutions for various linear and nonlinear initial value problems.23 Hassan showed that the DTM is usable on a large selection of PDEs and is able to effortlessly get closed-form solutions.24–26 The results by the DTM is more accurate than some other numerical and semi-analytical methods for solving ODEs.27 So the advantages of the two-dimensional DTM are ability to find accurate solutions and unaffected by tiny or big numbers unlike perturbation approaches. In addition, the DTM can be used regardless of whether the governing equations and boundary/initial conditions of a given nonlinear problem have modest or big numbers and the DTM solves equations without the use of starting estimations or an auxiliary linear operator. On the other hand, one of the DTM disadvantages is solving the solution in small domain for some problems in physics.28–30 Therefore, the DTM needs to be improved. Recently, the Padé approximation has been used to improve some iterative methods. The Padé approximation was introduced by Her-Moths and Padé. It has been utilized in physics for over 40 years and there are numerous notable examples in the field. Therefore, we aim to use the Padé approximation technique in order to improve the DTM to solve the Duffing oscillator equation.31 However, the DTM does not require a small parameter such as the traditional perturbation methods or a small embedded parameter such as the Homotopy perturbation method (HPM). In addition, the HPM fails to solve the damping nonlinear oscillator.32 In fact, the DTM does not required integration such as Adomian decomposition method (ADM) or Laplacian Adomian decomposition method (LADM). The ADM and LADM fail to solve non-integrable equation because their numerical scheme includes integration operators.
The novelty of this article is presenting the semi-analytical solution of the non-homogeneous Duffing oscillator equation by the Padé differential transformation method (PDTM) and finding the relation between the number of iteration and the order of the Padé approximation.
This article is organized as follows: Padé-Differential Transform Method presents steps of the algorithm of PDTM. Stability introduces some applications for forced Duffing oscillator equation and shows the solutions by using PDTM. Applications is the study of the PDTM accuracy and last section is the conclusion of the work.
Padé-Differential transform method
This section explains the steps of a logarithm of the PDTM. In general, the idea starts by finding a solution as a power series by the DTM. However the radius of convergence of this power series may not be big enough to hold the two limits. Therefore, the Padé approximation is used to modify the produced series as rational functions since the Padé approximation delivers the best estimate by converting a function’s approximate polynomial into rational functions of polynomials of a specific order.33–35
Assume the power series representing a function f(y)The Padé approximate is a rational function that has the formwhere GP(y) and ON(y) are a polynomial of degree P and N at most, respectively. Thus, we have
The numerator and denominator coefficients are P + 1 and N + 1, respectively, in equation (5) as can be seen. We can multiply the numerator and denominator by a constant while keeping [P/N] intact and also apply the normalization constraint ON(0) = 1. Because of the P + 1 independent numerator and N independent denominator coefficients, there are a total of P + N + 1 unknown coefficients. This value suggests that the power series should generally fit [P/N] equation (4) in the orders 1, y, y2, y3, ….., y1+N. As a result, we have a formal power seriesWe achieve that by cross multiplying
We get the following sets of equations by combining the coefficients of 1, y, y2, y3, …, yP and the coefficients of yP+1, yP+2, …, yP+Nand
If m < 0 is true, then bm = 0 is true for consistency, and oi = 0 is true for accuracy, i > N.
The Padé equations are equations (6) and (7), which generally determine the Padé numerator and denominator. Equation (8) is used to construct the [P/N] Padé approximant.36
Definition (1): Differential transformation in one-dimension
If q(t) is analytic function in the domain T that is continuously differentiated with respect to time t, thenfor t = tj, ϕ(t, h) = ϕ(tj, h), where h belongs to the set of non-negative integers, denoted as H domain. Therefore, the differential transformation is defined asin the domain H, where Qj(h) is the spectrum of q(t) at t = tj.
Definition (2): Differential inverse transformation in one-dimension
Assume the following is a Taylor series for a function q(t)
The inverse transformation of Q(h) is known as equation (11), and Q(h) is defined using definition (1)where h = 0, 1, 2, …, ∞. The function q(t) can thus be described as followswhere N(h) ≠ 0, u(t) ≠ 0. The weighting factor is defined as N(h), and u(t) is treated as a kernel corresponding to q(t). Equations (11) and (13) are equal if N(h) = 1 and u(t) = 1. As a result, equation (11) can be considered as a special case of equation (13). The transformation with and u(t) = 1 is used in this paper. Then, equation (12) becomes
A differential equation in the domain of interest can be translated into an algebraic equation in the H domain using the differential transform, and q(t) can be derived as a finite-term Taylor series plus a remainder
Stability
In this section, we study the stability of the Duffing equationwhere α, β, γ are constants. The equation is rewritten as following system of (q, q1)
The equilibrium points for the system are found by setting q′ = 0 and . Thus, the equilibrium point for the system (16) is p0 = (0, 0). The Jacobin matrix for the system at p0 isThe eigenvalues of the J(p0) are λ1 = 1 and λ2 = −β, so p0 is saddle point and unstable, but it can be stable for some initial conditions which means the neighbouring trajectories approach the equilibrium point only for certain initial conditions.37,38
Applications
Example 1
Assume the damped Duffing oscillator equation with ICs as follows21Applying the DTM and using Tables 1 gives the following schemewhereThe recursive equations of equation (18) for different values of h are as followsLet consider the following value of parametersFor the given values in equation (19), q(t) is obtained as follows
The one-dimensional differential transformation for basic operations.29
Original function
Transformed function
q(t) ± v(t)
Q(h) ± V(h)
q(t)v(t)
ym
exp(λt)
sin(αt + β)
cos(αt + β)
To improve the result, we use the Laplace transform (L) on the series solution equation (20) as follows
Replacing s by and then applying the Padé approximation of order three and four ( and ). Then, letting gives the following28Applying the inverse Laplace transform (L−1) into equations (22) and (23), we get the solutions by and , respectively, aswhere
The Padé approximation of yielded the real part of the solution in equation (24) as
Figure 1 presents the solution by PDTM for third and fourth order. The best result was found by applying PDTM of fourth order. Figure 2 shows the effect of the parameters α, β and γ in the solution. We realized that the frequency is changed by different α and β but does not change by γ.
The comparisons of the results of , , and fourth-order Runge–Kutta.
The effect parameters in Duffing equation.
Example 2
Consider the Duffing oscillator equation in the following type10that subjects to ICsThe exact solution of the given equation is
By applying the DTM and using Tables 1, we have the following scheme
Then, we apply the Padé approximation of order [3/3], [4/4] and N = 8 to obtain the solution as we see in Figure 3. The best solution is obtained by P[4/4].
By plotting the solution of example (2) by DTM and by PDTM in Figures 4 and 5, respectively, we proved that the solution by PDTM converges to the exact solution in long domain, but the solution by DTM diverges after t = 3.
The comparisons of the results of the , , and fourth-order Runge–Kutta.
The comparisons of the solution by differential transform method with exact solution at t = 5, N = 8.
The comparisons of the results of the , and exact solution.
Example 3
Let the non-dimensional Duffing oscillator equation10,39which subjects to ICswhere β = 30 and γ = 0.1. By using the DTM, we obtain
Then, we apply P[3/3] as well as as P[4/4] and the results are presented in Figure 6.
We note that is better than by the comparison with fourth-order Runge–Kutta.
However, we noticed that when the number of iteration is N = 8, then the best results are obtained when the order of the Padé approximation is [4/4]. The example 2 and 3 are non-damped, thus they have a periodic property. The following formula is the relationship between the frequency and the amplitude40,41where (A) is the amplitude. The frequency formulation of example 2 isand in example 3 isIn addition, for damped Duffing equation α ≠ 0the practical resonance is and the pure resonance is . Therefore, the practical and pure resonance are not equal and the general solution is the sum of two harmonic oscillations, hence it is bounded. In case of non-damped Duffing equation (α = 0), the practical and pure resonance are equal . Thus, the solution is unbounded oscillatory solution as t → ∞.
Accuracy of the PDTM
In order to determine which order of the Padé approximation that satisfies the smallest error and since we do not have exact solution, the relative error takes the following formulawhere q is the solution by the PDTM and Q is the solution by RK or the exact solution if it is available. Tables 2 and 3 present the errors, for example, 1 and 2, respectively. We noticed that the accurate results for homogeneous or non-homogeneous Duffing oscillator equation are obtained when the order of the Padé approximation is floor[N/2] where N is the number of iteration.42
The accuracy of homogeneous Duffing oscillator equation (example 1).
N
8
2.9601 × 10−2
1.8208 × 10−1
4.5741 × 10−2
9
2.9601 × 10−2
1.8208 × 10−1
4.5741 × 10−2
10
2.9589 × 10−2
2.9601 × 10−2
1.8208 × 10−1
11
2.9589 × 10−2
2.9601 × 10−2
1.8208 × 10−1
The accuracy of non-homogeneous Duffing oscillator equation (example 2).
N
8
1.7173 × 10−2
1.7173 × 10−2
1.7173 × 10−2
10
1.7173 × 10−2
1.7173 × 10−2
1.7173 × 10−2
18
1.7173 × 10−2
7.2836 × 10−2
1.7173 × 10−2
20
1.7146 × 10−2
1.7173 × 10−2
7.2836 × 10−2
Conclusion
The article introduced the Padé differential transform approach to find a numerical solution for a non-homogeneous Duffing oscillator equation. The scheme of PDTM does need normalization or discretization and is simple and powerful method to find the numerical solution for the non-homogeneous class of ODEs. The accurate results are obtained when the order of the Padé approximation takes about half of the number of iteration. A comparison of the results with 4th-Runge–Kutta’s results reveals that the solution is extremely accurate. In future, the PDTM can be applied for variety of classes of ODEs.
Footnotes
Acknowledgements
The Deanship of Scientific Research (DSR),King Abdulaziz University,Jeddah,Saudi Arabia has founded this preoject,under grant No. (KEP-MSc: 36-665-1443). The authors,therefore,acknowledge with thanks DSR technical and financial support.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research,authorship,and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research,authorship,and/or publication of this article: This work was supported by the The Deanship of Scientific Research (DSR),King Abdulaziz University,Jeddah,Saudi Arabia has founded this project,under grant No.(KEP-MSc: 35-665-1443)
ORCID iD
Noufe H Aljahdaly
References
1.
SalasAHEl-TantawySAljahdalyNH. An exact solution to the quadratic damping strong nonlinearity duffing oscillator. Math Probl Eng2021; 2021: 1–8.
2.
AljahdalyNHEl-TantawyS. On the multistage differential transformation method for analyzing damping duffing oscillator and its applications to plasma physics. Math2021; 9(4): 432.
3.
AljahdalyNH. New application through multistage differential transform method. AIP Conf Proc2020; 2293: 420025.
4.
AljahdalyNHAlharbeyR. Fractional numerical simulation of mathematical model of hiv-1 infection with stem cell therapy. AIMS Math2021; 6(7): 6715–6725.
5.
AlqudahMAAljahdalyNH. Global stability and numerical simulation of a mathematical model of stem cells therapy of hiv-1 infection. J Comput Sci2020; 45: 101176.
6.
PirmohabbatiPSheikhaniARNajafiHS, et al.Numerical solution of fractional mathieu equations by using block-pulse wavelets. J Ocean Eng Sci2019; 4(4): 299–307.
7.
AljahdalyNHEl-TantawyS. Novel anlytical solution to the damped kawahara equation and its application for modeling the dissipative nonlinear structures in a fluid medium. J Ocean Eng Sci2021.
8.
BeheraSAljahdalyNVirdiJ. On the modified (g’/g2)-expansion method for finding some analytical solutions of the traveling waves. J Ocean Eng Sci2021.
9.
Al-JawaryMAbd-Al-RazaqS. Analytic and numerical solution for duffing equations. Int J Basic Appl Sci2016; 5(2): 115–119.
10.
YusufoğluE. Numerical solution of duffing equation by the laplace decomposition algorithm. Appl Math Comput2006; 177(2): 572–580.
11.
LenciSRegaG. Forced harmonic vibration in a duffing oscillator with negative linear stiffness and linear viscous damping. In: KovacicIBrennanMJ (eds). The duffing equation: nonlinear oscillators and their behaviour. Hoboken, NJ: Wiley, 2011, pp. 219–276.
12.
SalasAHCastillo HJE. Exact solution to duffing equation and the pendulum equation. Appl Math Sci2014; 8(176): 8781–8789.
13.
KhalidMSultanaMArshadU, et al.A comparison between new iterative solutions of non-linear oscillator equation. Int J Computer Appl2015; 128(4): 1–5.
14.
NadeemMYaoS. Solving system of partial differential equations using variational iteration method with he’s polynomials. J Math Computer Sci2019; 19(3): 203–211.
15.
NadeemMHeJH. He–laplace variational iteration method for solving the nonlinear equations arising in chemical kinetics and population dynamics. J Math Chem2021; 59(5): 1234–1245.
16.
KhanYVázquez-LealHFarazN. An efficient new iterative method for oscillator differential equation. Scientia Iranica2012; 19(6): 1473–1477.
17.
HabibSIslamABatoolA, et al.Numerical solutions of the fractal foam drainage equation. GEM-International J Geo Math2021; 12(1): 1–10.
18.
TurkyilmazogluM. An effective approach for approximate analytical solutions of the damped duffing equation. Physica Scripta2012; 86(1): 015301.
19.
BülbülBSezerM. Numerical solution of duffing equation by using an improved taylor matrix method. J Appl Math2013; 2013: 1–6.
20.
SheuLJChenHKChenJH, et al.Chaotic dynamics of the fractionally damped duffing equation. Chaos, Solitons & Fractals2007; 32(4): 1459–1468.
21.
NourazarSMirzabeigyA. Approximate solution for nonlinear duffing oscillator with damping effect using the modified differential transform method. Scientia Iranica2013; 20(2): 364–368.
22.
PukhovG. Computational structure for solving differential equations by taylor transformations. Cybernetics1978; 14(3): 383–390.
23.
ChenCKHoSH. Solving partial differential equations by two-dimensional differential transform method. Appl Math computation1999; 106(2–3): 171–179.
24.
HassanIAH. Application to differential transformation method for solving systems of differential equations. Appl Math Model2008; 32(12): 2552–2559.
25.
HassanIAH. Comparison differential transformation technique with adomian decomposition method for linear and nonlinear initial value problems. Chaos, Solitons & Fractals2008; 36(1): 53–65.
26.
HassanIAH. Differential transformation technique for solving higher-order initial value problems. Appl Math Comput2004; 154(2): 299–311.
27.
HatamiMJingD. Differential transformation method for newtonian and non-newtonian nanofluids flow analysis: Compared to numerical solution. Alexandria Eng J2016; 55(2): 731–739.
28.
MomaniSErtürkVS. Solutions of non-linear oscillators by the modified differential transform method. Comput Math Appl2008; 55(4): 833–842.
29.
AbazariRSoltanalizadehB. Reduced differential transform method and its application on kawahara equations. Thai J Math2012; 11(1): 199–216.
30.
TamboliVKTandelPV. Solution of the time-fractional generalized burger–fisher equation using the fractional reduced differential transform method. J Ocean Eng Sci2021.
31.
YamadaHSIkedaKS. A numerical test of padé approximation for some functions with singularity. Int J Comput Math2014; 2014: 1–17.
32.
HeJHMoatimidGMZekryMH. Forced nonlinear oscillator in a fractal space. Facta Universitatis, Ser Mech Eng2022; 20(1): 001–020.
33.
SuXHZhengLC. Approximate solutions to mhd falkner-skan flow over permeable wall. Appl Math Mech2011; 32(4): 401–408.
34.
BakerGAJr. Essentials of Padé approximants. Amsterdam, Netherlands: Elsevier, 1975.
35.
NadeemMYaoSW. Solving the fractional heat-like and wave-like equations with variable coefficients utilizing the laplace homotopy method. Int J Numer Methods Heat Fluid Flow2020; 31: 273–292.
36.
SayyedSSinghBBanoN. Analytical solution of mhd slip flow past a constant wedge within a porous medium using dtm-padé. Appl Math Comput2018; 321: 472–482.
37.
TianDAinQTAnjumN, et al.Fractal n/mems: from pull-in instability to pull-in stability. Fractals2021; 29(02): 2150030.
38.
TianDHeC. From inner topological structure to functional nanofibers: Theoretical analysis and experimental verification. Membranes2021; 11(11): 870.
39.
BuchananJLTurnerPR. Numerical methods and analysis. New York, NY: McGraw-Hill, 1992.
40.
HeJH. On the frequency-amplitude formulation for nonlinear oscillators with general initial conditions. Int J Appl Comput Mathematics2021; 7(3): 1–5.
41.
HeCHLiuC. A modified frequency-amplitude formulation for fractal vibration systems. Fractals2021; 30: 2250046.
42.
ZhangHNadeemMRaufA, et al.A novel approach for the analytical solution of nonlinear time-fractional differential equations. Int J Numer Methods Heat Fluid Flow2020; 31: 1069–1084.