1 Introduction

Fractional differential equations have drawn the interest of many researchers (see, for instance, [14]) due to their important applications in science and engineering. Indeed, we can find numerous applications in viscoelasticity, electrochemistry, control, electromagnetic, porous media, and so forth. In consequence, the subject of fractional differential equations is gaining much importance and attention. For some recent developments on the subject, see [513] and the references therein.

Spectral methods employ orthogonal systems as the basis functions and so usually provide accurate numerical results [1417]. The usual spectral methods are only available for bounded domains for solving FDEs; see [6, 1820]. However, many problems in science, engineering, and finance are set on unbounded domains. Therefore, it is also interesting to consider spectral tau methods for solving multi-term FDEs on the half line by using the operational matrix of fractional integration of modified Laguerre polynomials.

Some authors developed the Laguerre spectral method for the half line for ordinary, partial, and delay differential equations; see [2125]. A new family of generalized Laguerre polynomials is introduced in [21], and in [24] Yan and Guo proposed a collocation method for solving initial value problems of second-order ODEs by using modified Laguerre functions.

In the last few years, there has been a growing interest in the use of spectral method for numerical treatments of FDEs in bounded domains. Saadatmandi and Dehghan [18] proposed an operational Legendre tau technique for the numerical solution of multi-term FDEs. The same technique based on the operational matrix of Chebyshev polynomials has been used for the same problem (see [26]). In [27], Doha et al. derived the Jacobi operational matrix of fractional derivatives which was applied together with the spectral tau method for a numerical solution of general linear multi-term fractional differential equations. Bhrawy et al. [20] used a quadrature shifted Legendre tau method for treating multi-term linear FDEs with variable coefficients. Moreover, in [28] the authors developed a Jacobi-Gauss-Lobatto collocation method for solving the nonlinear fractional Langevin equation with three-point boundary conditions.

Recently, El-Danaf et al. [29] investigated the use of spline functions of an integral form to approximate the solution of fractional order differential equations. In [30], Kadem and Baleanu introduced the Chebyshev spectral approach for a fractional radiative transfer equation, in which the multidimensional problem has been transformed into a system of fractional differential equations. Also, the waveform relaxation method in solving fractional differential equations is applied in [31]. A new explicit formula for the integrals of shifted Chebyshev polynomials of any degree for any fractional order in terms of shifted Chebyshev polynomials themselves is derived in [32], and a fast algorithm is developed for the solution of linear multi-order fractional differential equations by considering their integrated forms. Moreover, a new operational Jacobi matrix of fractional integration is investigated in [33] for solving linear FDEs on a bounded domain.

The operational matrix of integer integration has been determined for several types of orthogonal polynomials such as Chebyshev polynomials [34] and Laguerre and Hermite polynomials[35]. Recently, Singh et al. [36] derived the Bernstein operational matrix of integration. More recently, Bhrawy and Alofi [37] proposed the operational Chebyshev matrix of fractional integration in the Riemann-Liouville sense which was applied together with the spectral tau method to solve linear FDEs on a finite interval.

Up to now, and to the best of our knowledge, most of formulae corresponding to those mentioned previously are unknown and are traceless in the literature for fractional integration in the Riemann-Liouville sense. This partially motivates our interest in the operational matrix of fractional integration for modified generalized Laguerre polynomials.

In this paper, we propose a new tau method based on the operational matrix of fractional integration in the Riemann-Liouville sense, in which we take the modified Laguerre functions as the basis functions and approximate the solutions of multi-term FDEs on a semi-infinite interval. Finally, the accuracy of the proposed algorithm is demonstrated by test problems.

The remainder of the paper is organized as follows. The next section is for preliminaries. In Section 3, we derive the modified generalized Laguerre operational matrix of fractional integration. In Section 4, we apply the modified generalized Laguerre operational matrix of fractional integration to solve linear multi-order FDEs. In Section 5, the proposed method is applied to two examples. Also, a conclusion is given in Section 6.

2 Some basic preliminaries

The most used definition of fractional integration is due to Riemann-Liouville, which is as follows:

J ν f(x)= 1 Γ ( ν ) 0 x ( x t ) ν 1 f(t)dt,ν>0,x>0,and J 0 f(x)=f(x).
(1)

One of the basic properties of the operator J ν is

J ν x β = Γ ( β + 1 ) Γ ( β + 1 + ν ) x β + ν .
(2)

The next equation defines Riemann-Liouville fractional derivative of order ν

D ν f(x)= d m d x m ( J m ν f ( x ) ) ,
(3)

where m1<νm, mN, and m is the smallest integer greater than ν.

If m1<νm, mN, then

D ν J ν f(x)=f(x), J ν D ν f(x)=f(x) i = 0 m 1 f ( i ) ( 0 + ) x i i ! ,x>0.
(4)

Now, let Λ=(0,) and w ( α , β ) (x)= x α e β x be a weight function on Λ in the usual sense. Define

L w ( α , β ) 2 (Λ)= { v | v  is measurable on  Λ  and  v w ( α , β ) < } ,

equipped with the following inner product and norm:

( u , v ) w ( α , β ) = Λ u(x)v(x) w ( α , β ) (x)dx, v w ( α , β ) = ( u , v ) w ( α , β ) 1 2 .

Next, let w ( α , β ) (x) with α>1 and β>0. The modified generalized Laguerre polynomial of degree i is defined by

L i ( α , β ) (x)= 1 i ! x α e β x x i ( x i + α e β x ) ,i=0,1,.

According to (2.2)-(2.4) of [21] for α>1 and β>0, we have

where L 0 ( α , β ) (x)=1 and L 1 ( α , β ) (x)=βx+ Γ ( α + 2 ) Γ ( α + 1 ) .

The set of modified generalized Laguerre polynomials is the L w ( α , β ) 2 (0,)-orthogonal system, namely

0 L j ( α , β ) (x) L k ( α , β ) (x) w ( α , β ) (x)dx= h k δ j k ,
(5)

where δ j k is the Kronecker function and h k = Γ ( k + α + 1 ) β α + 1 k ! . The modified generalized Laguerre polynomial on the interval Λ(0,) is given by

L i ( α , β ) (x)= k = 0 i ( 1 ) k Γ ( i + α + 1 ) β k Γ ( k + α + 1 ) ( i k ) ! k ! x k ,i=0,1,.
(6)

The special value

D q L i ( α , β ) (0)= ( 1 ) q β q Γ ( i + α + 1 ) ( i q ) ! Γ ( q + α + 1 ) ,iq,
(7)

will be of important use later.

3 Modified generalized Laguerre operational matrix of fractional integration

The main objective of this section is to derive an operational matrix of fractional integration for modified generalized Laguerre polynomials.

Let u(x) L w ( α , β ) 2 (Λ), then u(x) may be expressed in terms of modified generalized Laguerre polynomials as

u(x)= j = 0 a j L j ( α , β ) (x), a j = 1 h k 0 u(x) L j ( α , β ) (x) w ( α , β ) (x)dx,j=0,1,.
(8)

In practice, only the first (N+1)-terms modified generalized Laguerre polynomials are considered. Then we have

u N (x)= j = 0 N a j L j ( α , β ) (x)= C T ϕ(x),
(9)

where the modified generalized Laguerre coefficient vector C and the modified generalized Laguerre vector ϕ(x) are given by

C T =[ c 0 , c 1 ,, c N ],ϕ(x)= [ L 0 ( α , β ) ( x ) , L 1 ( α , β ) ( x ) , , L N ( α , β ) ( x ) ] T .
(10)

Theorem 3.1 Let ϕ(x) be the modified generalized Laguerre vector and ν>0, then

J ν ϕ(x) P ( ν ) ϕ(x),
(11)

where P ( ν ) is the (N+1)×(N+1) operational matrix of fractional integration of order ν in the Riemann-Liouville sense and is defined as follows:

P ( ν ) =( Ψ ν ( 0 , 0 ) Ψ ν ( 0 , 1 ) Ψ ν ( 0 , 2 ) Ψ ν ( 0 , N ) Ψ ν ( 1 , 0 ) Ψ ν ( 1 , 1 ) Ψ ν ( 1 , 2 ) Ψ ν ( 1 , N ) Ψ ν ( i , 0 ) Ψ ν ( i , 1 ) Ψ ν ( i , 2 ) Ψ ν ( i , N ) Ψ ν ( N , 0 ) Ψ ν ( N , 1 ) Ψ ν ( N , 2 ) Ψ ν ( N , N ) ),
(12)

where

Ψ ν (i,j)= k = 0 i r = 0 j ( 1 ) k + r β ( ν ) j ! Γ ( i + α + 1 ) Γ ( k + ν + α + r + 1 ) ( i k ) ! ( j r ) ! r ! Γ ( k + ν + 1 ) Γ ( k + α + 1 ) Γ ( α + r + 1 ) .

Proof Using the analytic form of the modified generalized Laguerre polynomials L i ( α , β ) (x) of degree i (6) and (2), then

J ν L i ( α , β ) ( x ) = k = 0 i ( 1 ) k β k Γ ( i + α + 1 ) ( i k ) ! k ! Γ ( k + α + 1 ) J ν x k = k = 0 i ( 1 ) k β k Γ ( i + α + 1 ) ( i k ) ! Γ ( k + ν + 1 ) Γ ( k + α + 1 ) x k + ν , i = 0 , 1 , , N .
(13)

Now, approximating x k + ν by N+1 terms of modified generalized Laguerre series, we have

x k + ν = j = 0 N c j L j ( α , β ) (x),
(14)

where c j is given from (8) with u(x)= x k + ν , that is,

c j = r = 0 j ( 1 ) r β k ν j ! Γ ( k + ν + α + r + 1 ) ( j r ) ! r ! Γ ( r + α + 1 ) ,j=1,2,,N.
(15)

In virtue of (13) and (14), we get

J ν L i ( α , β ) (x)= j = 0 N Ψ ν (i,j) L j ( α , β ) (x),i=0,1,,N,
(16)

where

Ψ ν ( i , j ) = k = 0 i r = 0 j ( 1 ) k + r β ( ν ) j ! Γ ( i + α + 1 ) Γ ( k + ν + α + r + 1 ) ( i k ) ! ( j r ) ! r ! Γ ( k + ν + 1 ) Γ ( k + α + 1 ) Γ ( α + r + 1 ) , j = 1 , 2 , , N .

Accordingly, Eq. (16) can be written in a vector form as follows:

J ν L i ( α , β ) (x) [ Ψ ν ( i , 0 ) , Ψ ν ( i , 1 ) , Ψ ν ( i , 2 ) , , Ψ ν ( i , N ) ] ϕ(x),i=0,1,,N.
(17)

Eq. (17) leads to the desired result. □

Corollary 3.2 If we define the q times repeated integration of the modified generalized Laguerre vector ϕ(x) by J q ϕ(x), and

J q ϕ(x) I ( q ) ϕ(x),
(18)

then I ( q ) = P ( q ) is the operational matrix of integration of ϕ(x), where q is an integer value.

4 Modified generalized Laguerre tau method based on operational matrix

Many practical problems are governed by initial value problems of multi-term FDEs. We may decompose such problems to a system of fractional equations of varying orders and then solve them numerically (see [38]). Whereas, for saving work, it seems reasonable to solve them directly.

In this section, the modified generalized Laguerre tau method based on the operational matrix is proposed to numerically solve the FDEs. The basic idea of this technique is as follows: (i) The FDE is converted to a fully integrated form via fractional integration in the Riemann-Liouville sense. (ii) Subsequently, the integrated form equations are approximated by representing them as linear combinations of modified generalized Laguerre polynomials. (iii) Finally, the integrated form equation is converted to an algebraic equation by introducing the operational matrix of fractional integration of the modified generalized Laguerre polynomials.

In order to show the fundamental importance of the modified generalized Laguerre operational matrix of fractional integration, we apply it to solve the following multi-order FDE:

D ν u(x)= i = 1 k γ j D β i u(x)+ γ k + 1 u(x)+f(x),in Λ=(0,),
(19)

with initial conditions

u ( i ) (0)= d i ,i=0,,m1,
(20)

where γ i (i=1,,k+1) are real constant coefficients, m1<νm, 0< β 1 < β 2 << β k <ν, and g(x) is a given source function. If we apply the Riemann-Liouville integral of order ν to (19) after making use of (4), we get the integrated form of (19), namely

(21)

where m i 1< β i m i , m i N. This implies that

(22)

where

g(x)= J ν f(x)+ j = 0 m 1 d j x j j ! + i = 1 k γ i J ν β i ( j = 0 m i 1 d j x j j ! ) .

In order to use the tau method based on the operational matrix of fractional integration for modified generalized Laguerre for solving the fully integrated problem (22) with initial conditions (20), we approximate u(x) and g(x) by the modified generalized Laguerre polynomials as

(23)
(24)

where the vector G= [ g 0 , , g N ] T is given but C= [ c 0 , , c N ] T is an unknown vector.

Now, the Riemann-Liouville integral of orders ν and (ν β j ) of the approximate solution (23), after making use of Theorem 3.1 (relation (11)), can be written as

J ν u N (x) C T J ν ϕ(x) C T P ( ν ) ϕ(x),
(25)

and

J ν β j u N (x) C T J ν β j ϕ(x) C T P ( ν β j ) ϕ(x),j=1,,k,
(26)

respectively, where P ( ν ) is the (N+1)×(N+1) operational matrix of fractional integration of order ν. Employing Eqs. (23)-(26), the residual R N (x) for Eq. (22) can be written as

R N (x)= ( C T C T j = 1 k γ j P ( ν β j ) γ k + 1 C T P ( ν ) G T ) ϕ(x).
(27)

As in a typical tau method, we generate Nm+1 linear algebraic equations by applying

R N ( x ) , L j ( α , β ) ( x ) = 0 R N (x) w ( α , β ) (x) L j ( α , β ) (x)dx=0,j=0,1,,Nm.
(28)

Also, by substituting Eqs. (8) and (23) in Eq. (20), we get

u ( i ) (0)= C T D ( i ) ϕ(0)= d i ,i=0,1,,m1.
(29)

Eqs. (28) and (29) generate Nm+1 and m set of linear equations, respectively. These linear equations can be solved for unknown coefficients of the vector C. Consequently, u N (x) given in Eq. (23) can be calculated, which gives a solution of Eq. (19) with the initial conditions (20).

5 Illustrative examples

To illustrate the effectiveness of the proposed method in the present paper, some examples are carried out in this section. The results obtained by the present method reveal that it is very effective and convenient for linear FDEs on the half line.

Example 1 Consider the FDE

D 2 u(x)+ D 3 2 u(x)+u(x)= x 2 +2+ 4 x 1 2 Γ ( 0.5 ) ,u(0)=0, u (0)=0,xΛ,
(30)

whose exact solution is given by u(x)= x 2 .

If we apply the technique described in Section 4 with N=2, then the approximate solution can be written as

u N (x)= i = 0 2 c i L i ( α , β ) (x)= C T ϕ(x),

and

Using Eq. (28), we obtain

(31)

Now, by applying Eq. (29), we have

(32)
(33)

Finally, by solving Eqs. (31)-(33), we have the three unknown coefficients with general α and β as follows:

c 0 = α 2 + 3 α + 2 β 2 , c 1 = 2 α 4 β 2 , c 2 = 2 β 2 .

Thus, we can write

u(x)=( c 0 , c 1 , c 2 )( L 0 ( α , β ) ( x ) L 1 ( α , β ) ( x ) L 2 ( α , β ) ( x ) )= x 2 ,

which is the exact solution.

The values of c 0 , c 1 , c 2 with various choices of α and β are listed in Table 1.

Table 1 The values of c 0 , c 1 and c 2 for various choices of α and β for Example 1

Example 2 Consider the following fractional initial value problem:

(34)

whose exact solution is given by u(x)= x 3 .

If we apply the technique described in Section 4 with N=3, then the approximate solution can be written as

u N (x)= i = 0 3 c i L i ( α , β ) (x)= C T ϕ(x),

and

P ( 5 2 ) =( Ψ 5 2 ( 0 , 0 ) Ψ 5 2 ( 0 , 1 ) Ψ 5 2 ( 0 , 2 ) Ψ 5 2 ( 0 , 3 ) Ψ 5 2 ( 1 , 0 ) Ψ 5 2 ( 1 , 1 ) Ψ 5 2 ( 1 , 2 ) Ψ 5 2 ( 1 , 3 ) Ψ 5 2 ( 2 , 0 ) Ψ 5 2 ( 2 , 1 ) Ψ 5 2 ( 2 , 2 ) Ψ 5 2 ( 2 , 3 ) Ψ 5 2 ( 3 , 0 ) Ψ 5 2 ( 3 , 1 ) Ψ 5 2 ( 3 , 2 ) Ψ 5 2 ( 3 , 3 ) ),G=( g 0 g 1 g 2 g 3 ).

Using Eq. (28), we obtain

3 Ψ 5 2 ( 0 , 2 ) c 0 + 3 Ψ 5 2 ( 1 , 2 ) c 1 + ( 1 + 3 Ψ 5 2 ( 2 , 2 ) ) c 2 + 3 Ψ 5 2 ( 3 , 2 ) c 3 + g 2 = 0 , 3 Ψ 5 2 ( 0 , 3 ) c 0 + 3 Ψ 5 2 ( 1 , 3 ) c 1 + 3 Ψ 5 2 ( 2 , 3 ) c 2 + ( 1 + 3 Ψ 5 2 ( 3 , 3 ) ) c 3 + g 3 = 0 .
(35)

Now, applying Eq. (29), we get

C T ϕ ( 0 ) = c 0 + Γ ( α + 2 ) Γ ( α + 1 ) c 1 + Γ ( α + 3 ) 2 Γ ( α + 1 ) c 2 + Γ ( α + 4 ) 6 Γ ( α + 1 ) c 3 = 0 , C T D ( 1 ) ϕ ( 0 ) = β c 1 β Γ ( α + 3 ) Γ ( α + 2 ) c 2 β Γ ( α + 4 ) 2 Γ ( α + 2 ) c 3 = 0 .
(36)

By solving the linear system (35)-(36), we get

Thereby, we can write

u N (x)= i = 0 3 c i L i ( α , β ) (x)= x 3 .

Numerical results will not be presented since the exact solution is obtained. We have presented the values of the four unknown coefficients with various choices of α and β in Table 2.

Table 2 The values of c 0 , c 1 , c 2 and c 3 for various choices of α and β for Example 2

Example 3 Consider the following fractional initial value problem:

D 3 2 u(x)+3u(x)= γ 3 2 e γ x +3 e γ x ,u(0)=1, u (0)=γ,x(0,20),
(37)

whose exact solution is given by u(x)= e γ x .

Table 3 lists the maximum absolute error of u u N , using the operational matrix of fractional integration for the modified generalized Laguerre with tau method for γ=0.01, and various choices of N, α and β. From Table 3, we can achieve a good approximation to the exact solution by using a few terms of modified generalized Laguerre polynomials. Also, the maximum absolute error for N=10 and different values of γ, α, and β are shown in Table 4.

Table 3 Maximum absolute error for γ=0.01 and different values of α , β and N for Example 3
Table 4 Maximum absolute error for N=10 and different values of γ , α , and β for Example 3

6 Conclusion

In this paper, we introduced a general formulation for the modified generalized Laguerre operational matrix of fractional integration. Fractional integration is described in the Riemann-Liouville sense. We have presented an accurate direct solver for the general multi-term linear fractional-order differential equations with initial conditions on a semi-infinite domain by using modified generalized Laguerre tau approximation based on the modified generalized Laguerre operational matrix of fractional integration.

The numerical results given in the previous section demonstrate good accuracy of this algorithm. Moreover, the solutions obtained using the suggested algorithm show that this algorithm with a small number of modified generalized Laguerre polynomials gives a satisfactory result.