Next Article in Journal
Extraction Complex Properties of the Nonlinear Modified Alpha Equation
Previous Article in Journal
The Impact of Anomalous Diffusion on Action Potentials in Myelinated Neurons
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Collocation Method Based on Discrete Spline Quasi-Interpolatory Operators for the Solution of Time Fractional Differential Equations

by
Enza Pellegrino
1,†,
Laura Pezza
2,‡ and
Francesca Pitolli
2,*,‡
1
Department IIIE, University of L’Aquila, 67100 L’Aquila, Italy
2
Department SBAI, University of Roma “La Sapienza”, 00161 Roma, Italy
*
Author to whom correspondence should be addressed.
Current address: Department IIIE, University of L’Aquila, Piazzale Ernesto Pontieri 2, Monteluco di Roio, 67100 L’Aquila, Italy.
Current address: Department SBAI, University of Roma “La Sapienza”, Via Antonio Scarpa 16, 00161 Roma, Italy.
Submission received: 28 November 2020 / Revised: 30 December 2020 / Accepted: 31 December 2020 / Published: 5 January 2021

Abstract

:
In many applications, real phenomena are modeled by differential problems having a time fractional derivative that depends on the history of the unknown function. For the numerical solution of time fractional differential equations, we propose a new method that combines spline quasi-interpolatory operators and collocation methods. We show that the method is convergent and reproduces polynomials of suitable degree. The numerical tests demonstrate the validity and applicability of the proposed method when used to solve linear time fractional differential equations.

1. Introduction

Fractional calculus refers to the calculus of integrals and derivatives of any real positive order [1,2,3]. During the last few years, it became very popular due to its applications in various fields of science and engineering. In fact, in many applications, real phenomena can be modeled by differential equations having a fractional derivative both in time and space. This allows one to take into account in a clear way the history and nonlocal behavior of the physical quantities under study. Through fractional calculus, we can study, for example, the viscoelasticity properties of special materials, anomalous diffusion in human tissues, water flow in deep ground, the prediction of earthquakes, and fractal problems [4,5,6,7].
There are several definitions of the fractional derivative that become equivalent under particular assumptions [1,3]. The first definition of a fractional derivative suitable for general functions appeared in the first half of the 19th Century and is now known as the Riemann–Liouville derivative:
R L D t γ y ( t ) : = 1 Γ ( m γ ) d m d t m 0 t y ( τ ) ( t τ ) γ m + 1 d τ , m 1 < γ < m , m N + , t > 0 ,
where:
Γ ( α ) : = 0 τ α 1 e τ d τ
is the Euler gamma function and N + denotes the set of positive natural numbers.
Using the Riemann–Liouville definition, the usual differentiation operator in the Fourier domain can be easily extended to the fractional case, i.e.,
F R L D t γ y ( t ) = ( i ω ) γ F ( y ( t ) ) , γ R + ,
where F ( · ) denotes the Fourier transform operator. Moreover, the Riemann–Liouville derivative coincides with the Grunwald–Letnikov derivative
G L D t γ y ( t ) = lim δ 0 1 δ n k = 0 t δ ( 1 ) k γ k y ( t δ k ) ,
where:
γ k : = Γ ( γ + 1 ) k ! Γ ( γ k + 1 ) , k N , γ 0 ,
are the generalized binomial coefficients [1]. It is worth noticing that the sequence { γ k } is compactly supported when γ N , while for γ N , the sequence { γ k } is no longer compactly supported, but its coefficients decay toward infinity as:
γ k k γ 1 for k .
The Grunwald–Letnikov definition (3) is easier to use when addressing the numerical solution of fractional differential equations by finite difference methods [8].
The Riemann–Liouville derivative is not suitable to be used in real-world models for two main reasons: the Riemann–Liouville derivative of constant functions is not zero, and the initial conditions for initial value fractional differential problems are not easy to enforce. To overcome these problems, in 1967, Caputo [9] introduced a new definition of the fractional derivative, now named the Caputo derivative:
C D t γ y ( t ) : = 1 Γ ( m γ ) 0 t y ( m ) ( τ ) ( t τ ) γ m + 1 d τ , m 1 < γ < m , m N + , t > 0 .
The Riemann–Liouville derivative and the Caputo derivative are related to each other by:
C D t γ y ( t ) = R L D γ y ( t ) = 0 m 1 t ! y ( ) 0 +
so that they coincide when the function y ( t ) satisfies homogeneous initial conditions [1].
Even if the Caputo derivative requires higher smoothness of the function y ( t ) , it is more suitable to describe real phenomena since it shares some of the main properties with the ordinary derivative. In particular, the Caputo derivative of constant functions is zero, and the initial and boundary conditions are easy to implement. For this reason, in this paper, we consider an initial value differential problem having the Caputo derivative in time. For a discussion on other types of fractional derivatives, see [10].
In the literature, several numerical methods have been proposed to solve fractional differential equations [8,11,12]. Finite difference methods are very popular since they are easy to implement, but they require high order difference formulas to achieve high accuracy at the price of a high computational cost [13,14]. Spectral methods are more efficient since the solution to the differential problem is approximated by an expansion in a global polynomial basis, whose fractional derivative can be evaluated explicitly. However, the coefficients of the expansion are obtained by solving a dense linear system so that its numerical solution could have a high computational cost [11,14]. For this reason, expansions in local bases with small support are preferable. For instance, polynomial B-splines [15] are piecewise polynomials with small support that can be used to construct a basis for the spline space. In fact, spline functions are piecewise polynomials of a given degree and prescribed smoothness that can be constructed as linear combinations of B-splines. The freedom to choose the degree of the polynomial pieces and the overall smoothness of the spline give a great flexibility that can be used to adapt the spline to the function to be approximated.
As in the case of spectral methods, the expansion coefficients of the B-spline representation can be obtained using collocation methods with the advantage that the collocation matrix is triangular and the off-diagonal entries decay fast. In the case of cardinal B-splines, i.e., B-splines with uniform knots, their fractional derivative can be evaluated explicitly by the backward finite difference operator [16]. This approach was introduced by two of the authors in [17] (see also [18]), where a spline collocation method based on B-spline bases was used to solve a time fractional diffusion equation. The method proved to be particularly effective also in the case of nonlinear fractional differential equations [19]. A different approach was considered in [20,21], where the fractional differential equation under study was reformulated as an integral equation and solved by approximating its solution by a spline function represented by a Lagrange polynomial basis. More recently, a similar approach was used in [22] to solve multi-term fractional differential equations. For a comprehensive treatment of this topic, see [23].
In this paper, we propose a new method based on refinable spline quasi-interpolatory operators. Quasi-interpolatory operators have greater flexibility with respect to interpolation, since they are only required to reproduce polynomials up to a given degree rather than interpolate a function at given points. For this reason, they can be constructed to satisfy some special properties, such as shape preserving properties or prescribed approximation order. In more detail, we consider an initial value problem having the fractional derivative in time and approximate its solution by a family of discrete quasi-interpolatory operators [24,25,26]. Then, the unknown coefficients of the approximating function are determined by the collocation method introduced in [18]. The method presented here is a generalization of the collocation method introduced in [18,27]. The main novelty is the use of spline quasi-interpolatory operators as approximating functions so that the unknown coefficients are suitable functionals of the solution to the differential problem. Different choices of the functionals allow us to increase the polynomial reproducibility of the approximating function with the advantage of achieving higher accuracy. To our knowledge, this is the first time that quasi-interpolatory operators have been used to numerically solve differential equations having a fractional derivative.
Since the quasi-interpolatory operators we consider are spline functions, i.e., piecewise polynomials of integer degree, their fractional derivatives are fractional splines, i.e., piecewise polynomials of non-integer degree [16]. Thus, the fractional derivatives needed to evaluate the numerical solution by the collocation method can be computed efficiently by an explicit differentiation rule [28]. The numerical results show that the method is easy to implement and efficient so that it can be used to solve other kinds of fractional differential problems, such as boundary value problems and nonlinear problems.
The paper is organized as follows. Some preliminaries, needed to develop the numerical method, are given in Section 2. In particular, in Section 2.1, the fractional differential equation we are interested in is introduced, as well as its analytical solution expressed in terms of the Mittag–Leffler function. In Section 2.2, the spline space we use as the approximating space is described. In Section 2.3, the family of discrete spline quasi-interpolatory operators we use as approximating functions is defined, and its main properties are analyzed. The new method we propose is introduced in Section 3 where the explicit expression of the fractional derivative of the B-spline basis is also given (cf. Section 3.1). Finally, in Section 4, some numerical tests are performed. Section 5 is devoted to the discussion of our results, while in Section 6, some conclusions are offered.

2. Materials and Methods

2.1. Linear Fractional Differential Problems

Let us consider the following initial value problem:
C D t γ y ( t ) + b y ( t ) = f ( t ) , t > 0 , 0 < γ < 1 , y ( 0 ) = y 0 ,
where b R is a given parameter and f ( t ) C [ 0 , + ) is the inhomogeneous term. The well-posedness, existence, and uniqueness of the solution to the fractional differential problem (7) were analyzed in [3] (§6). In particular, the continuity of f guarantees that there exists a unique solution y C [ 0 , + ) that depends on a continuous way from the given data.
Using the Mittag–Leffler function [29]:
E γ , β ( z ) = k = 0 z k Γ ( γ k + β ) , γ , β 0 , z C ,
the solution can be expressed in closed form as [3]:
y ( t ) = y 0 E γ , 1 ( b t γ ) + 0 t f ( t τ ) τ γ 1 E γ , γ ( b τ γ ) d τ .
Our main purpose is to solve the differential problem (7) by a collocation method based on spline quasi-interpolatory operators. Even if the fractional differential problem here considered can be solved analytically, nevertheless its solution is a good test for analyzing the approximation properties of the proposed method and studying its convergence.

2.2. B-Spline Spaces

The cardinal B-spline B n ( t ) is a piecewise polynomial of degree n having breakpoints on the integers. It can be defined through the backward finite difference operator, defined as:
n f ( t ) : = k = 0 n n k ( 1 ) k f ( t k ) ,
where f is a continuous function, applied to the truncated power function:
T n ( t ) : = m a x ( 0 , t ) n , n N ,
i.e.,
B n ( t ) : = 1 n ! n + 1 T n ( t ) , n N .
The B-spline B n ( t ) is compactly supported on I n : = [ 0 , n + 1 ] , positive in ( 0 , n + 1 ) , and belongs to C n 1 ( R ) . For further details on spline functions, see [15,30].
The system of the integer translates S n = B n ( t k ) , k Z , forming a basis for the space of spline functions of degree n. It reproduces polynomials up to degree n, i.e.,
t r 1 = k Z ξ k ( r ) B n ( t k ) , t R , 1 r n + 1 ,
with:
ξ k ( r ) = s y m m r 1 ( k + 1 , , k + n ) n r 1 , k Z ,
where s y m m r ( t 1 , , t p ) denotes the symmetric function defined as:
s y m m r ( t 1 , , t p ) = 1 k 1 < k 2 < < k r p t k 1 t k 2 t k r .
(cf. [15]). In particular, for r = 1 , it holds:
1 = k Z B n ( t k ) , t R , n N ,
i.e., the function system S n forms a partition of unity, while for r = 2 , we get:
t = k Z k + n + 1 2 B n ( t k ) , t R , n N + .
The cardinal B-spline B n ( t ) can be adapted to any set of equidistant breakpoints by dilation. In particular, choosing the dyadic nodes { 2 j k , k Z } as breakpoints, we can define the refined basis:
S n j = { B n j k ( t ) , k Z } , j Z ,
where the basis functions:
B n j k ( t ) = B n ( 2 j t k ) , k Z , j Z ,
are the dilates and translates of B n ( t ) having support on [ 2 j k , 2 j ( k + n + 1 ) ] . Analogous to (10), for any j N , one has:
t r 1 = k Z ξ j k ( r ) B n j k ( t ) , t R , 1 r n + 1 ,
where the coefficients { ξ j k ( r ) } are given by:
ξ j k ( r ) = s y m m r 1 ( 2 j ( k + 1 ) , , 2 j ( k + n ) ) n r 1 , k Z , j N .

2.3. Refinable Spline Quasi-Interpolatory Operators

Our interest is in the numerical solution of the fractional differential problem (7) using as the approximating function a quasi-interpolatory refinable operator constructed using the refinable basis S n j .
Let F be a linear space of real-valued functions, and let λ j i be a set of linear functionals λ j i : F R . We assume that F contains the class P r of polynomials of degree at most r 1 with 1 r n + 1 . Given a function f F , a refinable quasi-interpolatory operator Q n j f is an approximation to f of the form:
Q n j f t = k Z ( λ j k f ) B n j k ( t ) , t R , j Z ,
such that Q n j f is exact on polynomials up to degree r 1 , 1 r n + 1 . We notice that, since any B n j k ( t ) has compact support, for any t R , the sum in (17) is actually a finite sum.
It is easy to show that Q n j f reproduces polynomials up to degree r 1 if and only if:
λ j k t 1 = ξ j k ( ) , 1 r , k Z ,
where ξ j k ( ) are the coefficients defined in (16) (cf. [25]). Since we will use the operator (17) to approximate the solution to the differential problem (7) in a finite discretization interval I = [ 0 , T ] , T N + , in the following, we will consider the operator Q n j f restricted to the interval I, i.e.,
Q n j f t = k = n N j ( λ j k f ) B n j k ( t ) , t I , j j 0 ,
where N j = 2 j T 1 and j 0 log 2 ( ( n + 1 ) / T ) is the starting refinement level.
To enforce (18), we express the functionals λ j k f as:
λ j k f = i = 1 r α j k i ( λ j k i f ) , 1 r n + 1 , n k N j ,
where α j k i are real coefficients to be determined and λ j k i f : F R are linear functionals such that:
det λ j k i t 1 1 , i r 0 .
There are several kinds of spline quasi-interpolatory operators [15,24,26,31,32,33,34]. A possible choice is to express the linear functionals { λ j i k } through divided difference operators. Let { τ j i 1 , , τ j i k } be a set of k distinct points in I s u p p ( B n j k ) . Then, we set:
λ j k i f = [ τ j k 1 , , τ j k i ] f , 1 i r , 1 r n + 1 ,
i.e., the difference operator of order i 1 . Therefore, we get the discrete quasi-interpolatory operator [24,26]:
d Q n j f t = k = n N j i = 1 r α j k i [ τ j k 1 , , τ j k i ] f B n j k t .
Proposition 1.
The discrete quasi-interpolatory operator d Q n j f reproduces polynomials up to degree r 1 with 1 r n + 1 if and only if:
i = 1 r α j k i [ τ j k 1 , , τ j k i ] t 1 = ξ j k ( ) , 1 r , n k N j ,
where ξ j k ( ) , 1 n + 1 are given in (16).
Proof. 
The proof is similar to that in [35] (Corollary 1). For any k held fixed, (24) represents a linear system of r equations in the r unknowns { α j k i } . Given the particular choice of the functionals { λ j k i } in (22), one has det ( λ j k i t r 1 ) 0 , 1 r n + 1 , n k N j , so that the linear system has a unique solution.
Without loss of generality, we set r = n + 1 in (24). Then, inserting (24) into (23), we get:
d Q n j t 1 = k = n N j i = 1 n + 1 α j k i [ τ j k 1 τ j k i ] t 1 B n j k t = i = n N j ξ j k l B n j k t = t 1 , 1 r + 1 ,
i.e., the operator d Q n j reproduces polynomials up to degree r 1 . Oppositely, using (24) in (15), we get d Q n j applied to monomials, and the claim follows. □
The coefficient matrix of the linear system (24) is lower triangular so that its solution can be obtained by the forward technique [24], i.e.,
α j k i = s = 0 i 1 1 s ξ j k i s s y m m s ( τ j k 1 , , τ j k i 1 ) , 1 i r , n k N j .
In particular, from (25), it follows:
α j k 1 = 1 , α j k 2 = ξ j k ( 2 ) τ j k 1 ,
so that for r = 1 , we get:
d Q n j f ( t ) = k = n N j f ( τ j k 1 ) B n j k ( t ) ,
which is the operator reproducing just the constant function considered in [28], while for r = 2 , we get:
d Q n j f ( t ) = k = n N j f ( τ j k 2 ) ( ξ j k ( 2 ) τ j k 1 ) f ( τ j k 1 ) ( ξ j k ( 2 ) τ j k 2 ) τ j k 2 τ j k 1 B n j k ( t ) .

3. Numerical Method

For any fixed j j 0 , we approximate the solution to the fractional differential problem (7) by the discrete quasi-interpolatory operator (23), i.e.,
y ( t ) y n j t = k = n N j i = 1 r α j k i [ τ j k 1 , , τ j k i ] y B n j k t ,
where { α j k i } are the coefficients defined in (25) and:
y j k i = [ τ j k 1 τ j k i ] y , 1 i r , n k N j , j j 0 ,
are the unknown coefficients whose expression depends on the polynomial reproducibility order r. In particular, for r = 1 :
y j k i = y ( τ j k 1 )
while for r = 2 :
y j k i = y ( τ j k 2 ) ( ξ j k ( 2 ) τ j k 1 ) y ( τ j k 1 ) ( ξ j k ( 2 ) τ j k 2 ) τ j k 2 τ j k 1 ,
where τ j k i , n k N j , i = 1 , 2 are given distinct points in the interval [ 2 j k , 2 j ( k + n + 1 ) ] I .
We determine the unknown coefficients by collocation. To this end, we choose a set of collocation points { t p , 0 p N P } that belong to the discretization interval I and enforce the approximating function y n j ( t ) to solve the differential problem on these points, i.e.,
C D t γ y n j ( t p ) + b y n j ( t p ) = f ( t p ) , 1 p N s , y n j ( 0 ) = y 0 .
Substituting (28) in the previous equations and rearranging the sums, we get:
k = n N j C D t γ B n j k t p i = 1 r α j k i ( y j k i ) + b k = n N j B n j k t p i = 1 r α j k i ( y j k i ) = f ( t p ) , 1 p N s , k = n N j B n j k 0 i = 1 r α j k i ( y j k i ) = y 0 .
Equations (30) form a linear system that can be written in matrix form as:
D n j s + b B n j s A j r C j r = F s , V n j s A j r C j r = y 0 .
where C j r = [ y j k i , 1 i r , n k N j ] T is the unknown column vector,
A j r = [ d i a g ( a j ) , 1 r ] R ( N j + n + 1 ) × ( N j + n + 1 ) r , a j = [ α j k , n k N j ] ,
is the matrix collecting the coefficients { α j k i } , V n j s = [ B n j k ( 0 ) , n k N j ] is the row vector whose entries are the basis functions evaluated at the initial point t = 0 ,
D n j s = C D t γ B n j k ( t p ) , 1 p N s , n k N j R N s × ( N j + n + 1 ) , B n j s = B n j k ( t p ) , 1 p N s , n k N j R N s × ( N j + n + 1 ) ,
are the collocation matrices of the refinable basis, and:
F s = [ f ( t p ) , 1 p N s ] T ,
is the known term.
The linear system (31) has N s + 1 equations and ( N j + n + 1 ) r unknowns. To guarantee the existence of a unique solution, for any fixed n and r, the number of collocation points N s + 1 and the refinement level j have to be chosen so that number of unknowns is no greater than the number of equations (cf. [27,36]). In the case when N s + 1 > ( N j + n + 1 ) r , (31) results in an overdetermined linear system that can be solved by the least squares method. In this case, particular attention should be paid to fulfill the initial condition.
We notice that from the partition of unity property (12) and [18] (Th. 3.1), it follows that the collocation solution y n j ( t ) is stable, i.e.,
y n j ( t ) κ f ,
where κ is a constant independent of j.
Finally, the collocation method can be proven to be convergent (cf. [27,28]).
Theorem 1.
The collocation method is convergent, i.e.:
lim j y ( t ) y n j ( t ) = 0 ,
with convergence order ν provided that y C ν [ 0 , T ] , i.e.,
y ( t ) y n j ( t ) = O ( 2 j ν ) .
Proof. 
Using Definition (5), it is easy to show that the fractional differential equation (7) is equivalent to the integral equation:
z ( t ) + b Γ ( γ ) 0 t z ( τ ) ( t τ ) 1 γ d τ = f ( t ) ,
where z ( t ) = C D t γ y ( t ) . The collocation method can be used also to approximate the solution to this integral equation, i.e.,
z n j ( t p ) + b Γ ( γ ) 0 t p z n j ( τ ) ( t p τ ) 1 γ d τ = f ( t p ) , 1 p N s ,
where z n j ( t ) is the quasi-interpolatory operator (23). Thus, the equivalence implies that the approximation error y ( t ) y n j ( t ) is the same as the approximation error z ( t ) z n j ( t ) (cf. [36]). Since z n j is a spline operator, the convergence is guaranteed with approximation order ν when y C ν [ 0 , T ] [30]. □

3.1. The Fractional Derivative of the Refinable B-Spline Basis

To numerically solve the linear system (31), we need to evaluate the Caputo derivative of the basis functions B n j k , n k N j . For 0 k N j , the Caputo derivative of B n j k ( t ) can be explicitly evaluated by [18,27]:
C D t γ B n j k ( t ) = 2 γ j Δ n + 1 T n γ ( 2 j t k ) Γ ( n γ + 1 ) , 0 < γ n .
For n k 1 , the functions B n j k are left edge functions having support on [ 0 , 2 j ( n + k + 1 ) ] . When 0 < γ < 1 , their fractional derivative can be explicitly evaluated by [27]:
C D t γ B n j k ( t ) = 2 γ j Δ n + 1 T n γ ( 2 j t k ) L n j k ( 2 j t ) Γ ( n + 1 γ ) , n 1 ,
where:
L n j k ( t ) = i = 0 k 1 ( 1 ) i n + 1 i ( ( t k i ) n γ + t 1 γ p = 0 n 1 ( 1 ) n p ( k i ) n 1 p ( t k i ) p ( n 1 p ) ! s = 1 n 1 p ( γ s ) ) , n k 1 .
We assume s = 1 p ( γ s ) = 1 when p < 1 .
In Figure 1, the cubic basis S 3 j and its fractional derivatives at the refinement level j = 3 are shown for some values of the fractional derivative γ .

4. Numerical Results

In this section, we show the numerical solutions we obtain by the collocation method introduced in the previous section.
For the sake of simplicity, in the tests, we chose as collocation points the dyadic points of the interval I, i.e.,
t p = p 2 s , 0 p N s ,
where N s = 2 s T and s 0 is the collocation level. Moreover, we used as approximating spaces the refinable spaces generated by the cubic B-spline basis S 3 j , and we set s = j + 1 so that the time step is Δ t = 2 j 1 . We used as approximating functions the two discrete quasi-interpolatory operators d Q 3 j y obtained by setting n = 3 , r = 1 , and r = 2 in (23), i.e., the operators given in (26) and (27), respectively. The points τ j k 1 and τ j k 2 are the endpoints of s u p p B 3 j k , i.e.,
τ j k 1 = min ( 0 , 2 j k ) , τ j k 2 = max ( 2 j ( k + 4 ) , T ) , 3 k N j , j j 0 .
To analyze the performance of the collocation method, we evaluate the infinity norm of the approximation error e 3 j ( t ) = y ( t ) y 3 j ( t ) , i.e.,
e 3 j = max 0 p 3 N s | e 3 j ( t p ) | , t p = p 3 · 2 s , 0 p 3 N s ,
and the numerical convergence order defined as:
ρ 3 j = log 2 e 3 , j 1 e 3 j .
For the ease of notation, in the following, we will drop the subscript 3.

4.1. Example 1

In the first example, we set b = 0 , f ( t ) = Γ ( μ + 1 ) Γ ( μ + 1 γ ) t μ γ and y ( 0 ) = 0 so that the initial value problem (7) becomes:
C D t γ y ( t ) = Γ ( μ + 1 ) Γ ( μ + 1 γ ) t μ γ , 0 < t 1 , 0 < γ < 1 , y ( 0 ) = 0 .
In this case, the exact solution is y ( t ) = t μ . The discretization interval is I = [ 0 , 1 ] .
Since the proposed method reproduces polynomials up to degree three when using the cubic B-spline basis, to check the polynomial reproducibility, in the first test, we set μ = 3 . Thus, the approximation is exact, and we expect the approximation error to be zero. Actually, the results listed in Table 1 show that the infinity norm of the error is in the order of machine precision for both quasi-interpolatory operators d Q 3 j y with r = 1 and r = 2 .
To check the convergence order, in the second test, we set μ = 2.8 so that the theoretical convergence order is precisely μ . The numerical convergence order for different values of γ is displayed in Figure 2 as a function of the refinement level j. For comparison, a line having the same slope as the theoretical convergence order is also displayed. The infinity norm of the approximation error and the numerical convergence order are listed in Table 2 and Table 3. Table 2 refers to the quasi-interpolatory operators d Q 3 j y with r = 1 , while Table 3 refers to the case r = 2 .

4.2. Example 2

To check the accuracy of the method in the case of large intervals, in the second example, we set the discretization interval to I = [ 0 , 6 ] . For this test, we chose f ( t ) 0 , b = 1 , and y ( 0 ) = 1 , so that the initial value problem (7) becomes:
C D t γ y ( t ) + y ( t ) = 0 , 0 < t 6 , 0 < γ < 1 , y ( 0 ) = 1 .
One can easily see that in this case, Equation (8) reduces to:
y ( t ) = E γ , 1 ( t γ ) .
To evaluate the Mittag–Leffler function appearing in the exact solution, we used the algorithm given in [37]. The numerical solution and the absolute value of the error for different values of j and γ are displayed in Figure 3. The numerical convergence order is shown in Figure 4. For comparison, a line having the same slope as the theoretical convergence order is also displayed. The infinity norm of the error and the numerical convergence order as a function of the refinement level j are listed in Table 4 and Table 5. Table 4 refers to the quasi-interpolatory operators d Q 3 j y with r = 1 , while Table 5 refers to the case r = 2 .

5. Discussion

The numerical results in Section 4 show that the collocation method we proposed is accurate and efficient. As shown in the first example of Section 4.1, the method is exact for polynomials up to degree n = 3 , the degree of the spline approximating function, so that the error is in the order of the machine precision (cf. Table 1). In the second example of Section 4.1, the error decreases according to the theoretical convergence rate for both quasi-interpolatory operators. In fact, the numerical convergence rate is O ( 2 j ν ) , where ν = 2.8 is the smoothness of the solution y ( t ) = t 2.8 (cf. Table 2 and Table 3). Nevertheless, the quasi-interpolatory operator with r = 2 gives a smaller error showing that higher accuracy can be achieved by operators with a higher degree of polynomial reproduction. It is worth noting that the error is rather small even at the low refinement level j = 3 , i.e., using only 11 basis functions and 16 collocation points. A similar behavior is shown in the examples of Section 4.2 (cf. Table 4 and Table 5). Here, we used a large discretization interval, i.e., [ 0 , 6 ] . We point out that other numerical methods, such as spectral methods or finite difference methods, require high computational cost to approximate accurately the solution of fractional differential equations in large intervals. Instead, our method gives a good accuracy with a low computational cost. In this example, the numerical convergence rate is slightly different from the theoretical one, which is O ( 2 j ν ) with ν = γ . In particular, the approximation with the quasi-interpolatory operator with r = 1 shows a lower convergence rate while the quasi-interpolatory operator with r = 2 shows a higher convergence rate. This behavior is worth investigating in more detail. Finally, we notice that the error is higher near the left boundary (cf. Figure 3). This can be due to the use of truncated B-splines as left-edge functions for which initial conditions are more difficult to fulfil. This problem can be overcome using optimal B-spline bases [38].
The proposed method can be easily applied to more general fractional differential equations. As an example, we consider the Bagley–Torvik equation:
y ( t ) + C D t 1.5 y ( t ) + y ( t ) = 15 4 t + 15 8 π t + t 2 t , t [ 0 , 1 ] , y ( 0 ) = y ( 0 ) = 0 ,
which is a second order multi-term fractional differential equation used to describe the viscoelastic properties of real materials [39]. Its exact solution is y ( t ) = t 2 t . We numerically solved Equation (37) using the quasi-interpolatory operator d Q n j y with r = 1 and r = 2 . The infinity norm of the error and the numerical convergence order as a function of the refinement level j are listed in Table 6. We notice that in the case of differential problems having a second order derivative, the theoretical convergence order is smaller than O ( 2 j ν ) , as the numerical results show. The error is comparable with the error obtained by other spline methods in the literature (cf. [20,22]) and shows that the method is effective also for this kind of problem. More general problems, such as boundary value problems and nonlinear problems, will be the subject of a forthcoming paper.

6. Conclusions

The numerical method presented in this paper combines collocation methods and spline quasi-interpolatory operators involving divided differences to approximate the solution to a linear time fractional differential equation. The method is convergent and reproduces polynomials of suitable degree. The numerical tests confirm the theoretical results and show that the accuracy of the method can be improved using quasi-interpolatory operators reproducing polynomials of higher degree.
The use of the proposed method to solve nonlinear fractional differential equations is at present under study. Moreover, we aim to improve the accuracy of the method by using optimal spline bases and different kinds of quasi-interpolatory operators.

Author Contributions

Conceptualization, F.P.; funding acquisition, F.P.; methodology, E.P., L.P., and F.P.; software, E.P.; writing, review and editing, E.P., L.P., and F.P. All authors read and agreed to the published version of the manuscript.

Funding

This research was partially funded by Gruppo Nazionale per il Calcolo Scientifico (Istituto Nazionale di Alta Matematica “Francesco Severi”), Grant INdAM–GNCS Project 2020 “Costruzione di metodi numerico/statistici basati su tecniche multiscala per il trattamento di segnali e immagini ad alta dimensionalità”.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Podlubny, I. Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications; Elsevier: Amsterdam, The Netherlands, 1998. [Google Scholar]
  2. Sabatier, J.; Agrawal, O.; Tenreiro Machado, J.A. Advances in Fractional Calculus; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar] [CrossRef]
  3. Diethelm, K. The Analysis of Fractional Differential Equations: An Application-Oriented Exposition Using Differential Operators of Caputo Type; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  4. Hilfer, R. Applications of Fractional Calculus in Physics; World Scientific: Singapore, 2000. [Google Scholar]
  5. Kilbas, A.A.; Srivastava, H.M.; Trujillo, J.J. Theory and Applications of Fractional Differential Equations; Elsevier Science (North-Holland): Amsterdam, The Netherlands, 2006. [Google Scholar]
  6. Mainardi, F. Fractional Calculus and Waves in Linear Viscoelasticity: An Introduction to Mathematical Models; World Scientific: Singapore, 2010. [Google Scholar]
  7. Tarasov, V.E. Fractional Dynamics; Nonlinear Physical Science; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  8. Baleanu, D.; Diethelm, K.; Scalas, E.; Trujillo, J.J. Fractional Calculus: Models and Numerical Methods; World Scientific: Singapore, 2016. [Google Scholar]
  9. Caputo, M. Linear models of dissipation whose Q is almost frequency independent—II. Geophys. J. Int. 1967, 13, 529–539. [Google Scholar] [CrossRef]
  10. Diethelm, K.; Garrappa, R.; Giusti, A.; Stynes, M. Why fractional derivatives with nonsingular kernels should not be used. Fract. Calc. Appl. Anal. 2020, 23, 610–634. [Google Scholar] [CrossRef]
  11. Li, C.; Zeng, F. Numerical Methods for Fractional Calculus; CRC Press: Boca Raton, FL, USA, 2015; Volume 24. [Google Scholar]
  12. Cai, M.; Li, C. Numerical approaches to fractional integrals and derivatives: A review. Mathematics 2020, 8, 43. [Google Scholar] [CrossRef] [Green Version]
  13. Diethelm, K.; Ford, J.M.; Ford, N.J.; Weilbeer, M. Pitfalls in fast numerical solvers for fractional differential equations. J. Comput. Appl. Math. 2006, 186, 482–503. [Google Scholar] [CrossRef] [Green Version]
  14. Li, C.; Chen, A. Numerical methods for fractional partial differential equations. Int. J. Comput. Math. 2018, 95, 1048–1099. [Google Scholar] [CrossRef]
  15. Schumaker, L. Spline Functions: Basic Theory; Cambridge University Press: Cambridge, UK, 2007. [Google Scholar]
  16. Unser, M.; Blu, T. Fractional splines and wavelets. SIAM Rev. 2000, 42, 43–67. [Google Scholar] [CrossRef] [Green Version]
  17. Pezza, L.; Pitolli, F. A fractional spline collocation-Galerkin method for the time-fractional diffusion equation. Commun. Appl. Ind. Math. 2018, 9, 104–120. [Google Scholar] [CrossRef] [Green Version]
  18. Pezza, L.; Pitolli, F. A multiscale collocation method for fractional differential problems. Math. Comput. Simul. 2018, 147, 210–219. [Google Scholar] [CrossRef]
  19. Pitolli, F. A fractional B-spline collocation method for the numerical solution of fractional predator-prey models. Fractal Fract. 2018, 2, 13. [Google Scholar] [CrossRef] [Green Version]
  20. Pedas, A.; Tamme, E. On the convergence of spline collocation methods for solving fractional differential equations. J. Comput. Appl. Math. 2011, 235, 3502–3514. [Google Scholar] [CrossRef] [Green Version]
  21. Pedas, A.; Tamme, E. Numerical solution of nonlinear fractional differential equations by spline collocation methods. J. Comput. Appl. Math. 2014, 255, 216–230. [Google Scholar] [CrossRef]
  22. Dadkhah, E.; Shiri, B.; Ghaffarzadeh, H.; Baleanu, D. Visco-elastic dampers in structural buildings and numerical solution with spline collocation methods. J. Appl. Math. Comput. 2020, 63, 29–57. [Google Scholar] [CrossRef]
  23. Brunner, H. Collocation Methods for Volterra Integral and Related Functional Differential Equations; Cambridge University Press: Cambridge, UK, 2004; Volume 15. [Google Scholar]
  24. Lyche, T.; Schumaker, L.L. Local spline approximation methods. J. Approx. Theory 1975, 15, 294–325. [Google Scholar] [CrossRef] [Green Version]
  25. Gori, L.; Santi, E. Refinable quasi-interpolatory operators. In Constructive Theory of Functions, Varna 2002; Bojanov, B., Ed.; DARBA: Sofia, Bulgaria, 2003; pp. 288–294. [Google Scholar]
  26. Sablonnière, P. Recent progress on univariate and multivariate polynomial and spline quasi-interpolants. In Trends and Applications in Constructive Approximation, ISNM; De Bruin, M., Mache, D., Szabados, J., Eds.; Birkhäuser Verlag: Basel, Switzerland, 2005; Volume 177, pp. 229–245. [Google Scholar]
  27. Pellegrino, E.; Pezza, L.; Pitolli, F. A collocation method in spline spaces for the solution of linear fractional dynamical systems. Math. Comput. Simul. 2020, 176, 266–278. [Google Scholar] [CrossRef] [Green Version]
  28. Pellegrino, E.; Pezza, L.; Pitolli, F. Quasi-interpolant operators and the solution of fractional differential problems. In Approximation Theory XVI. Nashville 2019; Fasshauer, G.E., Ed.; Springer Nature: Switzerland, 2020. [Google Scholar]
  29. Gorenflo, R.; Kilbas, A.A.; Mainardi, F.; Rogosin, S.V. Mittag–Leffler Functions, Related Topics and Applications; Springer: Berlin/Heidelberg, Germany, 2014; Volume 2. [Google Scholar]
  30. de Boor, C. A Practical Guide to Splines; Springer: Berlin/Heidelberg, Germany, 1978. [Google Scholar]
  31. Schoenberg, I.J. On spline functions. In Inequalities; Shisha, O., Ed.; Academic Press: New York, NY, USA, 1967; pp. 255–291. [Google Scholar]
  32. de Boor, C.; Fix, G.J. Spline approximation by quasiinterpolants. J. Approx. Theory 1973, 8, 19–45. [Google Scholar] [CrossRef] [Green Version]
  33. Goodman, T.N.T.; Sharma, A. A modified Bernstein-Schoenberg operator. In Constructive Theory of Functions 87; Sendov, B., Ed.; Bulgarian Academy Sciences: Sofia, Bulgaria, 1988. [Google Scholar]
  34. Lee, B.G.; Lyche, T.; Mørken, K. Some examples of quasi-interpolants constructed from local spline projectors. In Mathematical Methods for Curves and Surfaces. Oslo 2000; Lyche, T., Schumaker, L., Eds.; Vanderbilt University Press: Nashville, TN, USA, 2001; pp. 243–252. [Google Scholar]
  35. Gori, L.; Santi, E. Convergence properties of certain refinable quasi-interpolatory operators. Appl. Numer. Math. 2005, 55, 312–321. [Google Scholar] [CrossRef]
  36. Ascher, U. Discrete least squares approximations for ordinary differential equations. SIAM J. Numer. Anal. 1978, 15, 478–496. [Google Scholar] [CrossRef]
  37. Garrappa, R.; Popolizio, M. Evaluation of generalized Mittag–Leffler functions on the real line. Adv. Comput. Math. 2013, 39, 205–225. [Google Scholar] [CrossRef]
  38. Pitolli, F. Optimal B-spline bases for the numerical solution of fractional differential problems. Axioms 2018, 7, 46. [Google Scholar] [CrossRef] [Green Version]
  39. Torvik, P.J.; Bagley, R.L. On the appearance of the fractional derivative in the behaviour of real materials. J. Appl. Mech. 1984, 51, 294–298. [Google Scholar] [CrossRef]
Figure 1. (a) The cubic basis S 3 j in the interval [ 0 , 1 ] at the refinement level j = 3 . The left edge functions are plotted with dashed lines. (bd) The fractional derivative of the cubic basis for γ = 0.25 (Panel (b)), γ = 0.5 (Panel (c)), and γ = 0.75 (Panel (d)).
Figure 1. (a) The cubic basis S 3 j in the interval [ 0 , 1 ] at the refinement level j = 3 . The left edge functions are plotted with dashed lines. (bd) The fractional derivative of the cubic basis for γ = 0.25 (Panel (b)), γ = 0.5 (Panel (c)), and γ = 0.75 (Panel (d)).
Fractalfract 05 00005 g001
Figure 2. Example 1: The numerical convergence order ρ j for the quasi-interpolatory operator with r = 1 (red solid line) and r = 2 (blue solid line) for γ = 0.25 (Panel (a)), γ = 0.5 (Panel (b)), and γ = 0.75 (Panel (c)) is displayed as a function of j. The black dashed line has the same slope as the theoretical convergence order.
Figure 2. Example 1: The numerical convergence order ρ j for the quasi-interpolatory operator with r = 1 (red solid line) and r = 2 (blue solid line) for γ = 0.25 (Panel (a)), γ = 0.5 (Panel (b)), and γ = 0.75 (Panel (c)) is displayed as a function of j. The black dashed line has the same slope as the theoretical convergence order.
Fractalfract 05 00005 g002
Figure 3. Example 2. (a) The numerical solution y 3 ( t ) (blue solid line) and exact solution (red dashed line). (bd) The semilog plot of the error | e j ( t ) | for different values of j for γ = 0.25 (Panel (b)), γ = 0.5 (Panel (c)), and γ = 0.75 (Panel (d)).
Figure 3. Example 2. (a) The numerical solution y 3 ( t ) (blue solid line) and exact solution (red dashed line). (bd) The semilog plot of the error | e j ( t ) | for different values of j for γ = 0.25 (Panel (b)), γ = 0.5 (Panel (c)), and γ = 0.75 (Panel (d)).
Fractalfract 05 00005 g003
Figure 4. Example 2: The numerical convergence order ρ j for the quasi-interpolatory operator with r = 1 (red solid line) and r = 2 (blue solid line) for γ = 0.25 (Panel (a)), γ = 0.5 (Panel (b)), and γ = 0.75 (Panel (c)) is displayed as a function of j. The black dashed line has the same slope as the theoretical convergence order.
Figure 4. Example 2: The numerical convergence order ρ j for the quasi-interpolatory operator with r = 1 (red solid line) and r = 2 (blue solid line) for γ = 0.25 (Panel (a)), γ = 0.5 (Panel (b)), and γ = 0.75 (Panel (c)) is displayed as a function of j. The black dashed line has the same slope as the theoretical convergence order.
Fractalfract 05 00005 g004
Table 1. Example 1: The infinity norm of the error e j for μ = 3 and different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 1 and r = 2 (cf. (26) and (27)). The number of collocation points is N s + 1 = 2 j + 1 .
Table 1. Example 1: The infinity norm of the error e j for μ = 3 and different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 1 and r = 2 (cf. (26) and (27)). The number of collocation points is N s + 1 = 2 j + 1 .
γ = 0.25 γ = 0.5 γ = 0.75
j N s + 1 r = 1 r = 2 r = 1 r = 2 r = 1 r = 2
3173.33 × 10 16 4.44 × 10 16 4.44 × 10 16 2.10 × 10 16 7.77 × 10 16 1.26 × 10 15
4331.33 × 10 15 1.89 × 10 15 6.88 × 10 15 2.00 × 10 15 2.22 × 10 15 1.78 × 10 15
5657.80 × 10 14 3.84 × 10 14 4.71 × 10 14 1.78 × 10 14 1.95 × 10 14 1.84 × 10 14
61297.17 × 10 13 1.06 × 10 12 1.71 × 10 13 3.04 × 10 13 1.14 × 10 13 2.95 × 10 13
Table 2. Example 1: The infinity norm of the error and the numerical convergence order for different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 1 (cf. (26)). The number of collocation points is N s + 1 = 2 j + 1 .
Table 2. Example 1: The infinity norm of the error and the numerical convergence order for different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 1 (cf. (26)). The number of collocation points is N s + 1 = 2 j + 1 .
γ = 0.25 γ = 0.5 γ = 0.75
j N s + 1 e j ρ j e j ρ j e j ρ j
3171.13 × 10 5 1.65 × 10 5 2.35 × 10 5
4331.63 × 10 6 2.8002.38 × 10 6 2.8003.37 × 10 6 2.800
5652.34 × 10 7 2.8003.41 × 10 7 2.8004.84 × 10 7 2.800
61293.35 × 10 8 2.8004.90 × 10 8 2.8006.96 × 10 8 2.800
Table 3. Example 1: The infinity norm of the error and the numerical convergence order for different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 2 (cf. (27)). The number of collocation points is N s + 1 = 2 j + 1 .
Table 3. Example 1: The infinity norm of the error and the numerical convergence order for different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 2 (cf. (27)). The number of collocation points is N s + 1 = 2 j + 1 .
γ = 0.25 γ = 0.5 γ = 0.75
j N s + 1 e j ρ j e j ρ j e j ρ j
3177.77 × 10 6 9.07 × 10 6 1.20 × 10 5
4331.12 × 10 6 2.8001.30 × 10 6 2.8001.72 × 10 6 2.800
5651.60 × 10 7 2.8001.87 × 10 7 2.8002.47 × 10 7 2.800
61292.30 × 10 8 2.8002.69 × 10 8 2.8003.55 × 10 8 2.800
Table 4. Example 2: The infinity norm of the error and the numerical convergence order for different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 1 (cf. (26)). The number of collocation points is N s + 1 = 2 j 6 + 1 .
Table 4. Example 2: The infinity norm of the error and the numerical convergence order for different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 1 (cf. (26)). The number of collocation points is N s + 1 = 2 j 6 + 1 .
γ = 0.25 γ = 0.5 γ = 0.75
j N s + 1 e j ρ j e j ρ j e j ρ j
3971.61 × 10 1 5.97 × 10 2 1.40 × 10 2
41931.41 × 10 1 0.1914.29 × 10 2 0.4758.33 × 10 3 0.744
53851.23 × 10 1 0.1993.07 × 10 2 0.4824.97 × 10 3 0.746
67691.07 × 10 1 0.2062.19 × 10 2 0.4882.96 × 10 3 0.747
Table 5. Example 2: The infinity norm of the error and the numerical convergence order for different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 2 (cf. (27)). The number of collocation points is N s + 1 = 2 j 6 + 1 .
Table 5. Example 2: The infinity norm of the error and the numerical convergence order for different values of the fractional derivative γ and the refinement level j when using d Q 3 j y with r = 2 (cf. (27)). The number of collocation points is N s + 1 = 2 j 6 + 1 .
γ = 0.25 γ = 0.5 γ = 0.75
j N s + 1 e j ρ j e j ρ j e j ρ j
3971.12 × 10 1 4.28 × 10 2 1.03 × 10 2
41939.52 × 10 1 0.2362.93 × 10 2 0.5465.88 × 10 3 0.808
53857.98 × 10 2 0.2531.95 × 10 2 0.5883.27 × 10 3 0.847
67696.61 × 10 2 0.2721.24 × 10 2 0.6511.72 × 10 3 0.926
Table 6. Bagley–Torvik equation: the infinity norm of the error and the numerical convergence order when using d Q n j y with r = 1 (left) and r = 2 (right).
Table 6. Bagley–Torvik equation: the infinity norm of the error and the numerical convergence order when using d Q n j y with r = 1 (left) and r = 2 (right).
r = 1 r = 2
j e j ρ j j e j ρ j
35.65 × 10 2 33.39 × 10 3
42.89 × 10 2 0.96541.15 × 10 3 1.564
51.48 × 10 2 0.97153.87 × 10 4 1.566
67.50 × 10 3 0.97761.30 × 10 4 1.577
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pellegrino, E.; Pezza, L.; Pitolli, F. A Collocation Method Based on Discrete Spline Quasi-Interpolatory Operators for the Solution of Time Fractional Differential Equations. Fractal Fract. 2021, 5, 5. https://0-doi-org.brum.beds.ac.uk/10.3390/fractalfract5010005

AMA Style

Pellegrino E, Pezza L, Pitolli F. A Collocation Method Based on Discrete Spline Quasi-Interpolatory Operators for the Solution of Time Fractional Differential Equations. Fractal and Fractional. 2021; 5(1):5. https://0-doi-org.brum.beds.ac.uk/10.3390/fractalfract5010005

Chicago/Turabian Style

Pellegrino, Enza, Laura Pezza, and Francesca Pitolli. 2021. "A Collocation Method Based on Discrete Spline Quasi-Interpolatory Operators for the Solution of Time Fractional Differential Equations" Fractal and Fractional 5, no. 1: 5. https://0-doi-org.brum.beds.ac.uk/10.3390/fractalfract5010005

Article Metrics

Back to TopTop