Next Article in Journal
WSI: A New Early Warning Water Survival Index for the Domestic Water Demand
Next Article in Special Issue
Moving Singular Points and the Van der Pol Equation, as Well as the Uniqueness of Its Solution
Previous Article in Journal
Dendrite Net with Acceleration Module for Faster Nonlinear Mapping and System Identification
Previous Article in Special Issue
Quality Evaluation for Reconstructing Chaotic Attractors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Analytical and Numerical Study on Forced and Damped Complex Duffing Oscillators

by
Weaam Alhejaili
1,
Alvaro H. Salas
2 and
Samir A. El-Tantawy
3,4,*
1
Department of Mathematical Sciences, College of Science, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh 11671, Saudi Arabia
2
FIZMAKO Research Group, Department of Mathematics and Statistics, Universidad Nacional de Colombia, Manizales 170001, Colombia
3
Department of Physics, Faculty of Science, Port Said University, Port Said 42521, Egypt
4
Research Center for Physics (RCP), Department of Physics, Faculty of Science and Arts, Al-Mikhwah, Al-Baha University, Al-Bahah 1988, Saudi Arabia
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(23), 4475; https://doi.org/10.3390/math10234475
Submission received: 14 September 2022 / Revised: 12 November 2022 / Accepted: 23 November 2022 / Published: 27 November 2022
(This article belongs to the Special Issue Dynamical Systems and Optimal Control, 2nd Edition)

Abstract

:
In this work, some general forms for forced and damped complex Duffing oscillators (FDCDOs), including two different models, which are known as the forced and damped complex Duffing oscillator (I) (FDCDO (I)) and FDCDO (II), are investigated by using some effective analytical and numerical approaches. For the analytical approximation, the two models of the FDCDOs are reduced to two decoupled standard forced and damped Duffing oscillators (FDDOs). After that, both the ansatz method and Krylov–Bogoliubov–Mitropolsky (KBM) approach are applied in order to derive some accurate analytical approximations in terms of trigonometric functions. For the numerical approximations, the finite difference method is employed to analyze the two coupled models without causing them to be decoupled for the original problems. In addition, all obtained analytical and numerical approximations are compared with the fourth-order Runge–Kutta (RK4) numerical approximations. Moreover, the maximum residual distance error (MRDE) is estimated in order to verify the accuracy of all obtained approximations.

1. Introduction

Nonlinear oscillation is one of the most popular and widely researched fields due to its diverse applications in automobiles, sensing, fluid and solid interactions, bioengineering, and plasma oscillations [1,2,3,4,5,6,7,8]. There are huge numbers of equations of motion that can be used to model and describe the mechanisms of motion of various waves and oscillators [9,10]. For instance, Cveticanin [1,2] used the hybrid elliptic-Krylov–Bogolubov method (eKBM) with the power-series method (PSM) to analyze a conserved coupled system of second-order differential equations (DEs) with weak and strong nonlinearity. In [1], the author used the mentioned method to derive only the first-order approximation in terms of Jacobi elliptic functions (JEFs). In addition, Cveticanin [2] used the eKBM to derive some analytical approximations in terms of JEFs for strong nonlinear DEs of complex Duffing-type oscillators, which describe the dynamical behavior of numerous realistic models. Grattarola and Torre [4] derived the sufficient and necessary conditions for synchronization, which can be applied in order to find much information about a wide range of nonlinear oscillators. Cveticanin [5] presented an approximate technique based on a method of slowly varying the phase and amplitude in order to solve a set of two coupled complex ordinary differential equations (ODEs). Mahmoud [6] used an approximate method based on the Krylov–Bogoliubov averaging approach to analyze and solve a set of complex nonlinear physical oscillators. Manasevich et al. [7] studied complex-valued Liénard systems to obtain the sufficient conditions for periodic solutions to these issues. Cveticanin [8] used the averaging method to derive an exact solution to a cubic-nonlinearity complex differential equation in terms of JEFs. Moreover, nonlinear plasma oscillations were analyzed in the framework of a general form of the Van der Pol oscillator [9]. The authors of [9] used some effective approximate methods, such as the ansatz method and the Krylov–Bogoliubov–Mitropolsky (KBM) method, to derive some analytic approximations. Both the equivalent linearization approach (ELA) and weighted averaging were employed [11,12] to analyze many different types of strong nonlinear oscillators, including many different Duffing-type oscillators and a cubic Duffing oscillator with discontinuity. The authors compared their results with those of many other approaches, such as the min–max approach, the parameter-expansion method, the modified Lindsted–Poincare method, the homotopy perturbation method, and the fourth-order Runge–Kutta (RK4) numerical method. Hieu [13] used the ELP with weighted averaging to derive an approximation to a generalized strong nonlinear oscillator with a fractional term. As a special case for the obtained results, the author of [13] studied the approximations to some different types of Duffing oscillators and a nonlinear oscillator with fractional nonlinearity. In addition, this author compared his results with those of RK4 numerical approximations.
The Duffing-type equation/oscillator is one of the most famous and important equations, as it has succeeded in explaining many different oscillations in different plasma oscillations [14], engineering problems [15], statistical mechanics, and many other applications [16,17,18]. Moreover, there is another form of the Duffing equation with complex variables, which is known as a complex Duffing oscillator (CDO) [1,2], as mentioned above. One of these equations was studied in [1] by Cveticanin, who solved the following problem:
x ¨ + m x 3 y = ϵ F 1 x , x ˙ , y , y ˙ , y ¨ p x 5 a x = ϵ F 2 x , x ˙ , y , y ˙ , x 0 = x 0 &   x ˙ 0 = x ˙ 0 , y 0 = x 0 &   y ˙ 0 = y ˙ 0 .
Here, F 1 F 1 x , x ˙ , y , y ˙ and F 2 F 2 x , x ˙ , y , y ˙ are weakly nonlinear functions, and a , m , p are the parameters of the model under study. In addition, Cveticanin [2] analyzed and discussed the following complex Duffing-type oscillator:
z ¨ + c 1 z + 3 c 3 z z 2 c 3 z ¯ 3 = ϵ G z , z ˙ , c c ,
where z z t , x t x , y t y , z x + i y is a complex function, and z ¯ is the conjugate of z, whereas x x ( t ) and y y ( t ) indicate the real and imaginary parts, respectively. z z ¯ = | z | 2 , G z , z ˙ , c c represents a complex defection, “ c c ”indicates the complex conjugate function, and i = 1 . In [3], the authors investigated a cubic DE and presented the desired solutions in different forms of functions, such as Jacobi and Weierstrass elliptic functions. In the present investigation, the following two general forms of the forced damped CDO are considered:
z ¨ + 2 ε z ˙ + α z + β z z 2 + γ z ¯ 3 = ϝ t ,
and
z ¨ + 2 ε z ˙ + α z + β ˜ z z 2 + γ ˜ z ¯ 3 + δ ˜ z 3 = ϝ t ,
where ϝ t = f 1 ( t ) + i f 2 ( t ) indicates any periodic force that can be taken as f 1 ( t ) = γ 1 cos ω 1 t and f 2 ( t ) = γ 2 cos ω 2 t or any other time-dependent function. The coefficients ε , α , β , γ of Equation (3) are real values, while for Equation (4), the coefficients ε , α , are real values, but β ˜ , γ ˜ , δ ˜ have complex values, as follows:
β ˜ = ( β 1 + i β 2 ) , γ ˜ = ( γ 1 + i γ 2 ) , δ ˜ = ( δ 1 + i δ 2 ) .
In this investigation, two different models for the forced damped CDO, including the FDCDO (I) (3) and the FDCDO (II) (4), will be analyzed and discussed by using some effective techniques, such as the ansatz method, KBM approach [19], and finite difference method (FDM). The two mentioned models are analyzed by using both the ansatz method and the KBM approach in order to find some analytic approximations in terms of trigonometric functions. To do that, the two aforementioned models will be reduced to two decoupled systems of standard forced and damped Duffing oscillators (FDDOs). After that, both the ansatz and KBM methods can be applied in order to find some analytical approximations to the standard forced and damped Duffing oscillator (FDDO). However, for the numerical approximations, both the FDM and RK4 methods will be applied in order to analyze and solve the original complex problems numerically without causing them to be decoupled from the original problems.

2. FDCDO (I)

Let us consider the following initial value problem (i.v.p.):
z ¨ + 2 ε z ˙ + α z + β z z 2 + γ z ¯ 3 = ϝ t , z ( 0 ) = z 0 &   z ˙ ( 0 ) = z ˙ 0 ,
where the coefficients ε , α , β , γ are real constants and α > 0 . To analyze this system, it should be reduced to two decoupled forced and damped Duffing oscillators (FDDOs) by using a suitable linear transformation.

Reducing the I.V.P. (6) to Two Decoupled FDDOs

Using the relation z = x + i y in the i.v.p. (6), the x y system is obtained as follows:
Q 1 x ¨ + 2 ε x ˙ + α x + ( β + γ ) x 3 + ( β 3 γ ) y 2 x f 1 ( t ) = 0 , Q 2 y ¨ + 2 ε y ˙ + α y + ( β + γ ) y 3 + ( β 3 γ ) x 2 y f 2 ( t ) = 0 , x ( 0 ) = x 0 &   y ( 0 ) = y 0 , x ˙ ( 0 ) = x ˙ 0 &   y ˙ ( 0 ) = y ˙ 0 .
Note that Q 1 , 2 are linearly decoupled, and the following linear transformation can be used to reduce the coupled Equation (7) to two decoupled FDDOs:
x = u + v , y = u v ,
where u u ( t ) and v v ( t ) obey the following FDDOs:
u ¨ + 2 δ 1 u ˙ + P 1 u + Q 1 u 3 = F 1 t , v ¨ + 2 δ 2 v ˙ + P 2 v + Q 2 v 3 = F 2 t .
Inserting Equations (8) and (9) into the i.v.p. (7), after several calculations, the following values of the coefficients δ 1 , 2 , P 1 , 2 , Q 1 , 2 , and F 1 , 2 t are obtained:
δ 1 , 2 = ε , P 1 , 2 = α , Q 1 , 2 = 2 ( β γ ) , F 1 t = 1 2 f 1 ( t ) + f 2 ( t ) , F 2 t = 1 2 f 1 ( t ) f 2 ( t ) ,
whereas the the initial conditions (ICs) read:
u ( 0 ) = x 0 + y 0 2 &   v ( 0 ) = x 0 y 0 2 , u ˙ ( 0 ) = x ˙ 0 + y ˙ 0 2 &   v ˙ ( 0 ) = x ˙ 0 y ˙ 0 2 .
Accordingly, the residual errors read:
Q 1 = 2 ( β + 3 γ ) u v ( u + v ) , Q 2 = 2 ( β + 3 γ ) u v ( u v ) .
Thus, the i.v.p. (6) is reduced to two decoupled FDDOs (9) with the ICs in (11).

3. FDCDO (II)

Here, a new form of a forced and damped CDO with complex coefficients is considered:
z ¨ + 2 ε z ˙ + α z + β ˜ z z 2 + γ ˜ z ¯ 3 + δ ˜ z 3 = ϝ t , z ( 0 ) = z 0 &   z ˙ ( 0 ) = z ˙ 0 ,
where α is a real and positive constant and ε has a real value, while the coefficients β ˜ , γ ˜ , δ ˜ have complex values. To analyze the i.v.p. (13), in order to obtain high-accuracy approximations, it should be reduced to two decoupled FDDOs by using a suitable linear transformation.

Reducing the I.V.P. (13) to Two Decoupled FDDOs

The i.v.p. (13) can be written in an x , y -system as follows:
x ¨ + 2 ε x ˙ + ω 0 2 x + C 3 , 0 x 3 + C 1 , 2 x y 2 + C 2 , 1 x 2 y + C 0 , 3 y 3 f 1 ( t ) = 0 , y ¨ + 2 ε y ˙ + ω 0 2 y + D 3 , 0 x 3 + D 1 , 2 x y 2 + D 2 , 1 x 2 y + D 0 , 3 y 3 f 2 ( t ) = 0 ,
with the same ICs as those given in (7), and the above coefficients are given by
C 3 , 0 = β 1 + γ 1 + δ 1 , C 0 , 3 = β 2 + γ 2 δ 2 , C 2 , 1 = β 2 3 γ 2 + 3 δ 2 , C 1 , 2 = β 1 3 γ 1 + δ 1 , D 3 , 0 = β 2 + γ 2 + δ 2 , D 0 , 3 = β 1 + γ 1 δ 1 , D 2 , 1 = β 1 3 γ 1 + 3 δ 1 , D 1 , 2 = β 2 3 γ 2 + δ 2 .
Now, suppose that only the equilibrium point is considered: ( x , y , x ˙ , y ˙ ) = ( 0 , 0 , 0 , 0 ) . Now, to reduce the i.v.p. (14) to two decoupled FDDOs, the linear transformations in (8) are used for this purpose; both u , v obey the FDDOs given in the system (9)
u ¨ + 2 ε u ˙ + P 1 u + Q 1 u 3 = H 1 t , v ¨ + 2 ε v ˙ + P 2 v + Q 2 v 3 = H 2 t .
By substituting Equation (15) into the system (14), after several calculations, the values of the coefficients P 1 , 2 , Q 1 , 2 , and F 1 , 2 t are obtained as follows:
P 1 , 2 = α = ω 0 2 , Q 1 = C 0 , 3 + C 3 , 0 + C 2 , 1 + C 1 , 2 , Q 2 = D 0 , 3 D 3 , 0 + D 2 , 1 D 1 , 2 , H 1 t = 1 2 f 1 ( t ) + f 2 ( t ) , H 2 t = 1 2 f 1 ( t ) f 2 ( t ) ,
and the ICs become
u ( 0 ) = 1 2 x 0 + y 0 , v ( 0 ) = 1 2 x 0 y 0 , u ˙ ( 0 ) = 1 2 x ˙ 0 + y ˙ 0 , v ˙ ( 0 ) = 1 2 x ˙ 0 y ˙ 0 .
Thus, the i.v.p. (13) is reduced to two decoupled FDDO (15) with the ICs in (17).

4. Mathematical Methods for Analyzing the FDDO

Now, two different approaches to analyzing and solving the system of the two coupled Equations in (9)–(11), as well as (15)–(17), are introduced, as illustrated in the following section.

4.1. First Approach to Analyzing the FDDO

As shown in Equations (9)–(11) and (15)–(17), both the first model (6) and the second model (13) are reduced to two decoupled system of FDDOs. Accordingly, the general form of the FDDO that should be solved reads:
N 1 Ψ ¨ + 2 ε Ψ ˙ + α Ψ + δ Ψ 3 f ( t ) = 0 , Ψ ( 0 ) = Ψ 0 &   Ψ ˙ ( 0 ) = Ψ ˙ 0 ,
with
f ( t ) = f 0 cos ω t .
Here, the following ansatz is introduced in order to find an approximation to the i.v.p. (18):
Ψ = e ε t c 1 cos ψ + c 2 sin ψ + d cos ω t ,
whereas ψ ψ ( t ) can be determined from the following equation:
ψ ˙ = h 0 + h 1 e 2 ε t + h 2 e 4 ε t + h 3 e 6 ε t .
Here, the coefficients c 1 , 2 , d, and h 0 , 1 , 2 , 3 should be determined.
Putting Equations (19)–(21) into N 1 = 0 , yields
N 1 = S 1 cos ψ + S 2 sin ψ + S 3 cos ω t + h . o . t ,
with
S 1 = 1 4 e 3 ε t c 1 3 c 2 2 δ 2 e 2 ε t 2 α 3 δ d 2 + 2 ε 2 + 2 ψ 2 + 3 c 1 3 δ + 4 c 2 e 2 ε t ψ , S 2 = 1 4 e 3 ε t c 2 3 c 1 2 δ 2 e 2 ε t 2 α 3 δ d 2 + 2 ε 2 + 2 ψ 2 + 3 c 2 3 δ 4 c 1 e 2 ε t ψ , S 3 = 3 2 c 1 2 + c 2 2 δ d e 2 ε t + 3 δ d 3 4 + ( α ω 2 ) d f 0 ,
where the abbreviation h.o.t indicates higher-order terms.
By solving the following equation, the value of d can be obtained:
3 δ 4 d 3 + ( α ω 2 ) d f 0 = 0 .
For S 1 = S 2 = 0 , by eliminating ψ ( t ) from the resulting system, the following equation is obtained:
2 2 α 3 δ d 2 + 2 ε 2 + 2 ψ ( t ) 2 3 c 1 2 + c 2 2 δ e 2 ε t = 0 .
Inserting the value of ψ given in Equation (21) into Equation (24), the following equation is obtained:
M 0 + M 1 e 2 t ε + M 2 e 4 t ε + M 3 e 6 t ε + = 0 ,
with
M 0 = 4 h 0 2 4 α 6 d 2 δ + 4 ε 2 , M 1 = 8 h 0 h 1 3 δ c 1 2 + c 2 2 M 2 = 4 h 1 2 + 2 h 0 h 2 , M 3 = 8 h 1 h 2 + h 0 h 3 .
By solving the system M 0 , 1 , 2 , 3 = 0 , the values of the constant h 0 , 1 , 2 , 3 are obtained:
h 0 = 2 α + 3 δ d 2 2 ε 2 2 , h 1 = 3 c 1 2 + c 2 2 δ 8 h 0 , h 2 = 9 c 1 2 + c 2 2 2 δ 2 128 h 0 3 , h 3 = 27 c 1 2 + c 2 2 3 δ 3 1024 h 0 5 .
The constants c 1 , 2 are determined from the ICs Ψ ( 0 ) = Ψ 0 and Ψ ˙ ( 0 ) = Ψ ˙ 0 , leading to
c 1 = W 0 d , c 2 = d ε + ε W 0 + W ˙ 0 w 0 + w 1 + w 2 + w 3 .
Based on the above calculations, the expression of the frequency ψ reads:
ψ ( t ) = h 0 t + 1 12 ε 6 h 1 1 e 2 ε t + 3 h 2 1 e 4 ε t + 2 h 3 1 e 6 ε t .
Using the obtained solution, it is easy to find the functions u , v for f 1 ( t ) = γ 1 cos ω 1 t and f 2 ( t ) = γ 2 cos ω 2 t when γ 1 γ 2 = 0 . However, for γ 1 γ 2 0 , the following formula of the FDDO is considered:
N 2 Ψ ¨ + 2 ε Ψ ˙ + α Ψ + δ Ψ 3 a cos ω 1 t + b cos ω 2 t = 0 , Ψ ( 0 ) = Ψ 0 &   Ψ ˙ ( 0 ) = Ψ ˙ 0 ,
where Ψ Ψ t .
It is assumed that the solution of the i.v.p. (28) has the following ansatz form:
Ψ = e ε t ( c 1 cos ψ + c 2 sin ψ ) + d 1 cos ω 1 t + d 2 cos ω 2 t ,
with
ψ ˙ = r 0 + r 1 e 2 ε t + r 2 e 4 ε t + r 3 e 6 ε t ,
where the constants c 1 , 2 , d 1 , 2 , and r 0 , 1 , 2 , 3 need to be determined, whereas a , b, and ω 1 , 2 are free parameters. By following the same procedure that was used to determine the values of the constants c 1 , 2 , d, and h 0 , 1 , 2 , 3 , the values of c 1 , 2 , d 1 , 2 , and r 0 , 1 , 2 , 3 can be obtained. By inserting Equations (29) and (30) into N 2 = 0 and by vanishing the coefficients of cos ψ , sin ψ , and ψ ¨ , the following equations are obtained:
2 2 r 0 2 2 α 3 δ d 1 2 + d 2 2 + 2 ε 2 = 0 , 8 r 0 r 1 3 δ c 1 2 + c 2 2 = 0 , 4 r 1 2 + 2 r 0 r 2 = 0 , 4 r 2 2 + 2 r 1 r 3 = 0 , 8 r 1 r 2 + r 0 r 3 = 0 .
Solving the system (31) yields
r 0 = ( α ε 2 ) + 3 2 δ ( d 1 2 + d 2 2 ) , r 1 = 3 δ 8 r 0 c 1 2 + c 2 2 , r 2 = 9 δ 2 128 r 0 3 c 1 2 + c 2 2 2 , r 3 = 27 δ 3 1024 r 0 5 c 1 2 + c 2 2 3 .
The constants d 1 , 2 are obtained by solving the following algebraic system:
3 δ 4 d 1 3 a + α d 1 + 3 2 δ d 2 2 d 1 d 1 ω 1 2 = 0 , 3 δ 4 d 2 3 b + α d 2 + 3 2 δ d 1 2 d 2 d 2 ω 2 2 = 0 .
By integrating Equation (30), for ψ ( 0 ) = 0 , the frequency ψ is obtained:
ψ ( t ) = r 0 t + 1 12 ε 6 r 1 1 e 2 ε t + 3 r 2 1 e 4 ε t + 2 r 3 1 e 6 ε t ,
where the values of r 0 , 1 , 2 , 3 are defined in Equation (32).
The constants c 1 , 2 can be found with the ICs: Ψ ( 0 ) = Ψ 0 & Ψ ˙ ( 0 ) = Ψ ˙ 0 . By inserting the condition Ψ ( 0 ) = Ψ 0 into the solution (29) and Equation (34), the value of the constant c 1 is obtained: c 1 = Ψ 0 d 1 d 2 . In addition, by using the condition Ψ ˙ ( 0 ) = Ψ ˙ 0 in Equations (29) and (34), an algebraic equation of the ninth degree is obtained. By solving this equation, the value of c 2 can be obtained.

4.2. Second Approach to Analyzing the FDDO

In this section, another new approach, which is known as the Krylov–Bogoliubov–Mitropolsky (KBM) method, is applied to solve the FDDO (18). For this purpose, the i.v.p. (18) is written in the following p-problem (perturbation problem):
Ψ ¨ + ω 0 2 Ψ + p [ 2 ε Ψ ˙ + δ Ψ 3 f ( t ) ] = 0 , Ψ ( 0 ) = Ψ 0 &   Ψ ˙ ( 0 ) = Ψ ˙ 0 .
It is assumed that the solution of the i.v.p. (35) is given by
Ψ = C 1 a cos ϕ + p [ φ ( a , ϕ ) + C 2 a sin ϕ ] ,
with
a ˙ = p A ( a ) , ϕ ˙ = ω 0 + p B ( a ) ,
where a a ( t ) and ϕ ϕ ( t ) .
Moreover, the residual error is defined by
R w = Ψ ¨ + ω 0 2 Ψ + p [ 2 ε Ψ ˙ + δ Ψ 3 f ( t ) ] .
Inserting Equations (36) and (37) into Equation (38) yields
R w = p 2 C 1 ω 0 ( a ε + A ( a ) ) sin ( ϕ ) + 1 4 a C 1 3 a 2 δ C 1 2 8 ω 0 B ( a ) cos ( ϕ ) + ω 0 2 φ ( 0 , 2 ) ( a , ϕ ) + φ ( a , ϕ ) + 1 4 a 3 δ cos ( 3 ϕ ) C 1 3 f ( t ) + .
Equating the coefficients of cos ϕ , sin ϕ , and the free term in expression (39) to zero yields
a ε + A ( a ) = 0 , 3 a 2 δ C 1 2 8 ω 0 B ( a ) = 0 , ω 0 2 φ ( 0 , 2 ) ( a , ϕ ) + φ ( a , ϕ ) + 1 4 a 3 δ cos ( 3 ϕ ) C 1 3 f ( t ) = 0 .
Solving the system (40) yields
A ( a ) = ε a , B ( a ) = 3 a 2 δ C 1 2 8 ω 0 , φ ( a , ϕ ) = a 3 C 1 3 δ 32 ω 0 2 cos ( 3 ϕ ) + f ( t ) ω 0 2 .
By inserting the values of A ( a ) and B ( a ) given in the system (41) into the system (37) and integrating the obtained results, the following values of a , ϕ are obtained:
a = exp ( p ε t ) , ϕ = ω 0 t + 3 C 1 2 δ 16 ε ω 0 1 e 2 ε p t .
The approximate solution can be obtained for p = 1 . However, the parameter p can be kept in order to obtain as small of a residual error as possible, but here, p represents an optimal parameter. The constants C 1 and C 2 are obtained from the ICs
δ p 32 ω 0 2 C 1 3 + C 1 + f ( 0 ) p ω 0 2 W 0 = 0 ,
and
C 2 = 3 C 1 3 δ ε p 2 + 32 C 1 ε p ω 0 2 32 p f ( 0 ) + 32 W ˙ 0 ω 0 2 12 C 1 2 δ p 2 ω 0 + 32 p ω 0 3 .
The final solution of the i.v.p. (18) is given by
Ψ = C 1 e p ε t cos ϕ + p C 1 3 δ 32 ω 0 2 exp ( 3 p ε t ) cos ( 3 ϕ ) + f ( t ) ω 0 2 + C 2 a ( t ) sin ϕ ,
with
ϕ = ω 0 t + 3 C 1 2 δ 16 ε ω 0 1 e 2 ε p t .
By applying the approximation in (45), the approximations to the i.v.p. in (6) and (13) are achieved.

5. Finite Difference Method for Analyzing the FDCDOs

At the outset, it should be pointed out that the coupled system (7) would be analyzed directly without causing decoupling for this system. In order to compute the numerical approximations of x , y and their derivatives using the FDM, first, the time interval 0 , T should be divided into n sub-intervals with a uniform step size Δ t = h   = T / n and t j = j h , where j = 0 , 1 , 2 , , n . Now, to replace the original system of the coupled differential Equation (7) with difference equations, the following discretizations for the first- and second-order derivatives are introduced
x ˙ j = 3 x j 2 4 x j 1 + x j 2 Δ t & x ¨ j = x j 2 2 x j 1 + x j Δ t 2 , y ˙ j = 3 y j 2 4 y j 1 + y j 2 Δ t & y ¨ j = y j 2 2 y j 1 + y j Δ t 2 ,
where x j = x t j , y j = y t j , and j = 2 , 3 , , n .
Inserting the values of the first and second derivatives given in Equation (46) into the x y system of the coupled Equation (7), the following values of x j , y j are obtained:
x j = r Δ t 2 f 1 ( j 2 ) T n + Δ t 2 ( β + γ ) x j 2 3 + ( 4 ε Δ t 2 ) x j 1 + x j 2 α Δ t 2 + Δ t 2 ( β 3 γ ) y j 2 2 3 Δ t ε + 1 ,
and
y j = r Δ t 2 f 2 ( j 2 ) T n + Δ t 2 ( β + γ ) y j 2 3 + ( 4 ε Δ t 2 ) y j 1 + y j 2 α Δ t 2 + Δ t 2 ( β 3 γ ) x j 2 2 3 Δ t ε + 1 ,
where r = 1 / ε Δ t 1 and j = 2 , 3 , , n .
In the same way, the FDM can be applied to analyze the forced and damped CDO (II) (13):
x j = r Δ t 2 C 3 , 0 x j 2 3 + Δ t x j 2 Δ t C 1 , 2 y j 2 2 + Δ t α 3 ε + Δ t 2 C 2 , 1 x j 2 2 y j 2 + Δ t 2 C 0 , 3 y j 2 3 Δ t 2 f 1 t j 2 + 4 ε Δ t x j 1 + x j 2 2 x j 1 ,
and
y j = r Δ t 2 y j 2 D 2 , 1 x j 2 2 + α + Δ t 2 D 1 , 2 x j 2 y j 2 2 + Δ t 2 D 3 , 0 x j 2 3 + Δ t 2 D 0 , 3 y j 2 3 Δ t 2 f 2 t j 2 3 ε Δ t y j 2 + 4 ε Δ t y j 1 + y j 2 2 y j 1 .
Finally, a system of n equations is obtained for n unknowns, which can be solved recursively using RK4 method. However, the values of x 0 , y 0 and x 1 , y 1 must be known; x 0 , y 0 represents the ICs given in the problem (7), whereas x 1 , y 1 = x t 1 , y t 1 = x h , y h are unknown. However, the values of x 1 , y 1 may be estimated by using either the analytical approximation or the RK4 method. Note here that our formulas for x , y are elegant because the obtained system is solved recursively, and there is no need to solve any cubic equations.

6. Results and Discussion

Let us consider the following numerical example for the first model of the FDCDO (I):
z ¨ + 0.2 z ˙ + z + z z 2 + 0.2 z ¯ 3 = ϝ t , z ( 0 ) = 0 &   z ˙ ( 0 ) = 0 ,
with f 1 ( t ) = γ 1 cos ω 1 t = 0.1 cos 0.1 t , f 2 ( t ) = γ 2 cos ω 2 t = 0.02 cos 0.17 t and T = 40 .
Now, the ansatz approximation (29) and the KBM approximation (45) can be carried out to model the i.v.p. (51). The approximation of the real component x = u + v and the approximation of the imaginary component y = u v using the ansatz approximation (29) and the KBM approximation (45) are compared with the numerical approximations using the RK4 approach, as illustrated in Figure 1 and Figure 2. In addition, the numerical approximations for both the real and imaginary components x , y using the FDM are compared with the numerical RK4 approximations, as depicted in Figure 3. In addition, the absolute analytical approximations of | z | using approximations (29) and (45) are compared with the absolute numerical RK4 approximations, as illustrated in Figure 4. Moreover, the numerical approximation using the FDM for the absolute | z | is compared with the numerical RK4 approximation, as seen in Figure 5. Furthermore, the MRDE L M R D E for all obtained approximations in comparison with that of the numerical RK4 approximation is estimated, as shown in Table 1. Remember that the following formulas are used to estimate the MRDE L M R D E : L M R D E x = x Re RK 4 , L M R D E y = y Im RK 4 , and L M R D E | z | = | z | | RK 4 | .
The tabulated and graphical findings show that all of the analytical and numerical approximations have a high degree of accuracy and are more stable with respect to long periods of time. However, the analytical KBM approximations are more accurate than the ansatz approximations, but they are less accurate than the numerical FDM approximations. In the same way, all obtained analytical and numerical approximations can be applied in order to model the second model of the FDCDO (II) (13) and many other models.
The impacts of some related parameters on the profile of the FDCDO (I) (3) are investigated in Figure 6. It is observed that the amplitude of the oscillator decreases with the enhancement of ε , α , while increasing both γ 1 , γ 2 would lead to an increase in the oscillator amplitude. The amplitude is somewhat insensitive to other parameters, such as β , γ . For some physical applications, such as plasma physics, the fluid equations for some plasma models can be reduced to a nonlinear Schrödinger-type equation by using a reductive perturbation method [20]. Subsequently, the nonlinear Schrödinger-type equation [20,21] can be reduced to a CDO by using a suitable transformation. After that, the obtained approximations can be implemented to study the impacts of the plasma parameters on the profile of the CDO.

7. Conclusions

Nonlinear complex Duffing oscillators, including a damped complex Duffing oscillator (CDO) and a forced and damped CDO, were analyzed and solved by using some different analytical and numerical approaches. Two different general models of the forced and damped CDO, which are known as the forced and damped CDO (I) and the forced and damped CDO (II), were analyzed and discussed via both the ansatz method and the KBM approach. Accordingly, some accurate analytic approximations were derived in the terms of trigonometric functions for both the unforced and damped CDO and the forced and damped CDO. All analytical approximations that were obtained were compared with the numerical approximations when using both the fourth-order Runge–Kutta (RK4) method and the finite difference method (FDM). The distinguishing feature of the numerical methods is that of obtaining numerical approximations without decoupling in the original coupled models. To verify the accuracy of the obtained approximations, the maximum residual distance error was estimated in the whole study domain, as compared with that in the numerical RK4 approximations. It was found that the obtained approximations exhibited good accuracy and prolonged stability. However, it was noticed that the second analytic approximation (45) was a little more accurate than the first one (29).

Author Contributions

Conceptualization, W.A. and A.H.S.; methodology, A.H.S. and S.A.E.-T.; software, A.H.S. and S.A.E.-T.; validation, W.A. and S.A.E.-T.; formal analysis, W.A., A.H.S. and S.A.E.-T.; investigation, W.A. and S.A.E.-T.; resources, W.A., A.H.S. and S.A.E.-T.; data curation, W.A. and S.A.E.-T.; writing—original draft preparation, A.H.S. and S.A.E.-T.; writing—review and editing, W.A., A.H.S. and S.A.E.-T.; visualization, W.A., A.H.S. and S.A.E.-T.; supervision, A.H.S. and S.A.E.-T.; project administration, A.H.S. and S.A.E.-T. All authors have read and agreed to the published version of the manuscript.

Funding

The authors express their gratitude to the Princess Nourah bint Abdulrahman University Researcher Support Project number (PNURSP2022R229), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.

Data Availability Statement

All data generated or analyzed during this study are included in this published article (more details can be requested from El-Tantawy).

Acknowledgments

The authors express their gratitude to the Princess Nourah bint Abdulrahman University Researcher Support Project number (PNURSP2022R229), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.

Conflicts of Interest

The authors declare that they have no conflict of interest.

References

  1. Cveticanin, L. Analytic solution of the system of two coupled differential equations with the fifth-order non-linearity. Physica A 2003, 317, 83–94. [Google Scholar] [CrossRef]
  2. Cveticanin, L. Analytic approach for the solution of the complex-valued strong non-linear differential equation of Duffing type. Physica A 2001, 297, 348–360. [Google Scholar] [CrossRef]
  3. Nayfeh, A.H.; Zavodney, L.D. Experimental observation of amplitude and phase modulated responses of two internally coupled oscillators to a harmonic excitation. J. Appl. Mech. 1988, 55, 706–710. [Google Scholar] [CrossRef]
  4. Grattarola, M.; Torre, V. Necessary and suffcient conditions for synchronization of non-linear oscillator with a given class of coupling. IEEE Trans. Circuits Syst. 1977, 24, 209–215. [Google Scholar] [CrossRef]
  5. Cveticanin, L. Approximate analytical solutions to a class of nonlinear equations with complex functions. J. Sound Vib. 1992, 157, 289–302. [Google Scholar] [CrossRef]
  6. Mahmoud, G.M. Approximate solutions of a class of complex nonlinear dynamical systems. Physica A 1998, 253, 211–222. [Google Scholar] [CrossRef]
  7. Manasevich, R.; Mawhin, J.; Zanolin, F. Periodic solutions of some complex-valued Lienard and Rayleigh equations. Nonlinear Anal. 1999, 36, 997–1014. [Google Scholar] [CrossRef]
  8. Cveticanin, L. An approximate solution for a system of two coupled differential equations. J. Sound Vib. 1992, 152, 375–380. [Google Scholar] [CrossRef]
  9. Alhejaili, W.; Salas, A.H.; El-Tantawy, S.A. Approximate solution to a generalized Van der Pol equation arising in plasma oscillations. AIP Adv. 2022, 12, 105104. [Google Scholar] [CrossRef]
  10. El-Tantawy, S.A.; Alharthi, M.R. Novel solutions to the (un)damped Helmholtz-Duffing oscillator and its application to plasma physics: Moving boundary method. Phys. Scr. 2021, 96, 104003. [Google Scholar]
  11. Anh, N.D.; Hai, N.Q.; Hieu, D.V. The equivalent linearization method with a weighted averaging for analyzing of nonlinear vibrating systems. Lat. Am. J. Solids Struct. 2017, 14, 1723. [Google Scholar] [CrossRef]
  12. Hieu, D.V.; Hai, N.Q.; Hung, D.T. The Equivalent Linearization Method with a Weighted Averaging for Solving Undamped Nonlinear Oscillators. J. Appl. Math. 2018, 2018, 7487851. [Google Scholar] [CrossRef] [Green Version]
  13. Hieu, D.V. A New Approximate Solution for a Generalized Nonlinear Oscillator. Int. J. Appl. Comput. Math. 2019, 5, 126. [Google Scholar] [CrossRef]
  14. Kadji, H.E.; Orou, J.C.; Woafo, P. Regular and chaotic behaviors of plasma oscillations modeled by a modified Duffing equation. Phys. Scr. 2008, 77, 025503. [Google Scholar] [CrossRef]
  15. Salas, A.H.; Hammad, M.A.; Alotaibi, B.M.; El-Sherif, L.S.; El-Tantawy, S.A. Analytical and Numerical Approximations to Some Coupled Forced Damped Duffing Oscillators. Symmetry 2022, 14, 2286. [Google Scholar] [CrossRef]
  16. He, J.H. Some asymptotic methods for strongly nonlinear equations. Int. J. Mod. Phys. B 2006, 20, 1141–1199. [Google Scholar] [CrossRef] [Green Version]
  17. He, J.H. An improved amplitude-frequency formulation for nonlinear oscillators. Int. J. Nonlinear Sci. Numer. Simul. 2008, 9, 211–212. [Google Scholar] [CrossRef]
  18. El-Tantawy, S.A.; Salas Alvaro, H.; Alharthi, M.R. A new approach for modelling the damped Helmholtz oscillator: Applications to plasma physics and electronic circuits. Commun. Theor. Phys. 2021, 73, 035501. [Google Scholar] [CrossRef]
  19. Alhejaili, W.; Salas, A.H.; El-Tantawy, S.A. Novel Approximations to the (Un)forced Pendulum–Cart System: Ansatz and KBM Methods. Mathematics 2022, 10, 2908. [Google Scholar] [CrossRef]
  20. El-Tantawy, S.A.; Salas, A.H.; Alharthi, M.R. On the Analytical and Numerical Solutions of the Linear Damped NLSE for Modeling Dissipative Freak Waves and Breathers in Nonlinear and Dispersive Mediums: An Application to a Pair-Ion Plasma. Front. Phys. 2021, 9, 580224. [Google Scholar] [CrossRef]
  21. Cao, Q.H.; Dai, C.Q. Symmetric and Anti-Symmetric Solitons of the Fractional Second- and Third-Order Nonlinear Schrödinger Equation. Chin. Phys. Lett. 2021, 38, 090501. [Google Scholar] [CrossRef]
Figure 1. Both the analytic approximation (29) using the ansatz method and the RK4 approximation to the i.v.p. (6) for (a) the real and (b) imaginary components x , y are considered.
Figure 1. Both the analytic approximation (29) using the ansatz method and the RK4 approximation to the i.v.p. (6) for (a) the real and (b) imaginary components x , y are considered.
Mathematics 10 04475 g001
Figure 2. Both the analytic approximation (45) using the KBM method and the RK4 approximation to the i.v.p. (6) for (a) the real and (b) imaginary components x , y are considered.
Figure 2. Both the analytic approximation (45) using the KBM method and the RK4 approximation to the i.v.p. (6) for (a) the real and (b) imaginary components x , y are considered.
Mathematics 10 04475 g002
Figure 3. The numerical approximations for (a) the real and (b) imaginary components x , y using the FDM are compared with the RK4 numerical approximations.
Figure 3. The numerical approximations for (a) the real and (b) imaginary components x , y using the FDM are compared with the RK4 numerical approximations.
Mathematics 10 04475 g003
Figure 4. (a) The analytic approximation (29) using the ansatz method and (b) the analytic approximation (45) using the KBM method for the absolute value of | z | are compared with the numerical RK4 approximations of the i.v.p. (6).
Figure 4. (a) The analytic approximation (29) using the ansatz method and (b) the analytic approximation (45) using the KBM method for the absolute value of | z | are compared with the numerical RK4 approximations of the i.v.p. (6).
Mathematics 10 04475 g004
Figure 5. The numerical approximation for the absolute value | z | using the FDM is compared with the numerical RK4 approximation.
Figure 5. The numerical approximation for the absolute value | z | using the FDM is compared with the numerical RK4 approximation.
Mathematics 10 04475 g005
Figure 6. The impacts of the coefficients (a) ε , (b) α , (c) γ 1 , γ 2 , and (d) β on the profile of the forced and damped CDO (I) (3) according to the analytic approximation (29).
Figure 6. The impacts of the coefficients (a) ε , (b) α , (c) γ 1 , γ 2 , and (d) β on the profile of the forced and damped CDO (I) (3) according to the analytic approximation (29).
Mathematics 10 04475 g006
Table 1. The estimation of the MRDE L M R D E for all obtained approximations.
Table 1. The estimation of the MRDE L M R D E for all obtained approximations.
Approximation L MRDE x L MRDE y L MRDE | z |
Ansatz Approx. 0.00531153 0.000769225 0.00534933
KBM Approx. 0.00508124 0.00110036 0.00511926
FDM Approx. 0.00157888 0.000318576 0.0016104
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Alhejaili, W.; Salas, A.H.; El-Tantawy, S.A. Analytical and Numerical Study on Forced and Damped Complex Duffing Oscillators. Mathematics 2022, 10, 4475. https://doi.org/10.3390/math10234475

AMA Style

Alhejaili W, Salas AH, El-Tantawy SA. Analytical and Numerical Study on Forced and Damped Complex Duffing Oscillators. Mathematics. 2022; 10(23):4475. https://doi.org/10.3390/math10234475

Chicago/Turabian Style

Alhejaili, Weaam, Alvaro H. Salas, and Samir A. El-Tantawy. 2022. "Analytical and Numerical Study on Forced and Damped Complex Duffing Oscillators" Mathematics 10, no. 23: 4475. https://doi.org/10.3390/math10234475

APA Style

Alhejaili, W., Salas, A. H., & El-Tantawy, S. A. (2022). Analytical and Numerical Study on Forced and Damped Complex Duffing Oscillators. Mathematics, 10(23), 4475. https://doi.org/10.3390/math10234475

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop