Abstract

In this paper, we extend the operational matrix method to solve the tempered fractional differential equation, via shifted Legendre polynomial. Although the operational matrix method is widely used in solving various fractional calculus problems, it is yet to apply in solving fractional differential equations defined in the tempered fractional derivatives. We first derive the analytical expression for tempered fractional derivative for , hence, using it to derive the new operational matrix of fractional derivative. By using a few terms of shifted Legendre polynomial and via collocation scheme, we were able to obtain a good approximation for the solution of the multiorder tempered fractional differential equation. We illustrate it using some numerical examples.

1. Introduction

Tempered fractional calculus is a type of fractional derivative/integral operator which multiplies an exponential factor to its power law kernel. This type of exponential tempering had been received increasing attention from researchers as having both mathematical and practical advantages [1, 2]. Several phenomena were best described by using this tempered fractional derivative/integral operator such as tempered fractional Brownian motion [3], epidemic modelling [4], and diffusion-wave equation [5]. Besides that, the tempered fractional model also been proven superior to the standard mechanism-based models in an experiment for quantifying colloid fate and transport in complex soil-vegetation systems [6].

In this research direction, reliable numerical schemes are needed to obtain the approximation solution for tempered fractional differential equations. This is because normally there are no exact solution or the analytical solution for these tempered fractional differential equations is difficult to obtain. To date, limited researches are done to tackle this problem, which include third-order semidiscretized schemes [7], two-dimensional Gegenbauer wavelets method [8], predictor–corrector scheme [9], and finite difference iterative method [10]. However, some of the established numerical schemes which already been successfully applied to solve fractional differential equations in the Caputo sense are still not been employed to solve these tempered fractional differential equations, which include the operational matrix method. Hence, in this paper, we aim to develop a reliable numerical scheme that involves an operational matrix via shifted Legendre polynomial to tackle this tempered fractional differential equation. The tempered fractional differential equations will be transformed into a system of algebraic equations; then, solving the system of algebraic equation will solve multiorder tempered fractional differential equations as follows: where is the unknown solution, is tempered fractional derivatives, are constants, and are real derivative orders which denotes the tempered coefficient, while is the unhomogeneous terms.

To date, various numerical or analytical methods were derived to find the solution for different fractional calculus problems, such as [1113]. On top of that, the operational matrix method via different types of the polynomial is one of the common numerical schemes which had been widely used in solving various types of fractional calculus problems, such as the poly-Bernoulli operational matrix for solving fractional delay differential equation [14], poly-Genocchi operational matrix for solving fractional differential equation [15], Jacobi wavelet operational matrix of fractional integration for solving fractional integro-differential equation [16], and Fibonacci wavelet operational matrix of integration for solving of nonlinear Stratonovich Volterra integral equations [17]. Recently, the operational matrix method had been successfully extended to solve other fractional operator problems, such as solving Prabhakar fractional differential equation [18]. Although the operational matrix method is widely used in solving various fractional calculus problems, it is yet to apply in solving fractional differential equations defined in the tempered fractional derivatives. Hence, we hope it can fill in this research gap. The main advantages of using this operational matrix method over other existing methods are its simplicity of implementation and programmable easily in using any computer algebra system. Besides that, if the fractional differential equations are in multiorder or having variable coefficients, operational matrix method is also efficient in finding the numerical solution.

The rest of this paper is as follows. Section 2 discusses some important concepts for tempered fractional calculus. Section 3 presents the shifted Legendre operational matrix for tempered fractional derivative and is followed by the procedure of solving tempered fractional differential equation via collocation scheme using this new shifted Legendre operational matrix. Some numerical examples and conclusion are presented in Sections 4 and 5.

2. Some Concepts regarding Tempered Fractional Calculus

Definition 1 (see [19, 20]). For and where , the tempered fractional integral of order for a function is given by

Definition 2 (see [20]). For where , the Riemann-Liouville tempered fractional derivative of order for a function is given by where and is integer part of .

For Caputo type of tempered fractional derivative, we take the derivative of the function under the integral (3), and we obtain Definition 3.

Definition 3 (see [20]). For where . The Caputo tempered fractional derivative of order for a function is given by where and is integer part of .

The relationship between the tempered fractional derivative and tempered fractional integral is given by where .

The tempered fractional derivative for function , where is integer positive, we obtain

By using integration where is beta function and , we obtain

For the function with , we have [21],

Here, we take as positive integer number. For , both expressions in (7) and (8) have the same result.

While using (8) to derive the operational matrix, we need the following results related to the hypergeometric function:

In another aspect, the solution for single tempered fractional differential equation, i.e., for , , and the initial condition is can be expressed as follows [20]:

where . However, this type of solution may fail when there are involving multiorder tempered fractional differential equations. Hence, we proposed to solve these multiorder tempered fractional differential equations via collocation scheme using shifted Legendre operational matrix. Other types of polynomials can be used also to derive the new operational matrix to tackle the tempered fractional derivative.

3. Shifted Legendre Operational Matrix for Tempered Fractional Derivative

3.1. Shifted Legendre Polynomials

The Legendre polynomials is an orthogonal polynomial on the interval . One of the ways to obtain Legendre polynomials is via recurrence relation as follows: where and . The Legendre polynomials in domain can be transformed into the domain of by using , which we get shifted Legendre polynomials, as follows: where and . Besides that, the shifted Legendre polynomials of degree can be obtained via the analytical form: where and . The orthogonality condition is

The shifted Legendre polynomials have a nice property that is useful for function approximation. In this case, a square integrable function can be expressed in terms of shifted Legendre polynomials as follows: where the coefficients are given by

In order to use equation (18) to approximate the function, normally, we truncated after terms shifted Legendre polynomials as follows: where the shifted Legendre coefficient vector, is given by and the shifted Legendre vector, can be expressed as

3.2. Shifted Legendre Polynomial Operational Matrix

In this subsection, we derive the new shifted Legendre operational matrix for tackling tempered fractional derivative. We have the following theorem.

Theorem 4. Let be the shifted Legendre vector as shown in (20). For , then, where is the operational matrix of tempered fractional derivative of order defined as where is given by where

Proof. By using equation (8) and letting , the tempered fractional derivative for is given as follows:

Using the expression as in (25), the explicit expression of tempered fractional derivative of the -th degree shifted Legendre polynomials which is the -th element of is computed:

The elements of the operational matrix are computed by taking inner product for the tempered fractional derivative of shifted Legendre polynomials, with shifted Legendre polynomials, : where the inner product can be computed as follows

The integration in (29) can be obtained via the formula in (10). Putting equation (29) into (28), we obtain

Setting

Hence, each element of shifted Legendre operational matrix for tempered fractional derivative is obtained.

To test the accuracy of the operational matrix derived in Theorem 4, we use it to approximate tempered fractional derivative for and . For , we obtain the following operational matrix when ,

Figures 1 and 2 show the comparison between the exact solution for tempered fractional derivative for and with the approximation using operational matrix as in (32). Accuracy of the approximate can be increased with increasing the .

4. Solving Tempered Fractional Differential Equation Using Shifted Legendre Operational Matrix Method and Error Analysis

This section consists of an explanation for the proposed method that combines collocation scheme with shifted Legendre polynomials operational matrix of tempered fractional derivative to solve multiorder tempered fractional differential equations.

Here, we present the general procedure for solving multiorder tempered fractional differential equations as in equation (33) via shifted Legendre operational matrix.

Step 1. The unknown function, i.e., the solution, is approximated by truncated shifted Legendre polynomials, where The tempered fractional derivative of equation (33) is approximated using the shifted Legendre operational matrix of tempered fractional derivative as in equations (22)–(24).

Remark 5. The function, in the RHS of equation (33) can also approximated in term of truncated shifted Legendre polynomials as follows: where and the coefficients are computed using equation (19). However, to increase the accuracy of the method and also increase speed of its computer implementation, collocation scheme can be applied directly to these known functions.

Step 2. From Step 1, the following is obtained: After some algebraic manipulations, we obtain Thus, the residual is

Step 3. Due to the set of shifted Legendre polynomials basis, is linearly independent, we obtain We obtain a system of algebraic equations from equation (39). The initial condition in equation (33) is also approximated in term of shifted Legendre polynomials:

Step 4. Select equations from equation (39) and combine with initial conditions from equation (40), we obtain a system of linear algebraic equations in term of . Hence, solve the system with using any suitable numerical methods. Then, the approximate solution can be computed by following equation:

4.1. Error Analysis

To discuss the error analysis for our method, we follow the approach done in [22] where the alternating Legendre polynomials are applied to derive the operational matrix to solve the fractional differential equations problem defined in the classical Caputo sense.

Lemma 6. Suppose that and be its expansion in terms of shifted Legendre polynomials, as described by equation (34). Then where is a constant such that .

Proof. Assume that is the interpolating polynomials to at points , where be the roots of the shifted Chebyshev polynomials of degree , then As proof in [22], the above approximation has the bound as follows: Then, we have Hence, take the square root of both sides, we obtain This completes the proof.

In order to perform the error estimation for this new numerical scheme, we apply residual correction procedure. From equation (39), i.e., , hence

If , using the operational matrix via shifted Legendre polynomials to approximate multiorder tempered fractional derivative and approximate via shifted Legendre polynomials, we obtain

For our proposed method, is finite. Hence, suppose term of shifted Legendre polynomials had been used, then, small error, , is inevitable.

Let is the approximation solution of equation (1) obtained by the shifted Legendre operational matrix method, if is sufficiently small; then, the absolute errors can be estimated by . Hence, we obtain the optimal value (i.e., ).

5. Numerical Examples

In this section, we will apply the new operational matrix for tempered fractional derivative to solve the tempered fractional differential equations.

Example 1. Consider the multiorder tempered fractional differential equation as follows: with initial condition . The exact solution is known as .

Solution: by using , we have the following numerical result as shown in Table 1 and Figure 3. Only using few terms of shifted Legendre polynomials, we were able to obtain good result for this multiorder tempered fractional differential equation.

Example 2. Consider a simple tempered fractional differential equation as follows: with initial condition . The exact solution is known as .

Solution: by using , we have the following numerical result as shown in Table 2 and Figure 4. Again, by only using few terms of shifted Legendre polynomials, we were able to obtain good result for this tempered fractional differential equation.

Example 3. Consider the tempered fractional differential equation taken from [23] as follows: with initial condition . The exact solution is given as . This can be verified by using the procedure as in equations (6) and (7), where ones should get

Solution: by using and , we have the following numerical result for , as shown in Table 3. We compare our solution with Jacobi-predictor-corrector algorithm [23]. Again, only using few terms of shifted Legendre polynomials, we were able to obtain good results compare with Jacobi-predictor-corrector algorithm. More specifically, say if has been used, the size of each subinterval is , which is equivalent to the iteration Jacobi-predictor-corrector algorithm with stepsize . For , our absolute error is 4.779320E-07, , which is comparable with 7.4482E-07, stepsize .

Example 4. Consider the multiorder tempered fractional differential equation as follows: with initial condition . The exact solution is given as .

Solution: by using , we have the following numerical result as shown in Table 4. Again, for the relative absolute errors presented, it is obvious that by only using few terms of shifted Legendre polynomials via its operational matrix, we able to obtain good results for this multiorder tempered fractional differential equations.

6. Conclusion

In this paper, we manage to derive a new operational matrix for tempered fractional derivatives. Hence, we use it to solve tempered fractional differential equations. The proposed method is easy to apply and yet able to give accurate results. The accuracy of the method can be improved by increasing the number of the term of shifted Legendre polynomials. The proposed method should extend to solve some other tempered fractional calculus problems, such as tempered fractional partial differential equations. Besides that, this operational matrix also can be extended to solve other kinds of fractional calculus problems such as those in [2427].

Data Availability

No data were used to support this study.

Conflicts of Interest

There is no conflicts of interest.