Abstract
This paper pursues obtaining Jacobi spectral collocation methods to solve Caputo fractional differential equations numerically. We used the shifted Jacobi–Gauss–Lobatto or Jacobi–Gauss–Radau quadrature nodes as the collocation points and derived the fractional differentiation matrices for Caputo fractional derivatives. With the fractional differentiation matrices, the fractional differential equations were transformed into linear systems, which are easier to solve. Two types of fractional differential equations were used for the numerical simulations, and the numerical results demonstrated the fast convergence and high accuracy of the proposed methods.
1. Introduction
The Caputo fractional derivative is used to model phenomena that involve interactions with the past and also problems with nonlocal properties [1,2,3,4,5]. The most-popular definition of the left-side Caputo derivative [1] is given below.
Definition 1.
Suppose that function u is defined in , ,, then the left-side Caputo fractional derivative of order ν is defined by
Given the above definition, it can be observed that the fractional derivative’s value at depends on the function values at . In this sense, one can think of the derivative as having “memory”. Thus, the fractional partial differential equations (FDEs) are more suitable than the traditional partial differential equations to study the processes of memory, hereditary properties, and heterogeneous materials.
For the fractional differential equations with an initial value, the existence and uniqueness of the solutions were studied in [6]. To achieve the analytical solutions, the Adomian decomposition methods [7] and the variational iteration methods [8,9] are the two common methods. The above literature showed that the exact solutions of FDEs are usually very hard to acquire or contain some special functions. Therefore, more and more researchers turn to numerical methods, for example finite-difference methods [10,11,12] and spectral methods [13,14,15,16,17,18,19,20,21,22,23,24,25,26]. Spectral methods are well-known high-accuracy methods [27,28,29,30,31,32,33,34,35], normally carried out by a Galerkin, Tau, or collocation approach in practical problems. Because fractional derivative operators are nonlocal and spectral methods are global methods, it is very natural to apply spectral methods to solve FDEs.
Recently, the methods of operational matrices combined with spectral techniques have been widely used to solve FDEs due to their efficiency, stability, and usability. Suppose that is the solution of an FDE and are orthogonal polynomials. The solution can be approximated by . The operational matrix of the fractional derivative is a matrix satisfying
with By the operational matrices,
the FDEs, hence, can be transformed into algebraic equations of coefficients . The operational matrices based on all kinds of shifted orthogonal polynomials have been discussed by scholars, such as Laguerre operational matrices [14,15], Legendre operational matrices [16], Bernstein operational matrices [17], Chebyshev operational matrices [18,19], Jacobi operational matrices [20,21], and Genocchi operational matrices [22]. The analysis of the exponential convergence of the operational matrix methods for some FDEs can be found in [36,37,38].
Suppose that are a collection of collocation points and , . The approximation can be written in the Lagrange interpolating formula:
with .
Let and ; it then follows that
where the matrix is the fractional differentiation matrix (FDM) of the Caputo fractional derivative of order . The Lagrange cardinal polynomial can be formulated by The corresponding operational matrix, therefore, can be used to obtain the fractional differentiation matrix as
with . However, to achieve the operational matrices, one often uses a polynomial expansion to approximate the non-integer power of x resulting from the fractional order derivative, which lowers the accuracy of the approaches. In this paper, we focused on deriving a new fractional differentiation matrix based on Jacobi polynomials to solve FDEs numerically.
This paper is structured as follows. Section 2 provides the preliminaries for standard Jacobi spectral collocation methods. In Section 3, the shifted Jacobi polynomials are introduced and the expressions of the fractional differentiation matrices for the fractional derivative are deduced using the shifted Jacobi–Gauss–Lobatto (JGL) and shifted Jacobi–Gauss–Radau (JGR) collocation points. The fractional differentiation matrix based on the shifted JGL points is used to numerically solve the generalized space–fractional Burgers’ equations in Section 4, and the fractional differentiation matrix based on the shifted JGR points is used to numerically solve fractional integro-differential equations in Section 5. The conclusion is made in the last section.
2. Jacobi Polynomials and Differentiation Matrix
Let stand for the common nth-degree Jacobi polynomials defined on . Jacobi polynomials for are orthogonal in regard to the weight function with and . From [34], has the following representation:
Suppose that are the corresponding Jacobi–Gauss–Lobatto (JGL) quadrature nodes (, , are the zeros of ) or Jacobi–Gauss–Radau (JGR) quadrature nodes ( and are the zeros of ) and taken as the collocation points.
Let function u be defined on and be Lagrange cardinal polynomials; the interpolation of u then is
The Lagrange cardinal polynomials can be expressed by the linear combination of Jacobi polynomials as
with the coefficients:
where
and
The coefficients and can be calculated as below.
When the JGL collocation points are used,
and
with ; when the JGR collocation points are used,
and
with .
After differentiation on Equation (3), one has
The vector with its components being the values of the first-order derivative of at the collocation points can be retrieved by a matrix multiplying a vector composed of function values of , i.e.,
where
The matrix is the first-order differentiation matrix, and the exact formula of for the JGL or JGR collocation points can be found in [34]. The differentiation matrix of higher-integer-order derivatives of can be obtained by calculating the corresponding power of . For example, the differentiation matrix of the second-order derivative is .
3. Jacobi Fractional Differentiation Matrix
The Caputo fractional differentiation matrix at the shifted Jacobi collocation points is derived in this section. The matrix will be used to solve FDEs in the next sections.
The shifted Jacobi polynomials, , which are defined on , can be obtained by a translation and dilation of general Jacobi polynomials, i.e.,
The shifted JGL collocation points then become
According to (2), the analytic expression of shifted Jacobi polynomials is
Similarly, the approximation of function u defined on has the following representation:
The differentiation matrix associated with the shifted Jacobi polynomials can be calculated by with defined in Section 2.
Take the Caputo derivative of order on Equation (12); one has
According to [1,26], we have the following lemma for the Caputo derivative.
Lemma 1.
Suppose that C is a constant, then ; , , , then
It follows from the above lemma that
The formulas of the FDMs for Caputo fractional derivatives are, hence, presented in the following theorem.
Theorem 1.
The Jacobi–Caputo fractional differentiation matrix of order ν with the shifted JGL or JGR collocation points is formulated as follows:
where with defined in (4), with for :
and with for ,
The Chebyshev polynomial of first kind is related to the Jacobi polynomials of as
where is the nth-degree Chebyshev polynomial. The Chebyshev–Gauss–Lobatto (CGL) collocation points are
and the Chebyshev–Gauss–Radau (CGR) collocation points are
The following corollary gives the formulas of the Chebyshev fractional differentiation matrix for the Caputo fractional derivative.
Corollary 1.
The Chebyshev–Caputo fractional differentiation matrix of order ν with the shifted CGL or CGR collocation points is formulated as follows:
where with defined in (14), with for :
and with for :
for the CGL collocation points, and
for the CGR collocation points.
Proof.
Using (4), (12) and (16), we have
where and is the shifted ith-degree Chebyshev polynomial. By the definition of in (6), we have
thus for the CGL collocation points,
and for the CGR collocation points,
According to [34], when the CGL collocation points are used,
when the CGR collocation points are used,
Hence, the formula of the elements of is verified.
The Caputo fractional derivative of order of is
which verifies the the formula of the elements of , and completes the proof. □
When the Jacobi polynomials become Legendre polynomials . The Legendre–Gauss–Lobatto (LGL) quadrature nodes are zeros of , and the Legendre–Gauss–Radau (LGR) quadrature nodes are zeros of . The following corollary delivers the expression of Legendre–Caputo fractional differentiation matrix.
Corollary 2.
The Legendre–Caputo fractional differentiation matrix of order ν with the shifted LGL or LGR collocation points is formulated as follows:
where with defined in (14), with for :
and with for :
for the LGL collocation points, and
for the LGR collocation points.
Proof.
The formula of the elements of and can be easily verified by taking in Theorem 1. According to [34], when the LGL collocation points are used,
when the LGR collocation points are used,
Thus, the formula of the elements in is proven. □
Corollary 3.
The Caputo fractional differentiation matrix of order ν with the shifted JGL or JGR collocation points is formulated as follows:
where with defined in (4) by taking and with
When and if , according to the proof of the above corollary, we have
then the element of matrix in the above corollary has the following form:
4. Algorithm and Numerical Examples for the Generalized Space–Fractional Burgers’ Equations
The generalized space–fractional Burgers’ equation depicts the acoustic phenomenon of a sound wave with weak nonlinearity propagating through a gas-filled tube in one direction [12]. In this section, we intended to apply the Jacobi–Caputo fractional differentiation matrix derived in the previous section to solve the generalized space–fractional Burgers’ equation defined as follows:
where , , and are arbitrary positive numbers and the fractional order of the Caputo derivative is a positive number less than 1.
Firstly, let be a set of the shifted JGL collocation points. The shifted Jacobi spectral collocation method for (18) is to find , such that
Let , , and be square matrices by removing the 1st, st columns and rows, respectively from , , and . In accordance with (11), (19) can be rewritten in the following matrix–vector representation:
where
Two examples of the generalized space–fractional Burgers’ equation are given below.
Example 1.
In this example, the function on the right-hand side of (18) is chosen to be
where is the two-parameter Mittag–Leffler function. The exact solution of (18) is .
Example 2.
Let in (18) be chosen as
where is the generalized hypergeometric function. The exact solution of (18) is .
In the numerical simulations, we used the fourth-order Runge–Kutta method, a highly accurate algorithm, to solve the system of ODEs (20) and chose = 1.0 × 10 to make sure that the error resulting in the direction of time was small enough. We performed the numerical simulations with the fractional orders being , , and and chose the CGL, LGL, and JGL() quadrature nodes as collocation points. In Table 1 and Table 2, we show the root-mean-squared (RMS) errors of the numerical solution at the collocation points at of Examples 1 and 2, respectively. The RMS errors of these two numerical examples with using our method and the Jacobi operational matrix method proposed in [21] are plotted in Figure 1. The numerical results indicated the fast convergence of the methods and illustrated that our proposed algorithm in this section performed much better than the methods in [21].
Table 1.
RMS errors of numerical solutions of Example 1 at when , , and = 1.0 × 10.
Table 2.
RMS errors of numerical solutions of Example 2 at when and = 1.0 × 10.
Figure 1.
Numerical results of Examples 1 and 2 when and . I: results by using methods proposed in this paper; II: results by using methods proposed in [21].
5. Algorithm and Numerical Examples for Initial Fractional Integro-Differential Equations
In this section, we numerically solved the initial fractional integro-differential equation (FIDE) in the following form:
with the fractional order of the Caputo derivative .
The algorithm developed in the section for (21) is to find , such that
where are the JGR points.
Let . By the change of variable, one has
Suppose that is the LGR quadrature nodes and the integration can be approximated by a corresponding LGR quadrature rule with respect to the Jacobi weights ; we hence have
In the next step, we worked on converting (24) into a vector–matrix form and started with the quadrature part first.
Let with
The operational matrix for the quadrature part can, hence, be written as
where the elements in are defined in (4). Let , , and . Suppose that and are square matrices by removing the first row and column, respectively, from and , while and are the th column of and without the first element; , , and are vectors formed by the last N elements of , , and , respectively. The vector–matrix form of (24) is
Example 3.
in association with the analytic solution .
Example 4.
with being the generalized hypergeometric function and the exact solution .
We took the fractional order to be , used the LGR collocation points, and chose in the numerical simulations. The absolute errors at the collocation points of Example 3 and 4 are plotted in the right panel in Figure 2 together with the numerical results produced by the methods proposed in [39]. The FIDE (21) was converted into an integral equation by taking the fractional-order integral and then approximated by the Gaussian quadrature rule with Jacobi collocation points in [39]. One can observe from the figure that the algorithm proposed in the section performs better compared to the methods in [39]. The numerical results matched well with the analytic solutions of the two examples, which demonstrated that the proposed scheme (26) worked accurately for the initial fractional integro-differential Equation (21).

Figure 2.
Numerical results of Examples 3 (top) and 4 (bottom) when and . left: results by using methods proposed in this paper; right: results by using methods proposed in [39].
6. Conclusions
In summary, Jacobi collocation spectral methods with the fractional differentiation matrices using shifted JGL or JGR collocation points were presented in this paper. We employed the matrices to numerically solve the generalized space–fractional Burgers’ equations and the initial fractional integro-differential equations. The numerical results of these two types of fractional differential equations fit very well with the analytic solutions, which indicated that the proposed approach can effectively solve the FDE problems.
Author Contributions
Conceptualization, X.Z. (Xiaoyan Zeng); methodology, X.Z. (Xiaoyan Zeng); software, X.Z. (Xiaoyan Zeng) and Z.W.; validation, X.Z. (Xiaoyan Zeng), Z.W., X.Z. (Xinxia Zhang) and J.W.; formal analysis, X.Z. (Xiaoyan Zeng); writing—original draft preparation, X.Z. (Xiaoyan Zeng), Z.W.; writing—review and editing, X.Z. (Xiaoyan Zeng) and Z.W.; supervision, X.Z. (Xiaoyan Zeng). All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the National Natural Science Foundation of China, grant number 11701358, 11774218.
Data Availability Statement
Not applicable.
Acknowledgments
The work was discussed with Heping Ma and Changpin Li.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
In this manuscript, the following abbreviations are used:
| FDEs | fractional partial differential equations |
| JGL | Jacobi–Gauss–Lobatto |
| JGR | Jacobi–Gauss–Radau |
| CGL | Chebyshev–Gauss–Lobatto |
| CGR | Chebyshev–Gauss–Radau |
| LGL | Legendre–Gauss–Lobatto |
| LGR | Legendre–Gauss–Radau |
| RMS | root mean square |
| FIDE | fractional integro-differential equation |
References
- Podulubny, I. Fractional Differential Equations; Academic Press: San Diego, CA, USA, 1999. [Google Scholar]
- Chester, W.N. Resonant ocillations in closed tubes. J. Fluid Mech. 1964, 18, 44–64. [Google Scholar] [CrossRef]
- Keller, J.J. Propagation of simple non-linear waves in gas filled tubes with friction. Z. Ang. Math. Phy. 1982, 32, 170–181. [Google Scholar] [CrossRef]
- Kakutanil, T.; Matsuuchi, K. Effect of viscosity on long gravity waves. J. Phys. Soc. Jpn. 1975, 39, 237–246. [Google Scholar] [CrossRef]
- Miksis, M.J.; Ting, L. Effective equations for multiphase flows-Waves in a bubbly liquid. Adv. Appl. Mech. 1991, 28, 141–260. [Google Scholar]
- Biler, P.; Funaki, T.; Woyczynski, W.A. Fractal Burgers equations. J. Diff. Equ. 1998, 148, 9–46. [Google Scholar] [CrossRef]
- El-Shahed, M. Adomian decomposition method for solving Burgers equation with fractional derivative. J. Fract. Calc. 2003, 24, 23–28. [Google Scholar]
- Momani, S. Non-perturbative analytical solutions of the space- and time-fractional Burgers equations. Chaos Soliton. Fract. 2006, 28, 930–937. [Google Scholar] [CrossRef]
- Inc, M. The approximate and exact solutions of the space- and time-fractional Burgers equations with initial conditions by variational iteration method. J. Math. Anal. Appl. 2008, 345, 476–484. [Google Scholar] [CrossRef]
- Esen, A.; Bulut, F.; Oruç, Ö. A unified approach for the numerical solution of time fractional Burgers’ type equations. Euro. Phys. J. Plus 2016, 131, 116. [Google Scholar] [CrossRef]
- Li, D.; Zhang, C.; Ran, M. A linear finite difference scheme for generalized time fractional Burgers equation. Appl. Math. Model. 2016, 40, 6069–6081. [Google Scholar] [CrossRef]
- Sugimoto, N. Burgers equation with a fractional derivative; hereditary effects on nonlinear acoustic waves. J. Fluid Mech. 1991, 225, 631–653. [Google Scholar] [CrossRef]
- Khatera, A.H.; Temsaha, R.S.; Hassanb, M.M. A Chebyshev spectral collocation method for solving Burgers’-type equations. J. Comput. Appl. Math. 2008, 222, 333–350. [Google Scholar] [CrossRef]
- Hwang, C.; Shih, Y.-P. Laguerre operational matrices for fractional calculus and applications. Int. J. Control 1981, 34, 577–584. [Google Scholar] [CrossRef]
- Parand, K.; Dehghan, M.; Taghavi, A. Modified generalized Laguerre function Tau method for solving laminar viscous flow: The Blasius equation. Int. J. Numer. Method Heat 2010, 20, 728–743. [Google Scholar] [CrossRef]
- Saadatmandi, A.; Dehghan, M. A new operational matrix for solving fractional-order differential equations. Comput. Math. Appl. 2010, 59, 1326–1336. [Google Scholar] [CrossRef]
- Maleknejad, K.; Hashemizadeh, E.; Basirat, B. Computational method based on Bernstein operational matrices for nonlinear Volterra–Fredholm–Hammerstein integral equations. Commun. Nonlinear Sci. Numer. Simul. 2012, 17, 52–61. [Google Scholar] [CrossRef]
- Bhrawy, A.H.; Alofi, A.S. The operational matrix of fractional integration for shifted Chebyshev polynomials. Appl. Math. Lett. 2013, 26, 25–31. [Google Scholar] [CrossRef]
- Jafari, H.; Nemati, S.; Ganji, R.M. Operational matrices based on the shifted fifth-kind Chebyshev polynomials for solving nonlinear variable order integro-differential equations. Adv. Differ. Equ. 2021, 2021, 435. [Google Scholar] [CrossRef]
- Doha, E.H.; Bhrawy, A.H.; Ezz-Eldien, S.S. A new Jacobi operational matrix: An application for solving fractional differential equations. Appl. Math. Model. 2012, 36, 4931–4943. [Google Scholar] [CrossRef]
- Wu, Q.; Zeng, X. Jacobi Collocation Methods for Solving Generalized Space-Fractional Burgers’ Equations. Commun. Appl. Math. Comput. 2020, 36, 4931–4943. [Google Scholar] [CrossRef]
- Sadeghi, S.; Jafari, H.; Nemati, S. Operational matrix for Atangana–Baleanu derivative based on Genocchi polynomials for solving FDEs. Chaos Solit. 2020, 135, 106973. [Google Scholar] [CrossRef]
- Zayernouri, M.; Karniadakis, G.E. Fractional spectral collocation method. SIAM J. Sci. Comput. 2014, 36, A40–A62. [Google Scholar] [CrossRef]
- Bhrawy, A.H.; Taha, M.T.; Machado, J.A.T. A review of operational matrices and spectral techniques for fractional calculus. Nonlinear Dyn. 2015, 81, 1023–1052. [Google Scholar] [CrossRef]
- Yang, Y.B.; Ma, H.P. The Legendre Galerkin-Chebyshev Collocation method for generalized space–fractional Burgers equations. J. Numer. Meth. Comp. Appl. 2017, 38, 236–244. [Google Scholar]
- Afsane, S.; Mahmoud, B. Application Jacobi spectral method for solving the time-fractional differential equation. J. Comput. Appl. Math. 2018, 399, 49–68. [Google Scholar]
- Guo, B.Y. Spectral Methods and Their Applications; World Scientific: Singapore, 1998. [Google Scholar]
- Guo, B.Y.; Wang, L.L. Jacobi interpolation approximations and their applications to singular differential equations. Adv. Comput. Math. 2001, 14, 227–276. [Google Scholar]
- Ma, H.P.; Sun, W.W. Optimal Error Estimates of the Legendre-Petrov-Galerkin Method for the Korteweg-de Vries Equation. SIAM J. Numer. Anal. 2001, 39, 1380–1394. [Google Scholar] [CrossRef]
- Wu, H.; Ma, H.P.; Li, H.Y. Optimal error estimates of the Chebyshev-Legendre method for solving the generalized Burgers equation. SIAM J. Numer. Anal. 2003, 41, 659–672. [Google Scholar] [CrossRef]
- Guo, B.Y.; Wang, L.L. Jacobi approximations in non-uniformly Jacobi-weighted Sobolev spaces. J. Approx. Theory 2004, 128, 1–41. [Google Scholar] [CrossRef]
- Shen, J.; Tang, T. Spectral and High-Order Methods with Applications; Science Press: Beijing, China, 2006. [Google Scholar]
- Canuto, C.G.; Hussaini, M.Y.; Quarteroni, A.; Zang, T.A. Spectral Methods: Fundamentals in Single Domains; Springer: New York, NY, USA, 2010. [Google Scholar]
- Shen, J.; Tang, T.; Wang, L.L. Spectral Methods Algorithms, Analysis and Applications; Springer Series in Computational Mathematics: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
- Zhao, T.G.; Wu, Y.J.; Ma, H.P. Error Analysis of Chebyshev-Legendre Pseudo-spectral Method for a Class of Nonclassical Parabolic Equation. SIAM J. Sci. Comput. 2012, 52, 588–602. [Google Scholar] [CrossRef]
- Mockary, S.; Babolian, E.; Vahidi, A.R. A fast numerical method for fractional partial differential equations. Adv. Differ. Equ. 2019, 2019, 452. [Google Scholar] [CrossRef]
- Wu, C.; Wang, Z. The spectral collocation method for solving a fractional integro-differential equation. AIMS Math. 2022, 7, 9577–9587. [Google Scholar] [CrossRef]
- Doha, E.H.; Abdelkawy, M.A.; Amin, A.Z.M.; Lopes, A.M. Shifted Jacobi–Gauss-collocation with convergence analysis for fractional integro-differential equations. Commun. Nonlinear Sci. Numer. Simul. 2019, 72, 342–359. [Google Scholar] [CrossRef]
- Wu, Q.; Wu, Z.; Zeng, X. A Jacobi Spectral Collocation Method for Solving Fractional Integro-Differential Equations. Commun. Appl. Math. Comput. 2021, 3, 509–526. [Google Scholar] [CrossRef]
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. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).