Abstract

In this study, a novel analytical solution to the integrable undamping Duffing equation with constant forced term is obtained. Also, a new approximate analytical (semianalytical) solution for the nonintegrable linear damping Duffing oscillator with constant forced term is reported. The analytical solution is given in terms of the Weierstrass elliptic function with arbitrary initial conditions. With respect to it, the semianalytical solution is constructed depending on a new ansatz and the exact solution of the standard Duffing equation (in the absence of both damping and forced terms). A comparison between the obtained solutions and the Runge–Kutta fourth-order (RK4) is carried out. Moreover, some complicated oscillator equations such as the constant forced damping pendulum equation, forced damping cubic-quintic Duffing equation, and constant forced damping Helmholtz–Duffing equation are reduced to the forced damping Duffing oscillator, in which its solution is known. As a practical application, the proposed techniques are applied to investigate the characteristics behavior of the signal oscillations arising in the RLC circuit with externally applied voltage.

1. Introduction

Since the early century until now, Duffing equation [13] has been devoted by many authors in order to investigate the nonlinear oscillations in engineering technology fields and in several physical systems including electrical and mechanical with nonlinear restoring force [4]. So far, this equation and its family have remained a good model in studying and explaining many nonlinear structures in the dynamic systems and various branches of sciences [5]. This family is considered an excellent example for the dynamic system that exhibits chaotic behavior. The Duffing equation with a cubic stiffness term was introduced for the first time by Duffing [6] in 1918 for describing the hardening spring effect observed in many mechanical problems. Since then, this equation has become one of the commonest examples in nonlinear oscillation texts and research articles [4, 7].

The exact analytic solutions of the standard (unforced and undamping) Duffing equation and the cubic-quintic Duffing equation () have been obtained by many authors in terms of Jacobian elliptic functions [814]. Since most realistic physical systems are subjected to the influence of some frictional forces, these forces must be taken into account in Duffing equation to become unforced damping Duffing equation [1519]. The unforced undamping Duffing equation has been solved numerically using the differential transform method, and the author found that both numerical and exact analytic solutions coincide with each other [13]. Also, the analytical solution of the unforced damping Duffing equation in terms of Jacobian elliptic functions has been derived by Johannessen [17, 18]. Moreover, Johannessen [17, 18] made a comparison between the analytical solution and the approximate numerical solution using RK4, and he found that the two solutions were largely identical.

In some physical and engineering systems, the system can be excited by an external force, and this force may be constant or a function of the time. In this case, for modeling the oscillations in these systems, the excited force must be taken into consideration in the Duffing equation which we finally obtain as the forced damping Duffing equation (). Some authors studied the Duffing equation solutions with (out) both damping term and driving/external force [8, 2024]. For instance, the exact solutions of both undamped Duffing equation and forced undamped Duffing equation have been derived in the form of Jacobian elliptic functions by Hsu [8]. Furthermore, the Jacobian elliptic functions have been devoted for getting the approximate solution of the forced damped Duffing equation [20]. This new equation of motion has many applications in electrical and mechanical systems [21, 22] as well as in different branches of science such as studying the oscillations in plasma physics. For example, the forced damping Duffing equation with constant force can be used for investigating the nonlinear oscillations in RLC circuits if the circuit has DC battery. Moreover, the forced damping Duffing equation can be used for modeling the damping oscillations in different plasma models. For instance, for any plasma system having a critical value for its related parameters, we can reduce the fluid equations of the plasma species to a modified Korteweg–de Vries–Burgers (mKdVB) equation () using the reductive perturbation technique (RPT). After that the mKdVB can be transformed to the forced damping Duffing equation by means of a traveling wave transformation for studying the damping oscillations in the plasma system. It should be noted here that the last term in the mKdV equation appeared as a result of taking the kinematic viscosity of some plasma species into account. Motivated by the mentioned investigations, we restrict our attention for studying and solving the forced damping Duffing equation,and some related equations using some new approaches. Thus, our study will be divided into two main goals/parts. First, we will solve the forced damping Duffing equation in the absence of the friction force () in order to get an exact solution in terms of Weierstrass elliptic function. In the second part, a new ansatz will be utilized with the help of some exact solution of standard Duffing equation () in order to find an approximate analytic solution for the initial value problem (1).

2. Methodology

In the beginning, we dissect the i.v.p (1) into two cases and then solve them. In the first case, the undamping Duffing equation with perturbation/excitation force, i.e., and , is considered. This case has several applications in plasma physics, oceans, mechanical fluid, and electronic circuits in the absence viscosity and friction forces. In the second case, the linear damping Duffing equation with perturbation force (sometimes is called the constant forced damping Duffing equation), i.e., and , is considered. Also, this case has various applications in plasma physics if the kinematic viscosity of the plasma species is taken into account or if the dust fluctuations are taken into consideration.

2.1. Case I: An Exact Analytic Solution for the Forced Undamping Duffing Equation

If the damping term in the i.v.p (1) is neglected (), then the i.v.p (1) reduces to the following integrable i.v.p.

Let us assume that the following solution satisfies the i.v.p. (2)where is the Weierstrass elliptic function and satisfies the following condition:

By inserting solution (3) into equation (2) and taking relation (4) into consideration, we getwith

By equating the coefficients to zero, a system of algebraic equations is obtained, and by solving this system, the values of , , , and are obtained as follows:

By applying the initial conditions given in i.v.p (2), we get

The value of is a solution to the following quartic equation:

Note that the solution (3) is periodic with periodwhere is the greatest real root of the cubic equation: .

In equation (9), let us discuss the value of the following number:which is called the discriminant of the i.v.p. (2). If equation (9) has at least one real root, then all parameters that are given in equation (7) become real for real . On the other side, if all roots of equation (9) are complex, then . Indeed, let be the roots of equation (9), and thenso that , and in this case, we cannot obtain real values for the parameters given in equation (7). In order to obtain a solution to the i.v.p. (2) with real values to parameters , we make the following substitution:where , and is a solution to the following Duffing equation:

Taking into account the initial conditions given in the i.v.p. (2), we obtain

On the other hand, the first integration of equation (14) givesand by applying initial condition given in the i.v.p. (2), we getwith

Inserting equations (14)–(17) into the first equation of i.v.p (2), we have

Observe that the quartic equation,has at least one real root, since . Thus, for , the solution of the i.v.p. (14) and (15) expresses the solution of the i.v.p. (2), where the parameters are given in equation (18).

Example 1. The solution of the following i.v.p. according to the relation (3)readsFigure 1 illustrates the comparison between the solution (22) and the RK4 numerical solution. It is known that RK4 numerical solution to the ordinary differential equations is the best so far. Thus, our solution is compared to it, and it is found that the obtained results are completely compatible with each other. Moreover, the periodicity of solution (22) is given by .

2.2. Case II: An Approximate Analytic Solution for the Forced Damping Duffing Equation

It is known that the forced damping Duffing equation is not integrable unless and . Thus, in this subsection, we seek an approximate analytic solution to (1) in the formwhere is a solution to standard Duffing equation , and is some constant to be determined later.

Substituting solution (23) into the forced damping Duffing equation , we have

For small and not too large , , so that equation (24) reduces to

The value of could be obtained by equating the last term in equation (25) to zero:

Accordingly, the following new i.v.p. needs to solve.

Inserting the hypothesis into the i.v.p. (27), we getwhere and . Observe that the i.v.p. (28) refers to the constant forced undamping Duffing equation. From previous section, we already know how to solve this problem. Then, an approximate analytical solution to the constant forced damping Duffing equation (1) could be given bywhere the number is a solution to the cubic equation (26), and is the exact solution of the i.v.p. (28). Note that for , the value of parameter must be chosen according: .

Example 2. Let us analyze the i.v.p. (1) using different values for . The solutions of the i.v.p. (1) according to the relation (23) and and are, respectively, given byFigures 2(a) and 2(b), respectively, demonstrate the comparison between the approximate analytical solutions (30) and (31) and the RK4 approximate solution. Also, the maximum distance error with respect to RK4 is estimated for different values of the parameters as shown in Table 1.
It is noticed from Figure 2 and the values of distance error given in Table 1 that the semianalytical solution (23) gives good results as compared to the approximate numerical solution using RK4. Also, it is seen that the distance error decreases with the enhancement of the coefficient of the damping term , while the forced term has an opposite effect on the distance error, i.e., increasing leads the enhancement of the distance error . Moreover, our solution gives good results for . Also, it is noted that the distance error decreases as the difference between and is large.

3. Applications

Here, we try to find the link between the constant forced damping Duffing equation and some physical and engineering problems related to this equation in order to investigate the nonlinear oscillations in various fields of physics and engineering such as the oscillations in RLC circuits and plasma physics.

3.1. Forced Damping Pendulum Equation

The most popular law of motion in mechanics is , where is the force, is the particle mass, and is the particle acceleration. Thus, we have a pendulum with length and with a ball of mass moving in a constant gravitational field and under friction proportional to the particle velocity and external (un)periodic force. Accordingly, the dimensionless differential equation that can describe the pendulum motion is given by

Note thatfor

Accordingly, and by expanding , the i.v.p. (32) could be replaced by the following new i.v.p.with

Now, the i.v.p. (35) is similar to the i.v.p. (1), which we discussed as its solution in the above sections.

Example 3. The solution of the i.v.p. (32) for readsThe comparison between solution (37) and the numerical solution using RK4 is displayed in Figure 3. Also, the distance error is estimated . It is observed that the obtained results are completely compatible with each other.

3.2. Forced Damping Cubic-Quintic Duffing Equation

The idea is to replace a cubic-quintic polynomial by an odd parity cubic polynomial. Observe thatfor

According to the transformation (38) and (39), the following constant forced damping cubic-quintic Duffing equationcould be reduced to the following new i.v.p.with

Note that the approximation becomes good for small values of which can be achieved for and .

Example 4. The solution of the i.v.p. (41) for readsIn Figure 4, the comparison between solution (43) and the RK4 numerical solution is introduced. Moreover, the distance error is calculated .

3.3. Forced Damping Helmholtz–Duffing Equation

Let us consider the following i.v.p.

To convert the i.v.p. (44) to the i.v.p. (1), the following transformation is introduced:and by substituting this transformation into the i.v.p. (44), we finally getwith

This is a constant forced damping Duffing equation with its initial conditions.

3.4. Nonlinear Oscillations in RLC Series Circuits with Applied External Source

In an RLC series circuits consisting of a resistor with resistance (ohm), an inductor with inductance (H), and ferroelectric nonlinear capacitor with capacitance (F) as well as external applied voltage (V), Kirchhoff’s voltage law (KVL) could be written aswhere the relation between the current and charge is given by , , the coefficients are related to the nonlinear capacitor, and represents the voltage of the battery which is constant. By reorganizing equation (48), the following constant forced and damped Helmholtz equation could be obtained aswith , , and , where is the initial charge value at , , and .

Let us now apply the obtained solution on equation (49) and analyze it numerically using some various values to the coefficients according to the RLC series circuit. The solution of the following i.v.p. according to the relation (23) and for reads

Figure 5 demonstrates the behavior of the damping oscillations in RLC series circuit for . Also, in this figure, we make a comparison between the approximate analytical solution (50) and the approximate numerical solution using the RK4, and the distance error is estimated. The harmony between two solutions has been observed, which confirms the high accuracy of the approximate analytical solutions.

4. Conclusion

Some novel solutions to the Duffing equation and its family (including the constant forced undamping Duffing equation and constant forced damping Duffing equation) have been derived in detail. First, we derived an analytical solution to the integrable constant forced undamping Duffing equation in the form of Weierstrass elliptic function with arbitrary initial conditions. Also, the periodicity of this solution has been obtained. Then, an approximate analytical (semianalytical) solution for the nonintegrable constant forced damping Duffing equation has been discussed depending on the exact solution of the unforced undamping (standard) Duffing equation. The relation between the constant forced damping Duffing equation and the constant forced damping pendulum equation, the constant forced damping cubic-quintic Duffing equation, and the constant forced damping Helmholtz–Duffing equation has been investigated. Some numerical examples have been introduced to demonstrate the obtained results and to make a comparison between the obtained solutions and RK4 numerical solutions. It was found from the results of the comparison that the semianalytical solution is compatible with the RK4 solution.

Future work: in some physical and engineering systems, the driving forces maybe a function of time and with an arbitrary circular frequency such as in the RLC circuits if the AC applied source. In this case, we obtain a new equation of motion which is called the damping Duffing equation with time-dependent driving force: (). This equation of motion needs to be solved in the form of Weierstrass elliptic function, but it is outside the goal of the present work.

Data Availability

The data that support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This study was supported by Taif University Researchers supporting project number (TURSP-2020/275), Taif University, Taif, Saudi Arabia.