1 Introduction

In recent years differential equations with fractional-order have attracted the attention of many researchers because of their applications in many areas of science and engineering. Analytical and numerical techniques have been implemented to study such equations. The fractional calculus has allowed the operations of integration and differentiation to be applied upon any fractional-order. For the existence of solutions for fractional differential equations, see [1, 2].

As regards the development of existence theorems for fractional functional-differential equations, many contributions exist and can be referred to [35]. Many applications of fractional calculus amount to replacing the time derivative in a given evolution equation by a derivative of fractional-order.

We recall the basic definitions (Caputo) and properties of fractional-order differentiation and integration.

Definition 1 The fractional integral of order β R + of the function f(t), t>0, is defined by

I β f(t)= 0 t ( t s ) β 1 Γ ( β ) f(s)ds,

and the fractional derivative of order α(0,1) of f(t), t>0, is defined by

D α f(t)= I 1 α d f ( t ) d t .

To solve fractional-order differential equations there are two famous methods: frequency domain methods [6] and time domain methods [7]. In recent years it has been shown that the second method is more effective because the first method is not always reliable in detecting chaos [8] and [9].

Often it is not desirable to solve a differential equation analytically, and one turns to numerical or computational methods. In [10], a numerical method for nonlinear fractional-order differential equations with constant or time-varying delay was devised. It should be noticed that the fractional differential equations tend to lower the dimensionality of the differential equations in question, however, introducing delay in differential equations makes it infinite dimensional. So, even a single ordinary differential equation with delay could display chaos.

A lot of differential equations with Caputo fractional derivative were simulated by the predictor-corrector scheme, such as the fractional Chua system, the fractional Chen system, the Lorenz system, and so on. We should note that the predictor-corrector method is an approximation for the fractional-order integration, however, our approach is an approximation for the right-hand side.

Indeed, fractional-order systems are useful in studying the anomalous behavior of dynamical systems in electrochemistry, biology, viscoelasticity, and chaotic systems; see for example [11]. Dealing with fractional-order differential equations as dynamical systems is somewhat new and has motivated the leading research literature recently; see for example [1226]. The nonlocal property of fractional differential equations means that the next state of a system not only depends on its current state but also on its history states. This property is very closely resembling to the real world and thus fractional differential equations have become popular and have been applied to dynamical systems.

On the other hand, some examples of dynamical systems generated by piecewise constant arguments have been studied in [2730]. Here we propose a discretization process to obtain the discrete version of the system under study. Meanwhile, we apply the discretization process to discretize the fractional-order logistic differential equation.

2 Forced Duffing oscillator with fractional-order damping

The Duffing oscillator is an example of a periodically forced oscillator with nonlinear elasticity. It is one of the prototype systems of nonlinear dynamics. It first became popular for studying harmonic oscillations and, later, chaotic nonlinear dynamics in the wake of early studies by the engineer Georg Duffing [31]. The system has been successfully used to model a variety of physical processes, such as stiffening springs, beam buckling, nonlinear electronic circuits, superconducting Josephson parametric amplifiers, and ionization waves in plasmas. Despite the simplicity of the Duffing oscillator, the dynamical behavior is extremely rich and research is still going on today [32].

Forced Duffing oscillators are much harder to analyze analytically, because of the periodic force involved. It is far better to use computer approximations of the system to analyze how the forced Duffing oscillator is behaving under certain conditions. The Duffing equation, a well-known nonlinear differential equation, is used for describing many physical, engineering, and even biological problems [33].

Originally the Duffing equation was introduced by German electrical engineer Duffing in 1918. The equation is given by

x +μ x +λx+b x 3 =γsin(ωt),
(2.1)

where the constants μ, λ, b, and γ are the damping coefficient, linear stiffness, nonlinear stiffness, excitation amplitude, and excitation frequency, respectively. All previous constants, assumed to be positive except λ, can also be negative.

Here we are concerned with the forced Duffing oscillator with fractional-order damping given by

x +μ D α x+λx+b x 3 =γsin(ωt),
(2.2)

where α(0,1) is the fractional-order parameter. First of all, we split (2.2) into a system of three equations, as follows:

D α x = y , D 1 α y = z , d z d t = μ y λ x b x 3 + γ sin ( ω t ) .
(2.3)

The solution of system (2.3) with α=0.85 is simulated using the Grünwald-Letnikov method described in [34] and is shown in Figures 1 and 2.

Figure 1
figure 1

State trajectory of system ( 2.3 ) in 3D state space with α=0.85 .

Figure 2
figure 2

Solution of system ( 2.3 ) with α=0.85 .

2.1 Bifurcation and chaos

The nonlinear dynamic of the duffing oscillator with fractional-order damping is simulated using Matlab. We firstly fix the parameters μ=0.9, λ=1, b=1, ω=1, γ=0.6, and the initial state is x(0)=y(0)=z(0)=0. When α=1, the system is described by the classical Duffing equation. Now vary the fractional-order parameter α from 0 to 1 with step size Δα=0.005, and the bifurcation can easily be detected by examining the relationship between α and x. Figure 3 shows the effect of the fractional-order parameter on the dynamics of the system.

Figure 3
figure 3

Bifurcation of system ( 2.3 ) w.r.t. α .

Bifurcation diagrams with other control parameters, ω with α=0.80; step size Δω=0.1 and γ with α=0.85; step size Δγ=0.005 are shown in Figures 4 and 5. Figure 3 shows the strong effect of the fractional-order parameter on the dynamic of system (2.3); it stabilizes the system as α1. Figure 4 shows an oscillating behavior of the bifurcation diagram as expected because ω is the excitation frequency inside the sine function.

Figure 4
figure 4

Bifurcation of system ( 2.3 ) w.r.t. ω with α=0.80 .

Figure 5
figure 5

Bifurcation of system ( 2.3 ) w.r.t. γ with α=0.85 .

3 Discretization process

In [35], a discretization process is introduced to discretize the fractional-order differential equations and we take Riccati’s fractional-order differential equations as an example. We notice that when the fractional-order parameter α1, Euler’s discretization method is obtained. In [36], the same discretization method is applied to the logistic fractional-order differential equation. We conclude that Euler’s method is able to discretize first order difference equations, however, we succeeded in discretizing a second order difference equation. Finally, in [37], we applied the same procedure to the fractional-order Chua system to get the same results as in the two previous papers, and we showed that when α1 the system will be stabilized.

Here we are very interested in applying the dicretization method to a system of differential equations like the Chua system.

Now let α(0,1) and consider the differential equation of fractional order

D α x ( t ) = f ( x ( t ) ) , t > 0 , x ( 0 ) = x 0 , t 0 .
(3.1)

The corresponding equation with piecewise constant argument is

D α x(t)=f ( x ( r [ t r ] ) ) ,x(t)= x 0 ,t0.
(3.2)

Let t[0,r), then t r [0,1). So, we get

D α x(t)=f( x 0 ),t[0,r).

Thus

x 1 (t)= x 0 + t α Γ ( 1 + α ) f( x 0 ).

Let t[r,2r), then t r [1,2). Thus, we get

D α x(t)=f ( x 1 ( r ) ) ,t[r,2r).

Thus

x 2 (t)= x 1 (r)+ ( t r ) α Γ ( 1 + α ) f ( x 1 ( r ) ) .

Let t[2r,3r), then t r [2,3). So, we get

D α x(t)=f ( x 2 ( r ) ) ,t[2r,3r).

Thus

x 3 (t)= x 1 (r)+ ( t 2 r ) α Γ ( 1 + α ) f ( x 2 ( r ) ) .

Repeating the process we get this result: when t[nr,(n+1)r), then t r [n,n+1). So, we get

D α x(t)=f ( x n ( n r ) ) ,t[nr,(n+1)r).

Thus

x n + 1 (t)= x n (r)+ ( t n r ) α Γ ( 1 + α ) f ( x n ( r ) ) .

We are interested in discretizing (3.1) with piecewise constant arguments given in the form

D α x = y ( r [ t r ] ) , D 1 α y = z ( r [ t r ] ) , d z d t = μ y ( r [ t r ] ) λ x ( r [ t r ] ) b x ( r [ t r ] ) 3 + γ sin ( ω ( r [ t r ] ) ) ,
(3.3)

with initial conditions x(0)=0, y(0)=0, and z(0)=0.

Applying the above mentioned discretization process and letting t(n+1)r we obtain the discrete system

x n + 1 = x n + r α Γ ( 1 + α ) y n , y n + 1 = y n + r 1 α Γ ( 2 α ) z n , z n + 1 = z n + r ( μ y λ x b x 3 + γ sin ( ω n ) ) .
(3.4)

Indeed, there are other discretization methods for discretizing fractional-order differential equations, for example:

  • The Grünwald-Letnikov definition (GL) which is a generalization of the derivative. The idea behind is that h, the step size, should approach 0 as n approaches infinity.

  • The predictor-corrector method is an approximation for the fractional-order integration.

As a matter of fact, our approach is an approximation for the right-hand side.

4 Stability of fixed points

Now we study the asymptotic stability of the fixed points of the system (3.4) in the unforced case, that is, sin(Ωt)=0, which has three fixed point namely, fix 1 =(0,0,0), fix 2 =( λ b i,0,0), and fix 3 =( λ b i,0,0).

By considering the Jacobian matrix for these fixed points and calculating its eigenvalues, we can investigate the stability of it based on the roots of the system’s characteristic equation [38]. The Jacobian matrix is given by

( 1 r α Γ ( 1 + α ) 0 0 1 r 1 α Γ ( 2 α ) r λ 3 b r x 2 r μ 1 ) .

Linearizing the unforced system about fix 1 yields the following characteristic equation:

P(Λ)= Λ 3 3 Λ 2 +(1+rμl)Λ+(srlλ+1rμl)=0,
(4.1)

where s= r α Γ ( 1 + α ) and l= r 1 α Γ ( 2 α ) . Let

a 1 = 3 , a 2 = ( 1 + r μ l ) , a 3 = ( s r l λ + 1 r μ l ) .

From the Jury test, if P(1)>0, P(1)<0, and a 3 <1, | b 3 |> b 1 , c 3 >| c 2 |, where b 3 =1 a 3 2 , b 2 = a 1 a 3 a 2 , b 1 = a 2 a 3 a 1 , c 3 = b 3 2 b 1 2 , and c 2 = b 3 b 2 b 1 b 2 , then the roots of P(Λ) satisfy Λ<1 and thus fix 1 is asymptotically stable. This is not satisfied here since a 3 >1. That is, fix 1 is unstable.

While linearizing the same unforced system about fix 2 or fix 3 yields the following characteristic equation:

F(Λ)= Λ 3 3 Λ 2 +(3+rμl)Λ(1+rμl+2srλl)=0.
(4.2)

We let a 11 =3, a 22 =3+rμl, and a 33 =(1+rμl+2srλl). From the Jury test, if F(1)>0, F(1)<0, and a 33 <1, | b 33 |> b 11 , c 33 >| c 22 |, where b 33 =1 a 33 2 , b 22 = a 11 a 33 a 22 , b 11 = a 22 a 33 a 11 , c 33 = b 33 2 b 11 2 , and c 22 = b 33 b 22 b 11 b 22 , then the roots of F(Λ) satisfy Λ<1 and thus fix 2 or fix 3 is asymptotically stable. We can check easily that F(1)<0, that is, both fix 2 and fix 3 are unstable.

5 Attractors, bifurcation, and chaos

In this section we show some dynamic behavior of the system (3.4) such as attractors, bifurcation and chaos for different α and r (see Figures 6-14). The effect of taking a fractional order on the system dynamics is investigated using phase diagrams and bifurcation diagrams. The bifurcation diagram is also used to examine the effect of the excitation amplitude and the frequency on the Duffing system with fractional-order damping. We show bifurcation and chaos of the dynamical system (3.4) by means of bifurcation diagrams first with respect to the parameter μ, then with respect to the fractional-order parameter α, and finally with respect to the parameter γ.

Figure 6
figure 6

Attractor of ( 3.4 ) with α=0.85 , r=0.25 , μ=4 .

Figure 7
figure 7

Attractor of ( 3.4 ) with α=0.85 , r=0.3 , μ=4 .

Figure 8
figure 8

Chaotic attractor of ( 3.4 ) with α=0.75 , r=0.3 , μ=4 .

Figure 9
figure 9

Chaotic attractor of ( 3.4 ) with α=0.85 , r=0.25 , μ=3 .

Figure 10
figure 10

Chaotic attractor of ( 3.4 ) with α=0.85 , r=0.25 , μ=3.5 .

Figure 11
figure 11

Chaotic attractor of ( 3.4 ) with α=0.85 , r=0.1 , μ=3 .

Let r=0.25 be fixed and vary α from 0.70 to 0.95 and μ from 2 to 8. The initial state of the system (3.4) is ( x 0 , y 0 , z 0 )=(0,0,0). The step size for ρ is 0.01, the resulting bifurcation diagrams are shown in Figure 12(a)-(f). It is observed from the figures that increasing the fractional-order parameter α and fixing the parameter r stabilize the chaotic system.

Figure 12
figure 12

Bifurcation diagram of ( 3.4 ) w.r.t. the parameter μ .

Now vary the fractional-order parameter α from 0.70 to 0.95, but with a fixed system parameter μ and change the parameter r from 0.15 to 0.30; the resulting bifurcation diagrams are shown in Figure 12(a)-(d).

Then vary the fractional-order parameter α from 0.85 to 0.95, but with a fixed system parameter r=0.25 and vary the parameter γ from 0 to 2; the resulting bifurcation diagrams are shown in Figure 12(a)-(d).

It is clear from Figure 13 that increasing the value of the fractional-order parameter α transforms the system into its stable behavior, exactly as in the case of the fractional-order system (3.1).

Figure 13
figure 13

Bifurcation diagram of system ( 3.4 ) as a function of the fractional-order parameter α with different values of the parameters r and μ .

Figure 14
figure 14

Bifurcation diagram of system ( 3.4 ) as a function of the parameter γ with different values of the fractional-order parameters α .

6 Conclusion

A discretization method is applied in this paper to the forced Duffing oscillator with fractional-order damping. The dynamics of the discretized fractionally damped Duffing equation has been examined numerically. Also, the conclusion of bifurcation of the parameter-dependent system has been drawn numerically. Increasing the value of the fractional-order damping term stabilizes the system under study in both cases: fractional-order system and discretized system.