Next Article in Journal
Chaotic Analysis and Wave Photon Dynamics of Fractional Whitham–Broer–Kaup Model with β Derivative
Previous Article in Journal
Qualitative Analysis and Traveling Wave Solutions of a (3 + 1)- Dimensional Generalized Nonlinear Konopelchenko-Dubrovsky-Kaup-Kupershmidt System
Previous Article in Special Issue
Variable-Order Time-Fractional Kelvin Peridynamics for Rock Steady Creep
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Error Analysis of the L1 Scheme on a Modified Graded Mesh for a Caputo–Hadamard Fractional Diffusion Equation

1
Center for Applied Mathematics of Guangxi, Nanning Normal University, Nanning 530100, China
2
College of Computer Science and Mathematics, Central South University of Forestry and Technology, Changsha 410004, China
*
Author to whom correspondence should be addressed.
Fractal Fract. 2025, 9(5), 286; https://doi.org/10.3390/fractalfract9050286
Submission received: 31 March 2025 / Revised: 18 April 2025 / Accepted: 25 April 2025 / Published: 27 April 2025

Abstract

The L 1 scheme on a modified graded mesh is proposed to solve a Caputo–Hadamard fractional diffusion equation with order α ( 0 , 1 ) . Firstly, an improved graded mesh frame is innovatively constructed, and its mathematical properties are verified. Subsequently, a new truncation error bound for the L1 discretisation format of Caputo–Hadamard fractional-order derivatives is established by means of a Taylor cosine expansion of the integral form, and a second-order central difference method is used to achieve high-precision discretisation of spatial derivatives. Furthermore, a rigorous analysis of stability and convergence under the maximum norm is conducted, with special attention devoted to validating that the L 1 approximation scheme manifests an optimal convergence order of 2 α when deployed on the modified graded mesh. Finally, the theoretical results are substantiated through a series of numerical experiments, which validate their accuracy and applicability.

1. Introduction

It is well known that Caputo time-fractional differential equations have broad applications in modeling complex systems with memory effects and non-local dynamics (see [1,2,3], for example). While significant progress has been made in both mathematical analysis [4,5] and numerical methods [6,7,8,9] for Caputo fractional derivatives, the construction of theoretical foundations for Caputo–Hadamard operators is still relatively lagging behind, and both early explorations [10,11,12,13] and recent progress [14,15,16] indicate the slow pace of development in this direction. In general, closed-form analytical solutions for Caputo–Hadamard fractional differential equations remain elusive. Even when such solutions can be theoretically derived, their practical computation becomes highly problematic due to the inherent complexity introduced by the specialized functions required for their construction. The non-elementary nature of these solutions not only complicates numerical evaluation but also limits their applicability in real-world scenarios, where computational efficiency and algorithmic implementability are critical considerations. This fundamental challenge underscores the necessity for developing alternative approximation strategies that balance analytical rigor with computational feasibility.
The field of numerical methods for Hadamard fractional-order differential Equations (HFDEs) has experienced significant advancements in recent years, driven by the theoretical interests and practical demands in modeling complex systems with memory-dependent behaviors. For instance, the authors in [17,18] developed spectral collocation methods for solving Caputo–Hadamard fractional-order differential equations. He, et al., in Ref. [19], proposed a region decomposition algorithm for Caputo–Hadamard fractional-order differential equations. In view of the non-locality of the fractional-order derivatives, the fractional operator is decomposed into historical and local components with a local time integrator compressed by a Gauss–Jacobi kernel. Gohar, et al. [20] proposed a finite difference method on a uniform mesh for an initial value problem (IVP) with a Caputo–Hadamard derivative. It is noted that the analytical solutions of time-fractional differential equations with a Caputo–Hadamard fractional derivative are characterized by a distinctive feature known as the weak singularity formation near the temporal origin ( t 1 + ) . The emergence of weak singularities imposes significant challenges on the construction of numerical schemes. Therefore, these specialized nonuniform discretization meshes (see [21,22,23,24], for example) are designed to concentrate computational resources in the vicinity of the singularity ( t 1 + ) . Among these presented nonuniform meshes, the graded mesh (G-mesh) emerges as the most widely adopted framework for resolving weak singularities. The mathematical formulation of a typical G-mesh can be expressed as follows:
t n = a T a n N r , r 1 , 0 n N ,
where r 1 and a 1 is a mesh grading constant and N is a mesh parameter.
Recently, Liu, et al. [25] constructed a finite difference scheme on a modified graded mesh for a time-fractional diffusion equation with a Caputo fractional derivative. It should be pointed out that the proposed modified graded mesh is strategically designed to combine localized refinement near the initial temporal boundary ( t = 0 ) with uniform discretization in subsequent temporal domains; thereby, the error will be smaller while maintaining the accuracy of the solution. Extending the error analysis methodology developed in [25], we introduce a modified graded mesh formulation to establish a novel numerical scheme for the Caputo–Hadamard fractional diffusion equation defined as follows:
D a , t α CH u ( x , t ) 2 u ( x , t ) x 2 = f ( x , t ) , ( x , t ) Q , u ( x , a ) = ϕ ( x ) , x Ω ¯ = Ω Ω , if α ( 0 , 1 ) , u ( 0 , t ) = u ( L , t ) = 0 , t ( a , T ] ,
where Ω = ( 0 , L ) , Ω is the boundary of Ω , Q : = ( 0 , L ) × ( a , T ] and f ( x , t ) , ϕ ( x ) are given functions. Furthermore, we assume the compatibility condition ϕ ( 0 ) = ϕ ( L ) = 0 holds. The symbol D a , t α CH is the Caputo–Hadamard derivative with order α as follows:
D a , t α CH u ( x , t ) = a t ω 1 α ( log t log s ) δ u ( x , s ) d s s , 0 < a < t ,
where ω β ( t ) : = t β 1 Γ ( β ) , δ u ( x , s ) = s s u ( x , s ) , 0 < α < 1 . In this paper, the log is defined as the logarithm with base e.
The contribution of this paper is constructing a new nonuniform mesh and calling it the modified graded mesh. Under this presented mesh, we use the L 1 formula to approximate the time fractional-order derivatives of problem (2), which lead to a convergence rate of 2 α in the time direction. The proposed method in this paper is analyzed under the following regularity assumptions [21]:
k u ( x , t ) x k C , k = 0 , 1 , 2 , 3 , 4 ,
δ k u ( x , t ) C 1 + log t a α k , k = 0 , 1 , 2 , 3 ,
for all ( x , t ) [ 0 , L ] × ( a , T ] , and C is a positive constant. Throughout this paper, the generic constant C is a positive constant and may take different values at different places.
The layout of the paper is as follows: Section 2 introduces and analyzes a modified graded mesh (MG-mesh). Section 3 scrutinizes the stability and convergence of the discrete scheme by means of a paradigm analysis. The main results, in particular, the truncation error and convergence, are then studied in depth in Section 4. Numerical examples are given in Section 5 to demonstrate the validity of the theoretical results. Finally, Section 6 draws some conclusions.

2. A Modified Graded Mesh

Let Ω ¯ N = a = t 0 < t 1 < < t N = T be an arbitrary nonuniform mesh with N subintervals on [ a , T ] , which satisfies the following mesh equidistribution principle
t n t n + 1 M ˜ ( s ) d s s = 1 N a T M ˜ ( s ) d s s , for n = 0 , 1 , , N 1 ,
where M ˜ ( s ) is a given positive monitor function. In order to obtain this t n n = 0 N , we choose the monitor function M ˜ ( t ) as follows:
M ˜ ( t ) = max log T , K ( log t ) α 2 1 ,
where K ( 0 , log T ] is a user-chosen constant. Here, we call it the modified graded mesh. Obviously, let σ = e log T K 2 α 2 , and with the choice of this constant K, there exists a subinterval I : = [ σ , T ] such that
log a < K ( log t ) α 2 1 log T , t I .
Let J be the index such that t J 1 < σ t J . By simple calculation, our presented modified graded mesh t n n = 0 N can be obtained by
t n = e α P 2 K 2 α n N 2 α , n = 0 , , J 1 , e 1 2 α g + P n N log T , n = J , J + 1 , , N ,
where
P = a T M ˜ ( s ) d s s = 2 K α g + log T ( log T g )
and
g = log T K 2 α 2 .
Obviously, when log T 1 , we have P / log T > 1 .
As mentioned above, Equation (8) mathematically describes the time modified graded mesh in this paper. The MG-mesh is divided into the following two distinct parts within the time interval [ a , T ] : For indices n = 0 , , J 1 , a nonuniform discretization is adopted, whereas for n = J , J + 1 , , N , a uniform grid is utilized. Figure 1 illustrates the time distribution of the MG-mesh compared to the conventional G-mesh (where r = 2 / α ) for the parameters N = 40 , a = 1 , T = 4 , and α = 0.3 . Figure 2 shows the α in Figure 1 is taken as 0.8 and the rest is kept constant. It can be clearly observed from the figure that the MG-mesh (8) contains more grid points than the conventional G-mesh (1) as time grows, a property that helps to reduce computational errors.
Lemma 1.
Let { t n } n = 0 N be the modified graded mesh defined in (8) and τ n : = log t n log t n 1 for n = 1 , , N . Then,
τ n C N 1 , n = 1 , , N .
In addition, the exact solution u ( x , t ) of problem (2) satisfies
t n t n + 1 2 u t 2 ( x , t ) log t t n d t t C N 2 , n = 0 , , N 1 , x [ 0 , l ] .
Proof. 
For n = 1 , , N , it follows from Equations (6) and (7) that
τ n = 1 log T t n 1 t n log T d t t 1 log T t n 1 t n M ˜ ( t ) d t t = 1 N log T a T M ˜ ( t ) d t t = P N log T = C N 1 ,
which completes the proof of (9). Furthermore, from (5) and (11), we have
t n t n + 1 2 u t 2 ( x , t ) log t t n d t t C t n t n + 1 log t α 2 log t t n d t t + C t n t n + 1 log t t n d t t C t n t n + 1 log t α 2 1 d t t 2 + C τ n 2 C t n t n + 1 M ˜ ( t ) d t t 2 + C τ n 2 = C N 2 ,
where we have used the estimation (9) and the fact that
a b ϕ ( t ) ( t a ) d t 1 2 a b ϕ ( t ) d t 2
holds true for any positive monotonically decreasing function ϕ ( t ) on [ a , b ] . The proof is completed. □
Lemma 2.
For n = 1 , , N ,
t n e P n N log T , n = J , J + 1 , , N ,
C N 2 α ( n ) 2 α 1 τ n + 1 C N 2 α ( n + 1 ) 2 α 1 , n = 1 , , J 2 .
Proof. 
Obviously, it follows from the second equation of (8) that
t n = e 1 2 α σ + P n N log T e P n N log T for α ( 0 , 1 ) and n = J , J + 1 , , N .
In addition, since τ n + 1 = log t n + 1 log t n = w n + 1 2 α w n 2 α , where w n = α P i 2 N n , it is easy to show from the mean value theorem that
τ n + 1 = 2 α ξ n 2 α 1 N 2 α , ξ n ( w n , w n + 1 ) , n = 1 , , J 2 .
Thus, the desired results of (14) can be followed from (15). □

3. Discretization Scheme

In this section, we shall construct a finite difference scheme on a mesh ( x i , t n ) ( i = 0 , 1 , , M , n = 0 , 1 , , N ) for problem (2), where x i = i h is a uniform mesh with the mesh step h = l M and t n n = 0 N is the modified mesh defined in (8). Correspondingly, we also denote τ n : = log t n log t n 1 .
For a given mesh function u = { u i } i = 0 M , define the following difference operators
δ x u i 1 2 = u i v i 1 h , δ x 2 u i = u i + 1 2 u i + u i 1 h 2 .
Meanwhile, for the Caputo–Hadamard derivative D a , t α CH u t n , by using the approximation method given in [20], we have
D a , t α CH u ( t ) t = t n = 1 Γ ( 2 α ) j = 0 n 1 d n , j u ( t j + 1 ) u ( t j ) + Υ n ,
where
d n , j = log t n t n j 1 α log t n t n j + 1 1 α log t n j + 1 t n j , j = 1 , 2 , , n ,
and Υ n is the truncation error, which is given by
Υ n = 1 Γ ( 1 α ) j = 0 n 1 t j t j + 1 log t n s α δ u ( s ) u ( t j + 1 ) u ( t j ) log t j + 1 t j d s s .
Thus, we obtain the discretization scheme of (2) as follows:
1 Γ ( 2 α ) j = 0 n 1 d n , j u i j + 1 u i j δ x 2 u i n = f i n , u i 0 = ϕ ( x i ) , 0 i M , u 0 n = u M n = 0 , 1 n N .
Let U = u u = ( u 0 , u 1 , , u N ) , u 0 = u N = 0 . For any u U , the following discrete inner product and the corresponding norm will be used:
δ x u j 1 2 n = 1 h ( u j n u j 1 n ) , δ x 2 u j n = 1 h 2 ( u j 1 n 2 u j n + u j + 1 n ) , u = ( u , u ) .
Furthermore, we define the real numbers θ n , m for n = 1 , , N and m = 1 , , n 1 as
θ n , n = 1 , θ n , m = k = 1 n m τ n k α d n , k d n , k + 1 θ n k , m .
Similar to the argument of Lemma 3.1 of [25], we can obtain the following results.
Lemma 3.
Let the parameter β 2 . Then, for n = 1 , , N , we have
τ n α m = 1 n m β θ n , m χ 1 N β , n = 1 , , J 1 ,
τ n α m = 1 n θ n , m χ 2 , J n N ,
where χ 1 = 1 1 α α P 2 K 2 , χ 2 = 1 1 α P K 2 .
Proof. 
The proof of (21) is similar to Lemma 4.3 in [26].
Next, to derive (22), we first study the case for n = J . Let β = 0 . It follows from (21) that
τ n α m = 1 n θ n , m χ 1 χ 2 , n = 1 , , J 1 .
Furthermore,
τ J α m = 1 J θ J , m = τ J α θ J , J + τ J α m = 1 J 1 j = 1 J m τ J j α d J , j d J , j + 1 θ J j , m = τ J α + τ J α j = 1 J 1 ( d J , j d J , j + 1 ) τ J j α m = 1 J j θ J j , m τ J α + τ J α j = 1 J 1 ( d J , j d J , j + 1 ) χ 2 = τ J α + τ J α ( d J , 1 d J , J ) χ 2 = χ 2 + τ J α 1 d J , J χ 2 .
The next thing to do in the proof is d J , J χ 2 1 . By calculation, we have
d J , J χ 2 = ( log t J ) 1 α log t J log t 1 1 α τ 1 χ 2 ( 1 α ) ( log t J ) α χ 2 = log T P α P K 2 N J α = P log T 2 α log T K 2 N J α 1 ,
where we have used the mean value theorem and (13), P > log T , and K < log T . Similarly, (22) holds true for n = J + 1 , , N . The proof of this Lemma is completed. □
Lemma 4
([21]). For 0 < α < 1 , the coefficients d n , j ( 1 j n , 1 n N ) in (18) satisfy the following:
d n , 1 > d n , 2 > > d n , j > d n , j + 1 > > d n , n > 0 ,
and the bounds for d n , j are given by the following:
( 1 α ) log t n t n j α d n , j ( 1 α ) log t n t n j + 1 α .
Finally, let u n = ( u 0 n , u 1 n , , u M n ) T , f = ( f ( x 0 , t n ) , f ( x i , t n ) , , f ( x M , t n ) ) T . Then, similar to the argument of Lemma 4.2 given in [26], we give the stability for the discretization scheme (19).
Theorem 1.
Let u n with 1 n N be the solution of the difference scheme (19). Then, we have
u n u 0 + τ n α Γ ( 2 α ) j = 1 n θ n , j f j

4. Error Analysis

For a given i, i = 1 , 2 , , M 1 , and n = 1 , 2 , , N , let
Υ n : = D a , t α CH u t n D a , t α CH u n = j = 1 n r n , j
denote the truncation error at time knot t n , where
r n , j = 1 Γ ( 1 α ) s = t j t j + 1 log t n s α u x i , t j + 1 u x i , t j τ j + 1 u x i , s s d s s .
Lemma 5.
For i = 1 , , M 1 , and n = 1 , , N ,
r n , j C t j t j + 1 2 u x i , t t 2 log t t j d t t γ j ξ j log t n s α 1 d s s , 0 j < n , n > 1 , C τ j 2 α max t t j , t j + 1 2 u x i , t t 2 , j = n 1 , n = 1 , , N ,
where ξ j ( t j , t ) , t ( t j , t j + 1 ) , γ j ( t j , t j + 1 ) .
Proof. 
For s ( t j , t j + 1 ) , using the Taylor series expansion, one has
u ( x i , t j + 1 ) u ( x i , t j ) τ j + 1 u ( x , s ) s = s t j + 1 2 u ( x i , t ) t 2 d t t 1 τ j + 1 t j t j + 1 2 u ( x i , t ) t 2 ( log t t j ) d t t .
Then, it follows from (26) and (28) that
r n , j = 1 Γ ( 1 α ) s = t j t j + 1 log t n s α s t j + 1 2 u x i , t t 2 d t t d s s 1 Γ ( 1 α ) 1 τ j + 1 t j t j + 1 log t n s α d s s t j t j + 1 2 u x i , t t 2 ( log t t j ) d t t .
For 0 j < n 1 and n > 1 , exchanging the order of integration of (29) gives
r n , j = 1 Γ ( 1 α ) t j t j + 1 t j t log t n s α d s s 2 u x i , t t 2 d t t 1 Γ ( 1 α ) 1 τ j + 1 t j t j + 1 log t n s α d s s t j t j + 1 2 u x i , t t 2 ( log t t j ) d t t = 1 Γ ( 1 α ) log t n ξ j α t j t j + 1 2 u x i , t t 2 ( log t t j ) d t t 1 Γ ( 1 α ) log t n γ j α t j t j + 1 2 u x i , t t 2 ( log t t j ) d t t = 1 Γ ( 1 α ) t j t j + 1 2 u x i , t t 2 ( log t t j ) d t t log t n ξ j α log t n γ j α = 1 Γ ( 1 α ) t j t j + 1 2 u x i , t t 2 ( log t t j ) d t t γ j ξ j 1 1 α log t n s α 1 1 s d s = 1 Γ ( 2 α ) t j t j + 1 2 u x i , t t 2 ( log t t j ) d t t γ j ξ j log t n s α 1 d s s ,
where the mean value theorem has been used and ξ j ( t j , t ) , t ( t j , t j + 1 ) , γ j ( t j , t j + 1 ) .
Furthermore, we have
r n , j C t j t j + 1 2 u x i , t t 2 ( log t t j ) d t t s = t j t j + 1 log t n s α 1 d s s ,
which completes the proof of the first case of (27).
Next, for j = n 1 and n = 1 , , N , using (26), one has
r n , n 1 Γ ( 1 α ) t n 1 t n log t n s α u s x i , γ n u s x i , s d s s C τ n 2 α max t [ t j , t j + 1 ] 2 u x i , t t 2 ,
where the mean value theorem has been used and γ n t n 1 , t n . This completes the proof of the second case of (27). □
Based on Lemma 5, it is easy to obtain the following result:
Corollary 1.
For i = 1 , , M 1 , and n = 1 , , N , we have
r n , j C τ j + 1 2 max t [ t j , t j + 1 ] 2 u x i , t t 2 t j t j + 1 log t n s α 1 d s s , 0 j < n 1 , n 1
and
r n , j C τ j + 1 2 α max t [ t j , t j + 1 ] 2 u x i , t t 2 , j = n 1 , n = 1 , , N .
Remark 1.
Obviously, it is shown from Lemma 5 that our new truncation error bounds given in (27) for r n , j are much lower than those given in [21].
Lemma 6.
For a given mesh t n n = 0 N defined in (8), there exists a constant C such that
Υ n C n ( 2 α ) f o r n = 1 , , J 1 , C N ( 2 α ) f o r n = J , , N .
Proof. 
In order to prove this Lemma, we study the following three cases:
1.
When n J . In this case, we should study the estimations of j = 1 n 2 r n , j for 2 < n J 1 , r n , n 1 for 1 < n J 1 , r J , J 1 , respectively.
2.
When N n > J . In this case, we will also give the estimations of j = 1 n 2 r n , j 1 ( J < n N ) and r n , n 1 ( J < n < N ) .
3.
When j = 0 . In this case, we mainly discuss the bounds of r n , 0 for 1 n < J and r n , 0 for n J .
Case 1. At first, for 2 < n J 1 , from Lemma 1 and (25), we have
j = 1 n 2 r n , j C j = 1 n 2 t j t j + 1 2 u x i , t t 2 log t t j d t t t j t j + 1 log t n s α 1 d s s C N 2 t n t n 1 log t n s α 1 d s s C N 2 ( log t n log t n 1 ) α C N 2 ( N 2 α n 2 α 1 ) α C n ( 2 α ) ,
where we have used (14).
Secondly, for r n , n 1 , 1 < n < J 1 , it follows from (9), (14), and Lemma 5 that
r n , n 1 τ n 2 α max t t n 1 , t n 2 u x i , t t 2 C τ n 2 α ( log t n 1 ) α 2 + 1 C ( n 1 ) ( 2 α ) + C N ( 2 α ) C n ( 2 α ) ,
where we have used the fact that C ( n 1 ) n for C 2 .
Similarly, for n = J ,
r J , J 1 C τ J 2 α ( log t J 1 ) α 2 Sin ce τ J C N 1 C 1 N 2 α J 1 N α 2 + 1 C ( J 1 ) ( 2 α ) C J ( 2 α ) .
Case 2. For N n > J , by Lemma 1 and Lemma 5, it is easy to see that
j = 1 n 2 r n , j C N 2 t n 1 t n log t n s α 1 d s s C N 2 ( log t n log t n 1 ) α 1 C N 2 P N α C N ( 2 α ) ,
Similarly, for r n , n 1 , J < n N ,
r n , n 1 C τ n 2 α max t t n 1 , t n 2 u x i , t t 2 C τ n 2 α ( log t ) α 2 + 1 C N ( 2 α ) .
Combining (37) and (38), we obtain
j = 1 n 1 r n 1 , j C N ( 2 α ) f o r J < n N .
Case 3. For 1 n < J , by using the proof of Ref. [26] (pp. 1071–1072), one has
r n , 0 C n 2 C n ( 2 α ) .
If n J , then
r n , 0 = 1 Γ ( 1 α ) t 0 t 1 log t n s α u x i , t 1 u x i , t 0 τ 1 u x n , s s d s s = τ 1 1 Γ ( 2 α ) u x i , t 1 u x i , t 0 ( log t n ) 1 α log t n log t 1 1 α 1 Γ ( 1 α ) t 0 t 1 log t n s α u x i , s s d s s .
The first term in r n , 0 can be bounded as follows
τ 1 1 Γ ( 2 α ) u x i , t 1 u x i , t 0 log ( t n ) 1 α log t n log t 1 1 α τ 1 1 Γ ( 2 α ) ( log t n ) 1 α log t n log t 1 1 α t 0 t 1 2 u x i , t t 2 d s s τ 1 1 Γ ( 2 α ) ( log t n ) 1 α log t n log t 1 1 α t 0 t 1 ( log s ) α 1 d s s τ 1 1 Γ ( 2 α ) ( log t n ) 1 α log t n log t 1 1 α ( log t 1 ) α C ( log t 1 ) α 1 ( log t n ) 1 α log t n log t 1 1 α C log t n log t 1 log t 1 α ,
where we have used the mean value theorem. Similarly, the second term is bounded by
1 Γ ( 1 α ) t 0 t 1 ( log t n s ) α u ( x i , s ) s d s s C log t n log t 1 log t 1 α .
Furthermore, by (40)–(42), one has
r n , 0 C log t n log t 1 log t 1 α C τ n log t 1 α = C P N α ( log t 1 ) α C N ( 2 α ) .
Combining this with the above three cases, we obtain the desired result. □
Finally, we study the error estimate of the fully discrete scheme (19).
Let e i n = u ( x i , t n ) u i n , 0 i M , 1 n N . Then, the error equation is written as follows:
j = 1 n d j , n e i j e i j 1 δ x 2 e i n = R i n , e i 0 = 0 , 0 i M , e 0 n = e M n = 0 , 1 n N .
Based on Theorem 1, the following error estimate holds for u ( x , t ) C x , t 4 , 2 ( [ 0 , 1 ] × [ a , T ] ) .
Theorem 2.
Suppose that u ( x , t ) , which is twice continuous differentiable with respect to t in the interval [ a , T ] , is the solution of the initial boundary value problem (2), and u i n with 0 i M and 1 n N is the solution of fully discrete difference scheme (19). Then, we have the following:
max 0 i M 0 n N U i n u ( x i , t n ) C N ( 2 α ) + h 2 .
Proof. 
In the discretization scheme (19) above, we use the standard central difference method to approximate the diffusion term, so the truncation error is estimated as follows:
R ˜ i n = 2 u x 2 ( x i , t n ) δ x 2 u ( x i , t n ) = O ( h 2 ) , i = 1 , , M 1 and n = 1 , , N ,
thus have | R ˜ n i | C h 2 . Furthermore, for 1 n J 1 , Theorem 1 and (21) yield
max 0 i M | U i n u ( x i , t n ) | C τ n α Γ ( 2 α ) j = 1 n θ n , j | R i j | + | R ˜ i j | C τ n α Γ ( 2 α ) j = 1 n θ n , j j ( 2 α ) + h 2 C N ( 2 α ) + h 2 .
Meanwhile, for n = J , we have
max 0 i M U i J u ( x i , t J ) C τ J α Γ ( 2 α ) j = 1 J θ J , j R i j + R ˜ i j = C Γ ( 2 α ) τ J α θ J , J R i J + R ˜ i J + C Γ ( 2 α ) τ J α j = 1 J 1 θ J , j R i j + R ˜ i j C τ J α θ J , J N ( 2 α ) + h 2 + C τ J α j = 1 J 1 θ J , j j ( 2 α ) + h 2 C N ( 2 α ) + h 2 .
The proof of the last step of (46) is quite similar to that given in (23) and (24) and so is omitted. Finally, for n = J + 1 , , N , the proof is similar to that of n = J . This completes the proof. □

5. Numerical Experiments and Discussion

In this section, we present an example to verify the effectiveness and accuracy of our proposed numerical method. The maximum errors and rates of convergence are given by
E 2 ( M , N ) = max 0 n N e n , R a t e = log 2 E 2 ( M , N / 2 ) E 2 ( M , N ) ,
respectively. In all calculations below, we choose the mesh parameter K = log ( 1.2 ) .
Example 1.
The following problem is considered:
D 1 , t α CH u ( x , t ) 2 u ( x , t ) x 2 = f ( x , t ) , 1 < t T , 0 < x < 1 , u ( x , 1 ) = 0 , 0 < x < 1 , u ( 0 , t ) = u ( 1 , t ) = 0 , 1 < t T ,
where α ( 0 , 1 ) and the source term:
f ( x , t ) = 2 Γ ( 3 α ) ( log t ) 2 α x ( 1 x ) + 2 ( log t ) 2 .
The exact solution of this equation is u ( x , t ) = x ( 1 x ) ( log t ) 2 .
Let h = 1 1024 and T = 4 , the maximum errors and the corresponding orders of convergence with different values of α are given in Table 1, Table 2, Table 3, Table 4 and Table 5. For the sake of comparison, we also apply the L 1 scheme on a graded mesh to approximate the time fractional derivative, utilizing parameters r = 2 / α , r = ( 2 α ) / α , and r = 3 . The outcomes of these computations are presented in Table 1, Table 2, Table 3, Table 4 and Table 5. It is evident that these numerical findings align with the theoretical predictions outlined in Theorem 2. Meanwhile, it is shown from these numerical results that both our proposed MG-mesh, which incorporates the parameter K ( 0 , log T ) and the graded mesh defined by Equation (2) with r 2 α α attain the optimal convergence rate of O ( N ( 2 α ) ) . This indicates that both meshing strategies are efficient and effective in terms of achieving the desired convergence rate. However, it is worth noting that despite both methods achieving the optimal convergence rate of O ( N ( 2 α ) ) , the maximum errors obtained using our proposed MG-mesh are the lowest. This result can be seen in Table 1, Table 2, Table 3, Table 4 and Table 5. For example, by fixing M = 1024 , α = 0.4 in Table 1 and varying N, both cases achieve the optimal convergence rate for different rank indices r. For fixed N, the MG-mesh exhibits substantially reduced errors relative to the G-mesh. A representative case at N = 1280 shows that the G-mesh error exceeds the MG-mesh error by nearly one order of magnitude, while its convergence order remains inferior. The results in Table 2, Table 3, Table 4 and Table 5 align with the observations from Table 1. This suggests that our MG-mesh may offer additional benefits in terms of accuracy compared to the G-mesh defined by Equation (2).
For M = N = 80 and different values of α , Figure 3 visually presents the numerical solutions corresponding to various fractional orders α . A detailed cross-sectional analysis at x = 1 2 under different α values is subsequently illustrated in Figure 4, while Figure 5 provides a comparative visualization of numerical solutions obtained from the MG-mesh versus standard graded meshes (G-meshes) with parameters N = 80 , α = 0.6 , and varying mesh refinement ratios r. Additionally, we compare the errors and convergence rates obtained on our proposed MG-mesh (8) with those on the optimal graded meshes (1). Our observations indicate that in these scenarios, the optimal global rates of convergence of 2 α are achieved. Moreover, as time T increases, the errors decrease. Notably, the errors calculated on the MG-mesh are significantly smaller than those on graded meshes for each given time length T. Figure 6 and Figure 7, respectively, demonstrate the variation of errors as time progresses.

6. Conclusions

In this paper, a modified graded mesh (MG-mesh) is used as the discretization mesh of the L 1 interpolation method to approximate the Caputo–Hadamard fractional sub-diffusion equation derivative of time fractional diffusion Equation (2). Comparing the numerical results for both schemes, we can observe that the MG-mesh scheme performs better than the graded mesh (1) (G-mesh) scheme for the sub-diffusion equations. The L 1 on this MG-mesh with optimal 2 α -order accuracy has been proved. Its error is also significantly smaller than that of the G-mesh grid. This study also shows that the MG-mesh we proposed with K ( 0 , log T ) can obtain the optimal convergence rate O ( N ( 2 α ) ) . Furthermore, we observe that the final result obviously shows how the regularity of the solution and the nonuniform meshes affect the convergence order of the derived scheme. The convergence order of the numerical results matches that of the theoretical ones.
Our future work for this proposed method includes accelerating the approximation of the Caputo–Hadamard time-fractional derivative in Equation (2) by using the sum-of-exponentials strategy [19] and parallel computations [27,28].

Author Contributions

D.L.: conception, validation, formal analyses, data compilation, and writing—original manuscript; L.L.: methods, supervision, validation, and project management; H.C.: supervision and validation; X.M.: Writing—review & editing, revision and reorganization. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Guangxi Science and Technology Base and Special Talents grand number (Guike AD23023003), Guangxi Natural Science Foundation (2022GXNSFAA035618), innovation Project of Guangxi Graduate Education (JGY2024267, YCSW2024463), the National Natural Science Foundation of China (12361087), and the project on Enhancement of Basic Research Ability of Young and Middle-aged Teachers in Guangxi Universities (2023KY0394,2024KY2035).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

We thank the reviewers for their constructive comments. These comments significantly helped in improving the quality of the manuscript. We also thank the editors for their valuable suggestions on revising the manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Vellappandi, M.; Govindaraj, V. Operator theoretic approach to optimal control problems characterized by the Caputo fractional differential equations. Res. Control Optim. 2023, 10, 100194. [Google Scholar] [CrossRef]
  2. Giona, M.; Roman, H.E. Fractional diffusion equation for transport phenomena in random media. Physica A 1992, 185, 87–97. [Google Scholar] [CrossRef]
  3. Gorenflo, R.; Mainardi, F.; Moretti, D.; Pagnini, G.; Paradisi, P. Discrete random walk models for space–time fractional diffusion. Chem. Phys. 2002, 284, 521–541. [Google Scholar] [CrossRef]
  4. Huong, N.T.T.; Thang, N.N.; Ke, T.D. Commutator of the Caputo fractional derivative and the shift operator and applications. Commun. Nonlinear Sci. Numer. Simul. 2024, 131, 107857. [Google Scholar] [CrossRef]
  5. Fahad, H.M.; Fernandez, A. Operational calculus for Caputo fractional calculus with respect to functions and the associated fractional differential equations. Appl. Math. Comput. 2021, 409, 126400. [Google Scholar] [CrossRef]
  6. Green, C.; Liu, Y.; Yan, Y. Numerical methods for Caputo-Hadamard fractional differential equations with graded and non-uniform meshes. Mathematics 2021, 9, 2728. [Google Scholar] [CrossRef]
  7. Sivalingam, S.; Kumar, P.; Govindaraj, V. A neural networks-based numerical method for the generalized Caputo-type fractional differential equations. Math. Comput. Simul. 2023, 213, 302–323. [Google Scholar]
  8. Fan, E.; Li, C.; Li, Z. Numerical approaches to Caputo-Hadamard fractional derivatives with applications to long-term integration of fractional differential systems. Commun. Nonlinear Sci. Numer. Simul. 2022, 106, 106096. [Google Scholar] [CrossRef]
  9. Liu, C.-X.; Cao, J.-Y.; Lyu, T.; Ye, X.-Y. Numerical Analysis of a High-Order Scheme with Nonuniform Time Grids for Caputo-Hadamard Fractional Reaction Sub-diffusion Equations. Commun. Appl. Math. Comput. 2024, 1–28. [Google Scholar] [CrossRef]
  10. Hadamard, J. Essai sur l’étude des fonctions données par leur développement de taylor. J. Math. Pures Appl. 1892, 8, 101–186. [Google Scholar]
  11. Kilbas, A.A. Hadamard-type fractional calculus. J. Korean Math. Soc. 2001, 38, 1191–1204. [Google Scholar]
  12. Jarad, F.; Abdeljawad, T.; Baleanu, D. Caputo-type modification of the Hadamard fractional derivatives. Adv. Differ. Equ. 2012, 2012, 142. [Google Scholar] [CrossRef]
  13. Ma, L.; Li, C. On Hadamard fractional calculus. Fractals 2017, 25, 1750033. [Google Scholar] [CrossRef]
  14. Ma, L.; Li, C. On finite part integrals and Hadamard-type fractional derivatives. J. Comput. Nonlinear Dyn. 2018, 13, 090905. [Google Scholar] [CrossRef]
  15. Li, C.; Li, Z. Stability and logarithmic decay of the solution to Hadamard-type fractional differential equation. J. Nonlinear Sci. 2021, 31, 31. [Google Scholar] [CrossRef]
  16. Zheng, X. Logarithmic transformation between (variable-order) caputo and Caputo-Hadamard fractional problems and applications. Appl. Math. Lett. 2021, 121, 107366. [Google Scholar] [CrossRef]
  17. Zaky, M.A.; Hendy, A.S.; Suragan, D. Logarithmic jacobi collocation method for Caputo-Hadamard fractional differential equations. Appl. Numer. Math. 2022, 181, 326–346. [Google Scholar] [CrossRef]
  18. Zhao, T.; Li, C.; Li, D. Efficient spectral collocation method for fractional differential equation with Caputo-Hadamard derivative. Fract. Calc. Appl. Anal. 2023, 26, 2903–2927. [Google Scholar] [CrossRef]
  19. He, T.; Lu, J.; Li, M. The parareal algorithm for Caputo-Hadamard fractional differential equations. Commun. Anal. Comput. 2024, 2, 432–453. [Google Scholar] [CrossRef]
  20. Gohar, M.; Li, C.; Li, Z. Finite difference methods for Caputo–Hadamard fractional differential equations. Mediterr. J. Math. 2020, 17, 194. [Google Scholar] [CrossRef]
  21. Li, C.; Li, Z.; Wang, Z. Mathematical analysis and the local discontinuous galerkin method for Caputo-Hadamard fractional partial differential equation. J. Sci. Comput. 2020, 85, 41. [Google Scholar] [CrossRef]
  22. Wang, Z.; Ou, C.; Vong, S. A second-order scheme with nonuniform time grids for Caputo–Hadamard fractional sub-diffusion equations. J. Comput. Appl. Math. 2022, 414, 114448. [Google Scholar] [CrossRef]
  23. Wang, Z.; Sun, L. A numerical approximation for the Caputo-Hadamard derivative and its application in time-fractional variable-coefficient diffusion equation. Discret. Contin. Dyn.-Syst.-S. 2024, 17, 2679–2705. [Google Scholar] [CrossRef]
  24. Ou, C.; Cen, D.; Wang, Z.; Vong, S. Fitted schemes for Caputo-Hadamard fractional differential equations. Numer. Algorithms 2024, 97, 135–164. [Google Scholar] [CrossRef]
  25. Liu, L.-B.; Xu, L.; Zhang, Y. Error analysis of a finite difference scheme on a modified graded mesh for a time-fractional diffusion equation. Math. Comput. Simul. 2023, 209, 87–101. [Google Scholar] [CrossRef]
  26. Stynes, M.; O’Riordan, E.; Gracia, J.L. Error analysis of a finite difference method on graded meshes for a time-fractional diffusion equation. SIAM J. Numer. Anal. 2017, 55, 1057–1079. [Google Scholar] [CrossRef]
  27. Gu, X.-M.; Wu, S.-L. A parallel-in-time iterative algorithm for Volterra partial integro-differential problems with weakly singular kernel. J. Comput. Phys. 2020, 417, 109576. [Google Scholar] [CrossRef]
  28. Zhao, Y.-L.; Gu, X.-M.; Ostermann, A. A preconditioning technique for an all-at-once system from Volterra subdiffusion equations with graded time steps. J. Sci. Comput. 2021, 88, 11. [Google Scholar] [CrossRef]
Figure 1. Comparison of the MG-mesh and G-mesh mesh fetch points at time N = 40 , T = 4 and α = 0.3 .
Figure 1. Comparison of the MG-mesh and G-mesh mesh fetch points at time N = 40 , T = 4 and α = 0.3 .
Fractalfract 09 00286 g001
Figure 2. Comparison of the MG-mesh and G-mesh mesh fetch points at time N = 40 , T = 4 and α = 0.8 .
Figure 2. Comparison of the MG-mesh and G-mesh mesh fetch points at time N = 40 , T = 4 and α = 0.8 .
Fractalfract 09 00286 g002
Figure 3. Numerical solutions with M = N = 40 and different α .
Figure 3. Numerical solutions with M = N = 40 and different α .
Fractalfract 09 00286 g003
Figure 4. Numerical solutions with M = N = 80 and different α at x = 1 / 2 .
Figure 4. Numerical solutions with M = N = 80 and different α at x = 1 / 2 .
Fractalfract 09 00286 g004
Figure 5. Numerical solutions between MG-mesh and G-mesh with α = 0.6 and different r at x = 1 / 2 .
Figure 5. Numerical solutions between MG-mesh and G-mesh with α = 0.6 and different r at x = 1 / 2 .
Fractalfract 09 00286 g005
Figure 6. Comparison of errors between the MG-mesh and G-mesh with N = 80 and α = 0.6 .
Figure 6. Comparison of errors between the MG-mesh and G-mesh with N = 80 and α = 0.6 .
Fractalfract 09 00286 g006
Figure 7. Comparison of errors between the MG-mesh and G-mesh with N = 80 and α = 0.8 .
Figure 7. Comparison of errors between the MG-mesh and G-mesh with N = 80 and α = 0.8 .
Fractalfract 09 00286 g007
Table 1. Numerical results by using different meshes with α = 0.4 and T = 4 .
Table 1. Numerical results by using different meshes with α = 0.4 and T = 4 .
GridParameter N = 40 N = 80 N = 160 N = 320 N = 640 N = 1280
MG-mesh K = log ( 1.2 ) 5.6810 × 10 5 1.9106 × 10 5 6.3938 × 10 6 2.1320 × 10 6 7.0897 × 10 7 2.3528 × 10 7
1.57211.57931.58451.58841.5913
G-mesh r = 2 α 4.1441 × 10 4 1.4855 × 10 4 5.1878 × 10 5 1.7816 × 10 5 6.0501 × 10 5 2.0385 × 10 6
1.48011.51781.54191.55811.5695
r = 2 α α 3.0148 × 10 4 1.0680 × 10 4 3.7018 × 10 5 1.2650 × 10 5 4.2809 × 10 6 1.4390 × 10 6
1.49721.52861.54911.56321.5728
r = 3 1.9919 × 10 4 6.9641 × 10 5 2.3933 × 10 5 8.1314 × 10 6 2.7408 × 10 6 9.1863 × 10 7
1.51611.54091.55741.56891.5770
Table 2. Numerical results by using different meshes with α = 0.5 and T = 4 .
Table 2. Numerical results by using different meshes with α = 0.5 and T = 4 .
GridParameter N = 40 N = 80 N = 160 N = 320 N = 640 N = 1280
MG-mesh K = log ( 1.2 ) 8.8474 × 10 5 3.1626 × 10 5 1.1268 × 10 5 4.0052 × 10 6 1.4214 × 10 6 5.0388 × 10 7
1.48411.48891.49231.49461.4962
G-mesh r = 2 α 4.7929 × 10 4 1.7941 × 10 4 6.5848 × 10 5 2.3871 × 10 5 8.5847 × 10 6 3.0709 × 10 6
1.41761.44601.46391.47541.4831
r = 2 α α 3.2361 × 10 4 1.1969 × 10 4 4.3599 × 10 5 1.5729 × 10 5 5.6385 × 10 5 2.0127 × 10 5
1.43501.45691.47091.48001.4862
r = 3 3.2361 × 10 4 1.1969 × 10 4 4.3599 × 10 5 1.5729 × 10 5 5.6385 × 10 6 2.0127 × 10 6
1.43501.45691.47091.48001.4862
Table 3. Numerical results by using different meshes with α = 0.6 and T = 4 .
Table 3. Numerical results by using different meshes with α = 0.6 and T = 4 .
GridParameter N = 40 N = 80 N = 160 N = 320 N = 640 N = 1280
MG-mesh K = log ( 1.2 ) 1.4010 × 10 4 5.3405 × 10 5 2.0315 × 10 5 7.7175 × 10 6 2.9293 × 10 6 1.1112 × 10 6
1.39141.39441.39631.39761.3984
G-mesh r = 2 α 5.8056 × 10 4 2 . 2865 4 s 8.8743 × 10 5 3.4140 × 10 5 1.3062 × 10 5 4.9806 × 10 6
1.34431.36541.37821.38611.3910
r = 2 α α 3.6620 × 10 4 1.4255 × 10 4 5.4939 × 10 5 2.1044 × 10 5 8.0296 × 10 6 3.0563 × 10 6
1.36121.37561.38441.39001.3935
r = 3 5.0684e-04 1.9887 × 10 4 7.7015 × 10 5 2.9587 × 10 5 1.1311 × 10 5 4.3104 × 10 6
1.34971.36861.38021.38721.3918
Table 4. Numerical results by using different meshes with α = 0.7 and T = 4 .
Table 4. Numerical results by using different meshes with α = 0.7 and T = 4 .
GridParameter N = 40 N = 80 N = 160 N = 320 N = 640 N = 1280
MG-mesh K = log ( 1.2 ) 2.2373 × 10 4 9.1136 × 10 5 3.7080 × 10 5 1.5076 × 10 5 6.1268 × 10 6 2.4893 × 10 6
1.29571.29741.29841.29901.2994
G-mesh r = 2 α 7.2998 × 10 4 3.0416 × 10 4 1.2540 × 10 4 5.1382 × 10 5 2.0979 × 10 5 8.5475 × 10 6
1.26301.27831.28721.29231.2954
r = 2 α α 4.3372 × 10 4 1.7877 × 10 4 7.3245 × 10 5 2.9903 × 10 5 1.2183 × 10 5 4.9572 × 10 6
1.27871.28731.29241.29541.2973
r = 3 7.7424 × 10 4 3.2307 × 10 4 1.3330 × 10 4 5.4647 × 10 5 2.2318 × 10 5 9.0947 × 10 6
1.26091.27721.28651.29191.2951
Table 5. Numerical results by using different meshes with α = 0.8 and T = 4 .
Table 5. Numerical results by using different meshes with α = 0.8 and T = 4 .
GridParameter N = 40 N = 80 N = 160 N = 320 N = 640 N = 1280
MG-mesh K = log ( 1.2 ) 3.5835 × 10 4 1.5619 × 10 4 6.8038 × 10 5 2.9628 × 10 5 1.2899 × 10 5 5.6156 × 10 6
1.19811.19891.19941.19971.1997
G-mesh r = 2 α 9.4673 × 10 4 4.1903 × 10 4 1.8409 × 10 4 8.0541 × 10 5 3.5158 × 10 5 1.5328 × 10 5
1.17591.18661.19261.19591.1977
r = 2 α α 5.3493 × 10 4 2.3451 × 10 4 1.0248 × 10 4 4.4707 × 10 5 1.9484 × 10 5 8.4869 × 10 6
1.18971.19431.19681.19821.1990
r = 3 1.1611 × 10 3 5.1619 × 10 4 2.2731 × 10 4 9.9585 × 10 5 4.3504 × 10 5 1.8975 × 10 5
1.16951.18321.19071.19481.1970
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

Liu, D.; Liu, L.; Chen, H.; Mai, X. Error Analysis of the L1 Scheme on a Modified Graded Mesh for a Caputo–Hadamard Fractional Diffusion Equation. Fractal Fract. 2025, 9, 286. https://doi.org/10.3390/fractalfract9050286

AMA Style

Liu D, Liu L, Chen H, Mai X. Error Analysis of the L1 Scheme on a Modified Graded Mesh for a Caputo–Hadamard Fractional Diffusion Equation. Fractal and Fractional. 2025; 9(5):286. https://doi.org/10.3390/fractalfract9050286

Chicago/Turabian Style

Liu, Dan, Libin Liu, Hongbin Chen, and Xiongfa Mai. 2025. "Error Analysis of the L1 Scheme on a Modified Graded Mesh for a Caputo–Hadamard Fractional Diffusion Equation" Fractal and Fractional 9, no. 5: 286. https://doi.org/10.3390/fractalfract9050286

APA Style

Liu, D., Liu, L., Chen, H., & Mai, X. (2025). Error Analysis of the L1 Scheme on a Modified Graded Mesh for a Caputo–Hadamard Fractional Diffusion Equation. Fractal and Fractional, 9(5), 286. https://doi.org/10.3390/fractalfract9050286

Article Metrics

Back to TopTop