Next Article in Journal
Enhancing the Accuracy of Solving Riccati Fractional Differential Equations
Next Article in Special Issue
Strong Solution for Fractional Mean Field Games with Non-Separable Hamiltonians
Previous Article in Journal
A Survey on Recent Results on Lyapunov-Type Inequalities for Fractional Differential Equations
Previous Article in Special Issue
Average Process of Fractional Navier–Stokes Equations with Singularly Oscillating Force
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of the Explicit Euler Method for Numerical Analysis of a Nonlinear Fractional Oscillation Equation

by
Valentine Aleksandrovich Kim
1,2,3,* and
Roman Ivanovich Parovik
3,4,*
1
Department of Management Systems, Faculty of Information Technology, Kamchatka State Technical University, 35, Kluchevskaya St., Petropavlovsk-Kamchatskiy 683003, Russia
2
Integrative Laboratory of Natural Disasters of Kamchatka: Earthquakes and Volcanic Eruptions, Faculty of Physics and Mathematics, Vitus Bering Kamchatka State Univrsity, 4, Pogranichnaya St., Petropavlovsk-Kamchatskiy 683032, Russia
3
Department of Applied Mathematics and Computer Analysis, Mirzo Ulugbek National University of Uzbekistan, 4, Universitetskaya St., Almazar District, Tashkent 100174, Uzbekistan
4
Institute of Cosmophysical Research and Radio Wave Propagation FEB RAS, 7, Mirnaya St., Yelizovsky District, Paratunka 684034, Russia
*
Authors to whom correspondence should be addressed.
Fractal Fract. 2022, 6(5), 274; https://doi.org/10.3390/fractalfract6050274
Submission received: 11 April 2022 / Revised: 11 May 2022 / Accepted: 17 May 2022 / Published: 19 May 2022

Abstract

:
In this paper, a numerical analysis of the oscillation equation with a derivative of a fractional variable Riemann–Liouville order in the dissipative term, which is responsible for viscous friction, is carried out. Using the theory of finite-difference schemes, an explicit finite-difference scheme (Euler’s method) was constructed on a uniform computational grid. For the first time, the issues of approximation, stability and convergence of the proposed explicit finite-difference scheme are considered. To compare the results, the Adams–Bashford–Moulton scheme was constructed as an experimental method. The theoretical results were confirmed using test examples, the computational accuracy of the method was evaluated, which is consistent with the theoretical one, and the simulation results were visualized. Using the example of a fractional Duffing oscillator, waveforms and phase trajectories, as well as its amplitude–frequency characteristics, were constructed using a finite-difference scheme. To identify chaotic regimes, the spectra of maximum Lyapunov exponents and Poincaré points were constructed. It is shown that an explicit finite-difference scheme can be acceptable under the condition of a step of the computational grid.

1. Introduction

Currently, the use of fractional calculus in the theory of dissipative oscillatory systems to describe dynamic memory has been widely developed [1]. Dynamic memory in a dissipative oscillatory system is due to the ability of the system to “remember” the impact on it—the impulse of the system, which is gradually “forgotten”.
It should be noted that the effects of dynamic memory, for example, are considered within the framework of hereditary mechanics to describe viscoelastic and plastic media [2].
As the authors of [3,4,5,6] have shown, the transition from ordinary differential equations to differential equations with derivatives of fractional orders describes the effects of heredity in dissipative oscillatory systems quite well, and the orders of fractional derivatives are associated with their qualitative characteristic—the Q-factor, as well as with amplitude–frequency and phase–frequency characteristics.
A mathematical model of an oscillatory system (oscillator), in which derivatives of fractional orders are included, is called fractional oscillators in the literature [3]. In [1], the rest points of the various nonlinear fractional oscillators of Duffing, Van der Pol, etc., were investigated. Here, waveforms and phase trajectories were constructed, using numerical methods that have not been studied for stability and convergence.
In [7,8,9,10,11,12,13,14,15], a fractional Duffing oscillator with a Riemann–Liouville derivative of constant fractional order in the dissipative term was investigated, and regular and chaotic modes were investigated using numerical analysis—the theory of finite-difference schemes. It should also be noted that studies of the fractional Duffing oscillator were carried out using the HAM method [16], as well as using power series expansion [17].
An approximate analytical solution was found for the Duffing oscillator in terms of exponential and trigonometric functions [18]. Additionally, in [18], the analytical solution was compared with the numerical one obtained by the Runge–Kutta method. In ref. [19], analytical formulas were given for the starting point of the unstable solution domain for forced oscillations of the Duffing system, taking into account damping. Using the standard deviation estimation method based on the Poincaré cross section, a quantitative assessment of the chaotic state in [20] was implemented.
In refs. [21,22], the fractional Duffing oscillator was generalized to the case of the Riemann–Liouville derivative of non-constant fractional order; waveforms and phase trajectories were constructed using finite difference theory; and regular and chaotic regimes were investigated using the spectra of maximum Lyapunov exponents.
Unfortunately, the works listed above did not provide a rigorous substantiation of the issues of stability and convergence. Therefore, this work aims to fill this gap. The scientific novelty of this work is that for the first time, the stability and convergence theorem of an explicit finite-difference scheme are proved. There are no rigorous studies of a non-local explicit finite-difference scheme in the scientific literature (the stability and convergence theorems have not been proven). Theoretical results were confirmed by concrete test cases and computer simulations. The developed numerical algorithm is further used in the framework of qualitative analysis of the Duffing oscillator. Its chaotic and regular modes are investigated using bifurcation diagrams (spectra of maximum Lyapunov exponents), the amplitude–frequency response, and Poincaré sections are also calculated. It is shown that the numerical algorithm can be used to study such systems.
The work is organized as follows. Section 2 provides preliminary information. Section 3 presents the problem statement. Section 4 considers a numerical method for solving the formulated problem based on a nonlocal explicit finite difference scheme (explicit Euler’s method). Section 5 considers the issues of stability and convergence of a nonlocal explicit finite difference scheme. Section 6 presents the Adams–Bashford–Moulton numerical method for solving the formulated Cauchy problem. Section 7 gives detailed examples of the operation, the proposed numerical scheme, and an example of a numerical study of the fractional Duffing oscillator, as well as the amplitude–frequency response. In Section 8, chaotic modes of the Duffing system are investigated, and the spectra of maximum Lyapunov exponents and Poincaré points are constructed. Section 9 provides conclusions based on the results of the study.

2. Preliminaries

Here are some data from the theory of fractional calculus [23,24].
Let x t C 2 0 , T , q t C 0 , T , t [ 0 , T ] be the current time and T > 0 be the time of the process under consideration, then we will introduce into consideration the definition of the derivative of a fractional variable order of Riemann–Liouville.
Definition 1.
The Riemann–Liouville derivative of fractional variable order 0 < q ( t ) < 1 has the following form:
D 0 t q ( t ) x t = 1 Γ 1 q t d d t 0 t x τ d τ t τ q t ,
where Γ 1 q t is Euler’s gamma function, calculated using the formula Γ y + 1 = 0 x y e x d x .
In the future, to construct a finite-difference scheme, we will need a discrete analog of the fractional derivative (1)—the Grunwald–Letnikov derivative.
Definition 2.
The Grunwald–Letnikov derivative of fractional variable order 0 < q ( t ) < 1 has the form [25]
Δ 0 t q ( t ) x t = lim T 1 h q ( t ) i = 0 T c i q ( t ) x ( t i h ) ,
where c i q ( t ) = ( 1 ) i Γ ( 1 + q ( t ) ) Γ ( i + 1 ) Γ ( i q ( t ) 1 ) are the Grunwald–Letnikov weight coefficients, and h is the sampling step.
Remark 1.
Sometimes the weights c i q ( t ) are written differently:
c i q ( t ) = 1 1 + q ( t ) i c i 1 q ( t ) , c 0 q ( t ) = 1 .
It can be shown that the entries of the weighting coefficients in (2) and (3) are equivalent.
Remark 2.
In the article, we used a well-known approach, for example, considered in the works [25,26]. According to this approach, the relationship between the Riemann–Liouville (1) and Grunwald–Letnikov (2) definitions is important for the numerical approximation of fractional differential equations, working with fractional derivatives, and setting physically meaningful initial and boundary value problems for fractional differential equations. This makes it possible to use the Riemann–Liouville definition in formulating the problem, and then the Grunwald–Letnikov definition to obtain a numerical solution.
Definition 3.
The Gerasimov–Caputo derivative of fractional variable order 0 < q ( t ) < 1 has the form
0 t q ( t ) x ( t ) = 1 Γ ( 1 q ( t ) ) 0 t x ˙ ( τ ) d τ ( t τ ) q ( t ) ,
Remark 3.
The Riemann–Liouville (1) and Gerasimov–Caputo (4) operators are related by the relation [23]:
D 0 t q ( t ) x ( t ) = i = 0 k 1 x ( i ) ( 0 ) Γ ( 1 + i q ( t ) ) x k q ( t ) + 0 t q ( t ) x ( t ) ,
Remark 4.
It can be seen from the formula (5) that for zero values of the function x ( τ ) and its derivatives, i.e., for x ( t ) = x ( t ) = = x ( n ) ( t ) = 0 the Riemann–Liouville (1) operator coincides with the Gerasimov–Caputo (4) operator.
Definition 4.
A nonlinear function f x ( t ) , t C 0 , T is called a Lipschitz function if it satisfies the condition for a variable x ( t ) with a constant L for any x 1 ( t ) and x 2 ( t ) of C 0 , T :
f ( x 1 ( t ) , t ) f ( x 2 ( t ) , t ) < L x 1 ( t ) x 2 ( t ) .
Remark 5.
Condition (6) is equivalent to the definition of an absolutely continuous function. Therefore, sometimes, notation is introduced in the literature f x ( t ) , t A C 0 , T [23].

3. Problem Statement

Consider the following Cauchy problem for a nonlinear oscillation equation:
x ¨ t + λ D 0 t q t x t + ω 0 2 x t + f x , t = 0 , x ( 0 ) = x 0 , x ˙ ( 0 ) = y 0 ,
where x t C 3 0 , T is the offset function, λ is the coefficient of friction, ω 0 is the natural frequency, and x 0 , y 0 are the set constants that define the initial conditions. A nonlinear function f x , t is a Lipschitz function with respect to the variable x ( t ) .
Remark 6.
The Cauchy problem (7) is a mathematical model that describes a wide class of nonlinear fractional oscillators, the types of which are determined by the function f ( x ( t ) , t ) . The first term describes the inertia force, the second the friction force (damping), and the third the returning force of the oscillator.
Remark 7.
Classical (local) initial conditions are valid for the Cauchy problem (7). If the fractional inertia is taken into account in the model equation, it is necessary to set non-local conditions.
Remark 8.
It should be noted that the requirement for the displacement function to belong to the smoothness class C 3 [ 0 , T ] is necessary for constructing a finite-difference scheme.
Remark 9.
It should be noted that for the first time, R. R. Nigmatullin drew attention to the possibility of using fractional derivatives to describe oscillators with dynamic memory in [27], an attempt was also made there to physically interpret the fractional derivative.

4. Numerical Solution

Due to the fact that the model equation of the Cauchy problem (7) is nonlinear, we will look for its solution using numerical methods—the theory of finite-difference schemes. We introduce a uniform computational grid, for this segment [ 0 , T ] split into equal parts in increments of h = T N : 0 = t 0 < t 1 = h < t 2 = 2 h < < t k = k h < < t N = T . The functions q ( t ) , x ( t ) , f ( x ( t ) , t ) will go to the grid functions q k = q ( t k ) , x k = x ( t k ) , f k = f ( x ( t k ) , t k ) .
Note that the approximation of the first term in Equation (7) gives
x ¨ t = x k + 1 2 x k + x k 1 h 2 + O ( h 2 ) ,
The Riemann–Liouville operator of the fractional derivative (1) in the second term of Equation (7) is approximated using the Grunwald–Letnikov derivative (2) [25,28]:
D 0 t q ( t ) x t = Δ 0 t q ( t ) x t + O ( h )
Taking into account the relations (8) and (9), we can write the following explicit finite-difference scheme (explicit Euler ’s method):
x k + 1 = A k x k x k 1 B k i = 1 k c i q k x k i h 2 f k , k = 1 , 2 , , N 1 .
where A k = 2 λ h 2 q k h 2 ω 0 2 , B k = λ h 2 q k .
The initial conditions for (10) give
x ( 0 ) = x 0 , x 1 = x 0 + h y 0 .
The advantage of finite-difference schemes is the simple possibility of constructing a numerical algorithm within the framework of a computer code executing a program.
Theorem 1.
The finite-difference scheme (10) under the condition x ( 0 ) = x ˙ 0 = 0 approximates the differential problem (7) in the inner nodes of the grid with order O ( h 2 ) .
Proof of Theorem 1.
It is known that x ¨ t = x k + 1 2 x k + x k 1 h 2 + O ( h 2 ) . At the same time, in [28], the theorem was proved that A t x ( t ) + O ( h ) , at t 0 . Here A t x ( t ) = 1 h q ( t ) i = 0 k c i q ( t ) x ( t i h ) , and the operator A x ( t ) is written in the form of Liouville A x ( t ) = 1 Γ 1 q t d d t 0 t x τ d τ t τ q t . In the case of x ( 0 ) = 0 , the finite sum 1 h q ( t ) i = 0 k c i q ( t ) x ( t i h ) coincides with the infinite 1 h q ( t ) i = 0 c i q ( t ) x ( t i h ) as a continuation of the function 0 by minus infinity. Thus, in the internal nodes of the computational grid, the order of approximation is O ( h 2 ) . □
Remark 10.
It should be noted that due to the approximation of the second initial condition (11): x ˙ ( 0 ) = x 1 x 0 h + O ( h ) , the global order of approximation is reduced to the first. To preserve the second order of approximation, you can use various methods of approximation of the initial condition, for example, the method of a fictitious node. In this paper, we did not set the task of improving the order of approximation of a finite-difference scheme, as, for our purposes it is sufficient to have the first order of approximation.
Lemma 1.
The weighting coefficients c i q k have the following properties:
1. c 0 q k = 1 , c 1 q k = q k , c i q k < 0 ( i 1 ) ,
2. i = 0 c i q k = 0 , l = 1 , 2 , , i = 1 l c i q k < 0 .
Proof of Lemma 1.
The properties of c 0 q k = 1 , c 1 q k = q k follow from the definition (3) and the properties of the gamma function. Due to the fact that 0 < q k < 1 at i 2 then, for example, from (8) c 2 q k = 1 1 + q k 2 c 1 q k = 1 1 + q k 2 q k . Similarly c 3 q k < 0 , etc. The second property follows from the well-known relation ( 1 z ) q k = i = 0 c i q k z i for the binomial coefficient. Now, if we put z = 1 , then we come to the equality of i = 0 c i q k = 0 . The inequality i = 0 l c i q k < 0 follows from property 1, i = 2 l c i q k < c 1 q k < 0 . □
Remark 11.
Note that i = 0 l c i q k > 0 , by virtue of the properties of Lemma 1 considered, and also that l = 1 , 2 , , | c 1 q k | > | c 2 q k | > > | c l q k | is a decreasing sequence.

5. Convergence and Stability Issues

We write the explicit finite-difference scheme (10) and (11) in matrix form:
X k + 1 = M X k + F k .
where X k + 1 = ( x 1 , , x k ) T , X k = ( x 0 , , x k 1 ) T , F k = ( f 0 , h 2 f 1 , , h 2 f k 1 ) T .
The matrix M is lower triangular:
M = ( m i j ) = 0 , j i + 1 , i = 1 , , N 1 , A i , j = i , i = 2 , , N 1 , ( 1 q i 1 B i 1 ) , j = i 1 , i = 2 , , N 1 , c i j + 1 q i 1 B i 1 , j < i 1 , i = 3 , , N 1 .
There, m 11 = 1 . Let us introduce the approximation error (12): e k = x ¯ k x k and take into account e 0 = 0 . Then we write the matrix Equation (12) in terms of error vectors:
E k + 1 = M E k + F e , k ,
where E k + 1 = ( e 1 , , e k ) T , E k = ( 0 , e 1 , , e k 1 ) T , F e , k = ( 0 , h 2 L 1 e 1 , , h 2 L k 1 e k 1 ) T , E 0 —zero vector. There, L 1 , , L k 1 Lipschitz constants such that L k 1 < L . F e , k can be rewritten in another way, for example, F e , k = Δ F E k , where Δ F = d i a g ( 0 , h 2 L 1 , , h 2 L k 1 ) is a diagonal matrix. Therefore, the matrix Equation (13) can be rewritten as
E k + 1 = W E k , W = M Δ F .
Definition 5.
The difference approximation (11) is stable if for any vector E 1 there exists a positive number P k : lim k P k = 0 and the following is true [12]:
E k + 1 P k E 1 .
Let Q = max k ( q k ) , then the following theorem holds.
Theorem 2
(A necessary condition for the stability of an explicit finite-difference scheme). If the explicit finite-difference scheme (10) is stable, then the λ h 1 Q + h ω 0 2 1 2 condition is met.
Proof of Theorem 2.
Let the error be e k = x ¯ k x k , where x ¯ k is an approximate solution of the problem (10) and (11). Then Equation (10) in terms of the error will take the form:
e k + 1 = A k e k e k 1 B k i = 1 k c i q k e k i h 2 ( f ( x ¯ k , t k ) f ( x k , t k ) ) , k = 1 , , N .
Let us introduce the norm E k + 1 = max k | e k + 1 | . The condition λ h 1 Q + h ω 0 2 1 2 gives the fulfillment of the inequality A k 0 . Let us go to (16) to the absolute value. We obtain
| e k + 1 | A k | e k | | e k 1 | B k i = 1 k c i q k | e k i | h 2 ( | f ( x ¯ k , t k ) f ( x k , t k ) | ) ( 2 λ h 2 q k h 2 ω 0 2 ) | e k | | e k 1 | B k i = 1 k c i q k | e k i | h 2 L | e k | ( 1 h 2 ω 0 2 ) | e k | B k i = 0 k c i q k | e k i | h 2 L | e k | ( 1 h 2 ω 0 2 ) E k B k i = 0 k c i q k E k i h 2 L E k
Due to the fact that i = 0 k c i q k > 0 and L > 0 , we obtain an estimate taking into account (14)
E k + 1 ( 1 h 2 ω 0 2 ) E k ( 1 h 2 ω 0 2 ) k E 1 .
By virtue of condition h 2 ω 0 2 1 , we arrive at inequality (15), i.e., at lim k E k + 1 = 0 . The theorem is proved. □
Let us consider the convergence issues of the explicit finite difference scheme (10) and (11). Let x ( t k ) be the exact solution of the Cauchy problem (7) at the point t k T. Let us define η k = x ( t k ) x k and, accordingly, the vector Y k = ( η 1 , , η k ) . Note that Y 0 is a null vector. Substituting η k = x ( t k ) x k into Equation (10), we obtain:
η k + 1 = A k η k η k 1 B k i = 1 k c i q k η k i h 2 ( f ( x ¯ k , t k ) f ( x k , t k ) ) + R k , k = 1 , , N .
By virtue of Remark 9, the | R k | C h estimate is valid, where C is a constant independent of the step h of the computational grid. The following theorem is valid.
Theorem 3
(A necessary condition for the convergence of an explicit finite-difference scheme). If the explicit finite difference scheme (10) converges to an exact solution with the first order, then the λ h 1 Q + h ω 0 2 1 2 condition is met.
Proof of Theorem 3.
Let us go to (17) to the absolute value. We obtain | η k + 1 | A k | η k | | η k 1 | B k i = 1 k c i q k | η k i | h 2 ( | f ( x ¯ k , t k ) f ( x k , t k ) | ) + C h ( 2 λ h 2 q k h 2 ω 0 2 ) | η k | | η k 1 | B k i = 1 k c i q k | η k i | h 2 L | η k | + C h ( 1 h 2 ω 0 2 ) | η k | B k i = 0 k c i q k | η k i | h 2 L | η k | + C h
( 1 h 2 ω 0 2 ) Y k B k i = 0 k c i q k Y k i h 2 L Y k + C h .
Due to the fact that i = 0 k c i q k > 0 and L > 0 , we obtain an estimate
| η k + 1 | Y k + 1 ( 1 h 2 ω 0 2 ) Y k + C h ( 1 h 2 ω 0 2 ) k Y 1 + C h .
By virtue of condition h 2 ω 0 2 1 , we arrive at inequality lim k Y k + 1 = C h or | η k + 1 | C h . The theorem is proved. □
In the conditions of Theorems 2 and 3, the coefficients λ and ω 0 2 are chosen to be positive, i.e., λ > 0 , ω 0 2 > 0 , such that the spectral radius of the matrix M does not exceed 1. If one of the coefficients λ or ω 0 2 has a much greater value than the other, then a rigid solution of the Cauchy problem (7) is obtained, for which you will have to choose a very small iteration step. This will increase the number of calculations, and therefore, the simulation time.

6. The Adams–Bashford–Moulton Method

Let us consider another method for solving the Cauchy problem (7)—the Adams–Bashford–Moulton method or “predictor–corrector” [29,30]. We present problem (7) as a system under homogeneous initial conditions x ( 0 ) = x ˙ ( 0 ) = 0 :
0 t q 1 t x = y , q 1 t = q t , 0 t q 2 t y = z , q 2 t = 1 , 0 t q 3 t z = f ( x , t ) λ y ω 0 2 x , q 3 t = 1 q t , x ( 0 ) = y ( 0 ) = z ( 0 ) = 0 ,
In the system (18) operators of fractional derivatives of variable orders in the sense of Gerasimov–Caputo (4), in the case of homogeneous initial conditions, according to Remarks 3 and 4, they coincide with the operator of the derivative of the variable order of Riemann–Liouville (1). The solution of the system (18) is sought in the form [22,29]
x k + 1 = x 0 + h q n + 1 ( 1 ) Γ q n + 1 ( 1 ) + 2 y n + 1 p + j = 0 n ρ j , n + 1 ( 1 ) y j , y k + 1 = y 0 + h q n + 1 ( 2 ) Γ q n + 1 ( 2 ) + 2 z n + 1 p + j = 0 n ρ j , n + 1 ( 2 ) z j , z k + 1 = z 0 + h q n + 1 ( 3 ) Γ q n + 1 ( 3 ) + 2 f ( x n + 1 p , t n + 1 ) λ y n + 1 p ω 0 2 x n + 1 p + + h q n + 1 ( 3 ) Γ q n + 1 ( 3 ) + 2 j = 0 n ρ j , n + 1 ( 3 ) f ( x j , t j ) λ y j ω 0 2 x j ,
where the weighting coefficients have the form
ρ 0 , n + 1 ( i ) = n q n + 1 ( i ) + 1 n q n + 1 ( i ) n + 1 q n + 1 ( i ) , ρ j , n + 1 ( i ) = n j + 2 q n + 1 ( i ) + 1 + n j q n + 1 ( i ) + 1 2 n j + 1 q n + 1 ( i ) + 1 , ρ n + 1 , n + 1 ( i ) = 1 , i = 1 , 2 , 3 ,
x k + 1 p = x 0 + h q n + 1 ( 1 ) Γ q n + 1 ( 1 ) + 1 j = 0 n θ j , n + 1 ( 1 ) y j , y k + 1 p = y 0 + h q n + 1 ( 2 ) Γ q n + 1 ( 2 ) + 1 j = 0 n θ j , n + 1 ( 2 ) z j , z k + 1 p = z 0 + h q n + 1 ( 3 ) Γ q n + 1 ( 3 ) + 1 j = 0 n θ j , n + 1 ( 3 ) f ( x j , t j ) λ y j ω 0 2 x j , θ j , n + 1 ( i ) = n j + 1 q n + 1 ( i ) n j q n + 1 ( i ) , i = 1 , 2 , 3 .
Scheme (21) is a predictor (Adams–Bashford method), scheme (19) is a corrector (Adams–Moulton method).
Theorem 4.
If 0 t q i ( t ) x i ( τ ) C 2 [ 0 , T ] , ( x 1 ( t ) = x ( t ) , x 2 ( t ) = y ( t ) , x 3 ( t ) = z ( t ) , i = 1 , 2 , 3 ) , then
max | x i ( t j ) x i , j | = O ( h 1 + min i q i ( t ) )
Proof. 
The proof of Theorem 4 is based on the method of mathematical induction, and it is given in [30].  □

7. Simulation Results and Some Applications

7.1. Test Examples

All calculations presented in paper were performed in the Maple computer mathematics environment.
Let us consider some examples of the operation of scheme (10). Let us consider a test example when in the model Equation (7), a nonlinear function has the form
f ( x , t ) = b x 3 ( t ) b t 9 ω 0 2 t 3 6 t λ d d t Γ ( 4 ) t 3 q ( t ) Γ ( 4 q ( t ) ) .
As a result, we obtain the following Cauchy problem
x ¨ t + λ D 0 t q t x τ + ω 0 2 x t + b x 3 ( t ) b t 9 ω 0 2 t 3 6 t λ d d t Γ ( 4 ) t 3 q ( t ) Γ ( 4 q ( t ) ) = 0 ,
x ( 0 ) = x ˙ ( 0 ) = 0 .
We are looking for the exact solution of the Cauchy problem (23) in the form
x ( t ) = t 3 .
We look for error and computational accuracy according to the Runge rule [7]
ε = max | x N e x [ j ] x N [ j ] | , j = 0 , , N ,
where x N e x [ j ] is the exact solution (23), x N [ j ] is the numerical solution obtained by formula (10) or formulas (19) and (21). The computational accuracy of the numerical method is determined by the formula
α = ln | ε i | | ε i + 1 | ln ( 2 ) .
Example 1.
Let us take the following control parameters of problem (23) q ( t ) = 0.5 cos 2 ( 0.3 t ) , h = 0.03875 , t [ 0 , 3 ] , x ( 0 ) = x ˙ ( 0 ) = 0 , λ h 1 Q + h ω 0 2 = 0.4998 .
Note that the parameter values were chosen in such a way that the conditions of Theorems 2 and 3 were fulfilled. The calculated curves obtained by formula (24) and numerical scheme (10) for N = 80 are shown in Figure 1.
It can be seen from Figure 1 that when the conditions of Theorems 2 and 3 are met, the numerical scheme (10) approximates the exact solution (24) well. This result also confirms the calculation of computational accuracy (26) according to Table 1.
From Table 1 we see that when the nodes of the calculated grid are doubled, the error (25) decreases also by about two times. At the same time, computational accuracy tends to unity, which does not contradict Remark 9.
Let us take other parameter values at which the conditions of Theorems 2 and 3 are violated.
Example 2.
Let us take the following control parameters q ( t ) = 0.5 cos 2 ( 0.3 t ) , h = 0.041375 , t [ 0.3 , 3.32 ] , x ( 0 ) = x ˙ ( 0 ) = 0 , λ h 1 Q + h ω 0 2 = 0.5084 .
The simulation results are shown in Figure 2.
Here, we see that with a slight increase in the simulation time compared to Example 1, there is a discrepancy between the values obtained by formula (24) and the explicit finite difference scheme (10). We can also observe a violation of the stability of the numerical scheme (10) by changes in the value of the computational accuracy α in Table 2.
Example 3.
Let us take the following control parameters for problem (23) t [ 0 , 1 ] , h = 0.05 , x ( 0 ) = x ˙ ( 0 ) = 0 , λ = 1 , ω 0 = b = δ = o m e g a = 1 , q ( t ) = 0.5 cos 2 ( 0.2 t ) .
Figure 3 shows the curve of the numerical solution obtained by schemes (10) and (19) for test example 3. According to Figure 3 and Table 3, schemes (10) and (19) converge to the exact solution with a decrease in the iteration step. By Theorem 4, the predictor–corrector scheme (19) converges with the order O ( h 1 + min i q i ( t ) ) , and since in example 3 the order of the derivative is represented as a function q ( t ) = 0.5 cos ( 0.2 t ) , the minimum of which is 1, then in the end, for our example, the predictor–corrector has the first order of accuracy. According to Table 3, the computational accuracy tends to 1.

7.2. Fractional Duffing Oscillator

Let us consider a fractional Duffing oscillator with external influence, when in the model of Equation (7), the function of external influence f x , t = b x 3 t δ cos ω t , δ and ω are the amplitude and frequency of external influence, and b is the coefficient responsible for the non-isochronicity of oscillations, i.e., the dependence of their period on the amplitude.
As a result, we obtain the model equation
x ¨ t + λ D 0 t q t x t + ω 0 2 x t + b x 3 ( t ) = δ cos ( ω t ) ,
The fractional Duffing oscillator (27) has various applications, for example, it is used as a model for describing a tsunami [31] or for constructing a PID controller [32].
Example 4.
The values of the parameters in the model Equation (27) are chosen as follows: q ( t ) = 0.8 cos 2 ( 0.5 t ) , h = 0.0575 , t [ 0 , 50 ] , x ( 0 ) = x ˙ ( 0 ) = 0 , λ = ω 0 = b = δ = 1 , ω = 1.8 .
The waveform and phase trajectory ( y ( t ) = x ˙ ( t ) ) obtained using the explicit finite difference scheme (10) are shown in Figure 4.
The Duffing oscillator has various oscillatory regular and chaotic modes. Regular modes can be many periodic. Figure 4 shows an example of two periodic modes when there are fluctuations with several periods. The oscillogram in Figure 4b shows that over time, the oscillations reach a steady two-period mode, and the phase trajectory Figure 4a has the form of a closed loop, which characterizes several periods of oscillation.
Note that the values of the parameters in the model Equation (27) were chosen so that the conditions for the fulfillment of Theorems 2 and 3 are satisfied. We estimate the computational accuracy using the double recalculation method. To do this, we look for the error of the numerical method using the formula
ε = max | x 2 j x j | , j = 0 , , N ,
where x 2 j is the numerical solution at the step h 2 , x j is the numerical solution at step h obtained by formula (10). The computational accuracy of the method is determined by formula (28). The simulation results are shown in Table 3.
From Table 4, we see that increasing the nodes of the computational grid by a factor of 2 leads to a reduction in the error by a factor of 2, while the computational accuracy of the method tends to unity α 1 . The latter fact does not contradict Remark 9.
Consider the computational accuracy of the method in a situation where the conditions of Theorems 2 and 3 are violated. To do this, select the values of the parameters t [ 0 , 80 ] , h = 0.0533 , λ h 1 Q + h ω 0 2 = 0.5297 , and leave the other parameters unchanged. The results of calculating the computational accuracy of the numerical method (10) are given in Table 5.
From Table 5, we can see that the computational accuracy of the method has a pronounced non-monotonic character in changing its values, which confirms the violation of the stability and convergence of the method (10). However, in this example, an increase in the nodes of the computational grid N by two times also leads to a reduction in the error by about two times.
Example 5.
The values of the parameters in the model Equation (27) are chosen as follows: t [ 0 , 100 ] , h = 0.05 , x ( 0 ) = x ˙ ( 0 ) = 0 , λ = 1 , ω 0 = b = δ = o m e g a = 1 , q ( t ) = 0.5 cos 2 ( 0.2 t ) .
As can be seen from Table 6, there is no difference between the explicit finite difference scheme (10) and the predictor-corrector scheme (19). Both schemes have practically the same convergence rate. Their computational accuracy tends to 1.
Let us consider the operation of an explicit finite-difference scheme (10) for calculating an important characteristic of an oscillatory system—the amplitude–frequency characteristic.

7.3. Amplitude–Frequency Characteristic of a Fractional Duffing oscillator

The amplitude–frequency characteristic is the dependence of the amplitude of steady-state oscillations of the output signal of a certain system on the frequency of its input harmonic signal.
In [22,33], a formula was obtained for calculating the amplitude–frequency characteristic of a fractional Duffing oscillator with a Riemann–Liouville derivative of fractional variable order. The Cauchy problem (27) can be represented as a linear equation, which we obtain by substituting in (27) the solution in the form of the first harmonic [22] x ( t ) = A cos ( ω t + ϕ ) .
x ¨ t + p x ˙ ( t ) + s 2 x t = δ cos ( ω t ) ,
p = 2 λ ω q ( t ) 1 sin q ( t ) π 2 +
2 λ d q d t ω q ( t ) 2 ( ln ( ω ) Ψ ( 1 q ( t ) ) ) cos q ( t ) π 2 + π sin q ( t ) π 2 2 ,
s 2 = ω 0 2 2 λ ω q ( t ) cos q ( t ) π 2 + 3 A 2 b 4
2 λ d q d t ω q ( t ) 1 ( ln ( ω ) Ψ ( 1 q ( t ) ) ) sin q ( t ) π 2 + π cos q ( t ) π 2 2 .
Equation (29) is the equation of a classical linear oscillator, for which the formula for the amplitude–frequency response is known.
A ( ω ) = δ ( s 2 ω 2 ) 2 + p 2 ω 2 ,
In (30) and (31) Ψ ( 1 q ( t ) ) = γ + n = 1 1 n 1 n + 1 q ( t ) is the digamma function, where γ = 1 2 ( 10 3 1 ) is Euler’s constant. In practice, it is enough to take n = 50 .
To calculate the amplitude–frequency characteristic, we use an explicit Euler’s method (10), and then compare the results obtained with the results of calculations using the analytical formula (32). To do this, we carry out the calculation according to scheme (10) with a sufficiently long simulation time, in which the forced oscillations reach a steady state. Next, the amplitude values are fixed at different values of the frequency of external influence, and we obtain the dependence A ( ω ) , which is plotted by points.
Figure 5 shows the simulation results for various types of the function q ( t ) , which have monotone and non-monotone properties. The values of the calculated parameters are as follows: t [ 0 , 100 ] , h = 0.05 , x ( 0 ) = x ˙ ( 0 ) = 0 , λ = 0.1 , ω 0 = b = δ = 1 , and the frequency of external action ω [ 0 , 3 ] is changed in increments of h ω = 0.6 .
From Figure 5, we see that the explicit finite-difference scheme approximates the amplitude–frequency characteristic obtained by the analytical formula (32) quite well when the q ( t ) order of the fractional Riemann–Liouville derivative is a monotone function. In the case when q ( t ) is nonmonotonic, then the approximation according to the explicit finite difference scheme (10) can be considered satisfactory in some approximation. In this case, the accuracy of calculations can be improved by constructing implicit finite difference schemes with higher accuracy.
It should be noted that the curves in Figure 6 are called resonant curves, and the resonant frequency ω R can be determined from d A ( ω R ) d ω R = 0 as the maximum of the function. It was shown in [3,4,5,6] that the resonant frequency can shift to regions of lower or higher frequencies depending on the order of the fractional derivative, i.e., in fact, a connection was established between the order of the fractional derivative and the Q-factor of the oscillatory system [34].

8. The Study of Chaotic and Regular Modes

In the study of nonlinear systems, one of the important tasks is to determine the type of oscillations—periodic, quasi-periodic, random, and chaotic. It is especially difficult to distinguish quasiperiodic oscillations from chaotic and random ones, since quasiperiodic oscillations often have a very complex shape that is visually indistinguishable from “random” ones [11].
A feature of chaotic oscillations is their high sensitivity to small changes in initial conditions. Therefore, one of the most reliable ways to detect chaos is to determine the speed of the trajectory run-up, which is estimated using a spectrum of Lyapunov exponents [35].
Consider the Wolf–Benettin algorithm [22,35] for calculating Lyapunov exponents. We present problem (7) as a system:
x ˙ ( t ) = y ( t ) y ˙ ( t ) = f ( x , t ) λ D 0 t q ( t ) x t ω 0 2 x ( t ) x ( 0 ) = y ( 0 ) = 0 .
If two trajectories remain close over time, then their change obeys the law
u j + 1 = J ( u j ) u j , J ( u j ) = f 1 x j f 1 y j f 2 x j f 2 y j ,
where J ( u j ) is the Jacobi matrix, and f 1 and f 2 are the right parts of system (33). With the help of system (34), variational equations are compiled.
The Wolf–Benettin algorithm [35]:
1. Select the starting point of the vector x 0 and together with it, we will track the K disturbed trajectories. Let K = 2 .
2. We solve the system (33) numerically, using scheme (10), with two sets of perturbed Equation (34). As the initial vectors for equations in variations, you must select a set of vectors x 0 0 ^ , y 0 0 ^ that are orthogonal and normalized by one. We are looking for numerical solutions of systems in the form:
x k = h y k 1 + x k 1 y k = y k 1 + h ( f ( x k 1 , t k 1 ) λ h q k i = 0 k 1 c i q k x k i ω 0 2 x k 1 )
x x k = h y y k 1 + x x k 1 y y k = y y k 1 + h ( ( ω 0 2 f x x k 1 ( x x k 1 , t k 1 ) ) x x k 1 λ h q k i = 0 k 1 c i q k x x k i ) x x 0 = 1 , y y 0 = 0
X X k = h Y Y k 1 + X X k 1 Y Y k = Y Y k 1 + h ( ( ω 0 2 f X X k 1 ( X X k 1 , t k 1 ) ) X X k 1 λ h q k i = 0 k 1 c i q k X X k i ) X X 0 = 0 , Y Y 0 = 1
The scheme (35) is a numerical solution of the system (33). The numerical solutions of Schemes (36) and (37) of perturbed Equation (35), where x x k and y y k are coordinates of perturbation vectors under initial conditions x x 0 = 1 , y y 0 = 0 , X X k and Y Y k , are the coordinates of the perturbation vectors under initial conditions X X 0 = 0 , Y Y 0 = 1 .
3. After time T, the trajectory moves to the point vector x 1 , the perturbation vectors x 1 ^ , y 1 ^ , which we renormalize using the Gram–Schmidt method.
x 1 0 ^ = x 1 ^ x 1 ^ ,
y 1 ^ = y 1 ^ ( y 1 ^ , x 1 0 ^ ) x 1 0 ^ , y 1 0 ^ = y 1 ^ y 1 ^
Steps 1–3 are repeated M times, and the sums of the calculations are calculated: S 1 = i = 1 M ln ( x i ^ ) , S 2 = i = 1 M ln ( y i ^ ) . The estimation of Lyapunov exponents is calculated using the formula:
Λ i = S i M T , i = 1 , 2 .
Example 6.
The values of the parameters in system (33) are chosen as follows: q ( t ) = 0.8 cos 2 ( 0.5 t ) , f x , t = b x 3 t δ cos ω t , h = 0.025 , t [ 0 , 50 ] , x ( 0 ) = x ˙ ( 0 ) = 0 , ω 0 = b = ω = 1 , δ = 1 .
Figure 7 shows the spectrum of Lyapunov exponents relative to the coefficient of dissipation λ . The figures show that with positive values of the spectrum of Lyapunov exponents, a chaotic regime is observed, and with negative values, a regular one.
Example 7.
The values of the parameters in system (33) are chosen as follows: f x , t = b x 3 t δ cos ω t , h = 0.025 , t [ 0 , 50 ] , x ( 0 ) = x ˙ ( 0 ) = 0 , λ = ω 0 = b = ω = 1 , δ = 1 .
In Figure 7 and Figure 8, Poincaré sections are indicated by points on the phase trajectories. The number of Poincaré sections corresponds to the number of oscillation periods.

9. Conclusions

In this paper, we proposed a simple non-local explicit finite-difference scheme based on the discrete Grunwald–Letnikov derivative for the numerical solution of the Cauchy problem (7). In this paper, we considered the issues of stability and convergence of the proposed scheme. For the first time, the stability and convergence theorem of an explicit Euler’s method was proved. We showed that the non-local finite-difference scheme is conditionally stable and converges with the first order. We reviewed test cases, gave an assessment of the computational accuracy, which is consistent with theoretical calculations. Examples of the calculation of oscillograms, phase trajectories and frequency response of a fractional Duffing oscillator were considered. We showed the acceptability of a non-local explicit finite-difference scheme for numerical analysis of a fractional Duffing oscillator.
The results obtained in the work can be improved by developing non-local implicit finite-difference schemes with higher accuracy. This is the next stage of research development that the authors intend to implement. It should be noted that the fractional Duffing oscillator has rich dynamics, various modes and effects. For example, it is known that the fractional Duffing oscillator has a bistable behavior—a jump or dynamic hysteresis. This can be seen, for example, in Figure 4. for the frequency response, plotted by points. Therefore, it makes sense to investigate the bistable behavior depending on the order of the fractional derivative as a function of time, by analogy with the work [36].
In the future, it is planned to study the case when the fractional derivative of a variable order depends not only on time t, but also on the solution function x ( t ) by analogy with the works [25,26].

Author Contributions

Conceptualization, R.I.P.; Formal analysis, V.A.K.; Investigation, V.A.K.; Methodology, R.I.P.; Software, V.A.K.; Supervision, R.I.P.; Validation, V.A.K.; Visualization, V.A.K. All authors have read and agreed to the published version of the manuscript.

Funding

The work was carried out with the financial support of the grant of the President of the Russian Federation No. MD-758.2022.1.1.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Petras, I. Fractional-Order Nonlinear Systems: Modeling, Analysis and Simulation; Springer: New York, NY, USA, 2010; p. 180. [Google Scholar]
  2. Shitikova, M.V. Fractional Operator Viscoelastic Models in Dynamic Problems of Mechanics of Solids: A Review. Mech. Solids 2021, 57, 1–33. [Google Scholar] [CrossRef]
  3. Rekhviashvili, S.S.; Pskhu, A.V. New method for describing damped vibrations of a beam with a built-in end. Tech. Phys. 2019, 64, 1237–1241. [Google Scholar] [CrossRef]
  4. Parovik, R.I. Quality factor of forced oscillations of a linear fractional oscillator. Tech. Phys. 2020, 65, 1059–1063. [Google Scholar] [CrossRef]
  5. Parovik, R.I. Amplitude-frequency and phase-frequency performances of forced oscillations of a nonlinear fractional oscillator. Tech. Phys. Lett. 2019, 45, 660–663. [Google Scholar] [CrossRef]
  6. Rekhviashvili, S.S.; Pskhu, A.V. Fractional oscillator with exponential power function of memory. Lett. ZhTF 2022, 48, 33–35. (In Russian) [Google Scholar]
  7. Syta, A.; Litak, G.; Lenci, S.; Scheffler, M. Chaotic vibrations of the Duffing system with fractional damping. Chaos Interdiscip. J. Nonlinear Sci. 2014, 24, 10–16. [Google Scholar] [CrossRef]
  8. Xu, Y.; Li, Y.; Liu, D.; Jia, W.; Huang, H. Responses of Duffing oscillator with fractional damping and random phase. Nonlinear Dyn. 2013, 74, 745–753. [Google Scholar] [CrossRef]
  9. Shen, Y.; Li, H.; Yang, S.; Peng, M.; Han, Y. Primary and subharmonic simultaneous resonance of fractional-order Duffing oscillator. Nonlinear Dyn. 2020, 102, 1485–1497. [Google Scholar] [CrossRef]
  10. Xing, W. Threshold for chaos of a duffing oscillator with fractional-order derivative. Shock Vib. 2019, 2019, 1–16. [Google Scholar] [CrossRef]
  11. Gao, X. Chaos in the fractional order periodically forced complex Duffing’s oscillators. Chaos Solitons Fractals 2005, 24, 97–104. [Google Scholar] [CrossRef]
  12. El-Dib, Y.O. Stability approach of a fractional-delayed Duffing oscillator. Discontinuity Nonlinearity Complex 2020, 9, 367–376. [Google Scholar] [CrossRef]
  13. Eze, S.C. Analysis of fractional Duffing oscillator. Rev. Mex. Física 2020, 66, 187–191. [Google Scholar] [CrossRef]
  14. Gouari, Y.; Dahmani, Z.; Jebril, I. Application of fractional calculus on a new differential problem of duffing type. Adv. Math. Sci. J. 2020, 9, 10989–11002. [Google Scholar] [CrossRef]
  15. Barba-Franco, J.J.; Gallegos, A.; Jaimes-Reátegui, R.; Pisarchik, A.N. Dynamics of a ring of three fractional-order Duffing oscillators. Chaos Solitons Fractals 2022, 155, 111–747. [Google Scholar] [CrossRef]
  16. Ejikeme, C.L.; Oyesanya, M.O.; Agbebaku, D.F.; Okofu, M.B. Solution to nonlinear Duffing oscillator with fractional derivatives using homotopy analysis method (HAM). Glob. J. Pure Appl. Math. 2018, 14, 1363–1388. [Google Scholar]
  17. Syam, M.I. The Modified Fractional Power Series Method for Solving Fractional Undamped Duffing Equation with Cubic Nonlinearity. Nonlinear Dyn. Syst. Theory 2020, 20, 568–577. [Google Scholar]
  18. Alvaro, H.; Salas, S. Analytical Approximant to a Quadratically Damped Duffing Oscillator. Sci. World J. 2022, 2022, 10–21. [Google Scholar]
  19. Wawrzynski, W. The origin point of the unstable solution area of a forced softening Duffing oscillator. Sci. Rep. 2022, 12, 4518. [Google Scholar] [CrossRef]
  20. Chen, T.; Cao, X.; Niu, D. Model modification and feature study of Duffing oscillator. J. Low Freq. Noise 2022, 41, 230–243. [Google Scholar] [CrossRef]
  21. Kim, V.A. Duffing oscillator with an external harmonic impact and derived variables fractional Remann-Liouville, is characterized by viscous friction. Bulletin KRASEC. Phys. Math. Sci. 2016, 13, 46–49. [Google Scholar]
  22. Kim, V.A.; Parovik, R.I. Mathematical model of fractional Duffing oscillator with variable memory. Mathematics 2020, 8, 2063. [Google Scholar] [CrossRef]
  23. Nakhushev, A.M. Fractional Calculus and Its Applications; Fizmatlit: Moscow, Russia, 2003; p. 272. (In Russian) [Google Scholar]
  24. Kilbas, A.A.; Srivastava, H.M.; Trujillo, J.J. Theory and Applications of Fractional Differential Equations; Elsevier Science Limited: Amsterdam, The Netherlands, 2006; Volume 204, p. 523. [Google Scholar]
  25. Zhuang, P.; Liu, F.; Anh, V.; Turner, I. Numerical methods for the variable-order fractional advection-diffusion equation with a nonlinear source term. SIAM J. Numer. Anal. 2009, 47, 1760–1781. [Google Scholar] [CrossRef] [Green Version]
  26. Sun, H.; Chang, A.; Zhang, Y.; Chen, W. Variable-order fractional differential equations: Mathematical foundations, physical models, numerical methods and applications. Fract. Calc. Appl. Anal. 2019, 22, 27–59. [Google Scholar] [CrossRef] [Green Version]
  27. Nigmatullin, R.R. Fractional integral and its physical interpretation. Theor. Math. Phys. 1992, 90, 242–251. [Google Scholar] [CrossRef]
  28. Meerschaert, M.M.; Tadjeran, C. Finite difference approximations for fractional advection–dispersion flow equations. J. Comput. Appl. Math. 2004, 172, 65–77. [Google Scholar] [CrossRef] [Green Version]
  29. Parovik, R.I. Mathematical modeling of linear fractional oscillators. Mathematics 2020, 8, 1879. [Google Scholar] [CrossRef]
  30. Yang, C.; Liu, F. A computationally effective predictor-corrector method for simulating fractional-order dynamical control system. ANZIAM J. 2006, 47, 168–184. [Google Scholar] [CrossRef] [Green Version]
  31. Niu, J.; Shen, Y.; Yang, S.; Li, S. Analysis of Duffing oscillator with time-delayed fractional-order PID controller. Int. J. Non-Linear Mech. 2017, 92, 65–75. [Google Scholar] [CrossRef]
  32. Wang, Y.; An, J.Y. Amplitude–frequency relationship to a fractional Duffing oscillator arising in microphysics and tsunami motion. J. Low Freq. Noise Vib. Act. Control 2019, 38, 1008–1012. [Google Scholar] [CrossRef]
  33. Li, Y.; Duan, J.-S. The periodic response of a fractional oscillator with a spring-pot and an inerter-pot. J. Mech. 2020, 37, 108–117. [Google Scholar] [CrossRef]
  34. Yang, J.H.; Sanjuán, M.A.; Wang, C.J.; Zhu, H. Vibrational Resonance in a Duffing System with a Generalized Delayed Feedback. J. Appl. Nonlinear Dyn. 2013, 2, 397–408. [Google Scholar] [CrossRef]
  35. Wolf, A.; Swift, J.B.; Swinney, H.L.; Vastano, J.A. Determining Lyapunov exponents from a time series. Phys. Nonlinear Phenom. 1985, 16, 285–317. [Google Scholar] [CrossRef] [Green Version]
  36. Parovik, R.I. Dynamic hysteresis of a fractional Duffing oscillator. Mat. Instituti Byulleteni 2019, 6, 47–51. (In Russian) [Google Scholar]
Figure 1. Test example. Numerical and exact solutions of problem (23) in case of fulfillment of the condition of Theorems 2 and 3.
Figure 1. Test example. Numerical and exact solutions of problem (23) in case of fulfillment of the condition of Theorems 2 and 3.
Fractalfract 06 00274 g001
Figure 2. Test example. Numerical and exact solutions of problem (20) when the conditions of Theorems 2 and 3 are not fulfilled.
Figure 2. Test example. Numerical and exact solutions of problem (20) when the conditions of Theorems 2 and 3 are not fulfilled.
Fractalfract 06 00274 g002
Figure 3. A test example. Solutions of the Cauchy problem (7) obtained by schemes (10), (19) and (21), as well as the exact solution (24).
Figure 3. A test example. Solutions of the Cauchy problem (7) obtained by schemes (10), (19) and (21), as well as the exact solution (24).
Fractalfract 06 00274 g003
Figure 4. Phase trajectory (a) and oscillogram (b) for the Cauchy problem (1) under the conditions of Theorems 2 and 3 at N = 1500 .
Figure 4. Phase trajectory (a) and oscillogram (b) for the Cauchy problem (1) under the conditions of Theorems 2 and 3 at N = 1500 .
Fractalfract 06 00274 g004
Figure 5. Amplitude–frequency characteristic of the fractional Duffing oscillator for various types of the q ( t ) function.
Figure 5. Amplitude–frequency characteristic of the fractional Duffing oscillator for various types of the q ( t ) function.
Fractalfract 06 00274 g005
Figure 6. Phase trajectory (a) and waveforms (b) obtained from schemes (10) and (19).
Figure 6. Phase trajectory (a) and waveforms (b) obtained from schemes (10) and (19).
Fractalfract 06 00274 g006
Figure 7. The spectrum of Lyapunov exponents from λ (a) and phase trajectories at (b) λ = 0.18 , (c) λ = 0.6 . The dots represent the Poincaré sections.
Figure 7. The spectrum of Lyapunov exponents from λ (a) and phase trajectories at (b) λ = 0.18 , (c) λ = 0.6 . The dots represent the Poincaré sections.
Fractalfract 06 00274 g007
Figure 8. The spectrum of Lyapunov exponents from q ( t ) (a) and phase trajectories at (b) q ( t ) = 0.15 cos 2 ( 0.2 t ) , (c) q ( t ) = 0.8 cos 2 ( 0.5 t ) . The dots represent the Poincaré sections.
Figure 8. The spectrum of Lyapunov exponents from q ( t ) (a) and phase trajectories at (b) q ( t ) = 0.15 cos 2 ( 0.2 t ) , (c) q ( t ) = 0.8 cos 2 ( 0.5 t ) . The dots represent the Poincaré sections.
Fractalfract 06 00274 g008
Table 1. Error and computational accuracy of the numerical scheme (10).
Table 1. Error and computational accuracy of the numerical scheme (10).
Nh ε (25) α (26)
100.10.010416664-
200.050.0051372541.019824008
400.0250.0025560961.007055385
800.01250.0012750181.003424407
1600.006250.0006367741.001664279
3200.0031250.0003182091.00080679
6400.00156250.0001590591.000412635
Table 2. Error and computational accuracy of the numerical scheme (10).
Table 2. Error and computational accuracy of the numerical scheme (10).
Nh ε (18) α (19)
100.1216.8838-
200.0511004.94−5.665085173
400.02522.64888.92450095
800.01250.01225209910.85218997
1600.006250.0062784090.96455801
3200.0031250.00317820.9821891
6400.00156250.00159907010.990976729
Table 3. Error and computational accuracy of the numerical scheme (10) and “predictor–corrector” method.
Table 3. Error and computational accuracy of the numerical scheme (10) and “predictor–corrector” method.
Nh = T/N ϵ  (Finite-Difference Scheme (10)) α  (Finite-Difference Scheme (10)) ϵ (Predictor–Corrector (19)) α (Predictor–Corrector (19))
100.10.010416664-0.022014375-
200.050.0051372541.0198240080.0065173270.758163925
400.0250.0025560961.0070553850.0021258050.817941863
800.01250.0012750181.0034244070.0043372761.131071553
1600.006250.0006367741.0016642790.0051456451.03243208
3200.0031250.0003182091.000806790.0054520871.011099493
6400.00156250.0001590591.0004126350.0055713911.004170658
Table 4. Error and computational accuracy of scheme (10).
Table 4. Error and computational accuracy of scheme (10).
Nh ε (28) α (16)
100.10.010416664-
200.050.0051372541.019824008
400.0250.0025560961.007055385
800.01250.0012750181.003424407
1600.006250.0006367741.001664279
3200.0031250.0003182091.00080679
6400.00156250.0001590591.000412635
Table 5. Error and computational accuracy of the scheme (10).
Table 5. Error and computational accuracy of the scheme (10).
Nh ε (20) α (19)
100.10.010416664-
200.050.055137254−2.404134099
400.0250.0065560963.072118534
800.01250.0032750181.001334144
1600.006250.0015367741.09159782
3200.0031250.000782090.974498474
6400.00156250.0000390591.001679624
Table 6. Error and computational accuracy of the numerical scheme (10) and “predictor–corrector” method.
Table 6. Error and computational accuracy of the numerical scheme (10) and “predictor–corrector” method.
N h = T / N ϵ  (Finite-Difference Scheme (10)) α  (Finite-Difference Scheme (10)) ϵ  (Predictor–Corrector (19)) α  (Predictor–Corrector (19))
100.10.010416664-0.012159916-
200.050.0051372541.0198240080.0059339371.035071832
400.0250.0025560961.0070553850.0029479111.009296592
800.01250.0012750181.0034244070.0014689661.004891965
1600.006250.0006367741.0016642790.0007337961.001351042
3200.0031250.0003182091.000806790.0003667081.000745531
6400.00156250.0001590591.0004126350.000181971.000434281
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kim, V.A.; Parovik, R.I. Application of the Explicit Euler Method for Numerical Analysis of a Nonlinear Fractional Oscillation Equation. Fractal Fract. 2022, 6, 274. https://doi.org/10.3390/fractalfract6050274

AMA Style

Kim VA, Parovik RI. Application of the Explicit Euler Method for Numerical Analysis of a Nonlinear Fractional Oscillation Equation. Fractal and Fractional. 2022; 6(5):274. https://doi.org/10.3390/fractalfract6050274

Chicago/Turabian Style

Kim, Valentine Aleksandrovich, and Roman Ivanovich Parovik. 2022. "Application of the Explicit Euler Method for Numerical Analysis of a Nonlinear Fractional Oscillation Equation" Fractal and Fractional 6, no. 5: 274. https://doi.org/10.3390/fractalfract6050274

APA Style

Kim, V. A., & Parovik, R. I. (2022). Application of the Explicit Euler Method for Numerical Analysis of a Nonlinear Fractional Oscillation Equation. Fractal and Fractional, 6(5), 274. https://doi.org/10.3390/fractalfract6050274

Article Metrics

Back to TopTop