Preprint
Article

This version is not peer-reviewed.

Second Order L1 Schemes for Fractional Differential Equations

Submitted:

20 October 2025

Posted:

21 October 2025

You are already at the latest version

Abstract
Difference schemes for the numerical solution of fractional differential equations rely on discretizations of the fractional derivative. In earlier work \cite{d24}, we constructed approximations of the first derivative and applied them to fractional derivatives. In this paper, we extend the method from \cite{d24} to develop parameter-dependent approximations of the second derivative and second-order approximations of the fractional derivative based on the weights of the L1 scheme. We derive the second-order expansion formula of the L1 approximation and show that the coefficient of the second derivative is asymptotically equal to a value of the zeta function, as suggested by the generating function. Using this expansion, we construct a second-order approximation of the fractional derivative and the corresponding asymptotic approximation by a suitable choice of parameter. Examples illustrating the application of these approximations to the numerical solution of ordinary differential equations and fractional differential equations are presented. Both approximations of the fractional derivative are shown to yield second-order numerical methods. Numerical experiments are also provided, confirming the theoretical predictions for the accuracy order of the methods.
Keywords: 
;  ;  ;  

1. Introduction

Fractional differentiation extends integer-order differentiation and integration to arbitrary orders. There is a growing interest in developing numerical methods for fractional differential equations due to their wide applicability in various branches of science [2,3,4]. Finite difference schemes provide a powerful approach for the numerical solution of fractional differential equations and the study of their properties. The Caputo fractional derivative of order α , where 0 < α < 1 , is defined as
f ( α ) ( x ) = D α f ( x ) = 1 Γ ( 1 α ) 0 x f ( ξ ) ( x ξ ) α d ξ .
The power function x p and the functions e x , sin x , and cos x have fractional derivatives.
D α x p = Γ ( p + 1 ) Γ ( p + 1 α ) x p α , D α e x = x 1 α E 1 , 2 α ( x ) ,
D α sin x = x 1 α E 2 , 2 α ( x 2 ) , D α cos x = x 2 α E 2 , 3 α ( x 2 ) ,
where p > 0 and E α , β ( x ) is the Mittag-Leffler function
E α , β ( x ) = k = 0 x k Γ ( α x + β ) .
The lower limit of fractional differentiation may be an arbitrary number. The kernel of the fractional derivative has a singularity of order α . A direct application of numerical integration methods for discretizations of the fractional derivative leads to reduced accuracy and a lower order of approximation. Therefore, the construction of high-order approximations of fractional derivatives requires additional considerations.
Fractional calculus is a rapidly developing scientific field that extends and generalizes differential calculus. Other definitions of fractional derivatives and integrals include the Riemann–Liouville and Grünwald–Letnikov derivatives, introduced in the 19th century. The Riemann–Liouville derivative is the first known generalization of integer-order derivatives and is a widely used definition in fractional calculus. The three definitions of the fractional derivative are directly related and share similar properties. The main difference between fractional and integer-order derivatives lies in their nonlocal properties. Fractional derivatives have a strong dependence on the previous values of the function according to the power law, or exhibit memory-influenced dynamics. The definition of integer-order derivatives depends only on the local behavior of the function in a small neighborhood around the point of differentiation. The definitions of integer-order derivatives imply an exponential dependence on previous values, and this effect may be negligible or minimal. The choice of a particular definition of the fractional derivative and its advantages depend on the problem under consideration. The Caputo fractional derivative, defined in 1967, has the advantage that when solving differential equations, it allows the use of initial conditions expressed in terms of integer-order derivatives, which often have direct physical meaning. In addition to the most commonly used definitions of the fractional derivative, such as those of Riemann–Liouville and Caputo, there exist other important and widely applicable definitions in the theory of fractional calculus. Among them are the fractional derivatives of Weyl, Hadamard, Marchaud, and Riesz. The recently introduced fractional derivatives, the Caputo–Fabrizio derivative (2015), the Atangana–Baleanu–Caputo (ABC) fractional derivative (2016), have also proven their significance in modeling various time-dependent complex processes. These derivatives, provide improved accuracy in describing memory effects in physical, biological, and engineering phenomena [5,6,7].
Fractional Differential Equations (FDEs) are a generalization of ordinary and partial differential equations and provide powerful tools for modeling complex systems with memory, hereditary properties, or anomalous diffusion. Due to the complexity of fractional differential equations and their corresponding models, numerical methods are the main and, in many cases, the only approach for solving them. Numerical methods could be applied to a much wider class of fractional differential equations compared to analytical methods. Many of the properties and approaches used for solving ordinary and partial differential equations are also applicable to the corresponding fractional differential equations. The development of numerical methods is based on the growing number and diversity of the considered models, as well as on the improvement of the technical means for their solution. The main types of approaches for solving differential and fractional differential equations include the Finite Difference Methods [8,9,10,11], Spectral Methods [12,13,14,15], Finite Element Methods [16,17], and Predictor–Corrector Methods [18,19].
Finite difference schemes for the numerical solution of fractional differential equations are widely used because of their simplicity, flexibility, and consistency of the numerical results. The difference schemes for fractional differential equations use discretizations of the fractional derivative on uniform or nonuniform grids over the interval of fractional differentiation. These approximations involve the previous values of the function, which leads to a more complex analysis of the difference schemes and increases the computational time required for their solution. Constructions of fast difference schemes for fractional differential equations that achieve optimal computational complexity using sum of exponentials approximation of the kernel function are presented in [20,21,22,23]. To improve the efficiency of difference schemes and achieve high computational accuracy, high-order approximations of the fractional derivative are used. The development of high-order approximations of the fractional derivative and the investigation of their properties are important problems in the construction and analysis of difference schemes for fractional differential equations. Constructions of second-order approximations are discussed in [24,25,26,27,28]. High-order approximations of the fractional derivative are constructed in [29,30,31,32,33,34].
The Grünwald–Letnikov difference approximation and the L1 approximation are important and widely used discretizations of fractional derivatives[35,36,37,38,39]. The Grünwald–Letnikov approximation has first-order accuracy and a generating function ( 1 x ) α . The L1 approximation has an accuracy of order 2 α and a generating function
G ( x ) = ( 1 x ) 2 Li α 1 ( x ) x ,
where Li ν ( x ) is the polylogarithm function. The generating function of an approximation of the fractional derivative satisfies
G ( 1 ) = 0 , lim x 1 G ( x ) ( 1 x ) α = 1 .
The present paper continues the study in [1] and focuses on the properties of the L1 approximation and on methods for extending it to higher-order approximations while preserving the properties of the weights. Consider fractional differentiation on the interval [ 0 , X ] and a uniform net with a step size h = X / N , where N is a positive integer. Denote f n = f ( x n ) = f ( n h ) . L1 approximation of the Caputo derivative has an order 2 α and is defined as:
L n f = 1 Γ ( 2 α ) h α k = 0 n σ k ( α ) f n k = f n ( α ) + O ( h 2 α ) ,
where σ 0 ( α ) = 1 , σ n ( α ) = ( n 1 ) 1 α n 1 α and
σ k ( α ) = ( k 1 ) 1 α 2 k 1 α + ( k + 1 ) 1 α , ( 1 k < n ) .
The weights of L1 and Grünwald–Letnikov approximations have properties:
σ 0 ( α ) > 0 , σ k ( α ) < 0 ( 1 k n ) , k = 0 n σ k ( α ) = 0 .
The properties of the weights of Grünwald–Letnikov and L1 approximations enable an efficient analysis of the stability and convergence of difference schemes for fractional differential equations.
In section 4 we obtain the second order expansion formula of the L1 approximation
1 Γ ( 2 α ) h α k = 0 n σ k ( α ) f n k = f n ( α ) + s n Γ ( 2 α ) f n h 2 α + O ( h 2 ) ,
where
s n = k = 1 n 1 k 1 α + n 1 α 2 n 2 α 2 α .
One approach to constructing discretizations of the fractional derivative is by specifying the generating function. This method also applies to the construction of approximations for integer-order derivatives. In [1], we constructed a parameter-dependent approximation of the first derivative and applied it to obtain a discretization of the fractional derivative of order 2 α .
A n f = 1 b h f n ( 1 b ) k = 1 n 2 b k 1 f n k b n 2 ( 1 2 b ) 1 b f 1 b n 1 1 b f 0 = f n + O ( h ) ,
where | b | < 1 . Approximation (4) has a generating function
G 1 ( x ) = ( 1 b ) ( 1 x ) 1 b x ,
where b is a parameter, | b | < 1 .The generating function G 1 ( x ) has properties
G 1 ( 1 ) = 0 , G 1 ( 1 ) = 1 .
In the present paper we use the method from [1,41] for constructing a parameter-dependent approximation of the second derivative
B n f = 1 b h 2 ( f n ( 2 b ) f n 1 + ( 1 b ) 2 k = 1 n 3 b k 2 f n k + 1 3 b + 3 b 2 1 b b n 4 f 2 + 1 3 b 1 b b n 3 f 1 + 1 1 b b n 2 f 0 ) = f n + O ( h ) .
In Section 4, we use (5) to construct second-order approximations of the fractional derivative. By substituting the second derivative in the expansionn formula of the L1 approximation (3) with its approximation B n 1 f and choosing the parameter value b = 1 α + α 2 , we obtain a second-order approximation of the Caputo derivative
1 Γ ( 2 α ) h α k = 0 n γ k ( α ) f n k = f n ( α ) + O ( h 2 ) ,
where γ 0 ( α ) = 1 α ( 1 α ) s n , γ 1 ( α ) = 2 1 α 2 + α ( 1 α ) ( 1 + α α 2 ) s n , and
γ k ( α ) = ( k 1 ) 1 α 2 k 1 α + ( k + 1 ) 1 α α 3 ( 1 α ) 3 ( 1 α + α 2 ) k 2 s n , ( 2 k n 4 ) , γ n 3 ( α ) = ( n 4 ) 1 α 2 ( n 3 ) 1 α + ( n 2 ) 1 α ( 1 3 α + 6 α 2 6 α 3 + 3 α 4 ) ( 1 α + α 2 ) n 5 s n , γ n 2 ( α ) = ( n 3 ) 1 α 2 ( n 2 ) 1 α + ( n 1 ) 1 α + ( 2 3 α + 3 α 2 ) ( 1 α + α 2 ) n 4 s n , γ n 1 ( α ) = ( n 2 ) 1 α 2 ( n 1 ) 1 α + n 1 α ( 1 α + α 2 ) n 3 s n , γ n ( α ) = ( n 1 ) 1 α n 1 α .
From the formula for the sum of the zeta sequence, we obtain that the numbers s n converge to the value of the zeta function ζ ( a 1 ) . By substituting s n with ζ ( a 1 ) in (3) and (6), we obtain the second-order asymptotic expansion formula of the L1 approximation.
1 Γ ( 2 α ) h α k = 0 n ω k ( α ) f n k = f n ( α ) + ζ ( α 1 ) Γ ( 2 α ) f n h 2 α + O ( h 2 )
and a second order asymptotic approximation
1 Γ ( 2 α ) h α k = 0 n ω k ( α ) f n k = f n ( α ) + O ( h 2 ) ,
where ω 0 ( α ) = 1 α ( 1 α ) ζ ( α 1 ) , ω 1 ( α ) = 2 1 α 2 + α ( 1 α ) ( 1 + α α 2 ) ζ ( α 1 ) , and
ω k ( α ) = ( k 1 ) 1 α 2 k 1 α + ( k + 1 ) 1 α α 3 ( 1 α ) 3 ( 1 α + α 2 ) k 2 ζ ( α 1 ) , ω n 3 ( α ) = ( n 4 ) 1 α 2 ( n 3 ) 1 α + ( n 2 ) 1 α ( 1 3 α + 6 α 2 6 α 3 + 3 α 4 ) ( 1 α + α 2 ) n 5 ζ ( α 1 ) , ω n 2 ( α ) = ( n 3 ) 1 α 2 ( n 2 ) 1 α + ( n 1 ) 1 α + ( 2 3 α + 3 α 2 ) ( 1 α + α 2 ) n 4 ζ ( α 1 ) , ω n 1 ( α ) = ( n 2 ) 1 α 2 ( n 1 ) 1 α + n 1 α ( 1 α + α 2 ) n 3 ζ ( α 1 ) , ω n ( α ) = γ n ( α ) = σ n ( α ) .
The value of the parameter b = 1 α + α 2 is chosen so that the weights of discretizations (6) and (8) satisfy properties (2). One difference between the two approximations is that, while approximation (6) has second-order accuracy for every n > 4 , the order of approximation in (7) and(8) varies from 2 α when n = 1 to second order when n = N . In Section 5, we prove that the difference schemes for fractional differential equations using both approximations achieve second-order accuracy. The results of the paper are summarized below.
In Section 2, we derive an approximation (5) of the second derivative. In Section 3, we consider applications of approximation (4) and its corresponding right-side approximation to the numerical solution of initial value and boundary value ordinary differential equations. These two approximations are related to two-point approximations and lead to efficient numerical methods whose performance and accuracy are comparable to standard finite difference methods. A convergence and error analysis of the numerical solution of a first-order ordinary differential equation is presented, with respect to the values of the parameter.
In Section 4, we derive the second-order expansion formula (3) of the L1 approximation and construct second-order approximations (6) and (8) of the fractional derivative. In Section 5, we consider applications of approximations (6) and (8) to the construction of difference schemes for the two-term ordinary fractional differential equation and the fractional subdiffusion equation. The difference schemes based on approximations (6) and (8) achieve second-order accuracy, and the proof of their convergence and order relies on the magnitude of the last weight of the L1 approximation.

2. Approximation of the Second Derivative

In paper [1], we constructed an approximation (4) of the first derivative with generating function G 1 ( x ) = ( 1 b ) ( 1 x ) / ( 1 b x ) . Constructions of approximations of the first and second derivatives whose generating functions are based on the exponential and logarithmic functions are discussed in [40,41]. In this section, we derive a parameter-dependent approximation of the second derivative and its second-order asymptotic expansion formula which has a generating function
G 2 ( x ) = ( 1 b ) ( 1 x ) 2 1 b x .
The function G 2 ( x ) has properties G 2 ( 1 ) = G 2 ( 1 ) = 0 , G 2 ( 1 ) = 2 . Denote
H 2 ( x ) = G 2 ( e x ) = ( 1 b ) ( 1 e x ) 2 1 b e x .
The functions G 2 ( x ) and H 2 ( x ) have Maclaurin series
G 2 ( x ) = ( 1 b ) 1 ( 2 b ) x + ( 1 b ) 2 k = 2 n 3 b k 1 x k ,
H 2 ( x ) = x 2 x 3 1 b + ( 7 + 4 b + b 2 ) x 4 12 ( 1 b ) 2 + O ( x 4 ) .
Formulas (9) and (10) lead to the following asymptotic approximation of the second derivative and its second-order expansion formula.
1 b h 2 f n ( 2 b ) f n 1 + ( 1 b ) 2 k = 1 n 3 b k 2 f n k = f n 1 1 b f n h + O ( h 2 ) ,
where the function f C 3 [ 0 , X ] and satisfies the condition f ( 0 ) = f ( 0 ) = f ( 0 ) = 0 . Now we extend the approximation to all functions in the class C 3 [ 0 , X ] . Let
B n f = 1 b h 2 ( f n ( 2 b ) f n 1 + ( 1 b ) 2 k = 1 n 3 b k 2 f n k + c 2 b n 4 f 2 + c 1 b n 3 f 1 + c 0 b n 2 f 0 ) .
The coefficients c 0 , c 1 and c 2 are determined from the right expansion formula of the approximation. From Taylor’s formula, we obtain
f n k = f n k h f n + 1 2 k 2 h 2 f n 1 6 k 3 h 3 f ( 3 ) ( θ k ) ,
where θ k ( n k ) h , x n . Approximation B n has a right expansion formula
B n f = K 0 f n + K 1 f n + K 2 f n + E n 1 h ,
where
K 0 = 1 b h 2 1 ( 2 b ) + ( 1 b ) 2 k = 2 n 3 b k 2 + i = 0 2 b n i 2 c i , K 1 = 1 b h ( 2 b ) + ( 1 b ) 2 k = 2 n 3 k b k 2 + i = 0 2 ( n i ) b n i 2 c i , K 2 = 1 b 2 ( 2 b ) + ( 1 b ) 2 k = 2 n 3 k 2 b k 2 + i = 0 2 ( n i ) 2 b n i 2 c i ,
and
E n 1 = 1 b 6 ( 1 b ) 2 k = 2 n 3 k 3 b k 2 f ( 3 ) ( θ k ) ( 2 b ) f ( 3 ) ( θ 1 ) + i = 0 2 ( n i ) 3 b n i 2 c i f ( 3 ) ( θ n i ) .
The following formulas for the finite geometric series are used.
k = 2 n 3 b k 2 = 1 b n 4 1 b , k = 2 n 3 k b k 2 = 2 b + b n 4 ( 2 3 b + n b n ) ( 1 b ) 2 ,
k = 2 n 3 k 2 b k 2 = 4 3 b + b 2 b n 4 4 11 b + 9 b 2 4 n + 10 b n 6 b 2 n + n 2 2 b n 2 + b 2 n 2 ( 1 b ) 3 .
Therefore
K 0 = 1 b h 2 c 0 b n 2 + c 1 b n 3 + c 2 b n 4 ( 1 b ) b n 4 ,
K 1 = 1 b h c 0 n b n 2 + c 1 ( n 1 ) b n 3 + c 2 ( n 2 ) b n 4 + b n 4 ( 2 + b n n 3 b ) ,
K 2 = 1 b 2 c 0 n 2 b n 2 + c 1 ( n 1 ) 2 b n 3 + c 2 ( n 2 ) 2 b n 4 + b n 4 ( 2 + b n n 3 b ) + 2 b n 4 4 11 b + 9 b 2 4 n + 10 b n 6 b 2 n + n 2 2 b n 2 + b 2 n 2 2 .
A system of equations for the coefficients c 0 , c 1 , c 2 is obtained by setting K 0 = K 1 = 0 and the coefficient of the second derivative K 2 = 1 .
c 2 + c 1 b + c 0 b 2 = 1 b , c 2 ( n 2 ) + c 1 ( n 1 ) b + c 0 n b 2 = R 1 , c 2 ( n 2 ) 2 + c 1 ( n 1 ) 2 b + c 0 n 2 b 2 = R 2 ,
where
R 1 = n + 3 b 2 b , R 2 = 4 11 b + 9 b 2 4 n + 10 b n 6 b 2 n + n 2 2 b n 2 + b 2 n 2 1 b .
The system of equations has a solution.
c 0 = 1 1 b , c 1 = 1 3 b 1 b , c 2 = 1 3 b + 3 b 2 1 b .
Therefore
B n f = 1 h 2 ( ( 1 b ) f n ( 1 b ) ( 2 b ) f n 1 + ( 1 b ) 3 k = 1 n 3 b k 2 f n k + ( 1 3 b + 3 b 2 ) b n 4 f 2 + ( 1 3 b ) b n 3 f 1 + b n 2 f 0 ) = f n + E n 1 h .
Denote
M i = max 0 x X | f ( i ) ( x ) | .
In the following claim, we obtain an error estimate for the approximation B n .
Claim 1.
Let f C 3 [ 0 , X ] . Then
| E n 1 | < 2 M 3 1 b .
Proof. 
From the formula for the coefficient E n 1 , we obtain
| E n 1 | 1 b 6 ( ( 2 b ) f ( 3 ) ( θ 1 ) + ( 1 b ) 2 k = 2 n 3 k 3 b k 2 f ( 3 ) ( θ k ) + i = 0 2 ( n i ) 3 b n i 2 c i f ( 3 ) ( θ n i ) ) ,
| E n 1 | ( 1 b ) M 3 6 ( 2 b ) + ( 1 b ) 2 k = 2 n 3 k 3 b k 2 + i = 0 2 ( n i ) 3 b n i 2 c i ,
| E n 1 | 2 5 5 b + 4 b 2 b 3 3 b n 1 M 3 6 ( 1 b ) < 2 5 5 b + 4 b 2 b 3 M 3 6 ( 1 b ) .
Let f ( b ) = 5 5 b + 4 b 2 b 3 . Then
f ( b ) = 5 + 8 b 3 b 2 = ( 1 b ) ( 5 3 b ) < 0 .
The function f is decreasing on the interval [ 0 , 1 ] and has a maximum at zero, f ( 0 ) = 5 .
| E n 1 | < 5 M 3 3 ( 1 b ) < 2 M 3 1 b .

3. Numerical Solutions of Ordinary Differential Equations

The weights of the approximations (4) and (5) contain powers of the parameter b, which makes it possible to use them in constructions of approximations of the fractional derivative satisfying property (2). Both approximations can be derived from two-point approximations and are suitable for numerical solution of differential equations. In [1] we showed that, with an appropriate choice of the parameter, the numerical methods using approximation (4) attain an arbitrary order in ( 0 , 2 ] , and that their performance is comparable to standard difference schemes with respect to accuracy and computational time. Depending on the values of the parameters, the numerical solutions of initial- and boundary-value ordinary differential equations have different properties and regions of convergence [42,43,44,45,46,47]. In this section, we consider applications of (4) and the corresponding right-hand approximation to the numerical solution of initial- and boundary-value ordinary differential equations. In the following we derive a two-point approximation corresponding to approximation A n f .
A n f = 1 b h f n ( 1 b ) k = 1 n 2 b k 1 f n k 1 2 b 1 b b n 2 f 1 b n 1 1 b f 0 = f n + 1 + b 2 ( 1 b ) f n h + O ( h 2 ) .
Express the formula in the form
A n f = 1 h b ( 1 b ) f n 1 ( 1 b ) 2 b k = 2 n 2 b k 2 f n k ( 1 2 b ) b n 3 f 1 b n 2 f 0 + 1 h ( 1 b ) f n ( 1 b ) 2 f n 1 b ( 1 b ) f n 1 .
Hence
A n f = b A n 1 f + 1 h ( 1 b ) f n ( 1 b ) f n 1 .
From (11) we obtain the two-point approximation
f n = b f n 1 + 1 b h ( f n f n 1 ) + O ( h ) .
Approximation (4) follows from successive applications of (12). When b = 1 two-point approximation (12) has a second order accuracy
2 h ( f n f n 1 ) f n 1 f n = O ( h 2 ) .
From Taylor’s theorem we obtain an estimate for the error
2 ( f n f n 1 ) h f n 1 h f n = E n 2 h 3 ,
where | E n 2 | < M 3 / 3 . We consider an application of (13) to the numerical solution of first-order ordinary differential equation
y ( t ) + L y ( t ) = F ( t ) , y ( 0 ) = y 0 .
By substituting the first derivatives from the equation into (13), we obtain
2 ( y n y n 1 ) + h ( L y n 1 F n 1 ) + h ( L y n F n ) = E n 2 h 3 ,
y n ( 2 + h L ) y n 1 ( 2 h L ) = h ( F n + F n 1 ) + E n 2 h 3 .
Canceling the error term yields a second-order numerical solution of equation (14).
u n = 2 h L 2 + h L u n 1 + h ( F n + F n 1 ) 2 + h L , u 0 = y 0 .
Example 1.
Consider the following ordinary differential equation
y ( t ) + L y ( t ) = ( 1 + L ) e t , y ( 0 ) = 1 , 0 t 1 .
Equation (17) has a solution y ( t ) = e t . The experimental results for the maximum error and the order of the numerical solution (16) of equation (17) are presented in Table 1 and Table 2. The experiments are carried out using Mathematica 13 and the orders of the numerical methods are computed by formula Order h = log 2 | Error h / 2 / Error h | .
The experimental results in Table 1 and Table 2 indicate that (16) is of second order, and the error of the numerical solution is less than 10 6 when the parameter L > 10 . The error increases for decreasing values of the parameter L < 10 . The results in Table 2 show that the error of the method becomes very large for L < 50 , exceeding 10 10 for h = 10 4 . Denote by e n = y n u n the error of (16) at the point t n . From (15) and (16) the sequence of the errors { e n } n = 0 N satisfies the recursive formula
e n = 2 h L 2 + h L e n 1 + E n 2 h 3 2 + h L , e 0 = 0 .
In the following we establish the convergence of numerical solution (16) and obtain an estimate for the error.
Claim 2.
Let h | L | < 2 . Then
| e n | < M 3 h 2 6 | L | 2 h L 2 + h L n 1 , ( 1 n N ) .
Proof. 
Denote
c = 2 h L 2 + h L , d n = E n 2 h 3 2 + h L .
Formula (18) for the errors e n takes the form
e n = c e n 1 + d n .
Then
e n = c 2 e n 2 + c d n 1 + d n = c 3 e n 3 + c 2 d n 2 + c d n 1 + d n .
Applying (20) recursively n 1 times yields
e n = c n e 0 + c n 1 d 1 + + c 2 d n 2 + c d n 1 + d n , | e n | c n 1 | d 1 | + + c 2 | d n 2 | + c | d n 1 | + | d n | .
The numbers d i satisfy the estimate
d i | E i 2 | h 3 2 + h L = M 3 h 3 3 ( 2 + h L ) .
Therefore
| e n | < M 3 h 3 3 ( 2 + h L ) c n 1 + + c 2 + c + 1 = M 3 h 3 3 ( 2 + h L ) 1 c n 1 c .
Using the equality
1 c = 1 2 h L 2 + h L = ( 2 + h L ) ( 2 h L ) 2 + h L = 2 h L 2 + h L
we obtain
| e n | < M 3 h 3 3 ( 2 + h L ) · 1 c n 2 h L 2 + h L = M 3 h 2 6 L | 1 c n | ,
| e n | < M 3 h 2 6 | L | 2 h L 2 + h L n 1 .
Denote
g ( x ) = x ln 2 x + L 2 x L .
Claim 3.
Let L > 0 and x > L / 2 . Then the function g ( x ) is decreasing.
Proof. 
g ( x ) = x ln 2 x + L 2 x L = x ln ( 2 x + L ) ln ( 2 x L ) ,
g ( x ) = ln ( 2 x + L ) ln ( 2 x L ) + 2 x 2 x + L 2 x 2 x L ,
g ( x ) = 2 2 x + L 2 2 x L + 2 L ( L + 2 x ) 2 + 2 L ( 2 x L ) 2 ,
g ( x ) = 8 L 3 ( 2 x L ) 2 ( L + 2 x ) 2 > 0 .
Since g ( x ) is increasing and
lim n g ( x ) = 0 ,
it follows that g ( x ) < 0 for all x. Hence, g ( x ) is decreasing. □
Lemma 4.
Let L > 0 and L h < 2 . Then
| e n | < M 3 h 2 6 , ( 1 n N ) .
Proof. 
From Claim 2
| e n | < M 3 h 2 6 L 1 2 h L 2 + h L N = M 3 h 2 6 L 1 2 N L 2 N + L N .
The function 1 2 N L 2 N + L N = 1 e g ( N ) is decreasing and has a maximum at N = 1 .
| e n | < M 3 h 2 6 L 1 2 L 2 + L = M 3 h 2 6 L · 2 L 2 + L = M 3 h 2 3 · 1 2 + L < M 3 h 2 6 .
Lemma 5.
Let L < 0 and h | L | < 0.1 . Then
| e n | < 2 . 73 | L | 1 6 | L | M 3 h 2 , ( 1 n N ) .
Proof. 
| e n | < M 3 h 2 6 | L | 2 h L 2 + h L n 1 M 3 h 2 6 | L | 2 L / N 2 + L / N N 1 .
The function 2 N L 2 N + L N = e g ( N ) is decreasing with respect to N and
2 L / N 2 + L / N N < 2 + 0.1 2 0.1 10 L < 2 . 73 L .
Therefore
| e n | M 3 h 2 6 | L | 2 L / N 2 + L / N N 1 < 2 . 73 | L | 1 6 | L | M 3 h 2 .
Corollary 6.
Let 10 < L < 0 . Then
| e n | < 400 M 3 h 2 .
Proof. 
The function 2 . 73 | L | 1 6 | L | is increasing because its derivative is positive. Then
| e n | < 2 . 73 | L | 1 6 | L | M 3 h 2 < 2 . 73 10 1 60 M 3 h 2 < 400 M 3 h 2 .
In most practical applications, it is sufficient to compute the solution of a differential equation with an error less than 10 5 . The estimate (6) for the error of the numerical method (16) guarantees that, for h = 10 6 and max 1 t 1 | y ( t ) | < 25000 , the error of the solution is less than 10 5 for parameter values 10 < L < 0 .
We consider the case L < 10 . The results in Table 2, as well as estimate (21), show that in this case the error of the numerical solution (16) of equation (14) can become very large, exceeding 10 10 for L < 50 and h = 10 4 . We use the following approach to solve equation (14) numerically: Consider the boundary-value ODE, which is obtained from equation (14) by converting the initial condition into a boundary condition.
z ( t ) + L z ( t ) = F ( t ) , z ( 2 ) = y 0 , 0 t 2 .
Equation (23) is chosen so that its numerical solution can also serve as a numerical solution of equation (14). This is justified because the difference between the solutions of the two equations is negligible for L < 10 . Note that the boundary condition may be specified at a different point, e.g., z ( 3 ) = y 0 . In the following claim, we provide an estimate of the difference between the solutions of equations (14) and (23) on the interval [ 0 , 1 ] .
Claim 7.
Let L < 0 and t [ 0 , 1 ] . Then the difference of the solutions of equations (14) and (23) satisfies the estimate
| y ( t ) z ( t ) | < 2 M 0 e L ( 2 t )
where M 0 = max 0 t 2 | y ( t ) | .
Proof. 
The function w ( t ) = y ( t ) z ( t ) satisfies the equation
w ( t ) + L w ( t ) = 0 , w ( 2 ) = y ( 2 ) y ( 0 ) .
Therefore
w ( t ) = c e L t .
Applying the condition w ( 2 ) = y ( 2 ) y ( 0 ) :
w ( 2 ) = c e 2 L = y ( 2 ) y ( 0 ) , c = ( y ( 2 ) y ( 0 ) ) e 2 L .
Substituting back:
w ( t ) = ( y ( 2 ) y ( 0 ) ) e 2 L · e L t = ( y ( 2 ) y ( 0 ) ) e L ( 2 t ) ,
| w ( t ) | ( | y ( 2 ) | + | y ( 0 ) | ) e L ( 2 t ) 2 M 0 e L ( 2 t ) .
The numerical solutions of the boundary value ordinary differential equation (23) exhibit high accuracy for negative values of the parameter L. In Claim 7, it was demonstrated that for negative values of the parameter, L < 10 the difference between the solutions of equations (14) and (23) is insignificant. These properties enable us to compute a numerical solution of equation (23) on the interval [ 0 , 2 ] and employ this solution for equation (14) on the interval [ 0 , 1 ] . In the following we compute the numerical solution of boundary value problem (23) using the right approximation of (11). Let h = 2 / L . The right-hand approximation corresponding to (11) is obtained by the substitution g ( x ) = f ( 2 t n x ) .
1 b h g n + ( 1 b ) k = 1 N n 2 b k 1 g n + k + 1 2 b 1 b b N n 2 g N 1 + b N n 1 1 b g N = g n + O ( h ) .
and has a related two-point approximation
1 b h ( g n + 1 g n ) g n + b g n + 1 = h 1 + b 2 g ( θ ) .
When b = 1 and b = 1 h approximation (24) has a second order accuracy. We use the two-point approximation (24) to obtain a numerical solution of equation (23).
( 1 b ) ( z n + 1 z n ) h z n + b h z n + 1 = h 2 1 + b 2 f ( θ ) ,
( 1 b ) ( z n + 1 z n ) h ( F n L z n ) + b h ( F n + 1 L z n + 1 ) = h 2 1 + b 2 f ( θ ) .
The numerical solution ( NS v ) satisfies
( 1 b ) v n + 1 ( 1 b ) v n h F n + L h v n + b h F n + 1 b h L v n + 1 = 0 ,
v n = ( 1 b b h L ) v n + 1 h F n + b h F n + 1 1 b L h , v N = y 0 .
The numerical solution NS v converges when L < 0 , since the modulus of the coefficient in front of v n + 1 is less than one
1 b b h L 1 b L h < 1 .
Denote by NS u the first half of the values of NS v , which are used as a numerical solution of equation (14) on the interval [ 0 , 1 ] . The numerical solution NS u consists of { v i } i = 0 N / 2 and has accuracy O ( ϵ + h ) , where | b | < 1 and ϵ < 2 M 0 e L . The accuracy of NS u is O ( ϵ + h 2 ) when the parameter b = 1 + h .
Example 2.
Consider the following boundary value ODE
z ( t ) + L z ( t ) = ( 1 + L ) e t , z ( 2 ) = 1 .
The numerical results for the error and order of numerical solution NS u of equation (17) and values of the parameter L = 10 , L = 50 and L = 100 are presented in Table 3.
The experimental results in Table 3 show that the error of the numerical method NS u is less than 10 5 . The results in Table 3 represent a significant improvement over those in Table 3 for the numerical method (16). The graphs of the exact solution of equation (17) on the interval [ 0 , 2 ] and numerical solution NS u are given in Figure 3.
Figure 1. Graphs of the exact solution of equation (17) and of the numerical solution NS v for L = 10 and h = 0.02 .
Figure 1. Graphs of the exact solution of equation (17) and of the numerical solution NS v for L = 10 and h = 0.02 .
Preprints 181507 g001
Example 3.
Consider the ordinary differential equation
y ( t ) ( 20 + t 2 ) y ( t ) = F ( t ) , y ( 0 ) = 1
for t [ 0 , 1 ] , and the corresponding boundary value ordinary differential equation
z ( t ) ( 20 + t 2 ) z ( t ) = F ( t ) , z ( 2 ) = 1 ,
where
F ( t ) = 3 cos 3 t sin t ( 20 + t 2 ) ( cos t + sin 3 t ) .
Equation (26) has a solution y ( t ) = cos t + sin 3 t . The numerical solution of the initial value ordinary differential equation
y ( t ) + G ( t ) y ( t ) = F ( t ) , y ( 0 ) = y 0
which uses 2-point approximation (24) is computed as
u n = h F n b h F n 1 + 1 b + b h G n 1 u n 1 1 b + h G n , u 0 = y 0 .
The numerical solution of the boundary value ordinary differential equation
z ( t ) + g ( t ) z ( t ) = F ( t ) , z ( 2 ) = y 0 ,
which uses two-point approximation (24) is computed as
v n 1 = b h F n 1 h F n + 1 b + h G n v n 1 b + b h g n 1 , v N = y 0 .
Denote by NS u ¯ the numerical solution (28) of equation (26), and by NS v ¯ the first half of the values { v i } i = 0 N / 2 of (29), regarded as a numerical solution of equation (26). The second column of Table 4 contains the numerical results for the error and order of numerical solution NS u ¯ . The third and fourth columns contain the results for the error and order of numerical solution NS v ¯ .
The graphs of the solution of equation (26) and numerical solution (29) of boundary value ordinary differential equation (27) are given on Figure 2. While the numerical results in the second column of Table 4 show that the numerical solution NS u ¯ is of first order, its error is quite large, making this method impractical for real applications. The applied approach for computing the numerical solutions of the ordinary differential equations (17) and (26), which uses the numerical solutions of the boundary value problems (25) and (27), allows one to obtain solutions with an error smaller than 10 5 , which is sufficient for real-life problems.
Shifted approximations are employed for the solution of nonlinear ordinary differential equations. In order to derive the shifted approximation of (11), we make use of the two-point approximation (24).
( 1 c ) ( f n f n 1 ) + c h f n h f n 1 = O ( h 2 ) ,
f n + c h f n 1 c = f n 1 + h f n 1 1 c + O ( h 2 ) .
When c = ( 1 + b ) / ( 3 b ) we obtain
f n 1 + b 2 ( 1 b ) h f n = f n 1 + 1 3 b 2 ( 1 b ) h f n 1 + O ( h 2 )
From (11) and (30) we obtain the shifted approximation of the first derivative
1 h ( 1 b ) f n ( 1 b ) 2 k = 1 n 2 b k 1 f n k ( 1 2 b ) b n 2 f 1 b n 1 f 0 = f n 1 + 1 3 b 2 ( 1 b ) f n 1 h + O ( h 2 ) .
Consider the nonlinear ordinary differential equation
y ( t ) + g ( t ) y ( t ) = y 2 ( t ) + F ( t ) , y ( 0 ) = y 0 .
By approximating the first derivative at t n 1 with (31) we obtain
1 h ( 1 b ) y n ( 1 b ) 2 k = 1 n 2 b k 1 y n k ( 1 2 b ) b n 2 y 1 b n 1 y 0 + g n 1 y n 1 = y n 1 2 + F n 1 + O ( h 2 ) .
The numerical solution of equation (32) satisfies
u n = h 1 b u n 1 2 g n 1 u n 1 + F n 1 + ( 1 b ) k = 1 n 2 b k 1 u n k + 1 2 b 1 b b n 2 u 1 + b n 1 1 b u 0
and has initial conditions
u 0 = y 0 , u 1 = y 0 + h y 0 2 + F 0 g 0 y 0 .
The numerical solution (33) is computed with O ( n 2 ) operations. The number of computations can be reduced to O ( n ) in the following way [1]: Let
S n = ( 1 b ) k = 1 n 2 b k 1 u n k + 1 2 b 1 b b n 2 u 1 + b n 1 1 b u 0 .
The sequence S n is computed recursively as
S n = ( 1 b ) u n 1 + b S n 1 .
The sequence S n and the numerical solution (33) are computed with O ( n ) operations by means of the following pseudocode.
Initialization: u 0 = y 0 , u 1 = y 0 + h y 0 2 + F 0 g 0 y 0 ,
S 2 = b 1 b u 0 + 1 2 b 1 b u 1 , u 2 = h 1 b u 1 2 g 1 u 1 + F 1 + S 2 .
Loop: for n from 3 to N do
S n = ( 1 b ) u n 1 + b S n 1 ,
u n = h 1 b u n 1 2 g n 1 u n 1 + F n 1 + S n .
The computational time of the numerical method (33) is comparable to that of standard difference methods. The numerical solution (33) has first-order accuracy, and second-order accuracy when b = 1 3 . When the parameter b = 1 h p , the numerical solution (33) has an accuracy of order 1 p .
Example 4.
Consider the following nonlinear ordinary differential equation
y ( t ) + ( 20 + t 2 ) y ( t ) = y 2 ( t ) + ( 21 + t 2 ) e t e 2 t , y ( 0 ) = 1 , 0 t 1 .
Equation (34) has the solution y ( t ) = e t . The experimental results for the error and the order of the numerical solution (33) of equation (34) are presented in Table 5.

4. Second-Order Approximations of the Fractional Derivative

In this section, we derive the second-order expansion formula for the L1 approximation. Second-order approximations of the fractional derivative, whose weights satisfy properties (2), are constructed using the expansion formula and the approximation (11) of the second derivative.

4.1. Second Order Expansion Formula

In the next claim, we express the L1 approximation in terms of the values of the second derivative.
Claim 8.
Let f C 4 [ 0 , x n ] . Then
L n f = h 2 α Γ ( 2 α ) k = 1 n 1 k 1 α f n k + f 1 f 0 n 1 α Γ ( 2 α ) h α + E n 3 h 2 ,
where
| E n 3 | < M 4 x n 2 α 12 Γ ( 3 α ) .
Proof. 
By rearranging the terms, the formula of the L1 approximation can be written in the form
L n f = h α Γ ( 2 α ) k = 1 n 1 k 1 α ( f n k + 1 2 f n k + f n k 1 ) + n 1 α ( f 1 f 0 ) Γ ( 2 α ) h α .
The central difference approximation of the second derivative is given by
f m + 1 2 f m + f m 1 = h 2 f m + E m 4 h 4 ,
where | E m 4 | M 4 / 12 . Then
L n f = h α Γ ( 2 α ) k = 1 n 1 k 1 α h 2 f n k + E n k 4 h 4 + n 1 α ( f 1 f 0 ) Γ ( 2 α ) h α ,
L n f = h 2 α Γ ( 2 α ) k = 1 n 1 k 1 α f n k + h 4 α Γ ( 2 α ) k = 1 n 1 E n k 4 k 1 α + f 1 f 0 n 1 α Γ ( 2 α ) h α .
From the formula for the sum of zeta sequence
k = 1 n 1 k 1 α = ζ ( α 1 ) + n 2 α 2 α k = 0 2 α k B k n k ,
k = 1 n 1 k 1 α = n 2 α 2 α n 1 α 2 + ζ ( α 1 ) + 1 α 12 n α + O 1 n 2 + a .
Therefore
k = 1 n 1 k 1 α < n 2 α 2 α .
The error of (35) satisfies
E n 3 h 2 = h 4 α Γ ( 2 α ) k = 1 n 1 E n k 4 k 1 α ,
| E n 3 | h 2 α Γ ( 2 α ) k = 1 n 1 | E n k 4 | k 1 α < M 4 h 2 α 12 Γ ( 2 α ) k = 1 n 1 k 1 α ,
| E n 3 | < M 4 h 2 α n 2 α 12 Γ ( 3 α ) = M 4 x n 2 α 12 Γ ( 3 α ) .
Let G ( t ) = ( x t ) β ( g ( t ) g ( x ) ) , where g C 2 [ 0 , x ] and x = x n . Denote
M ¯ i = max 0 t x g ( i ) ( t ) .
The trapezoidal rule of the function G on the interval [ 0 , x ] is defined as:
T n G = h G ( 0 ) 2 + k = 1 n 1 G ( k h ) + G ( x ) 2 .
Claim 9.
Let 0 < β < 1 . Then
0 x G ( x ) d x = T n G + E n 4 h 2 ,
where
| E n | < M ¯ 1 x β 3 + M ¯ 2 x β + 1 12 ( β + 1 ) .
Proof. 
The function G has first and second derivatives
G ( t ) = β ( x t ) β 1 g ( x ) g ( t ) + ( x t ) β g ( t ) ,
G ( t ) = ( 1 β ) β ( x t ) β 2 g ( x ) g ( t ) 2 β ( x t ) β 1 g ( t ) + ( x t ) β g ( t ) .
From the Mean Value Theorem
G ( t ) = ( 1 β ) β ( x t ) β 1 g ( θ t ) 2 β ( x t ) β 1 g ( t ) + ( x t ) β g ( t ) ,
where θ t ( t , x ) . Hence
| G ( t ) | ( 1 β ) β ( x t ) β 1 | g ( θ t ) | + 2 β ( x t ) β 1 | g ( t ) | + ( x t ) β | g ( t ) | ,
| G ( t ) | ( 3 β ) β M ¯ 1 ( x t ) β 1 + M ¯ 2 ( x t ) β .
The error of the trapezoidal rule satisfies
E n 4 = 1 12 G ( 0 ) G ( x ) + 1 2 k = 0 n 1 k h ( k + 1 ) h B 2 t h k G ( t ) d t ,
where B 2 ( t ) is the second Bernoulli polynomial
B 2 ( t ) = 1 6 t + t 2 = 1 6 t ( 1 t ) .
The polynomial B 2 satisfies | B 2 ( t ) | 1 / 6 for t [ 0 , 1 ] . Therefore
| E n 4 | = G ( 0 ) 12 + 1 2 k = 0 n 1 k h ( k + 1 ) h B 2 t h k G ( t ) d t < | G ( 0 ) | 12 + 1 12 0 x | G ( t ) | d t
because G ( x ) = 0 . The first derivative G has a value at zero
G ( 0 ) = β x β 1 g ( x ) g ( 0 ) + x b g ( 0 ) = β x β g ( φ t ) + x β g ( 0 ) ,
where φ t ( 0 , x ) , which implies that
| G ( 0 ) | ( β + 1 ) x β M ¯ 1 .
The coefficient E n 4 of the trapezoidal approximation error satisfies the estimate
| E n 4 | < ( β + 1 ) x β M ¯ 1 12 + 1 12 ( 3 β ) β M ¯ 1 0 x ( x t ) β 1 d t + M ¯ 2 0 x ( x t ) β d t ,
| E n 4 | < ( β + 1 ) x β M ¯ 1 12 + 1 12 ( 3 β ) x β M ¯ 1 + M ¯ 2 x β + 1 β + 1 = M ¯ 1 x β 3 + M ¯ 2 x β + 1 12 ( β + 1 ) .
Let
g ( t ) = f ( x ) f ( t ) x t .
Claim 10.
Let f C 3 [ 0 , x ] . Then
M ¯ 1 M 2 2 , M ¯ 2 M 3 3 .
Proof. 
From Taylor’s theorem
g ( t ) = f ( x ) f ( t ) f ( t ) ( x t ) ( x t ) 2 = f ( θ t ) 2 ,
g ( t ) = 2 f ( x ) 2 f ( t ) 2 ( x t ) f ( t ) ( x t ) 2 f ( t ) ( x t ) 3 = f ( φ t ) 3 ,
where t < θ t , φ t < x . Therefore
| g ( t ) | | f ( θ t ) | 2 M 2 2 , | g ( t ) | | f ( φ t ) | 3 M 3 3 .
By integrating by parts the formula in the definition of Caputo derivative we find
f ( α ) ( x ) = 1 Γ ( 1 α ) 0 x f ( t ) ( x t ) α d t = 1 Γ ( 1 α ) 0 x f ( t ) d ( x t ) 1 α 1 α = f ( t ) ( x t ) 1 α Γ ( 2 α ) 0 x + 1 Γ ( 2 α ) 0 x ( x t ) 1 α d f ( t ) ,
f ( α ) ( x ) = 1 Γ ( 2 α ) 0 x ( x t ) 1 α f ( t ) d t + f ( 0 ) x 1 α Γ ( 2 α ) .
In the following theorem, we obtain the second-order expansion formula of the L1 approximation and derive an error estimate.
Theorem 11.
Let f C 5 [ 0 , x n ] . Then
L n f = f n ( α ) + s n f n h 2 α Γ ( 2 α ) + C n h 2 ,
where
| C n | < 36 M 3 x n 1 α + 45 M 4 x n 2 α + 2 M 5 x n 3 α 36 Γ ( 4 α ) .
Proof. 
By adding and subtracting f n in (37) we get
f n ( α ) = 1 Γ ( 2 α ) 0 x n ( x n t ) 1 α f ( t ) f n d t + f n Γ ( 2 α ) 0 x n ( x n t ) 1 α d t + x n 1 α f 0 Γ ( 2 α ) ,
f n ( α ) = 1 Γ ( 2 α ) 0 x n ( x n t ) 1 α f ( t ) f n d t + x n 2 α f n Γ ( 3 α ) + x 1 α f 0 Γ ( 2 α ) .
From Claim 9 and Claim 10 the trapezoidal rule for the function
( x n t ) 1 α f ( t ) f n = ( x n t ) 2 α g ( t ) , g ( t ) = f ( t ) f n t x n
has a second order accuracy
f n ( α ) = x n 2 α f n Γ ( 3 α ) + x n 1 α f 0 Γ ( 2 α ) + h 2 α Γ ( 2 α ) k = 1 n 1 k 1 α f n k f n + h 2 α n 1 α ( f 0 f n ) 2 Γ ( 2 α ) + E n 5 h 2 ,
where
| E n 5 | < 1 Γ ( 2 α ) M ¯ 3 x n 2 α 3 + M ¯ 4 x n 3 α 12 ( 3 α ) < 1 Γ ( 2 α ) M 4 x n 2 α 6 + M 5 x n 3 α 36 ( 3 α ) .
From Claim 8
f n ( α ) = L n f n 1 α ( f 1 f 0 ) Γ ( 2 α ) h α + x n 2 α f n Γ ( 3 α ) + x n 1 α f 0 Γ ( 2 α ) + h 2 α n 1 α ( f 0 f n ) 2 Γ ( 2 α ) h 2 α f n Γ ( 2 α ) k = 1 n 1 k 1 α + E n 6 h 2 ,
where E n 6 = E n 5 + E n 3 ,
| E n 6 | < | E n 5 | + | E n 3 | < 1 Γ ( 2 α ) M 4 x n 2 α 6 + M 5 x n 3 α 36 ( 3 α ) + M 4 x n 2 α 12 Γ ( 3 α ) = x n 2 α Γ ( 2 α ) M 4 6 + M 5 x n 36 ( 3 α ) + M 4 12 ( 2 α ) = x n 2 α 36 Γ ( 4 α ) 3 ( 3 α ) ( 5 2 α ) M 4 + ( 2 α ) M 5 x n ,
| E n 6 | < 45 M 4 x n 2 α + 2 M 5 x n 3 α 36 Γ ( 4 α ) .
Therefore
L n f = f ( α ) ( x ) + n 1 α ( f 1 f 0 h f 0 h 2 f 0 / 2 ) Γ ( 2 α ) h α h 2 α f n Γ ( 2 α ) n 2 α 2 α n 1 α 2 k = 1 n 1 k 1 α + E n 6 h 2 .
From Taylor’s theorem
( f 1 f 0 h f 0 h 2 f 0 / 2 ) n 1 α h α = E n 7 h 2 ,
where
| E n 7 | n 1 α h 1 α M 3 6 = M 3 x n 1 α 6
L1 approximation has a second-order expansion formula
L n f = f n ( α ) + s n f n h 2 α Γ ( 2 α ) + C n h 2 ,
where
s n = k = 1 n 1 k 1 α + n 1 α 2 n 2 α 2 α
and
| C n | < | E n 6 | + | E n 7 | / Γ ( 2 α ) < M 3 x n 1 α 6 Γ ( 2 α ) + 45 M 4 x n 2 α + 2 M 5 x n 3 α 36 Γ ( 4 α ) < 6 ( 2 α ) ( 3 α ) M 3 x n 1 α + 45 M 4 x n 2 α + 2 M 5 x n 3 α 36 Γ ( 4 α ) ,
| C n | < 36 M 3 x n 1 α + 45 M 4 x n 2 α + 2 M 5 x n 3 α 36 Γ ( 4 α ) .
Corollary 12.
Let f C 5 [ 0 , x n ] . Then
L n f = f n ( α ) + ζ ( α 1 ) f n h 2 α Γ ( 2 α ) + B n h 2 α n α + C n h 2 ,
where
| B n | < M 2 12 Γ ( 1 α ) , | C n | < 36 M 3 x n 1 α + 45 M 4 x n 2 α + 2 M 5 x n 3 α 36 Γ ( 4 α ) .
Proof. 
From (36) the numbers s n converge to ζ ( α 1 ) and
s n = ζ ( α 1 ) + 1 α 12 n α ( 1 + α ) ( 1 α ) α 720 n 2 + α + O 1 n 3 + a ,
0 < s n ζ ( α 1 ) < 1 α 12 n α .
Therefore the coefficient B n satisfies
B n = n α ( s n ζ ( α 1 ) ) Γ ( 2 α ) f n ,
| B n | = n α ( s n ζ ( a 1 ) ) | f n | < M 2 ( 1 α ) 12 Γ ( 2 α ) = M 2 12 Γ ( 1 α ) .
By approximating the second derivative f n ( α ) in the expansion formula (38) of the L1 approximation with B n 1 f we obtain a second order approximation of the fractional derivative
1 Γ ( 2 α ) h α k = 0 n γ k ( α ) f n k = f n ( α ) + O ( h 2 ) ,
where
γ 0 ( α ) = 1 s n ( 1 b ) , γ 1 ( α ) = 2 1 α 2 + s n ( 1 b ) ( 2 b ) , γ k ( α ) = ( k 1 ) 1 α 2 k 1 α + ( k + 1 ) 1 α s n ( 1 b ) 3 b k 2 , for 2 k n 4 , γ n 3 ( α ) = ( n 4 ) 1 α 2 ( n 3 ) 1 α + ( n 2 ) 1 α s n ( 1 3 b + 3 b 2 ) b n 5 , γ n 2 ( α ) = ( n 3 ) 1 α 2 ( n 2 ) 1 α + ( n 1 ) 1 α s n ( 1 3 b ) b n 4 , γ n 1 ( α ) = ( n 2 ) 1 α 2 ( n 1 ) 1 α + n 1 α s n b n 3 , γ n ( α ) = ( n 1 ) 1 α n 1 α .
By substituting s n with the value of the zeta function ζ ( α 1 ) we obtain a second order asymptotic approximation of the fractional derivative
1 Γ ( 2 α ) h α k = 0 n ω k ( α ) f n k = f n ( α ) + B n h 2 α n α + O ( h 2 ) ,
where
ω 0 ( α ) = 1 ζ ( α 1 ) ( 1 b ) , ω 1 ( α ) = 2 1 α 2 + ζ ( α 1 ) ( 1 b ) ( 2 b ) , ω k ( α ) = ( k 1 ) 1 α 2 k 1 α + ( k + 1 ) 1 α ζ ( α 1 ) ( 1 b ) 3 b k 2 , for 2 k n 4 , ω n 3 ( α ) = ( n 4 ) 1 α 2 ( n 3 ) 1 α + ( n 2 ) 1 α ζ ( α 1 ) ( 1 3 b + 3 b 2 ) b n 5 , ω n 2 ( α ) = ( n 3 ) 1 α 2 ( n 2 ) 1 α + ( n 1 ) 1 α ζ ( α 1 ) ( 1 3 b ) b n 4 , ω n 1 ( α ) = ( n 2 ) 1 α 2 ( n 1 ) 1 α + n 1 α ζ ( α 1 ) b n 3 , ω n ( α ) = ( n 1 ) 1 α n 1 α .
The errors of approximations (39) and (40) satisfy the following estimates.
Corollary 13.
Let b = 1 α + α 2 . Then
1 Γ ( 2 α ) h α k = 0 n γ k ( α ) f n k = f n ( α ) + A n h 2 ,
1 Γ ( 2 α ) h α k = 0 n ω k ( α ) f n k = f n ( α ) + B n h 2 α n α + A n h 2 ,
where | B n | < M 2 12 Γ ( 1 α ) and
| A n | < x n 1 α ( 3 α ) ( 2 α ) + 2 | ζ ( α 1 ) | ( 1 α ) α M 3 Γ ( 2 α ) + 45 M 4 x n 2 α + 2 M 5 x n 3 α 36 Γ ( 4 α ) .
Proof. 
The zeta function is decreasing on [ 1 , 0 ] and takes values between ζ ( 1 ) = 1 / 12 and ζ ( 0 ) = 1 / 2 . Therefore
ζ ( α 1 ) < s n < ζ ( α 1 ) + 1 α 12 n α < 0 .
The estimates for A n and B n follow from Claim 1, Theorem 11 and Corollary 12. □

4.2. Properties of the Approximations

Now we prove that, when the parameter b = 1 α + α 2 , the weights of of approximations (39) and (40) satisfy properties (2). The values s n and ζ ( α 1 ) are negative, while the weights γ 0 ( α ) and ω 0 ( α ) are positive; γ 1 ( α ) and ω 1 ( α ) are negative. In the following we show that the remaining weights ω n ( α ) and γ n ( α ) are negative. The proof relies on the inequalities from the claims below.
Claim 14.
Let 0 < b < 1 . Then
x 2 b x 4 e 2 ( ln b ) 2 .
Proof. 
Let f ( x ) = x 2 b x . Then
f ( x ) = 2 x b x + x 2 b x ln b = x ( 2 + x ln b ) b x .
The function f has a maximum when x = 2 / ln b .
f 2 ln b = 4 e 2 ( ln b ) 2 .
Claim 15.
Let 0 < x < 1 / 3 . Then
ln ( 1 + x ) > 2 x 2 + x .
Proof. 
g ( x ) = ln ( 1 + x ) 2 x 2 + x ,
g ( x ) = x 2 ( 1 + x ) ( 2 + x ) 2 > 0 .
The function g is positive because it is increasing and g ( 0 ) = 0 . □
Lemma 16.
Let b = 1 α + α 2 . Then
ω n ( α ) < 0 , ( 1 < n < N 3 ) .
Proof. 
When n 2 , approximation (40) has weights
ω n ( α ) = ( n + 1 ) 1 α 2 n 1 α + ( n 1 ) 1 α ζ ( α 1 ) α 3 ( 1 α ) 3 b n 2 .
The zeta function is decreasing on ( 1 , 0 ) and ζ ( α 1 ) > ζ ( 0 ) = 0.5 . It is sufficient to prove that
| ( n + 1 ) 1 α 2 n 1 α + ( n 1 ) 1 α | > 0.5 α 3 ( 1 α ) 3 b n 2 .
Let f ( x ) = x 1 α . From Mean Value Theorem
( n + 1 ) 1 α 2 n 1 α + ( n 1 ) 1 α = f ( θ ) = α ( 1 α ) θ 1 + α
for some θ ( n 1 , n + 1 ) . Therefore
| ( n + 1 ) 1 α 2 n 1 α + ( n 1 ) 1 α | > α ( 1 α ) ( n + 1 ) 1 + α > α ( 1 α ) ( n + 1 ) 2 .
Inequality (41) follows from
α ( 1 a ) ( n + 1 ) 2 > 0.5 α 3 ( 1 α ) 3 b n 2 , 2 α 2 ( 1 α ) 2 > ( n + 1 ) 2 b n 2 ,
( n + 1 ) 2 b n + 1 < 2 b 3 ( 1 b ) 2 .
From Claim 14
( n + 1 ) 2 b n + 1 < 4 e 2 ( ln b ) 2 < 2 b 3 ( 1 b ) 2 .
It is sufficient to prove that
( ln b ) 2 > ( 1 b ) 2 2 b 3 .
Substitute b = 1 1 + r .
ln 2 ( 1 + r ) > r 2 ( 1 + r ) 2 .
When α ( 0 , 1 ) , the parameter b 3 4 , 1 , because b = 1 α ( 1 α ) . Then r = 1 / b 1 and r 0 , 1 3 . From Claim 15
ln 2 ( 1 + r ) > 4 r 2 ( 2 + r ) 2 > r 2 ( 1 + r ) 2 ,
8 > ( 1 + r ) ( 2 + r ) 2 .
The function g ( r ) = ( 1 + r ) ( 2 + r ) 2 is increasing, because
g ( r ) = ( 2 + r ) ( 4 + 3 r ) > 0 .
The function g has a maximum at r = 1 / 3 .
g ( r ) g 1 / 3 = 4 3 · 49 9 = 7.259 < 8 .
From the properties of the L1-approximation and the constructions of (39) and (40), their weights satisfy n = 0 N γ n ( α ) = n = 0 N ω n ( α ) = 0 . Therefore, approximation (40) satisfies properties (2). The weights of approximation (39) also satisfy the properties in (2), since ζ ( α 1 ) < s n < 0 . In the following claim, we establish a lower bound for the last weight of both approximations.
Claim 17.
| γ N ( α ) | = | ω N ( α ) | > 1 α N α .
Proof. 
From the binomial formula
γ N ( α ) = ω N ( α ) = ( N 1 ) 1 α N 1 α = k = 1 ( 1 ) k 1 α k 1 N k 1 + α .
The values of ( 1 ) k 1 α k are negative. Hence
γ N ( α ) = ω N ( α ) < 1 α N α .

4.3. Shifted Approximations for the Fractional Derivative

Now we derive shifted approximations of the fractional derivative on the first two-point and three-point stencils of the uniform mesh. These shifted approximations are used to specify the initial conditions in the numerical solutions of fractional differential equations that employ approximations (39) and (40) of the fractional derivative. From Taylor’s theorem
f ( t ) = f 0 + t f 0 + t 2 2 f 0 + O ( t 3 ) .
By substituting the first derivative in the definition of the Caputo fractional derivative (1) with the second Taylor polynomial, we obtain
f ( α ) ( x ) = f 0 D α x + f 0 2 D α x 2 + f 0 6 D α x 3 + O x 4 α ,
f ( α ) ( x ) = Γ ( 2 ) x 1 α Γ ( 2 α ) f 0 + Γ ( 3 ) x 2 α Γ ( 3 α ) f 0 2 + Γ ( 4 ) x 3 α Γ ( 4 α ) f 0 6 + O x 4 α ,
f ( α ) ( x ) = x 1 α Γ ( 2 α ) f 0 + x f 0 2 α + x 2 f 0 ( 2 α ) ( 3 α ) + O x 4 α .
Substitute x = r h .
f ( α ) ( r h ) = ( r h ) 1 α Γ ( 2 α ) f 0 + r h f 0 2 α + r 2 h 2 f 0 ( 2 α ) ( 3 α ) + O h 4 α .
Now we obtain a shifted approximation of the fractional derivative on the two-point stencil 0 , h from the approximation
f ( α ) ( r h ) = ( r h ) 1 α Γ ( 2 α ) f 0 + r h 2 α f 0 + E n 8 ,
where | E n 8 | < M 3 ( r h ) 3 α / Γ ( 4 α ) . Let
F 1 ( h ) = c 0 f 0 + c 1 f 1 f 0 r h 2 α f 0 .
The function F 1 has a Taylor expansion of order two at the origin; that is,
F 1 ( h ) = ( c 0 + c 1 ) f 0 + c 1 h 1 f 0 + c 1 h 2 2 b h 2 α f 0 + O h 2 .
By setting the coefficients equal to zero, we obtain the system of equations
c 0 + c 1 = 0 , c 1 h 1 = 0 , c 1 h 2 2 r h 2 α = 0 .
The system of equations has a solution
c 1 = 1 h , c 0 = 1 h , r = 2 α 2 = 1 α 2 .
From Taylor’s theorem and the values of the coefficients given above, we obtain
F 1 ( h ) = E n 9 h 2 ,
where | E n 9 | M 3 / 6 . Therefore
f 1 α / 2 ( α ) = 1 α 2 1 α Γ ( 2 α ) h α f 1 f 0 + E n 10 h 3 α ,
where
E n 10 < r 3 α M 3 Γ ( 4 α ) + r 1 α M 3 6 Γ ( 2 α ) < 2 M 3 Γ ( 4 α ) .
A shifted approximation on the three-point stencil 0 , h , 2 h is obtained from (42) for r = 1 .
f ( α ) ( h ) = h 1 α Γ ( 2 α ) f 0 + h 2 α f 0 + h 2 f 0 ( 2 α ) ( 3 α ) + E n 11 h 4 α ,
where | E n 11 | < M 4 / Γ ( 5 α ) . Let
F 2 ( h ) = 1 h c 0 f ( 0 ) + c 1 f ( h ) + c 2 f ( 2 h ) f ( 0 ) h 2 α f ( 0 ) h 2 f 0 ( 2 α ) ( 3 α ) .
The function F 1 has a Taylor expansion of order two at the origin; that is,
F 2 ( h ) = f 0 h ( c 0 + c 1 + c 2 ) + f 0 ( c 1 + 2 c 2 1 ) + 1 2 c 1 + 2 c 2 1 2 α f 0 h + O h 2 .
By setting the coefficients equal to zero, we obtain the system of equations
c 0 + c 1 + c 2 = 0 , c 1 + 2 c 2 = 1 , c 1 2 + 2 c 2 = 1 2 α ,
which has a solution
c 0 = 3 α 4 2 ( 2 α ) , c 1 = 2 ( 1 α ) 2 α = 4 ( 1 α ) 2 ( 2 α ) , c 2 = α 2 ( 2 α ) .
From Taylor’s theorem and the values of the coefficients given above, we obtain
F 2 ( h ) = E n 12 h 2 ,
where
| E n 12 | < α M 3 3 ( 3 α ) .
Hence
f ( α ) ( h ) = h α 2 Γ ( 3 α ) ( 3 α 4 ) f ( 0 ) + 4 ( 1 α ) f ( h ) + α f ( 2 h ) + E n 13 h 3 α ,
where
| E n 13 | < α M 3 3 ( 3 α ) Γ ( 2 α ) + M 4 h Γ ( 5 α ) < 8 α M 3 + M 4 3 Γ ( 5 α ) .

5. Numerical Solutions of Fractional Differential Equations

Difference schemes are the main approach for the numerical solution of ordinary and partial fractional differential equations [52,53,54,55,56,57,58]. In paper [1], we construct difference schemes for the two-term ordinary fractional differential equation and the fractional subdiffusion equation, which use approximations of the fractional derivative of order 2 α , obtained in a manner similar to the construction of approximations (6) and (8). In this section, we study the difference schemes that use approximations (6) and (8). The convergence and order of the difference schemes based on the second-order asymptotic approximation (8) are proved. Consider the two-term ordinary fractional differential equation
y ( α ) ( t ) + L y ( t ) = F ( t ) , y ( 0 ) = y 0 .
Suppose that
1 Γ ( 2 α ) h α k = 0 n λ k ( α ) f n k = f n ( α ) + E n λ
is an approximation of the fractional derivative that has an error term E n λ . By substituting the fractional derivative y n in equation (45) with (46), we obtain
1 Γ ( 2 α ) h α k = 0 n λ k ( α ) y n k + L y n = F n + E n λ ,
( λ 0 ( α ) + L Γ ( 2 α ) h α ) y n = Γ ( 2 α ) h α F n k = 1 n λ k ( α ) y n k + Γ ( 2 α ) E n λ h α .
The numerical solution of equation (45) obtained using approximation (46) is computed as
u m = 1 λ 0 ( α ) + L Γ ( 2 α ) h α Γ ( 2 α ) h α F m k = 1 m λ k ( α ) u m k .
The initial values of u 1 , u 2 , u 3 and u 4 are computed using the L1 approximation, where λ k ( α ) = σ k ( α ) for 1 n 4 . Denote by N S γ the numerical solution (47) of equation (45) that uses approximation (6), where λ k ( α ) = γ k ( α ) , and by N S ω the numerical solution that uses approximation (8), where λ k ( α ) = ω k ( α ) .
Example 5.
Consider the following boundary value OFDE
y ( α ) ( t ) + L y ( t ) = t 1 α E 1 , 2 α ( t ) + L e t , y ( 0 ) = 1 .
Equation (48) has a solution y ( t ) = e t . The numerical results for the error and order of numerical solutions N S γ and N S ω on the interval [ 0 , 1 ] are given in Table 6 and Table 7. The error of numerical solution N S γ is smaller than the error of N S ω because approximation (6) has a smaller truncation error than (8). The computational time of N S γ is longer that that of N S ω because on every iteration the weights of approximation (6) are recomputed.
In the following, we prove the convergence of the numerical solution N S ω and obtain an estimate for the error. Denote by e n = y n u n the error of N S ω at the point t n . The errors e 1 , e 2 , e 3 and e 4 are computed as e 0 = 0 and
e n = 1 1 + L Γ ( 2 α ) h α Γ ( 2 α ) E n h 2 k = 1 n 1 σ k ( α ) e n k , ( 1 n 4 ) ,
where E n h 2 α is the truncation error of the L1 approximation [48]. Therefore, the numerical solution N S ω has second-order accuracy for the first four iterations. Let
C 4 = 1 h 2 max { | e 1 | , | e 2 | , | e 3 | , | e 4 | } .
The sequence of the errors of numerical solution N S ω , for n 4 satisfies
e n = 1 ω 0 ( α ) + L Γ ( 2 α ) h α Γ ( 2 α ) A n h 2 + α + Γ ( 2 α ) B n n α h 2 k = 1 n 1 ω k ( α ) e n k .
Theorem 18.
Suppose that L > 1 Γ ( 1 α ) . Then
| e n | C h 2 ,
where n = 1 , , N and
C = max C 4 , M 2 12 , 6 M 2 + 252 M 3 + 45 M 4 + 2 M 5 72 ( 1 α + L Γ ( 2 a ) ) .
Proof. 
We prove the statement by induction on n. The estimate holds for n 4 . Assume that (49) holds for all k = 1 , 2 , , m 1 .
| e m | 1 ω 0 ( α ) + L Γ ( 2 α ) h α k = 1 m 1 ω k ( α ) | e m k | + Γ ( 2 α ) | B m | h 2 m α + Γ ( 2 α ) | A m | h 2 + α .
Applying the induction assumption
| e m | 1 ω 0 ( α ) + L Γ ( 2 α ) h α C h 2 ( ω 0 ( α ) | ω m ( α ) | ) + Γ ( 2 α ) | B m | h 2 m α + Γ ( 2 α ) | A m | h 2 + α .
From Corollary 13 and Claim 17
| e m | 1 ω 0 ( α ) + L Γ ( 2 α ) h α C h 2 ω 0 ( α ) 1 α m α + Γ ( 2 α ) M 2 12 Γ ( 1 α ) h 2 m α + Γ ( 2 α ) A h 2 + α .
Factoring out C h 2 we write
| e m | ω 0 ( α ) + Γ ( 2 a ) A C N a 1 a m a 1 M 2 12 C ω 0 ( α ) + L Γ ( 2 a ) N a C h 2 .
When C > M 2 12 , the number 1 M 2 12 C > 0 . Hence
| e m | ω 0 ( α ) N α + Γ ( 2 α ) A C ( 1 α ) 1 M 2 12 C ω 0 ( α ) N α + L Γ ( 2 α ) C h 2 .
To ensure | e m | < C h 2 , it suffices to show that the coefficient is at most one:
Γ ( 2 α ) A C ( 1 α ) 1 M 2 12 C L Γ ( 2 α ) ,
Γ ( 2 α ) A C + ( 1 α ) M 2 12 C ( 1 α + L Γ ( 2 α ) ) ,
C 12 Γ ( 2 α ) A + ( 1 α ) M 2 12 ( 1 α + L Γ ( 2 α ) ) .
From Corollary 13 and x m [ 0 , 1 ] , we obtain
A < 1 ( 3 α ) ( 2 α ) + 2 | ζ ( α 1 ) | ( 1 α ) α M 3 Γ ( 2 α ) + 45 M 4 + 2 M 5 36 Γ ( 4 α ) ,
A < 7 M 3 Γ ( 4 α ) + 45 M 4 + 2 M 5 36 Γ ( 4 α ) = 252 M 3 + 45 M 4 + 2 M 5 36 Γ ( 4 α ) .
Combining (50) with the bound for A, we obtain that when
C > 6 M 2 + 252 M 3 + 45 M 4 + 2 M 5 72 ( 1 α + L Γ ( 2 α ) )
estimate (49) holds, | e m | < C h 2 , completing the induction. □
In Theorem 18, we proved that when the parameter L > 1 / Γ ( 1 α ) numerical solution N S ω has second-order accuracy. The proof of the convergence and order of N S γ is similar. When the parameter L is negative, the errors of the two numerical solutions become large. Experimental results for the error and order of N S γ and N S ω for negative values of the parameter L are presented in Table 8 and Table 9. The errors of the numerical solutions in Table 8 and Table 9 are greater than 10 14 for L = 4 , L = 10 , and L = 20 .
The numerical methods N S γ and N S ω exhibit behavior similar to that of numerical method (16) for equation (14) To compute the numerical solution of equation (48) with an accuracy not exceeding 10 5 , we use the approach from Example 2. We consider the corresponding boundary value fractional ordinary differential equation whose boundary condition coincides with the initial condition of equation (48). Its numerical solution, obtained using the L1 approximation of the fractional derivative, is used as the numerical solution of equation (48), and it has an accuracy of O ( h 2 α ) , which is sufficient to solve both equations with an error smaller than 10 5 . The accuracy of the numerical solution can be improved by using higher-order approximations of the fractional derivative and boundary conditions at different points.
Example 6.
Consider the following boundary value OFDE
z ( a ) ( t ) + L z ( t ) = F ( t ) = t 1 a E 1 , 2 a ( t ) + L e t , z ( 2 ) = 1 .
Let h = 2 / N . By approximating the fractional derivative using the L1 approximation we obtain
h α Γ ( 2 α ) k = 0 n σ k ( α ) z n + L z n = F n + O h 2 α .
The numerical solution satisfies
( 1 + Γ ( 2 α ) L h α ) u n + k = 1 n σ k ( α ) u n k = Γ ( 2 α ) h α F n , u N = 1 ,
where 1 n N . The numerical solution is computed with the system of N + 1 equations, which consists of equations (52) and the boundary condition u N = 1 . The coefficient matrix of the system has entries 1 + Γ ( 2 α ) L h α on the diagonal above the main diagonal and is reduced to a lower-triangular form, using N 1 row operations. The graphs of the exact solution of equation (48) and numerical solution (52) for L = 10 , h = 0.01 , α = 0.9 are given on Figure 3. The experimental results for the error of the numerical solution (52) are presented in Table 10, where all errors are smaller than 10 5 . The results in Table 8, Table 9, and Table 10 demonstrate that the numerical method (52) for equation (48) represents a significant improvement over N S γ and N S ω for negative values of the parameter L.
The fractional subdiffusion equation is a fractional partial differential equation of the following form
α t α u ( x , t ) = L u x x + F ( x , t ) ,
where L is the diffusion coefficient and has initial and boundary conditions
u ( 0 , t ) = u 0 ( t ) , u ( x , 0 ) = v ( x ) , u ( 1 , t ) = u 1 ( t ) .
Let τ = 1 / M and h = 1 / N , where M and N are integers. Denote u n m = u ( n h , m τ ) and by J the rectangular grid on [ 0 , 1 ] × [ 0 , 1 ]
J = { ( n h , m τ ) | 0 n N , 0 m M } .
By substituting the fractional derivative at the point ( n h , m τ ) with approximation (8) and the second-order partial derivative with the second-order central difference formula, we obtain
1 Γ ( 2 α ) τ α k = 0 m ω k ( α ) u n m k = L u n 1 m 2 u n m + u n + 1 m h 2 + F n m + A n τ 2 + B n τ 2 α n α + D n h 2 ,
ω 0 ( α ) u n m + k = 1 m ω k ( α ) u n m k = L Γ ( 2 α ) τ a h 2 ( u n 1 m 2 u n m + u n + 1 m ) + Γ ( 2 α ) τ α F n m + Γ ( 2 α ) A n m τ 2 + α + B n m τ 2 n α + D n m τ α h 2 ,
where A n m and B n m are the coefficients of the error of approximation (8) and D n m h 2 is the error of central difference approximation. Denote η = L Γ ( 2 α ) τ α h 2 .
η u n 1 m + ( 2 η + ω 0 ( α ) ) u n m η u n + 1 m = Γ ( 2 α ) τ α F n m k = 1 m ω k ( α ) u n m k + Γ ( 2 α ) A n τ 2 + α + B n τ 2 n α + D n τ α h 2 .
The numerical solution { U n m } n = 0 N on row m of the grid J is computed as
η U n 1 m + ( 2 η + ω 0 ( α ) ) U n m η U n + 1 m = Γ ( 2 a ) τ a F n m k = 1 m ω k ( α ) U n m k ,
where 5 n N 1 and has boundary conditions U 0 m = u 0 ( m τ ) , U N m = u 1 ( m τ ) .
The numerical solution for the first row is obtained using shifted approximation (43)
( 1 α 2 ) 1 α Γ ( 2 α ) τ α u n 1 u n 0 = L ( 1 α 2 ) h 2 u n + 1 1 2 u n 1 + u n 1 1 + L α 2 v ( x ) + F n 1 α / 2 + O h 2 + τ 2 ,
u n 1 u n 0 = L ( 1 α 2 ) α Γ ( 2 α ) τ α h 2 u n + 1 1 2 u n 1 + u n 1 1 + Γ ( 2 α ) τ α ( 1 α 2 ) 1 α L α 2 u 0 ( x ) + F n 1 α / 2 + O τ α h 2 + τ 2 .
Let η 1 = L ( 1 α 2 ) α Γ ( 2 α ) τ α h 2 . The numerical solution { U n 1 } n = 0 N satisfies
η 1 U n + 1 1 + ( 1 + 2 η 1 ) U n 1 η 1 U n 1 1 = Γ ( 2 α ) τ α ( 1 α 2 ) 1 α L α 2 u 0 ( x ) + F n 1 α / 2
and has boundary conditions boundary conditions U 0 1 = u 0 ( τ ) , U N 1 = u 1 ( τ ) . The coefficient matrix for the system of equations of the first row is a diagonally dominant matrix of size N + 1 . The L (maximum) norm of a vector is the maximum of the absolute values of its elements and the L norm of a matrix is the maximum of the absolute row sums. The norm of the inverse coefficient matrix of (54) is smaller than one [49,50]. Therefore, the numerical solution on the first row of the grid J has an error of order O τ α h 2 + τ 2 . The numerical solution for the second row of the grid J is computed explicitly using the shifted approximation (44)
α u n 2 + 4 ( 1 α ) u n 1 + ( 3 α 4 ) u n 0 2 Γ ( 2 α ) τ α = L h 2 u n + 1 1 2 u n 1 + u n 1 1 + F n 1 + O h 2 + τ 3 α .
The numerical solution satisfies
α U n 2 + 4 ( 1 α ) U n 1 + ( 3 α 4 ) U n 0 = 2 L Γ ( 2 α ) τ α h 2 U n + 1 1 2 U n 1 + U n 1 1 + 2 Γ ( 2 α ) τ α F n 1 ,
U n 2 = 1 α 2 η ( 1 α 2 ) α U n + 1 1 2 U n 1 + U n 1 1 4 ( 1 α ) U n 1 ( 3 α 4 ) U n 0 + 2 Γ ( 2 α ) τ α F n 1 .
The error of the numerical solution in the second row of J is also of order O τ α h 2 + τ 2 . The numerical solutions for the third and fourth rows are computed explicitly using the third order approximations
u n 3 = 3 u n 2 3 u n 1 + u n 0 + O ( τ 3 ) , u n 4 = 3 u n 3 3 u n 2 + u n 1 + O ( τ 3 ) ,
U n 3 = 3 U n 2 3 U n 1 + U n 0 , U n 4 = 3 U n 3 3 U n 2 + U n 1 .
The errors for the third and fourth rows also have accuracy of O τ α ( h 2 + τ 2 ) .
Example 7.
Consider the following fractional subdiffusion equation
α t α u ( x , t ) = u x x + Γ ( 3 + α ) 2 ( 1 2 x + x 3 α ) t 2 ( 3 α ) ( 2 α ) x 1 α ( 1 + t 2 + α ) ; u ( 0 , t ) = 1 + t 2 + α , u ( x , 0 ) = 1 2 x + x 3 α , u ( 1 , t ) = 0 .
Equation (55) has the solution
u ( x , t ) = ( 1 + t 2 + α ) ( 1 2 x + x 3 α ) .
The numerical results for the error and order of the difference scheme (53) for the subdiffusion equation (55) with α = 0.5 and α = 0.75 are presented in the third and fourth columns of Table 11. The graphs for α = 0.5 , L = 1 , h = 0.02 , and τ = 0.005 are shown in Figure 4.
Example 8.
Consider the following fractional subdiffusion equation
α t α u ( x , t ) = 3 u x x e x 3 e t + t 1 α E 1 , 2 α ( t ) ; u ( 0 , t ) = e t , u ( x , 0 ) = e x , u ( 1 , t ) = e 1 + t .
Equation (56) has the solution u ( x , t ) = e x + t . The results of the numerical experiments for the error and order of the difference scheme (53) for the subdiffusion equation (56) with α = 0.25 are presented in the second column of Table 11. The graphs of numerical solution (53) and its error for α = 0.5 , L = 3 , h = 0.02 , and τ = 0.005 are shown in Figure 5.
In the following, we prove that the difference scheme (53) for the fractional subdiffusion equation converges with second-order accuracy. The errors E n m = u n m U n m on the first four rows of the grid J have accuracy of O τ α ( h 2 + τ 2 ) . Therefore
| E n m | < C 1 ( τ 2 + h 2 ) ,
where C 1 is a positive constant. The errors on row m > 4 of the grid J are the solutions of the system of equations
η E n 1 m + ( 2 η + ω 0 ( α ) ) E n m η E n + 1 m = R n m ,
where E 0 m = E N m = 0 and
R n m = k = 1 m 1 ω k ( α ) E n m k + Γ ( 2 α ) A n m τ 2 + α + B n m τ 2 m α + D n m τ α h 2 .
Denote
M i = max i t i u ( x , t ) , M ˜ 4 = max 4 x 4 u ( x , t ) ,
where the maximums are taken for all ( x , t ) [ 0 , 1 ] × [ 0 , 1 ] and the coefficients A n m , B n m and D n m satisfy the bounds
| A n m | < 252 M 3 + 45 M 4 + 2 M 5 36 Γ ( 4 α ) , | B n | < M 2 12 Γ ( 1 α ) , | D n m | < M ˜ 4 12 .
Let E m be an ( N + 1 ) -dimensional vector whose entries are the errors E n m of difference scheme (53) on row m of the grid J , and let R m be the vector of truncation errors (57). The system of equations for the errors of difference scheme (53) in row m of the grid J can be written in matrix form as
M E m = R m ,
where M = ( a i , j ) is a tridiagonal square matrix with nonzero entries a 1 , 1 = a N , N = 1 and
a i , i = 2 η + w 0 , a i 1 , i = a i + 1 , i = η , ( 2 i N 1 ) .
Theorem 19.
The errors of difference scheme (53) satisfy
E m < C τ 2 + h 2
for all m = 1 , , M , where
C = max C 1 , 6 M 2 + 252 M 3 + 45 M 4 + 2 M 5 72 ( 1 α ) , M ˜ 4 12 ( 1 α ) .
Proof. 
We prove the statement by induction. The estimate (59) holds for M 4 . Assume that (59) holds for all rows 1 , 2 , , m 1 of the grid J . From formula (57)
| R n m | < k = 1 m 1 ω k ( α ) | E n m k | + Γ ( 2 a ) | A n m | τ 2 + α + | B n m | τ 2 m α + | D n m | τ α h 2 .
When 0 < α < 1 the gamma function satisfies 0.88 < Γ ( 2 α ) < 1 (see [51]). Applying the induction assumption
| R n m | k = 1 m 1 ω k ( α ) C ( τ 2 + h 2 ) + Γ ( 2 α ) | A n m | τ 2 + α + Γ ( 2 α ) | B n m | τ 2 m α + | D n m | τ 2 h 2 ,
| R n m | < ( ω 0 ( α ) | ω m ( α ) | ) C ( τ 2 + h 2 ) + A τ 2 + α + M 2 ( 1 α ) 12 τ 2 m α + M ˜ 4 12 τ α h 2 ,
where A < ( 252 M 3 + 45 M 4 + 2 M 5 ) / 72 . From Claim 17
| R n m | < ω 0 ( α ) C ( τ 2 + h 2 ) 1 a m α C ( τ 2 + h 2 ) + A τ 2 m α + M 2 ( 1 α ) 12 τ 2 m α + M ˜ 4 12 h 2 m α ,
| R n m | < ω 0 ( α ) C ( τ 2 + h 2 ) ( 1 α ) τ 2 m α C A 1 α M 2 12 ( 1 α ) h 2 m α C M ˜ 4 12 ( 1 α ) .
When C satisfies the conditions of the theorem, the two coefficients C A / ( 1 α ) M 2 / 12 and C M ˜ 4 / ( 12 ( 1 α ) ) are positive.Therefore
| R n m | < ω 0 ( α ) C ( τ 2 + h 2 ) .
From (58) the infinity norm of the inverse matrix satisfies [49,50]
M 1 1 w 0 ( α ) .
Hence
E m = M 1 R m ,
E m M 1 R m < C ( τ 2 + h 2 ) .
The error estimate (59) holds for the m-th row of the grid J , completing the induction. □

6. Conclusions

In the present paper, we have studied the construction and properties of parameter-dependent approximations for the first and second derivatives, denoted by (4), (5), and for the Caputo fractional derivative, denoted by (6) and (8) and their applications for numerical solution of differential and fractional differential equations. The approximations of the fractional derivative are developed using the second-order expansion formula of the L1 approximation together with an approximation (5) of the second derivative. The weights of the two obtained approximations of the fractional derivative satisfy property (2) when the parameter takes the value 1 α + α 2 , where α is the order of the fractional derivative. Approximation (6) of the fractional derivative has second-order accuracy, while the order of approximation (8) depends on the mesh size and increases from 2 α to 2. We provide examples demonstrating the application of the derived approximations to the construction of finite difference schemes for the numerical solution of fractional differential equations, and we analyze the convergence and order of these numerical solutions. In Theorem 18 and Theorem 19, we prove that the difference schemes based on both approximations (6) and (8) achieve second-order accuracy. The proofs rely on the properties (2) of the approximation weights and on the magnitude of the last weights. The theoretical results for the order and accuracy of the proposed numerical methods are confirmed by the presented numerical experiments.
In future work, we will continue the investigations initiated in this paper. We plan to address questions related to high-order expansion formulas and to the construction of approximations of the fractional derivative based on these formulas. We will also consider the development of high-order finite difference schemes for the numerical solution of fractional differential equations and analyze their performance and convergence.

Author Contributions

Conceptualization, Y.D. and S.G.; data curation, V.T.; formal analysis, Y.D. and R.M.; funding acquisition, S.G.; investigation, Y.D. and V.T.; methodology, V.T. and R.M.; project administration, S.G. and V.T.; resources, R.M.; software, S.G. and R.M.; supervision, Y.D.; validation, V.T.; visualization, S.G.; writing—original draft, Y.D. and S.G.; writing—review and editing, R.M. and V.T. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by project BG16RFPR002-1.014-0004 UNITe, funded by the Programme “Research, Innovation and Digitalisation for Smart Transformation”, co-funded by the European Union.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dimitrov, Y.; Georgiev, S.; Todorov, V. First Derivative Approximations and Applications. Fractal Fract. 2024, 8, 608. [Google Scholar] [CrossRef]
  2. Chawla, S.; Urmil; Singh, J. A Parameter-Robust Convergence Scheme for a Coupled System of Singularly Perturbed First Order Differential Equations with Discontinuous Source Term. Int. J. Appl. Comput. Math 2021, 7, 118. [CrossRef]
  3. Riaz, M.B.; Saeed, S.T.; Baleanu, D.; Ghalib, M.M. Computational Results with Non-Singular and Non-Local Kernel Flow of Viscous Fluid in Vertical Permeable Medium with Variant Temperature. Front. Phys. 2020, 8, 275. [Google Scholar] [CrossRef]
  4. Srivastava, H.M.; Adel, W.; Izadi, M.; El-Sayed, A.A. Solving Some Physics Problems Involving Fractional-Order Differential Equations with the Morgan–Voyce Polynomials. Fractal Fract. 2023, 7, 301. [Google Scholar] [CrossRef]
  5. Ghanbari, B.; Atangana, A. A New Application of Fractional Atangana–Baleanu Derivatives: Designing ABC-Fractional Masks in Image Processing. Physica A 2020, 542, 123516. [Google Scholar] [CrossRef]
  6. Sabri, T.M.T.; Abdo, M.S.; Shah, K.; Abdeljawad, T. Study of Transmission Dynamics of COVID-19 Mathematical Model under ABC Fractional Order Derivative. Results Phys. 2020, 19, 103507. [Google Scholar] [CrossRef]
  7. Alqahtani, A.M.; Sharma, S.; Chaudhary, A.; Sharma, A. Application of Caputo–Fabrizio Derivative in Circuit Realization. AIMS Math. 2025, 10, 2415–2443. [Google Scholar] [CrossRef]
  8. Sun, Z.Z.; Gao, G. Fractional Differential Equations: Finite Difference Methods; De Gruyter: Berlin, Germany, 2020; ISBN 978-3-11-061606-4. [Google Scholar]
  9. Arshad, S.; Baleanu, D.; Huang, J.; Al Qurashi, M.M.; Tang, Y.; Zhao, Y. Finite Difference Method for Time-Space Fractional Advection–Diffusion Equations with Riesz Derivative. Entropy 2018, 20, 321. [Google Scholar] [CrossRef]
  10. Li, C.; Zeng, F. Finite Difference Methods for Fractional Differential Equations. Int. J. Bifurc. Chaos 2012, 22, 1230014. [Google Scholar] [CrossRef]
  11. Podlubny, I. Fractional Differential Equations; Academic Press: San Diego, CA, USA, 1999. [Google Scholar]
  12. Zayernouri, M.; Wang, L.-L.; Shen, J.; Karniadakis, G.E. Spectral and Spectral Element Methods for Fractional Ordinary and Partial Differential Equations; Cambridge University Press: Cambridge, UK, 2024. [Google Scholar]
  13. Shi, X.; Zhou, D.-X. Spectral Collocation Methods for Fractional Integro-Differential Equations with Weakly Singular Kernels. J. Sci. Comput. 2023, 94, 112. [Google Scholar] [CrossRef]
  14. Papadopoulos, I.P.A.; Olver, S. A Sparse Spectral Method for Fractional Differential Equations in One-Spatial Dimension. Adv. Comput. Math. 2024, 50, 69. [Google Scholar] [CrossRef]
  15. Shu, D.; Jia, X. High Accuracy Spectral Method for the Space-Fractional Diffusion Equations. J. Math. Study 2014, 47, 274–286. [Google Scholar] [CrossRef]
  16. J. Gao, M. Zhao, N. Du, X. Guo, H. Wang, and J. Zhang. A finite element method for space–time directional fractional diffusion partial differential equations in the plane and its error analysis. J. Comput. Appl. Math. 2019, 362, 354–365. [CrossRef]
  17. Ford, N.J.; Xiao, J.; Yan, Y. A Finite Element Method for Time Fractional Partial Differential Equations. Fract. Calc. Appl. Anal. 2011, 14, 454–474. [Google Scholar] [CrossRef]
  18. Su, X.; Zhou, Y. A Fast High-Order Predictor–Corrector Method on Graded Meshes for Solving Fractional Differential Equations. Fractal Fract. 2022, 6, 516. [Google Scholar] [CrossRef]
  19. Sivalingam, S.M.; Kumar, P.; Trinh, H.; Govindaraj, V. A Novel L1-Predictor-Corrector Method for the Numerical Solution of the Generalized-Caputo Type Fractional Differential Equations. Math. Comput. Simul. 2024, 220, 462–480. [Google Scholar] [CrossRef]
  20. Jiang, S.D.; Zhang, J.W.; Zhang, Q.; Zhang, Z.M. Fast Evaluation of the Caputo Fractional Derivative and Its Applications to Fractional Diffusion Equations. Commun. Comput. Phys. 2017, 21, 650–678. [Google Scholar] [CrossRef]
  21. Yan, Y.G.; Sun, Z.Z.; Zhang, J.W. Fast Evaluation of the Caputo Fractional Derivative and Its Applications to Fractional Diffusion Equations: A Second-Order Scheme. Commun. Comput. Phys. 2017, 22, 1028–1048. [Google Scholar] [CrossRef]
  22. Li, X.; Liao, H.L.; Zhang, L.M. A Second-Order Fast Compact Scheme with Unequal Time-Steps for Subdiffusion Problems. Numer. Algorithms 2021, 86, 1011–1039. [Google Scholar] [CrossRef]
  23. Jiang, H.; Xu, D. A Fast High-Order Compact Difference Scheme for Time-Fractional KS Equation with the Generalized Burgers’ Type Nonlinearity. Fractal Fract. 2025, 9, 218. [Google Scholar] [CrossRef]
  24. Alikhanov, A.A.; Huang, C. A high-order L2 type difference scheme for the time fractional diffusion equation. Appl. Math. Comput. 2021, 411, 1–19. [Google Scholar] [CrossRef]
  25. Wang, Y.-M.; Ren, L. A high-order L2-compact difference method for Caputo-type time fractional sub-diffusion equations with variable coefficients. Appl. Math. Comput. 2019, 342, 71–93. [Google Scholar] [CrossRef]
  26. Arshad, S.; Defterli, O.; Baleanu, D. A Second Order Accurate Approximation for Fractional Derivatives with Singular and Non-Singular Kernel Applied to a HIV Model. Appl. Math. Comput. 2020, 374, 125061. [Google Scholar] [CrossRef]
  27. Zhang, Y.; Feng, X.; Qian, L. A High-Order Compact ADI Scheme for Two-Dimensional Nonlinear Schrödinger Equation with Time Fractional Derivative. Comput. Appl. Math. 2025, 44, 168. [Google Scholar] [CrossRef]
  28. Feng, Y.; Zhang, X.; Chen, Y.; Wei, L. A compact finite difference scheme for solving fractional Black-Scholes option pricing model. J. Inequal. Appl. 2025, 2025, 36. [Google Scholar] [CrossRef]
  29. Cao, J.; Cai, Z. Numerical analysis of a high-order scheme for nonlinear fractional differential equations with uniform accuracy. Numer. Math. Theory Methods Appl. 2020, 14, 71–112. [Google Scholar] [CrossRef]
  30. Dehghan, M.; Safarpoor, M.; Abbaszadeh, M. Two high-order numerical algorithms for solving the multi-term time fractional diffusion-wave equations. J. Comput. Appl. Math. 2015, 290, 174–195. [Google Scholar] [CrossRef]
  31. Roul, P.; Rohil, V. A novel high-order numerical scheme and its analysis for the two-dimensional time fractional reaction-subdiffusion equation. Numer. Algor. 2022, 90, 1357–1387. [Google Scholar] [CrossRef]
  32. Hao, Z.-P.; Sun, Z.-Z.; Cao, W.-R. A fourth-order approximation of fractional derivatives with its applications. J. Comput. Phys. 2015, 281, 787–805. [Google Scholar] [CrossRef]
  33. Tian, J.; Ding, H. Improved High-Order Difference Scheme for the Conservation of Mass and Energy in the Two-Dimensional Spatial Fractional Schrödinger Equation. Fractal Fract. 2025, 9, 280. [Google Scholar] [CrossRef]
  34. Shams, M.; Carpentieri, B. Efficient families of higher-order Caputo-type numerical schemes for solving fractional order differential equations. Alexandria Eng. J. 2025, 124, 337–361. [Google Scholar] [CrossRef]
  35. Lubich, C. Discretized fractional calculus. SIAM J. Math. Anal. 1986, 17, 704–719. [Google Scholar] [CrossRef]
  36. Dimitrov, Y.; Miryanov, R.; Todorov, V. Asymptotic Expansions and Approximations for the Caputo Derivative. Comput. Appl. Math. 2018, 37, 5476–5499. [Google Scholar] [CrossRef]
  37. Jin, B.; Lazarov, R.; Zhou, Z. An analysis of the L1 scheme for the subdiffusion equation with nonsmooth data. IMA J. Numer. Anal. 2016, 36, 197–221. [Google Scholar] [CrossRef]
  38. Li, B.; Xie, X.; Yan, Y. L1 scheme for solving an inverse problem subject to a fractional diffusion equation. Comput. Math. Appl. 2023, 134, 112–123. [Google Scholar] [CrossRef]
  39. Scherer, R.; Kalla, S.L.; Tang, Y.; Huang, J. The Grünwald–Letnikov method for fractional differential equations. Comput. Math. Appl. 2011, 62(3), 902–917. [Google Scholar] [CrossRef]
  40. Todorov, V.; Dimitrov, Y.; Dimov, I. Second order shifted approximations for the first derivative. In: Dimov I., Fidanova S. (eds) Advances in High Performance Computing. HPC 2019. Studies in Computational Intelligence 2011, 902, Springer, Cham. [Google Scholar] [CrossRef]
  41. Apostolov, S.; Dimitrov, Y.; Todorov, V. Constructions of second order approximations of the Caputo fractional derivative. In: Lirkov I., Margenov S. (eds) Large-Scale Scientific Computing. LSSC 2021. Lecture Notes in Computer Science, Springer, 2022, 13127. [CrossRef]
  42. Al-khawaldeh, H.O.; Batiha, I.M.; Zuriqat, M.; Anakira, N.; Ogilat, O.; Sasa, T. A numerical approach for solving fractional linear boundary value problems using shooting method. J. Math. Anal. 2025, 16, 1–20. [Google Scholar] [CrossRef]
  43. Bakodah, H.O.; Alzahrani, K.A.; Alzaid, N.A.; Almazmumy, M.H. Efficient decomposition shooting method for tackling two-point boundary value models. J. Umm Al-Qura Univ. Appl. Sci. 2025, 11, 319–329. [Google Scholar] [CrossRef]
  44. Alzaid, N.; Alzahrani, K.; Bakodah, H. A modification of the efficient decomposition shooting method for two-point boundary-value problems. Contemp. Math. 2025, 6, 3400–3416. [Google Scholar] [CrossRef]
  45. Filipov, S.M.; Gospodinov, I.D.; Faragó, I. Shooting-projection method for two-point boundary value problems. Appl. Math. Lett. 2017, 72, 10–15. [Google Scholar] [CrossRef]
  46. Georgiev, S.G.; Vulkov, L.G. Numerical determination of the right boundary condition for regime–switching models of European options from point observations. AIP Conf. Proc. 2018, 2048, 030003. [Google Scholar] [CrossRef]
  47. Butcher, J.C. Numerical Methods for Ordinary Differential Equations, 3rd ed.; Wiley: Chichester, UK, 2016. [Google Scholar]
  48. Cai, M.; Li, C. Numerical Approaches to Fractional Integrals and Derivatives: A Review. Mathematics 2020, 8, 43. [Google Scholar] [CrossRef]
  49. Kolotilina, L.Y. Bounds for the infinity norm of the inverse for certain M- and H-matrices. Linear Algebra Appl. 2009, 430, 692–702. [Google Scholar] [CrossRef]
  50. Varah, J.M. A lower bound for the smallest singular value of a matrix. Linear Algebra Appl. 1975, 11(1), 3–5. [Google Scholar] [CrossRef]
  51. Deming, W.; Colcord, C. The minimum in the gamma function. Nature 1935, 135, 917. [Google Scholar] [CrossRef]
  52. Cao, J.; Xu, C. A high order scheme for the numerical solution of the fractional ordinary differential equations. J. Comput. Phys. 2013, 238, 154–168. [Google Scholar] [CrossRef]
  53. Gülsu, M.; Öztürk, Y.; Anapalı, A. Numerical approach for solving fractional relaxation-oscillation equation. Appl. Math. Model. 2013, 37, 5927–5937. [Google Scholar] [CrossRef]
  54. Diethelm, K.; Ford, J. Numerical Solution of the Bagley–Torvik Equation. BIT Numer. Math. 2002, 42, 490–507. [Google Scholar] [CrossRef]
  55. Ali, U.; Sohail, M.; Abdullah, F.A. An efficient numerical scheme for variable-order fractional sub-diffusion equation. Symmetry 2020, 12, 1437. [Google Scholar] [CrossRef]
  56. Langlands, T.A.M.; Henry, B.I. The accuracy and stability of an implicit solution method for the fractional diffusion equation. J. Comput. Phys. 2005, 205, 719–736. [Google Scholar] [CrossRef]
  57. Duo, S.; Ju, L.; Zhang, Y. A fast algorithm for solving the space–time fractional diffusion equation. Comput. Math. Appl. 2018, 75, 1929–1941. [Google Scholar] [CrossRef]
  58. Wang, H.; Basu, T.S. A Fast Finite Difference Method for Two-Dimensional Space-Fractional Diffusion Equations. SIAM J. Sci. Comput. 2012, 34, A2444–A2458. [Google Scholar] [CrossRef]
Figure 2. Graphs of the solution of equation (26) and of numerical solution (29) for b = 1 , h = 0.01 .
Figure 2. Graphs of the solution of equation (26) and of numerical solution (29) for b = 1 , h = 0.01 .
Preprints 181507 g002
Figure 3. Graphs of the exact solution of equation (48) and numerical solution (52) for α = 0.9 , L = 10 and h = 0.01 .
Figure 3. Graphs of the exact solution of equation (48) and numerical solution (52) for α = 0.9 , L = 10 and h = 0.01 .
Preprints 181507 g003
Figure 4. Graphs of the numerical solution of equation (55) - left and the corresponding error - right for α = 0.5 , L = 1 , h = 0.02 , and τ = 0.005 .
Figure 4. Graphs of the numerical solution of equation (55) - left and the corresponding error - right for α = 0.5 , L = 1 , h = 0.02 , and τ = 0.005 .
Preprints 181507 g004
Figure 5. Graphs of the numerical solution of equation (56) - left and the corresponding error - right for α = 0.5 , L = 3 , h = 0.02 , and τ = 0.005 .
Figure 5. Graphs of the numerical solution of equation (56) - left and the corresponding error - right for α = 0.5 , L = 3 , h = 0.02 , and τ = 0.005 .
Preprints 181507 g005
Table 1. Error and order of numerical solution (16) of equation (17).
Table 1. Error and order of numerical solution (16) of equation (17).
h L = 1 L = 50 L = 100
Error Order Error Order Error Order
0.0004 3.62 × 10 8 2.0000 7.11 × 10 10 2.0000 3.58 × 10 10 2.0000
0.0002 9.06 × 10 8 1.9998 1.77 × 10 10 1.9999 8.97 × 10 11 2.0000
0.0001 2.26 × 10 9 2.0006 4.44 × 10 11 2.0004 2.24 × 10 11 1.9992
Table 2. Error and order of numerical solution (16) of equation (17).
Table 2. Error and order of numerical solution (16) of equation (17).
h L = 10 L = 50 L = 100
Error Order Error Order Error Order
0.0004 3.26 × 10 5 2.0001 1.41 × 10 12 2.0072 3.67 × 10 33 2.0577
0.0002 8.15 × 10 6 2.0012 3.53 × 10 11 2.0017 9.08 × 10 32 2.0146
0.0001 2.03 × 10 6 2.0011 8.83 × 10 10 1.9986 2.26 × 10 32 2.0027
Table 3. Error and order of numerical method NS u of equation (17) and b = 1 + h .
Table 3. Error and order of numerical method NS u of equation (17) and b = 1 + h .
h L = 10 L = 50 L = 100
Error Order Error Order Error Order
0.00004 1.60 × 10 6 0.00029 1.47 × 10 11 2.0049 7.39 × 10 12 1.9874
0.00002 3.98 × 10 7 0.00029 3.81 × 10 12 1.9536 1.83 × 10 12 2.0104
0.00001 1.08 × 10 7 0.00029 6.98 × 10 13 2.4459 5.71 × 10 13 1.6825
Table 4. Error and order of numerical solutions NS u ¯ and NS v ¯ of equation (26).
Table 4. Error and order of numerical solutions NS u ¯ and NS v ¯ of equation (26).
h NS u ¯ , b = 1 / 2 NS v ¯ , b = 1 NS v ¯ , b = 1 + h
Error Order Error Order Error Order
0.0004 5383.68 1.0427 1.75 × 10 8 2.0000 9.74 × 10 7 1.5065
0.0002 2652.54 1.0212 4.39 × 10 9 2.0000 3.43 × 10 7 1.5045
0.0001 1316.59 1.0105 1.09 × 10 9 2.0000 1.21 × 10 7 1.5031
Table 5. Error and order of numerical method (33) of equation (34).
Table 5. Error and order of numerical method (33) of equation (34).
h b = 1 / 2 b = 1 / 3 b = 1 h
Error Order Error Order Error Order
0.0004 3.24 × 10 5 0.9986 8.00 × 10 8 2.0002 3.09 × 10 3 0.4711
0.0002 1.62 × 10 5 0.9993 2.00 × 10 8 2.0001 2.21 × 10 3 0.4796
0.0001 8.11 × 10 6 0.9997 5.00 × 10 9 2.0000 1.58 × 10 3 0.4856
Table 6. Error and order of numerical solution N S γ of equation (48).
Table 6. Error and order of numerical solution N S γ of equation (48).
h L = 1 , α = 0.1 L = 5 , α = 0.25 L = 30 , α = 0.9
Error Order Error Order Error Order
0.001 1.78 × 10 9 1.7957 1.52 × 10 9 1.8268 6.79 × 10 8 2.0855
0.0005 4.79 × 10 10 1.8978 4.08 × 10 10 1.9046 1.58 × 10 8 2.0984
0.00025 1.24 × 10 10 1.9461 1.06 × 10 10 1.9453 3.69 × 10 9 2.1013
Table 7. Error and order of numerical solution N S ω of equation (48).
Table 7. Error and order of numerical solution N S ω of equation (48).
h L = 1 , α = 0.1 L = 5 , α = 0.25 L = 30 , α = 0.9
Error Order Error Order Error Order
0.001 2.54 × 10 6 1.7957 1.21 × 10 6 1.8555 1.96 × 10 5 1.6252
0.0005 6.72 × 10 7 1.8978 3.27 × 10 7 1.8913 5.41 × 10 6 1.8587
0.00025 1.73 × 10 7 1.9461 8.55 × 10 8 1.9352 1.44 × 10 6 1.9104
Table 8. Error and order of numerical method N S γ of equation (48).
Table 8. Error and order of numerical method N S γ of equation (48).
h L = 4 , α = 0.25 L = 10 , α = 0.5 L = 20 , α = 0.75
Error Order Error Order Error Order
0.001 1.71 × 10 103 18.554 8.08 × 10 34 3.2126 5.68 × 10 15 2.3230
0.0005 3.43 × 10 101 5.6411 1.45 × 10 34 2.4741 1.28 × 10 15 2.1396
0.00025 4.29 × 10 100 2.9997 2.61 × 10 33 2.4787 2.88 × 10 14 2.1617
Table 9. Error and order of numerical method N S ω of equation (48).
Table 9. Error and order of numerical method N S ω of equation (48).
h L = 4 , α = 0.25 L = 10 , α = 0.5 L = 20 , α = 0.75
Error Order Error Order Error Order
0.001 4.81 × 10 170 462.98 8.27 × 10 41 48.054 8.65 × 10 19 11.595
0.0005 1.65 × 10 115 184.25 4.04 × 10 38 10.997 3.31 × 10 18 4.7077
0.00025 3.61 × 10 106 28.766 1.86 × 10 37 4.4391 2.88 × 10 17 2.1617
Table 10. Error and order of numerical method (52) of equation (48).
Table 10. Error and order of numerical method (52) of equation (48).
h α = 0.9 , L = 10 α = 0.8 , L = 20 α = 0.7 , L = 30 α = 0.6 , L = 40 α = 0.5 , L = 50
0.001 2.04 × 10 5 4.63 × 10 6 1.34 × 10 6 4.26 × 10 7 1.41 × 10 7
0.0005 9.51 × 10 6 2.02 × 10 6 5.47 × 10 7 1.62 × 10 7 5.06 × 10 8
0.00025 4.43 × 10 6 8.82 × 10 7 2.23 × 10 7 6.21 × 10 8 1.81 × 10 8
Table 11. Error and order of the difference scheme (53) for equation (56) – second column, and for equation (55) – third and fourth columns.
Table 11. Error and order of the difference scheme (53) for equation (56) – second column, and for equation (55) – third and fourth columns.
h α = 0.25 , L = 1 α = 0.5 , L = 2 α = 0.75 , L = 3
Error Order Error Order Error Order
0.02 2.98 × 10 5 1.9568 5.22 × 10 5 1.9568 2.03 × 10 5 2.0231
0.01 7.59 × 10 6 1.9744 1.36 × 10 5 1.9745 5.00 × 10 6 2.0234
0.005 1.91 × 10 6 1.9926 3.42 × 10 6 1.9927 1.23 × 10 6 2.0257
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated