Next Article in Journal
The Dynamic Effects of COVID-19 and the March 2020 Crash on the Multifractality of NASDAQ Insurance Stock Markets
Next Article in Special Issue
Hermite Finite Element Method for Time Fractional Order Damping Beam Vibration Problem
Previous Article in Journal
Modified FOPID Controller for Frequency Regulation of a Hybrid Interconnected System of Conventional and Renewable Energy Sources
Previous Article in Special Issue
Fractional Dual-Phase-Lag Model for Nonlinear Viscoelastic Soft Tissues
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An ε-Approximate Approach for Solving Variable-Order Fractional Differential Equations

1
School of Computer Science and Engineering, Macau University of Science and Technology, Macau 999078, China
2
Zhuhai Campus, Beijing Institute of Technology, Zhuhai 519088, China
*
Author to whom correspondence should be addressed.
Fractal Fract. 2023, 7(1), 90; https://doi.org/10.3390/fractalfract7010090
Submission received: 1 November 2022 / Revised: 29 December 2022 / Accepted: 10 January 2023 / Published: 13 January 2023

Abstract

:
As a mathematical tool, variable-order (VO) fractional calculus (FC) was developed rapidly in the engineering field due to it better describing the anomalous diffusion problems in engineering; thus, the research of the solutions of VO fractional differential equations (FDEs) has become a hot topic for the FC community. In this paper, we propose an effective numerical method, named as the ε -approximate approach, based on the least squares theory and the idea of residuals, for the solutions of VO-FDEs and VO fractional integro-differential equations (VO-FIDEs). First, the VO-FDEs and VO-FIDEs are considered to be analyzed in appropriate Sobolev spaces H 2 n [ 0 , 1 ] and the corresponding orthonormal bases are constructed based on scale functions. Then, the space H 2 , 0 2 [ 0 , 1 ] is chosen which is just suitable for one of the models the authors want to solve to demonstrate the algorithm. Next, the numerical scheme is given, and the stability and convergence are discussed. Finally, four examples with different characteristics are shown, which reflect the accuracy, effectiveness, and wide application of the algorithm.

1. Introduction

FC refers to the research of integral and differential operators of any fractional order which can describe many real-world phenomena effectively. However, in some fields, such as in viscoelasticity, a time-varying temperature is required to be analyzed. This led researchers to consider the order of FC to be a function of time or some other variable [1]. In fact, early in 1993, the authors Samko et al. in [2] studied the integration and differentiation of functions to a VO ( d / d x ) δ ( x ) f ( x ) , where the order δ ( x ) is a function of x. The VO-FC was used as a prospective candidate to provide an efficient mathematical framework [3].
VO-FDEs are very suitable for describing the phenomena in many fields, such as anomalous diffusion and relaxation phenomena [4], electrical networks [5], dynamic system [6], fluid mass balance [7], and lots of other branches of physics and engineering, for example, acoustic wave propagation [8], heat and mass transfer, kinetics, ecology, image and time-series analysis, and signal processing [9]; therefore, it has aroused the interest of many scholars.
Owing to the variable exponent of the VO operator kernel, the exact solutions for VO-FDEs are more difficult to obtain. Then, finding approximate solutions for VO-FDEs is necessary. Liu et al. derived a kind of operational matrix based on the second kind of Chebyshev polynomial to solve a multiterm VO-FDE [10]. Doha et al. proposed the SJ-G-C method (shifted Jacobi–Gauss collocation) to obtain an approximate solution [11]. El-Sayed et al. used shifted Legendre polynomials for constructing the numerical solution [12]. A collocation approach was applied with the aid of shifted Chebyshev polynomials to solve the GVOFDDEs [13]. Li et al. introduced a new reproducing kernel function with a polynomial form for Atangana–Baleanu VO fractional problems [14]. Singh et al. introduced a machine learning framework with the Adams–Bashforth–Moulton method [15]. Chen et al. adopted the Bernstein polynomials basis to solve the equations [16]. Amin et al. developed a collocation method based on the Haar wavelet for solving the linear VO-FIDEs [17].
In the paper, the following VO-FDEs will be considered [18]:
D C δ ( x ) w ( x ) + a 1 ( x ) w ( x ) + a 2 ( x ) w ( x ) + a 3 ( x ) w τ ( x ) = f ( x ) , x [ 0 , 1 ] , w ( 0 ) = γ 0 , w ( 1 ) = γ 1 .
Here, 1 < δ ( x ) < 2 , D C δ ( x ) is in a Caputo sense [13], that is,
D C δ ( x ) w ( x ) = 1 Γ ( n δ ( x ) ) 0 x ( x s ) n δ ( x ) 1 w ( n ) ( s ) d s .
For Equation (1), n = 2 , a i ( x ) ( i = 1 , 2 , 3 ) C 2 [ 0 , 1 ] , δ ( x ) , τ ( x ) , f ( x ) C [ 0 , 1 ] , 0 τ ( x ) 1 , γ i ( i = 0 , 1 ) is a constant.
In order to show the effectiveness and wide application of the algorithm and basis functions in this paper, we are also concerned with the following VO-FIDEs [19]:
D C δ ( x ) w ( x ) + a 1 ( x ) 0 x w ( s ) d s + a 2 ( x ) w ( x ) + a 3 ( x ) w ( x ) = f ( x ) , x [ 0 , R ] , R > 0 , w ( 0 ) = γ 0 ,
where D C δ ( x ) is as Equation (2), 0 < δ ( x ) < 1 ,   n = 1 , a i ( x ) ( i = 1 , 2 , 3 ) is smooth enough, f ( x ) C [ 0 , R ] , and γ 0 is a constant.
The motivation of the present paper is encouraged by orthogonal functions. The original problems can be simplified by using orthogonal functions to reduce the VO-FDEs to an algebraic system. We try to construct standard orthogonal bases for Sobolev spaces H 2 n [ 0 , 1 ] with a different n to obtain better approximate solutions.
The rest of this paper is organized as follows. In Section 2, we first transform the problem into an equivalent one with homogeneous boundary value conditions and then introduce the knowledge of the spaces and bases required for the problems. Section 3 describes the numerical algorithm under the concept of an ε -approximate solution and presents the stability and convergence analysis in space H 2 , 0 2 [ 0 , 1 ] . Section 4 shows the numerical results for the proposed method. Section 5 provides brief conclusions.

2. Preliminaries

2.1. Homogenization

In order to provide the ε -approximate numerical algorithm for the VO-FDEs and VO-FIDEs, we homogenize (1)–(3) by making a transformation on w ( x ) , and suppose that the solutions of the equations exist and are unique. In the following paper, we still use w ( x ) to represent the exact solution to avoid too many symbols. Then, (1)–(3) are simplified as (4)–(5):
D C δ ( x ) w ( x ) + a 1 ( x ) w ( x ) + a 2 ( x ) w ( x ) + a 3 ( x ) w τ ( x ) = g ( x ) ,   x [ 0 , 1 ] , w ( 0 ) = 0 ,   w ( 1 ) = 0 .
D C δ ( x ) w ( x ) + a 1 ( x ) 0 x w ( s ) d s + a 2 ( x ) w ( x ) + a 3 ( x ) w ( x ) = g ( x ) , x [ 0 , R ] ,   R > 0 , w ( 0 ) = 0 .

2.2. Space Introduction

In this study, we choose to obtain the approximate solutions for different VO-FEDs in Sobolev spaces, such as H 2 1 [ 0 , 1 ] , H 2 , 0 2 [ 0 , 1 ] . For Equation (5), 0 < δ ( x ) < 1 , H 2 1 [ 0 , 1 ] and its subspaces could be considered. In the following definitions, A C represents the space of absolutely continuous functions.
H 2 1 [ 0 , 1 ] = { w ( x ) | w ( x ) A C , w ( 0 ) = 0 , w ( x ) L 2 [ 0 , 1 ] } ,
and
< w , v > 1 = 0 1 w v d x , | | w | | 1 2 = < w , w > 1 .
By [20], H 2 1 is a reproducing kernel space.
Clearly, H 2 , 0 1 [ 0 , 1 ] = { w ( x ) | w ( x ) A C , w ( 0 ) = w ( 1 ) = 0 , w ( x ) L 2 [ 0 , 1 ] } is a closed subspace of H 2 1 .
Based on the mother wavelet
φ 10 ( x ) = x , x [ 0 , 1 2 ] , 1 x , x ( 1 2 , 1 ] , 0 , e l s e ,
The following scale functions are constructed,
φ i k ( x ) = 2 i 1 2 x k 2 i 1 , x [ k 2 i 1 , k + 1 / 2 2 i 1 ] , k + 1 2 i 1 x , x ( k + 1 / 2 2 i 1 , k + 1 2 i 1 ] , 0 , e l s e ,
where i N + ,   k = 0 , 1 , , 2 i 1 1 . Obviously, { φ i k ( x ) } is contained in H 2 , 0 1 [ 0 , 1 ] . Thus, we obtain the following Theorem 1.
Theorem 1.
{ φ 10   , φ 20 ,   φ 21 , ,   φ i k , } i s a s e t o f s t a n d a r d o r t h o g o n a l b a s e s o f H 2 , 0 1 .
Proof. 
It is easy to verify that the scale functions are standard orthogonal. So, the only thing is to prove { φ 10 ,   φ 20 ,   φ 21 , ,   φ i k , } to be complete. For w H 2 , 0 1 , if w , φ 10 1 = 0 , that is, 0 1 / 2 w d x 1 / 2 1 w d x = 2 w 1 2 w ( 0 ) w ( 1 ) = 2 w 1 2 = 0 , so w 1 2 = 0 . If w , φ 20 1 = 0 , that is, 2 2 1 2 0 1 / 4 w d x 1 / 4 1 / 2 w d x = 0 , so w ( 1 4 ) = 0 . Similarly, if w , φ 21 1 = 0 , then w ( 3 4 ) = 0 . Thus, for all x i k = k 2 i 1 , w ( x i k ) = 0 . Because { x i k } is dense on [ 0 , 1 ] and w ( x ) A C , w 0 . □
Then, it is not difficult to prove that x ,   φ 10 ( x ) ,   φ 20 ( x ) ,   φ 21 ( x ) , ,   φ i k ( x ) , is a set of orthonormal bases for H 2 1 .
For 1 < δ ( x ) < 2 , we give the following spaces with corresponding smoothness.
H 2 2 [ 0 , 1 ] = { w ( x ) | w ( x ) , w ( x ) A C , w ( 0 ) = 0 , w ( x ) L 2 [ 0 , 1 ] } ,
and
< w , v > 2 = w ( 0 ) v ( 0 ) + 0 1 w v d x , | | w | | 2 2 = < w , w > 2 .
Moreover, the notations below are needed for simplifying the problem expression
J 0 w ( x ) = 0 x w ( s ) d s , J i k ( x ) = J 0 φ i k ( x ) x 0 1 φ i k ( x ) d x .
Theorem 2.
{ β j ( x ) } j = 1 = x ,   x 2 / 2 ,   J 0 φ 10 ( x ) ,   J 0 φ 20 ( x ) ,   J 0 φ 21 ( x ) , ,   J 0 φ i k ( x ) , i s a g r o u p o f s t a n d a r d o r t h o g o n a l b a s e s o f H 2 2 .
Proof. 
Similar to Theorem 1, we need to verify the completeness of { β j ( x ) } j = 1 . For w H 2 2 , if w , x 2 = w , x 2 2 2 = 0 , then w ( 0 ) = w ( 1 ) = 0 . With the fact that w A C , w L 2 , we have w H 2 , 0 1 . If w , J 0 φ i k 2 = 0 , then w , J 0 φ i k 2 = 0 1 w φ i k d x = 0 . So, w , φ i k H 2 , 0 1 = 0 1 w φ i k d x = 0 , by the completeness of the bases of H 2 , 0 1 , w = 0 . That is, w = c (c is a constant), because w A C ,   w ( 0 ) = 0 , so w 0 . □
Further, for Equation (4), we give a specific space H 2 , 0 2 [ 0 , 1 ] as below:
H 2 , 0 2 [ 0 , 1 ] = { w ( x ) | w ( x ) ,   w ( x ) A C ,   w ( 0 ) = w ( 1 ) = 0 ,   w ( x ) L 2 [ 0 , 1 ] } ,
and
< w , v > H 2 , 0 2 = 0 1 w v d x , | | w | | H 2 , 0 2 2 = < w , w > H 2 , 0 2 .
Obviously, H 2 , 1 2 [ 0 , 1 ] = { w ( x ) | w ( x ) ,   w ( x ) A C ,   w ( 0 ) = w ( 1 ) = 0 ,   w ( 0 ) = w ( 1 ) ,   w ( x ) L 2 [ 0 , 1 ] } is a subspace of H 2 , 0 2 [ 0 , 1 ] . At the same time, similar to the proof process of Theorem 2, { η j ( x ) } j = 1 = { J 10 ( x ) ,   J 20 ( x ) ,   J 21 ( x ) , ,   J i k ( x ) , } are the orthonormal bases of H 2 , 1 2 .
Theorem 3.
{ μ j ( x ) } j = 1 = x ( 1 x ) / 2 ,   J 10 ( x ) ,   J 20 ( x ) ,   J 21 ( x ) , ,   J i k ( x ) , i s a s e t o f s t a n d a r d o r t h o g o n a l b a s e s o f H 2 , 0 2 .
Proof. 
In a similar manner, for w H 2 , 0 2 , if w , x ( 1 x ) 2 H 2 , 0 2 = 0 , then 0 1 w ( 1 ) d x = [ w ( 1 ) w ( 0 ) ] = 0 , that is, w ( 1 ) = w ( 0 ) , so w H 2 , 1 2 , w , J i k ( x ) H 2 , 1 2 = 0 . As { η j ( x ) } j = 1 is a complete system, w 0 , the theorem holds. □

3. Algorithm and Convergence Analysis

In this part, we propose a numerical algorithm to solve VO-FDEs in the spaces introduced in Section 2. Specifically, for the simplified (4), 1 < δ ( x ) < 2 , we choose the space H 2 , 0 2 [ 0 , 1 ] . As for (5), H 2 1 [ 0 , 1 ] is suitable, due to searching for approximate solutions, H 2 2 [ 0 , 1 ] can also be considered. In the following part, we show the algorithm and theoretical analysis for (4). In addition, for (5), it can be analyzed by the same idea.

3.1. The ε -Approximate Approach

Let A : H 2 , 0 2 L 2 be a linear operator, for w H 2 , 0 2 , we have
A w = 1 Γ ( 2 δ ( x ) ) 0 x ( x s ) 1 δ ( x ) w ( s ) d s + a 1 ( x ) w ( x ) + a 2 ( x ) w ( x ) + a 3 ( x ) w τ ( x ) .
Then, (4) can be replaced by
A w = g .
Theorem 4.
The operator A is bounded.
Proof. 
| | A w | | L 2 = 1 Γ ( 2 δ ( x ) ) 0 x ( x s ) 1 δ ( x ) w ( s ) d s + a 1 ( x ) w ( x ) + a 2 ( x ) w ( x ) + a 3 ( x ) w τ ( x ) L 2 .
For 1 < δ ( x ) < 2 , then 1 < δ 1 δ ( x ) δ 2 < 2 holds ( δ i is a constant ( i = 1 , 2 ) ). Obviously, the following inequalities are true:
0 < 2 δ 2 2 δ ( x ) 2 δ 1 < 1 , 1 < 1 δ 2 1 δ ( x ) 1 δ 1 < 0 .
In ( 0 , 1 ) , the Γ ( x ) is monotonically decreasing, Γ ( x ) > 0 , and in Equation (7), 0 < x s < 1 , the following inequalities hold.
0 < 1 Γ ( 2 δ 2 ) 1 Γ ( 2 δ ( x ) ) 1 Γ ( 2 δ 1 ) , 0 < ( x s ) 1 δ 1 ( x s ) 1 δ ( x ) ( x s ) 1 δ 2 .
The boundedness of 1 Γ ( 2 δ ( x ) ) 0 x ( x s ) 1 δ ( x ) w ( s ) d s L 2 can be proved by H o ¨ l d e r inequality as below.
1 Γ ( 2 δ ( x ) ) 0 x ( x s ) 1 δ ( x ) w ( s ) d s L 2 2 1 Γ 2 ( 2 δ 1 ) 0 1 0 x x s 1 δ ( x ) w ( s ) d s 2 d x 1 Γ 2 ( 2 δ 1 ) 0 1 0 x ( x s ) 1 δ 2 w ( s ) d s 2 d x 1 Γ 2 ( 2 δ 1 ) 0 1 0 x ( x s ) 1 δ 2 d s 0 x ( x s ) 1 δ 2 w 2 ( s ) d s d x K 1 0 1 d x 0 x ( x s ) 1 δ 2 w 2 ( s ) d s = K 1 0 1 w 2 ( s ) d s s 1 ( x s ) 1 δ 2 d x = K 2 0 1 ( 1 s ) 2 δ 2 w 2 ( s ) d s K 2 0 1 w 2 ( s ) d s = K 2 | | w | | H 2 , 0 2 2 .
In Equation (9), by the reproducing property of kernel function R x of H 2 , 0 2 , | w ( x ) | = | < w , R x > H 2 , 0 2 |     | | R x | | H 2 , 0 2 | | w | | H 2 , 0 2 , so w 2 ( x ) | | R x | | H 2 , 0 2 2 | | w | | H 2 , 0 2 2 . It implies that | | a 1 ( x ) w ( x ) | | L 2 K 3 | | w | | H 2 , 0 2 .
Similarly, | | a 2 ( x ) w ( x ) | | L 2 K 4 | | w | | H 2 , 0 2 .
As for | w τ ( x ) | = | < w , R τ ( x ) > H 2 , 0 2 | , applying the Cauchy–Schwartz inequality, it yields that
| w τ ( x ) | | | w | | H 2 , 0 2 | | R τ ( x ) | | H 2 , 0 2 .
Because | | R τ ( x ) | | H 2 , 0 2 is bounded on [ 0 , 1 ] , | w τ ( x ) |     K 5 | | w | | H 2 , 0 2 , so | | a 3 ( x ) w ( τ ( x ) ) | | L 2 K 6 | | w | | H 2 , 0 2 . Finally, one obtains
| | A w | | L 2 ( K 2 + K 3 + K 4 + K 6 ) | | w | | H 2 , 0 2 ,
where K i   ( i = 1 , 2 , , 6 ) is a positive constant, the theorem holds true. □
Next, we give the definition of ε -approximate solution for the problem.
Definition 1.
For ε > 0 , if | | A w g | | L 2 2 < ε 2 , w is called ε-approximate solution of (8).
Numerical Scheme: To obtain the ε -approximate solution, we provide the following method. Let w n = k = 1 n d k μ k , and
J ( d 1 , d 2 , , d n ) = A w n g L 2 2 = k = 1 n d k A μ k g L 2 2 .
Then, the ε -approximate approach reads as: seeking for d k * ( k = 1 , 2 , , n ) so that
J ( d 1 * , d 2 * , , d n * ) = k = 1 n d k * A μ k g L 2 2 = m i n d k k = 1 n d k A μ k g L 2 2 .
Here, k = 1 n d k * μ k is the ε -approximate solution. For the theoretical support, please see Theorem 2.1 in [21].
To obtain the coefficient d k * , we minimize J ( d 1 , d 2 , , d n ) by applying J ( d 1 ,   d 2 , ,   d n ) d j = 0 . Then, we obtain
k = 1 n d k A μ k , A μ j L 2 = A μ j , g L 2 ( j = 1 , 2 , , n ) .
Thus, d 1 * , d 2 * , , d n * can be determined by
B d = c ,
where
B = A μ k , A μ j L 2 n × n , c = A μ j , g L 2 n × 1 T , d = ( d 1 , d 2 , , d n ) T .
Theorem 5.
The solution for Equation (12) is unique provided that A is reversible.
Proof. 
It is equivalent to proving that B d = 0 has only zero solution. That is,
k = 1 n d k A μ k , A μ j L 2 = 0 , j = 1 , 2 , , n .
Multiply d j on the two sides of Equation (13) and make a cumulative sum by j from 1 to n which yields that k = 1 n d k A μ k , j = 1 n d j A μ j L 2 = 0 , which means k = 1 n d k A μ k L 2 2 = 0 . As A is reversible, then d k = 0 ( k = 1 , 2 , , n ) , so d = 0 . □

3.2. Stability Results for the Problem

In this part, we will prove that the ε -approximate approach is stable.
Lemma 1.
The eigenvalue λ of B is bounded by | | A | | 2 .
Proof. 
For λ , there exists a unit vector x = ( x 1 , x 2 , , x n ) T , such that B x = λ x .
λ x k = j = 1 n A μ k , A μ j L 2 x j = j = 1 n A μ k , x j A μ j L 2 = A μ k , j = 1 n x j A μ j L 2 .
Multiply x k on both sides of (14) and sum x k from 1 to n, we obtain
λ k = 1 n x k 2 = k = 1 n x k A μ k , j = 1 n x j A μ j L 2 = k = 1 n x k A μ k L 2 2 | | A | | 2 k = 1 n x k 2 .
So, λ = λ k = 1 n x k 2 | | A | | 2 .
Lemma 2.
| | A w | | L 2 1 | | A 1 | | for w H 2 , 0 2 and | | w | | H 2 , 0 2 = 1 .
Proof. 
Denote h = A w , then w = A 1 h . Thus, 1 = | | w | | H 2 , 0 2 = | | A 1 h | | H 2 , 0 2 | | A 1 | | | | h | | L 2 , so | | A w | | L 2 = | | h | | L 2 1 | | A 1 | | . □
Theorem 6.
The algorithm for obtaining the approximate solution w n = k = 1 n d k * μ k by ε-approximate approach is stable.
Proof. 
By Lemmas 1 and 2, it yields λ = k = 1 n x k A μ k L 2 2 = A k = 1 n x k μ k L 2 2 1 | | A 1 | | 2 . Then, c o n d ( B ) 2 = | λ m a x λ m i n |     | | A | | 2 1 | | A 1 | | 2 = | | A | | 2 | | A 1 | | 2 , which means the condition number of matrix B is bounded, so the algorithm is stable. □

3.3. Convergence Analysis

Theorem 7.
The approximate solution w n converges to the exact solution w of Equation (8) uniformly.
Proof. 
By the property of R x which is the reproducing kernel of H 2 , 0 2 , we have | w n ( x ) w ( x ) |   =   | w n w , R x H 2 , 0 2 |     | | w n w | | H 2 , 0 2 | | R x | | H 2 , 0 2 . In addition, for | | w n w | | H 2 , 0 2 , there is | | w n w | | H 2 , 0 2 = | | A 1 A ( w n w ) | | H 2 , 0 2 | | A 1 | | | | A ( w n w ) | | L 2 = | | A 1 | | | | A w n g | | L 2 . Because w n is determined by the ε -approximate approach, then | | A w n g | | L 2 < ε , so | | w n u | | H 2 , 0 2 0 . In addition, then | w n ( x ) w ( x ) | | | w n w | | H 2 , 0 2 | | R x | | H 2 , 0 2 M | | w n w | | H 2 , 0 2 0 , M is a constant. □
Then, by Theorem 3, w ( x ) may be represented as w ( x ) = d 0 x ( 1 x ) 2 + i = 1 k = 0 2 i 1 1 d i k J i k ( x ) , where d 0 = w , x ( 1 x ) 2 , d i k = w , J i k ( x ) .
Theorem 8.
w w n H 2 , 0 2 2 2 2 n P if w ( x ) is bounded in [0,1], P is a constant.
Proof. 
w w n H 2 , 0 2 2 = w d 0 x ( 1 x ) 2 i = 1 n k = 0 2 i 1 1 d i k J i k ( x ) H 2 , 0 2 2 = i = n + 1 k = 0 2 i 1 1 d i k J i k ( x ) H 2 , 0 2 2 = i = n + 1 k = 0 2 i 1 1 d i k 2 J i k ( x ) , J i k ( x ) H 2 , 0 2 = i = n + 1 k = 0 2 i 1 1 d i k 2 .
Then, the problem is to prove i = n + 1 k = 0 2 i 1 1 d i k 2 2 2 n P .
It is easy to get that
J i k ( x ) = φ i k ( x ) = 2 i 1 2 , x k 2 i 1 , k   +   1 / 2 2 i 1 , 2 i 1 2 , x k   +   1 / 2 2 i 1 , k   +   1 2 i 1 , 0 , e l s e ,
and w ( x ) = w ( k 2 i 1 ) + w ( ξ ) ( x k 2 i 1 ) .
So, d i k = 0 1 w ( x ) J i k ( x ) d x = 0 1 w ( x ) φ i k ( x ) d x k 2 i 1 k + 1 2 i 1 w ( k 2 i 1 ) φ i k ( x ) d x + k 2 i 1 k + 1 2 i 1 w ( ξ ) ( x k 2 i 1 ) φ i k ( x ) d x .
Applying Equation (15), k 2 i 1 k + 1 2 i 1 w ( k 2 i 1 ) φ i k ( x ) d x = 0 ,
d i k k 2 i 1 k + 1 / 2 2 i 1 w ( ξ ) ( x k 2 i 1 ) 2 i 1 2 d x + k + 1 / 2 2 i 1 k + 1 2 i 1 w ( ξ ) ( x k 2 i 1 ) ( 2 i 1 2 ) d x 2 3 2 i P 1 .
Then, d i k 2 2 3 i P 2 , so w w n H 2 , 0 2 2 = i = n + 1 k = 0 2 i 1 1 d i k 2 i = n + 1 k = 0 2 i 1 1 2 3 i P 2 = 2 2 n P , where P i ( i = 1 , 2 ) is a constant. The theorem holds true. □

4. Numerical Results

Example 1.
Consider the VO-FDE ([18,22]) as follows,
D C δ ( x ) w ( x ) + c o s ( x ) w ( x ) + 4 w ( x ) + 5 w ( x 2 ) = f ( x ) , x [ 0 , 1 ] , w ( 0 ) = 0 , w ( 1 ) = 1 ,
where δ ( x ) = 5 + s i n ( x ) / 4 , f ( x ) = 2 x 2 δ ( x ) / Γ 3 δ ( x ) + 5 x 4 + 4 x 2 + 2 x c o s ( x ) . The exact solution is w ( x ) = x 2 .
We solve this problem in H 2 , 0 2 [ 0 , 1 ] with the ε -approximate approach presented in Section 3, taking x i = i 10 ( i = 1 , 2 , , 10 ) . The value of | w 10 ( x ) w ( x ) | at x i is calculated compared with ([18,22]) in Table 1. M A E 10 ( x ) = | w 10 ( x ) w ( x ) | m a x and M A E 10 3 2 ( x ) = | D 3 2 w 10 ( x ) D 3 2 w ( x ) | m a x are also calculated as [18] and the results are shown in Table 2. MAE indicates the maximum absolute error. Note that we compared with their best results.
Example 2.
Consider Example 1 in [23],
D C δ ( x ) w ( x ) 10 w ( x ) + w ( x ) = f ( x ) , x [ 0 , 1 ) , w ( 0 ) = 5 ,
where δ ( x ) = x   +   2 e x 7 , f ( x ) = 10 ( x 2 δ ( x ) Γ ( 3     δ ( x ) ) + x 1 δ ( x ) Γ ( 2     δ ( x ) ) ) + 5 x 2 90 x 95 , and the exact solution is w ( x ) = 5 ( 1 + x ) 2 . The numerical errors for δ ( x ) = x   +   2 e x 7 are shown in Table 3 as well as δ 1 ( x ) = x   +   2 e x 3 , δ 2 ( x ) = x   +   2 e x 5 , δ 3 ( x ) = x   +   2 e x 9 . Table 3 indicates that the numerical solutions are in good agreement with the exact values.
Example 3.
Consider the following VO-FIDE in [19],
D C δ ( x ) w ( x ) + 6 0 x w ( s ) d s + 2 x w ( x ) + w ( x ) = g ( x ) , x [ 0 , R ] , w ( 0 ) = 0 ,
where δ ( x ) = 3 ( s i n x   +   c o s x ) 5 , g ( x ) = 10 Γ ( 3     δ ( x ) ) x 2 δ ( x ) + 15 Γ ( 2     δ ( x ) ) x 1 δ ( x ) + 10 x 3 + 70 x 2 + 45 x . The exact solution is w ( x ) = 5 x 2 + 15 x . The errors for different R are shown in Table 4 where ε = max i = 0 , 1 , , n | w ( x i ) w n ( x i ) | and x i = R ( ( 2 i + 1 ) / 2 ( n + 1 ) ) .
Finally, we consider an example with a non-smooth solution. Here, the fractional-order derivative is in Riemann–Liouville (R.L) sense.
D R . L δ ( x ) w ( x ) = 1 Γ ( n δ ( x ) ) d n d x n 0 x ( x s ) n δ ( x ) 1 w ( s ) d s , x > 0 , n 1 < δ ( x ) n ,
where n denotes the ceiling of δ ( x ) .
Example 4.
Consider the following equation with δ ( x ) = x ,
D R . L δ ( x ) w ( x ) = f ( x ) , x [ 0 , 1 ] , w ( 0 ) = 0 ,
where the exact solution is
w ( x ) = x 5 4 , x [ 0 , 0.5 ] , 1 2 x 1 4 , x ( 0.5 , 1 ] .
AEs in Table 5 are calculated by | w n ( x i ) w ( x i ) | ; here, we picked n = 32 which is the number of bases. Figure 1 shows the exact solution w ( x ) and the ε -approximate solution w n ( x ) .

5. Conclusions

In the paper, we studied the VO-FDEs which have been a hot topic in recent years and proposed the ε -approximate algorithm to obtain the approximate solutions based on the scale functions which are used for constructing the bases for Sobolev spaces H 2 n [ 0 , 1 ] . From a theoretical analysis to numerical experiments, it can be seen that this algorithm is stable, more effective, and widely used. In future work, we intend to focus on the numerical algorithm research and application of variable fractional-order partial differential equations. Further, we consider combining deep learning algorithms with fractional-order problems to obtain better results.

Author Contributions

Methodology, W.W. and Y.L.; Software, Y.W.; Writing—original draft, Y.W.; Writing—review & editing, L.M.; Funding acquisition, H.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Science and Technology Development Fund (FDCT) of Macau, under Grant No.0016/2019/A1, and two research projects (2022WZJD012 and ZH22017003200026PWC).

Data Availability Statement

No data available.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lorenzo, C.F.; Hartley, T.T. Variable order and distributed order fractional operators. Nonlinear Dyn. 2002, 29, 57–98. [Google Scholar] [CrossRef]
  2. Samko, S.G.; Ross, B. Integration and differentiation to a variable fractional order. Integral Transform. Spec. Funct. 1993, 1, C277–C300. [Google Scholar] [CrossRef]
  3. Zhang, H.; Liu, F.; Phanikumar, M.S.; Meerschaert, M.M. A novel numerical method for the time variable fractional order mobile–Cimmobile advection–Cdispersion model. Comput. Math. Appl. 2013, 66, 693–701. [Google Scholar] [CrossRef]
  4. Chechkin, A.V.; Gorenflo, R.; Sokolov, I.M. Fractional diffusion in inhomogeneous media. J. Phys. A Math. Gen. 2005, 38, L679. [Google Scholar] [CrossRef]
  5. Miller, K.S.; Ross, B. An Introduction to the Fractional Calculus and Fractional Differential Equations; Wiley: Hoboken, NJ, USA, 1993. [Google Scholar]
  6. Kumar, P.; Chaudhary, S.K. Analysis of fractional order control system with performance and stability. Int. J. Eng. Sci. 2017, 9, 408–416. [Google Scholar]
  7. Obembe, A.D.; Hossain, M.E.; Abu-Khamsin, S.A. Variable-order derivative time fractional diffusion model for heterogeneous porous media. J. Pet. Sci. Eng. 2017, 152, 391–405. [Google Scholar] [CrossRef]
  8. Cai, W.; Chen, W.; Fang, J.; Holm, S. A survey on fractional derivative modeling of power-law frequency-dependent viscous dissipative and scattering attenuation in acoustic wave propagation. Appl. Mech. Rev. 2018, 70, 030802. [Google Scholar] [CrossRef]
  9. Leith, J.R. Fractal scaling of fractional diffusion processes. Signal Process. 2003, 83, 2397–2409. [Google Scholar] [CrossRef]
  10. Liu, J.; Li, X.; Wu, L. An operational matrix of fractional differentiation of the second kind of Chebyshev polynomial for solving multiterm variable order fractional differential equation. Math. Probl. Eng. 2016, 2016, 7126080. [Google Scholar] [CrossRef] [Green Version]
  11. Doha, E.H.; Abdelkawy, M.A.; Amin, A.Z.M.; Lopes, A.M. On spectral methods for solving variable-order fractional integro-differential equations. Comput. Appl. Math. 2018, 37, 3937–3950. [Google Scholar] [CrossRef]
  12. El-Sayed, A.A.; Agarwal, P. Numerical solution of multiterm variable-order fractional differential equations via shifted Legendre polynomials. Math. Methods Appl. Sci. 2019, 42, 3978–3991. [Google Scholar] [CrossRef]
  13. Ali, K.K.; Mohamed, E.M.; Nisar, K.S.; Khashan, M.M.; Zakarya, M. A collocation approach for multiterm variable-order fractional delay-differential equations using shifted Chebyshev polynomials. Alex. Eng. J. 2022, 61, 3511–3526. [Google Scholar] [CrossRef]
  14. Li, X.; Gao, Y.; Wu, B. Approximate solutions of Atangana-Baleanu variable order fractional problems. AIMS Math. 2020, 5, 2285. [Google Scholar] [CrossRef]
  15. Singh, A.K.; Mehra, M.; Gulyani, S. Learning parameters of a system of variable order fractional differential equations. Numer. Methods Partial. Differ. Equ. 2021, 1–15. [Google Scholar] [CrossRef]
  16. Chen, Y.; Liu, L.; Li, B.; Sun, Y. Numerical solution for the variable order linear cable equation with Bernstein polynomials. Appl. Math. Comput. 2014, 238, 329–341. [Google Scholar] [CrossRef]
  17. Amin, R.; Shah, K.; Ahmad, H.; Ganie, A.H.; Abdel-Aty, A.H.; Botmart, T. Haar wavelet method for solution of variable order linear fractional integro-differential equations. AIMS Math. 2022, 7, 5431–5443. [Google Scholar] [CrossRef]
  18. Yang, J.; Yao, H.; Wu, B. An efficient numerical method for variable order fractional functional differential equation. Appl. Math. Lett. 2018, 76, 221–226. [Google Scholar] [CrossRef]
  19. Liu, J.; Li, X.; Wu, L. An operational matrix technique for solving variable order fractional differential-integral equation based on the second kind of Chebyshev polynomials. Adv. Math. Phys. 2016, 2016, 6345978. [Google Scholar] [CrossRef] [Green Version]
  20. Wu, B.Y.; Lin, Y.Z. Application of the Reproducing Kernel Space, Beijing; Science Press: Beijing, China, 2012. [Google Scholar]
  21. Wang, Y.; Zhou, H.; Mei, L.; Lin, Y. A Numerical Method for Solving Fractional Differential Equations. Math. Probl. Eng. 2022, 2022, 3778016. [Google Scholar] [CrossRef]
  22. Jia, Y.T.; Xu, M.Q.; Lin, Y.Z. A numerical solution for variable order fractional functional differential equation. Appl. Math. Lett. 2017, 64, 125–130. [Google Scholar] [CrossRef]
  23. Wang, Y.; Zhu, L.; Wang, Z. Solving the nonlinear variable order fractional differential equations by using Euler wavelets. Comput. Model. Eng. Sci. 2019, 118, 339–350. [Google Scholar]
Figure 1. The ε -approximate solution w n ( x ) and the exact solution w ( x ) of Example 4.
Figure 1. The ε -approximate solution w n ( x ) and the exact solution w ( x ) of Example 4.
Fractalfract 07 00090 g001
Table 1. Absolute errors for Example 1.
Table 1. Absolute errors for Example 1.
x i Ref. [22]Ref. [18]Our Approach
0.1 1.17 × 10 8 1.53037 × 10 14 4.16334 × 10 17
0.2 1.77 × 10 8 1.13937 × 10 14 8.32667 × 10 17
0.3 2.17 × 10 8 7.66054 × 10 15 8.32667 × 10 17
0.4 2.39 × 10 8 4.08007 × 10 15 1.11022 × 10 16
0.5 2.45 × 10 8 5.27356 × 10 16 1.66533 × 10 16
0.6 2.34 × 10 8 2.66454 × 10 15 1.66533 × 10 16
0.7 2.07 × 10 8 6.21725 × 10 15 8.32667 × 10 17
0.8 1.59 × 10 8 9.65894 × 10 15 2.77556 × 10 17
0.9 1.11 × 10 8 1.28786 × 10 14 1.38778 × 10 16
Table 2. MAEs for Example 1.
Table 2. MAEs for Example 1.
Ref. [22]Ref. [18]Our Approach
M A E 10 ( x ) 1.15 × 10 6 3.90643 × 10 12 2.22045 × 10 16
M A E 10 3 2 ( x ) 3.50 × 10 6 1.78113 × 10 12 0
Table 3. The absolute errors of different δ ( x ) for Example 2.
Table 3. The absolute errors of different δ ( x ) for Example 2.
xi δ ( x ) δ 1 ( x ) δ 2 ( x ) δ 3 ( x )
[23]Ours[23]Ours[23]Ours[23]Ours
0.2 2.524647 × 10 13 3.10862 × 10 15 1.993516 × 10 11 7.54952 × 10 15 1.436628 × 10 13 5.77316 × 10 15 7.636113 × 10 13 5.77316 × 10 15
0.4 2.577937 × 10 13 0 2.035882 × 10 11 9.76996 × 10 15 1.467714 × 10 13 4.44089 × 10 15 7.769340 × 10 13 6.21725 × 10 15
0.6 4.085176 × 10 12 8.88178 × 10 16 8.341771 × 10 12 9.76996 × 10 15 9.983125 × 10 13 1.06581 × 10 14 6.705747 × 10 14 2.66454 × 10 15
0.8 4.176659 × 10 12 3.55271 × 10 15 8.530065 × 10 12 3.55271 × 10 15 1.019850 × 10 12 5.68434 × 10 14 6.927791 × 10 14 2.66454 × 10 14
1.0 4.270361 × 10 12 7.10543 × 10 15 8.622436 × 10 12 1.442109 × 10 14 1.040945 × 10 12 1.38556 × 10 13 7.105427 × 10 14 8.52651 × 10 14
Table 4. Error ε of Example 3 for different R.
Table 4. Error ε of Example 3 for different R.
RMethod in [19]The Proposed Method
n = 3n = 4n = 5n = 3n = 4n = 5
1 3.952 × 10 14 3.524 × 10 13 - 7.10543 × 10 15 1.06581 × 10 14 1.77636 × 10 14
2 1.7408 × 10 13 5.2847 × 10 13 6.9678 × 10 13 2.66454 × 10 14 2.13163 × 10 14 2.84217 × 10 14
4 2.6148 × 10 12 8.7255 × 10 12 7.5460 × 10 12 2.84217 × 10 13 8.73968 × 10 13 7.81597 × 10 13
8 1.3301 × 10 11 4.0711 × 10 10 3.6262 × 10 9 2.27374 × 10 13 4.26326 × 10 14 1.36424 × 10 12
Table 5. The AEs for Example 4.
Table 5. The AEs for Example 4.
x i AEs x i AEs
0.1 1.31108 × 10 4 0.6 8.80766 × 10 8
0.2 5.00746 × 10 5 0.7 1.36829 × 10 5
0.3 1.62240 × 10 5 0.8 9.01757 × 10 6
0.4 2.72771 × 10 6 0.9 2.53482 × 10 7
0.5 7.63714 × 10 6 1.0 8.74362 × 10 6
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, Y.; Wang, W.; Mei, L.; Lin, Y.; Sun, H. An ε-Approximate Approach for Solving Variable-Order Fractional Differential Equations. Fractal Fract. 2023, 7, 90. https://doi.org/10.3390/fractalfract7010090

AMA Style

Wang Y, Wang W, Mei L, Lin Y, Sun H. An ε-Approximate Approach for Solving Variable-Order Fractional Differential Equations. Fractal and Fractional. 2023; 7(1):90. https://doi.org/10.3390/fractalfract7010090

Chicago/Turabian Style

Wang, Yahong, Wenmin Wang, Liangcai Mei, Yingzhen Lin, and Hongbo Sun. 2023. "An ε-Approximate Approach for Solving Variable-Order Fractional Differential Equations" Fractal and Fractional 7, no. 1: 90. https://doi.org/10.3390/fractalfract7010090

Article Metrics

Back to TopTop