﻿ A New Method for the Exact Solution of Duffing Equation

Journal of Applied Mathematics and Physics
Vol.06 No.12(2018), Article ID:90407,9 pages
10.4236/jamp.2018.612225

A New Method for the Exact Solution of Duffing Equation

Ossou Nazila Fred Nelson1, Zheng Yu2, Bambi Prince Dorian1, Yuya Wang1

1College of Economics, Shanghai University, Shanghai, China

2School of Economics & Management, Tongji University, Shanghai, China    Received: December 15, 2018; Accepted: December 28, 2018; Published: December 31, 2018

ABSTRACT

A lot of methods, such as Jacobian elliptic function analysis, are used to look for the explicit exact solution of Duffing differential equation. The key of the analysis is to construct quotient trigonometric function, and then nonlinear algebraic equation set theory and method are used for the solution of some kinds of nonlinear Duffing differential equation. In this paper, the exact solution of Duffing equation is obtained by using constant variation method, making use of the formula to solve cubic equations and general solution of the homogeneous equation of Duffing equation with appropriate Constant m and function $f\left(t\right)$ .

Keywords:

Duffing Equation, Exact Solution, Constant Variation Method 1. Introduction

The Duffing equation is a non-linear second-order differential equation. The equation describes the motion of a damped oscillator with a more complicated potential than in simple harmonic motion; in physical terms, it models, for example, a spring pendulum whose spring’s stiffness does not exactly obey Hooke’s law. It is also an example of a dynamical system that exhibits chaotic behavior.

Many of the dynamic behavior of mechanical power model can be described by a single degree of freedom oscillator     . The systems can be described by the following equation

$\stackrel{¨}{x}=f\left(x\right)+\epsilon g\left(x,\stackrel{˙}{x},t\right)\text{ }\text{ }x\in R$

Alex (2013) discussed the exact solution of a cubic-quintic Duffing oscillator of the form 

$\stackrel{¨}{x}+Ax+B{x}^{3}+G{x}^{5}=0$

Alex’s idea is both simple and enlightening, he turn looking for exact solution into solving algebraic equations set. Without lose of generally, in this paper, we consider the following Duffing equation without external force and damping

$\stackrel{¨}{x}-x+{x}^{3}=0$ (1.1)

Talay’s solve approach is much complex. He assumes that the Equation (1.1) has boundary conditions in the form

$\stackrel{˙}{x}\left(0\right)=0$ and $x\left(±\infty \right)=0$

Given $x\left(0\right)=a$ , $\stackrel{˙}{x}\left(t\right)=ay\left(t\right)$ , where a is an undetermined parameter, the Equation (1.1) becomes

$\stackrel{¨}{y}-y+{a}^{2}{y}^{3}=0$ (1.2)

Equation (1.2) satisfies the following boundary conditions

$y\left(0\right)=1$ , $\stackrel{˙}{y}\left(0\right)=0$ , $y\left(±\infty \right)=0$ (1.3)

Additionally, Talay assumed that the solution of Equation (1.2) can be expressed by index Series in the form

$y\left(t\right)=\sum {c}_{m}{e}^{-mt}={y}_{0}\left(t\right)+\underset{k=1}{\overset{\infty }{\sum }}{y}_{k}\left(t\right)$

According to the boundary conditions, he deduces

${y}_{0}\left(t\right)=2{e}^{-t}-{e}^{-2t}$

$\begin{array}{l}{y}_{1}\left(t\right)=\hslash \left[{e}^{-2t}+{\gamma }_{0}\left({e}^{-3t}-\frac{4}{5}{e}^{-4t}+\frac{1}{4}{e}^{-5t}-\frac{1}{35}{e}^{-6t}\right)\right]+{c}_{1}{e}^{-t}+{c}_{2}{e}^{t}\\ =\hslash \left(\frac{5}{64}{e}^{-t}-{e}^{-2t}+\frac{35}{36}{e}^{-3t}-\frac{7}{4}{e}^{-4t}+\frac{35}{64}{e}^{-5t}-\frac{1}{16}{e}^{-6t}\right)\end{array}$

In the last few years, many scientists work hard to look for exact solutions and to develop some efficient procedures. However, what the key of problem is, the different type of nonlinear differential equation can only be efficiently solved by different corresponding methods. For instant, the Jacobi elliptic function expansion method , the exp-function method , the F-expansion method , the tanh method , the auxiliary equation method , the simplest equation method , and linearized harmonic balance method  are reliable methods for obtaining exact solutions of specific types of nonlinear differential equations.

Keqiang Li (2013) studied the periodic orbits of the modified Duffing differential equation . He paid his attention to the existence of multiple periodic solutions of asymptotically linear Duffing equations with resonance on the left side of the first eigenvalue using index theory and the three-critical-points theorem and obtained a new result. As the function in the right side of his equation is zero, how to look for the exact solution of the equation is a significative problem. Alex (2013) used Jacobi elliptic functions to derive the exact solution of the cubic-quintic Duffing oscillator . He also proved that the exact angular frequency of this cubic-quintic Duffing equation is given in terms of the complete elliptic integral of the first kind. Vasile (2011) has presented a method for obtaining exact solutions for Duffing Equations . Marinca (2011) has presented a method for obtaining exact solutions for Duffing and double-well Duffing equations . What he used is traditional quotient trigonometric function expansion method, and his solution procedure is similar to the exp-function method. However, his result in third section has a distance to reach perfect.

Exact analytical solutions for a family of autonomous ordinary differential equations arising in connection with many important applied problems such as a cubic-quintic Duffing oscillator, Helmholtz?Duffing oscillator, and nonlinear Schrödinger equation are considered. Recently, some theory and applications are found in many contexts, such as, Jiang et al. (2012) presented a new approach via the well-known Poincaré-Birkhoff theorem to obtain the existence of periodic solutions to impulsive problems, they considered an impulsive Duffing equation, and then found the possibility of applying a generalized form of the Poincaré-Birkhoff theorem due to Ding to construct infinitely many periodic solutions of the impulsive Duffing equation even in a resonance case . Jaume and Ana (2015) studied the periodic solutions of a kind of non-autonomous Duffing differential equation with forced pendulum. And, they obtained the condition for that the non-autonomous Duffing differential system has a periodic solution such that it tends to the periodic solution when forced pendulum satisfied with some conditions . Gholam and Emmanuel (2015) have provided a set of inequalities that helps in finding transformation to obtain solutions to other Duffing equations from a known set of solutions to a related equation in a systematic manner . Alexander (2018) has obtained the sufficient and necessary conditions for the existence of a positive periodic solution to a kind of non-autonomous Duffing type equation . David and Douglas (2018) perform a complete analysis of the effect on the asymptotic dynamics of the insertion of delays into a sort of unforced Duffing type equation .

One of the most exciting recent advances of nonlinear science has been the development of some methods to look for exact solutions of nonlinear differential equations. It is important that many mathematical models are described by nonlinear differential equations and exact solutions are preferable instead of approximate ones. The aim of this paper is to put forward constant variation method to derive the exact solution of a Duffing equation of the form (1.1). The exact solution of Duffing equation is obtained by solving cubic equations and looking for appropriate constant m and function $f\left(t\right)$ .

2. Constant Variation Method

In general, the Duffing equation does not admit an exact symbolic solution. However, many approximate methods work well:

• Expansion in a Fourier series will provide an equation of motion to arbitrary precision.

• The cubic term also called the Duffing term can be approximated as small and the system treated as a perturbed simple harmonic oscillator.

• The Jacobi elliptic function expansion method yields a complicated but workable solution.

• Any of the various numeric methods such as Euler’s method and Runge-Kutta can be used.

In the special case of the undamped and unforced, an exact solution of Duffing equation has been obtained using our constant variation method

Now, let’s begin at the solution of the homogeneous linear equations. The homogeneous linear equations corresponding to Equation (1.1) is

$\stackrel{¨}{x}-x=0$ (2.1)

Its general solution is

$x={c}_{1}{e}^{t}+{c}_{2}{e}^{-t}$ (2.2)

Assume we have functions ${c}_{1}\left(t\right)$ and ${c}_{2}\left(t\right)$ , such that the solution of Equation (1.1) has the form as

$x={c}_{1}\left(t\right){e}^{t}+{c}_{2}\left(t\right){e}^{-t}$ (2.3)

Taking Equation (2.3) into Equation (1.1), we obtain following differential equation

${\stackrel{¨}{c}}_{1}\left(t\right){e}^{t}+{\stackrel{¨}{c}}_{2}\left(t\right){e}^{-t}+2\left({\stackrel{˙}{c}}_{1}\left(t\right){e}^{t}-{\stackrel{˙}{c}}_{2}\left(t\right){e}^{-t}\right)+{\left({c}_{1}\left(t\right){e}^{t}+{c}_{2}\left(t\right){e}^{-t}\right)}^{3}=0$ (2.4)

Because functions ${c}_{1}\left(t\right)$ and ${c}_{2}\left(t\right)$ are discretionary, hence, we let ${c}_{1}\left(t\right)={c}_{2}\left(t\right)=c\left(t\right)$ .

Then, Equation (2.4) becomes

$\stackrel{¨}{c}\left(t\right)\left({e}^{t}+{e}^{-t}\right)+2\stackrel{˙}{c}\left(t\right)\left({e}^{t}-{e}^{-t}\right)+{c}^{3}\left(t\right){\left({e}^{t}+{e}^{-t}\right)}^{3}=0$ (2.5)

Therefore, we obtain a more compact differential equation form for unknown function $c\left(t\right)$ .

If we can find an undetermined constant m and an undetermined function $f\left(t\right)$ , such that they satisfy with following equation

$f\left(t\right)=mc\left(t\right)-{c}^{3}\left(t\right){\left({e}^{t}+{e}^{-t}\right)}^{2}$ (2.6)

Then, it is possible for us to reduce solving differential Equation (2.5) to looking for a couple of undetermined constant m and undetermined function $f\left(t\right)$ . Our main conclusions as follows.

Theorem 1. The Equation (2.5) has solutions if only and if the following equations set have solutions for given constant m and undetermined function $f\left(t\right)$ .

$\left\{\begin{array}{l}\left\{\stackrel{¨}{c}\left(t\right)+2\stackrel{˙}{c}\left(t\right)\frac{{e}^{t}-{e}^{-t}}{{e}^{t}+{e}^{-t}}+mc\left(t\right)=f\left(t\right)\\ {c}^{3}\left(t\right){\left(}^{{e}^{t}}-mc\left(t\right)+f\left(t\right)=0\end{array}$ (2.7)

Proof: Let $z=c\left(t\right)\left({e}^{t}+{e}^{-t}\right)$ , then Equation (2.6) leads to a cubic equation as

${z}^{3}-mz+f\left(t\right)\left({e}^{t}+{e}^{-t}\right)=0$ (2.8)

Its solutions can be expressed as

$\begin{array}{l}z=\sqrt{\frac{-f\left(t\right)\left({e}^{t}+{e}^{-t}\right)+\sqrt{{f}^{2}\left(t\right)\left({e}^{t}+{e}^{-t}\right)-\frac{4{m}^{3}}{27}}}{2}}\\ +\sqrt{\frac{-f\left(t\right)\left({e}^{t}+{e}^{-t}\right)-\sqrt{{f}^{2}\left(t\right){\left({e}^{t}+{e}^{-t}\right)}^{2}-\frac{4{m}^{3}}{27}}}{2}}\end{array}$ (2.9)

Specially, if $m=0$ , we have the simplest representation as follows

$z=-\sqrt{f\left(t\right)\left({e}^{t}+{e}^{-t}\right)}$ .

Notice that Equation (2.7) has denominators in the form as $\left({e}^{t}+{e}^{-t}\right)$ ,so let

$f\left(t\right)=\frac{-{k}^{3}}{{\left({e}^{t}+{e}^{-t}\right)}^{4}}$ (2.10)

Applying function (2.10) to equations set (2.7), we get ${k}^{3}=8k$ , it means $k=2\sqrt{2}$ or $k=0$ .

On the other hand, we can prove that ${k}^{3}$ is forever equal to 8k when $m=0$ .

Actually, if $m=0$ , then $f\left(t\right)=\frac{-{k}^{3}}{{\left({e}^{t}+{e}^{-t}\right)}^{4}}$ , meanwhile, we have

$z=\frac{k}{\left({e}^{t}+{e}^{-t}\right)}$

Let’s make a transformation: $z=c\left(t\right)\left({e}^{t}+{e}^{-t}\right)$ , then

$c\left(t\right)=\frac{k}{{\left({e}^{t}+{e}^{-t}\right)}^{2}}$

Applying $c\left(t\right)$ and its first derivative and second derivative to equations set (2.7), we have

$2k\frac{{\left({e}^{t}+{e}^{-t}\right)}^{2}-3{\left({e}^{t}-{e}^{-t}\right)}^{2}}{{\left({e}^{t}+{e}^{-t}\right)}^{4}}+4k\frac{{e}^{t}-{e}^{-t}}{{\left({e}^{t}+{e}^{-t}\right)}^{3}}\cdot \frac{{e}^{t}-{e}^{-t}}{{e}^{t}+{e}^{-t}}=\frac{{k}^{3}}{{\left({e}^{t}+{e}^{-t}\right)}^{4}}$ (2.11)

Equation (2.11) follows ${k}^{3}=8k$ immediately. This finishes the proof of theorem1.

We have showed a few representative integer parameters m and functions in Table 1.

In fact, m is not only integer, but it maybe any fractional as well. Some values of m and respective function are showed in Table 2.

3. Applications

In this section, we shall give some examples to explain our constant variation method.

Example 1. Consider following Duffing equation

$\stackrel{¨}{x}-x+a{x}^{3}=0$ (3.1)

1) $a>0$ . Take time transformation $\tau =\sqrt{a}t$ for Equation (3.1), we have

$\frac{{d}^{2}x}{d{\tau }^{2}}-\frac{1}{a}x+{x}^{3}=0$

According to theorem 1, we can easily find a couple of m and $f\left(t\right)$ (see Table 2), for instant, take m = 1/2 and $f\left(\tau \right)=-\sqrt{2}\cdot \frac{12-{\left({e}^{\frac{1}{\sqrt{a}}\tau }-{e}^{-\frac{1}{\sqrt{a}}\tau }\right)}^{2}}{{\left({e}^{\frac{1}{\sqrt{a}}\tau }+{e}^{-\frac{1}{\sqrt{a}}\tau }\right)}^{4}}$ . In the light of theorem 1, one can get the solution of Equation (3.1) at once

Table 1. Integer parameter m and function $f\left(t\right)$ .

Table 2. Fractional parameter m and function $f\left(t\right)$ .

$x=\frac{2\sqrt{2}}{\sqrt{a}\mathrm{cosh}\frac{\tau }{\sqrt{a}}}=\frac{2\sqrt{2}}{\sqrt{a}\mathrm{cosh}t},\text{ }a>0$ (3.2)

2) $a<0$ . Take time transformation $\tau =\sqrt{-a}t$ for Equation (3.1), in same way we also get

$x=\frac{2\sqrt{2}}{\sqrt{-a}\mathrm{sinh}t},\text{ }a<0$ (3.3)

Example 2. Vasile (2011) discussed the unforced and undamped double-well Duffing equation 

$\stackrel{¨}{x}-{\omega }_{0}^{2}x+\beta {x}^{3}=0$ (3.4)

where $\beta$ is a positive constant which may not be a small value.

We can easily obtain exact solution of Equation (3.4) in the same way as example 1.

$x=\frac{2\sqrt{2}}{\sqrt{\beta }\mathrm{cosh}\left({\omega }_{0}t\right)}$ (3.5)

Example 3. Jaume and Ana (2013; 2015) discussed following modified Duffing differential equation  

$\stackrel{¨}{y}+ay-\epsilon {y}^{3}=\epsilon h\left(y,\stackrel{˙}{y}\right)$ (3.6)

In the special case $h=0,\text{\hspace{0.17em}}a<0$ , we obtain one of the solutions of Equation (3.6) at once in the same way as example1.

$y=\frac{2\sqrt{2}}{\sqrt{-\epsilon }\mathrm{cosh}\left(\sqrt{-a}t\right)},\text{ }\epsilon <0$ (3.7)

$y=\frac{2\sqrt{2}}{\sqrt{\epsilon }\mathrm{sinh}\left(\sqrt{-a}t\right)},\text{ }\epsilon >0$ (3.8)

Example 4. By using Jacobian elliptic function, Alex (2013) derive the exact solution of a cubic-quintic Duffing oscillator of the form 

$\stackrel{¨}{x}+Ax+B{x}^{3}+G{x}^{5}=0$ (3.9)

Let’s discuss the special case $G=0,\text{\hspace{0.17em}}A<0,\text{\hspace{0.17em}}B>0$ . Take time transformation $\tau =\sqrt{B}t\text{\hspace{0.17em}}\left(B>0\right)$ for Equation (3.9), then (3.9) can be turned into

$\frac{{d}^{2}x}{d{\tau }^{2}}+\frac{A}{B}x+{x}^{3}=0$

According the result in example 3, one can get the solution at once

$x=\frac{2\sqrt{2}}{\sqrt{B}\mathrm{cosh}\left(\sqrt{-A}t\right)},\text{ }B>0$ and $x=\frac{2\sqrt{2}}{\sqrt{-B}\mathrm{sinh}\left(\sqrt{-A}t\right)},\text{ }B<0$ (3.10)

Acknowledgements

This research was supported by National Natural Science Foundation of China (71171128) and Shanghai University’s horizontal project (Project name: company convertible bond pricing method and its application).

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

Cite this paper

Nelson, O.N.F., Yu, Z., Dorian, B.P. and Wang, Y.Y. (2018) A New Method for the Exact Solution of Duffing Equation. Journal of Applied Mathematics and Physics, 6, 2718-2726. https://doi.org/10.4236/jamp.2018.612225

References

1. 1. Ho, C. and Lang, Z.-Q. (2014) Stephen A. Billings. A Frequency Domain Analysis of the Effects of Nonlinear Damping on the Duffing Equation. Mechanical Systems and Signal Processing, 45, 49-67. https://doi.org/10.1016/j.ymssp.2013.10.027

2. 2. Cveticanin, L. (2001) Analytic Approach for the Solution of the Complex-Valued Strong Non-Linear Differential Equation of Duffing Type. Physica A, 297, 348-360. https://doi.org/10.1016/S0378-4371(01)00228-X

3. 3. Du, L.-C. and Mei, D.-C. (2011) Stochastic Resonance, Reverse-Resonance and stochastic Multi-Resonance in an Underdamped Quartic Double-Well Potential with Noise and Delay. Physica A, 390, 3262-3266. https://doi.org/10.1016/j.physa.2011.05.006

4. 4. Cveticanin, L. (2003) Analytic Solution of the System of Two-Coupled Differential Equations with the Fifth-Order Non-Linearity. Physica A, 317, 83-94. https://doi.org/10.1016/S0378-4371(02)01323-7

5. 5. Mallick, K. and Marcq, P. (2003) Effects of Parametric Noise on a Nonlinear Oscillator. Physica A, 325, 213-219. https://doi.org/10.1016/S0378-4371(03)00200-0

6. 6. Elías-Zúñiga, A. (2013) Exact Solution of the Cubic-Quintic Duffing Oscillator. Applied Mathe-matical Modelling, 37, 2574-2579. https://doi.org/10.1016/j.apm.2012.04.005

7. 7. Liu, S.K., Fu, Z.T., Liu, S.D. and Zhao, Q. (2001) Jacobi Elliptic Expansion Method and Periodic Wave Solutions of Nonlinear Wave Equations. Physics Letters A, 289, 69-74. https://doi.org/10.1016/S0375-9601(01)00580-1

8. 8. Dai, C.Q. and Zhang, J.F. (2009) Application of He’s Exp-Function Method to the Stochastic mKdV Equation. Int. J. Nonlinear Sci. Num., 10, 675-680.

9. 9. Elhanbaly, A. and Abdou, M. (2007) Exact Travelling Wave Solutions for Two Nonlinear Evolution Equations Using the Improved F-Expansion Method. Math. Comput. Modelling, 46, 1265-1276. https://doi.org/10.1016/j.mcm.2007.01.004

10. 10. Ugurlu, Y. and Kaya, D. (2008) Exact and Numerical Solutions of Generalized Drinfeld-Sokolov Equations. Phys. Lett. A, 372, 2867-2873. https://doi.org/10.1016/j.physleta.2008.01.003

11. 11. Sirendaoreji. (2004) New Exact Traveling Wave Solutions for the Kawahara and Modified Kawahara Equation. Chaos Solitons Fractals, 19, 147-150. https://doi.org/10.1016/S0960-0779(03)00102-4

12. 12. Vitanov, N.K. (2010) Application of Simplest Equations of Bernoulli and Riccati Kind for Obtaining Exact Travelling-Wave Solutions for a Class of PDEs with Polynomial Nonlinearity. Commun. Nonlinear Sci Numer. Simul., 15, 2050-2060. https://doi.org/10.1016/j.cnsns.2009.08.011

13. 13. Yamgoue, S.B. and Kofane, T.C. (2008) Linearized Harmonic Balance Based Derivation of Slow Flow for Some Class of Autonomous Single Degree of Freedom Oscillators. International Journal of Non-Linear Mechanics, 43, 993-999. https://doi.org/10.1016/j.ijnonlinmec.2008.05.001

14. 14. Li, K.Q., Wang, S.J. and Zhao, Y.G. (2013) Multiple Periodic Solutions for Asymptotically Linear Duffing Equations with Resonance (II). Journal of Mathematical Analysis and Applications, 397, 156-160. https://doi.org/10.1016/j.apm.2012.04.005

15. 15. Llibre, J. and Rodrigues, A. (2013) A Note on the Periodic Orbits of a Kind of Duffing Equations. Applied Mathematics and Computation, 219, 8358-8365. https://doi.org/10.1016/j.amc.2012.11.087

16. 16. Marinca, V. and Herisanu, N. (2011) Explicit and Exact Solutions to Cubic Duffing and Double-Well Duffing Equations. Mathematical and Computer Modelling, 53, 604-609. https://doi.org/10.1016/j.mcm.2010.09.011

17. 17. Jiang, F.F., Shen, J.H. and Zeng, Y.T. (2012) Applications of the Poincaré-Birkhoff Theorem to Impulsive Duffing Equations at Resonance. Nonlinear Analysis: Real World Applications, 13, 1292-1305. https://doi.org/10.1016/j.nonrwa.2011.10.006

18. 18. Llibre, J. and Rodrigues, A. (2015) A Non-Autonomous Kind of Duffing Equation. Applied Mathematics and Computation, 251, 669-674. https://doi.org/10.1016/j.amc.2014.11.007

19. 19. Zakeri, G.-A. and Yomba, E. (2015) Exact Solutions of a Generalized Autonomous Duffing-Type Equation. Applied Mathematical Modelling, 39, 4607-4616. https://doi.org/10.1016/j.apm.2015.04.027

20. 20. Lomtatidze, A. and Sremr, J. (2018) On Periodic Solutions to Second-Order Duffing Type Equations. Nonlinear Analysis: Real World Applications, 40, 215-242. https://doi.org/10.1016/j.nonrwa.2017.09.001

21. 21. Hill, D.C. and Shafer, D.S. (2018) Asymptotic and Stability of the Delayed Duffing Equation. J. Differential Equations, 265, 33-68. https://doi.org/10.1016/j.jde.2018.02.029