Abstract
This paper is devoted to an innovative and efficient technique for solving space–time fractional differential equations (STFPDEs). To this end, we apply the Tau method such that the bases used are interpolating scaling functions (ISFs). The operational metrics for the derivative operator and fractional integration operator are used to introduce the operational matrix for the Caputo fractional derivative. Due to some characteristics of ISFs, such as interpolation, computation costs can be significantly reduced. We investigate the convergence of the technique, and some numerical implementations show that the method is effective for solving such equations.
Keywords:
Tau method; interpolating scaling functions; space–time fractional partial differential equations MSC:
65M60; 65T60; 35R11
1. Introduction
Our objective is to introduce an efficient method to find the numerical solution for the space–time fractional partial differential equation STFPDEs
subject to the initial condition
and the boundary condition
in which and are constants. In addition, the function in (1) is assumed to be sufficiently smooth.
In recent decades, the generalization of differentiation has given rise to finding a new class of differential equations. Nowadays, we can imagine a significant role for fractional calculus and fractional differential and integral operators in various fields of science. Therefore, it is important to study this topic. In the field of solving fractional differential equations (FDE), an exact solution in many cases is not possible. Thus, introducing an efficient and precise numerical scheme is significant. For the one-dimensional fractional differential equations, several papers are dedicated to specifying the necessary and sufficient conditions for the existence and uniqueness of the solution [1,2]. Several papers introduced various approximation techniques for solving this type of equation. Among these, one can mention finite difference methods [3], wavelet method [1], Laplace transform method [4], B-spline method [5], tau method [6], Homotopy analysis method [7], and Adomian’s decomposition method [8], etc.
In [5], the authors represented the fractional derivatives based on B-spline functions as an operational matrix. Then, they solved the fractional ODEs and STFPDEs using this matrix. The operational matrix in this work is introduced directly, and they did not use the operational matrix of integration like the method presented in this paper. In [9], the authors solved the time-fractional diffusion equation
where denotes the Caputo fractional derivative (Cfd). To apply the numerical technique proposed in [9], the desired equation is discretized by the spectral method in space and the finite difference method in time. Saadatmandi et al. [10] used the Sinc–Legendre collocation method to solve the time-fractional convection-diffusion equation. In [11], the authors used the differential transform method for solving linear fractional PDEs. In [12], the time-fractional reaction–diffusion equations are solved by a numerical scheme. Chen et al. [13] applied the wavelet method to solve the convection–diffusion equation of the fractional order. The space fractional diffusion equation is solved by the adomian decomposition method in [14]. In [15], a Tau method is developed to solve the space fractional diffusion equation. As we have said, various methods have been used in the literature to solve PDEs of the fractional order, including He’s variational iteration method [16], homotopy analysis method [17], and finite element methods [18], etc.
Interpolating scaling functions have an extensive background in applied mathematics and in solving different types of differential equations. Alpert introduced these functions and used them to solve the integral equation with a weakly singular kernel [19]. To simulate the squeezing nanofluid flow, these bases are used and numerical solutions with high accuracy are obtained from them [20]. Asadzadeh et al. [1] used these bases to solve the generalized Cauchy problem.
The outline of this article is as follows. In Section 2, the interpolating scaling functions (ISFs) and their properties are introduced. Section 3 is dedicated to applying the Tau method for solving STFPDEs based on ISFs, and the convergence analysis is investigated for the proposed method. Numerical results are given in Section 4 to demonstrate the ability and efficiency of the method.
2. Interpolating Scaling Functions
Given a set of r roots of the Legendre polynomial where , the Lagrange basis for nodes is the set of polynomials , which are described by
Now, we can define the interpolating scaling functions (ISFs) as a family of orthonormal basis via
in which is the Gauss–Legendre quadrature weight and is obtained by
There is a subspace of the space that is generated by ,
Given (natural numbers with zero), we consider with as a finite number of sub-intervals of the interval [0,1], so that and . Further, we define the translation and dilation operators:
It follows from the multi-resolution analysis (MRA) that there exist the nested subspaces
such that . Therefore, the subspace is generated by a family of orthonormal bases such that they are the dilation and translation version of the primal basis .
There exists an orthogonal projection operator so that any function can be mapped from into , i.e.,
where denotes the -inner product
However, in this system, we avoid calculating the integrals due to the interpolating property of ISFs, and instead of calculating , these coefficients are approximated by
It can be verified that the convergence rate for the projection is [19], and we have the following error estimate:
where is the r-times continuously differentiable function.
All these calculations can also be expressed in matrix form. Given , let us consider the vector function with consisting of the scaling functions with dimension . According to these assumptions, Equation (2) can be rewritten as
where G is an vector whose elements are obtained by (3). These calculations can be easily extended to higher spaces. To approximate a two-dimensional function, we introduce the two-dimensional subspace that is generated by
Therefore, it can be shown that the mapping of any two-dimensional function g into the space can be written as a linear expansion as follows.
in which G is a square matrix whose components are obtained by
It has been investigated in references [21,22,23] that the error of this approximation is bounded and satisfies the following boundary.
where is a constant and the function possesses mixed order partial derivatives, which are continuous.
2.1. The Operational Matrix of Derivative
In this section, we would like to find an dimensional matrix , so that
where is used to express the derivative operator. Motivated by [21,22], we can find (operational matrix of the derivative) as a block-tridiagonal matrix of form
in which each block is an matrix with elements
2.2. Operational Matrix of Fractional Derivative
By taking the fractional integral of the vector function and expanding the results based on these bases (namely, ), one can find an N-dimensional square matrix such that
where the matrix is used to represent the operational matrix of the fractional integral. It follows from [2] that the fractional integral operator is defined as follows.
Definition 1.
Let . We specify the fractional integral operator via
Throughout the paper, we will use to represent the gamma function. Our objective is to find the elements of matrix . To this end, we provide the following auxiliary Lemma.
Lemma 1
(cf. [1]). Given a set of r nodes , the Lagrange polynomials for those nodes can be explicitly given by
in which and
Now, putting , where and , the entries of the matrix can be computed by [1]
Notice that due to the formulation of ISFs, these bases are discontinuous. However, they are locally integrable, and their fractional integral are well-defined. In [1], Asadzadeh et al. evaluate this integral and verify that the matrix is an upper triangular matrix whose elements are obtained by considering three cases. We refer the reader to [1] for more details.
- Case (1):
- . In this case, which includes elements below the main diagonal, we have
- Case (2):
- . This case consists of those elements that lie on the diagonal. To evaluate the integrals in this case, using the beta function B, we obtainwhere is the hypergeometric function and is determined by
- Case (3):
- . The components of this case lie above the main diagonal and are calculated in reference [1] as follows.where .
Definition 2
([2,24]). We specify the Caputo fractional derivative (Cfd) via
in which and .
Lemma 2
(cf. Corollary 2.3 (a), [2]). It can be proved that the Cfd operator is bounded via
where , and .
Similar to the operational matrix for fractional integration , there exists a square matrix of dimension N such that it satisfies the following relation.
It follows from Definition 2 that there is a relation between the fractional integral operator and the Cfd operator as follows:
Motivated by (9), (10) and using Equation (21), we obtain
In the sequel, the operational matrix for Cfd is equal to
3. Tau Method
To solve the space-time fractional partial differential Equation (1), assume that the function can be approximated by
Using the definition of the vector function , one can rewrite Equation (24) as follows.
where W is the matrix.
Substituting the approximate solution (25) in (1), we obtain
where
Employing the operational matrix , one can obtain the residual function via
We aim to force to be approximately zero. To do this, we adopt the Tau method to obtain the linear system of algebraic equations, i.e.,
Equation (28) consists of dependent equations. Therefore, the boundary and initial conditions are used to find independent linear equations.
where
Since STFPDEs (1) is a linear equation, then, using vectorization, we obtain the linear system of equations
in which and are obtained from vectorization of W and B, respectively. The solution of this system gives rise to the approximate solution.
Convergence Analysis
Assume that where and w are the approximate and exact solutions of (1), respectively. Subtracting (1) from (26) gives
The residual function is obtained as
Our objective is to show that the residual function R tends to zero. Taking the C-norm from both sides of (31), we obtain
It immediately follows from Lemma 2 that
where . Given , assume that
Therefore, we can rewrite Equation (32) as
Using (8), we have
where is a constant. It can be demonstrated that tends to 0 as . Therefore, the convergence of the method is guaranteed.
4. Numerical Experiments
Example 1.
As the first example, we consider the STFPDEs
with conditions
The exact answer is given as [5].
In Table 1, we compare the proposed method in the previous section with B-spline method [5]. Our method gives better results than the B-spline method. Figure 1 demonstrates the approximate solution on the left side and corresponding absolute errors on the right.
Table 1.
Comparison between the proposed technique and the B-spline method [5] for Example 1.
Figure 1.
Comparing the approximate and exact solutions, using and , for Example 1.
Example 2.
We consider STFPDEs (1) where , , and the function is equal to
where and are the Fresnel integrals and are defined through the following power series,
and
For this example, the exact answer is given as .
Table 2 shows the effect of the parameters r and J on the -errors. It is evident that the error is reduced as parameters r and J tend to ∞. Figure 2 and Figure 3 illustrate the effect of J and r on the absolute errors and -errors, respectively.
Table 2.
Effect of the parameters r and J on -errors at different times for Example 2.
Figure 2.
Numerical results for Example 2.
Figure 3.
Effect of the parameters r and J on -errors for Example 2.
Example 3.
The third example is dedicated to the STFPDEs
with conditions
The exact solution for this equation is .
Table 3 shows the effect of the parameters r and J on the -errors. It is evident that the error is reduced as parameters r and J tend to ∞. Figure 4 illustrates the effect of J and r on the -errors, respectively.
Table 3.
Effect of the parameters r and J on -errors at different times for Example 3.
Figure 4.
Effect of the parameters r and J on -errors for Example 3.
5. Conclusions
Interpolating the scaling functions Tau method was proposed to solve the space–time fractional partial differential equations. According to the relation between the integral and derivative operators of the fractional order in the Caputo sense, we obtained the fractional derivative for ISFs as an operational matrix, indirectly. To this end, the operational matrices for the derivative operator and fractional integral were used. Using the Tau method, the considered equation was reduced to a system of algebraic equations. By solving this system, we found the approximate solution via an expansion based on interpolating scaling functions. We proved that the proposed method is convergent. Numerical results illustrated that the proposed method gives better results than other methods, and, in some cases, it is very accurate.
Author Contributions
Conceptualization, H.B.J.; Methodology, H.B.J. and C.C.; Software, H.B.J. and C.C.; Validation, H.B.J. and C.C.; Formal analysis, H.B.J. and C.C.; Investigation, H.B.J. and C.C.; Resources, H.B.J.; Writing—original draft, H.B.J.; Writing—review & editing, H.B.J. and C.C.; Supervision, H.B.J.; Project administration, H.B.J.; Funding acquisition, H.B.J. All authors have read and agreed to the published version of the manuscript.
Funding
This project was supported by Researchers Supporting Project number (RSP-2021/210), King Saud University, Riyadh, Saudi Arabia.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| STFPDEs | Space–time fractional differential equations |
| ISFs | Interpolating scaling functions |
| FDE | Fractional differential equations |
| Cfd | Caputo fractional derivative |
| MRA | Multi-resolution analysis |
References
- Asadzadeh, M.; Saray, B.N. On a multiwavelet spectral element method for integral equation of a generalized Cauchy problem. BIT Numer. Math. 2022, 1–34. [Google Scholar] [CrossRef]
- Kilbas, A.; Srivastava, H.M.; Trujillo, J.J. Theory and applications of fractional differential Equations (24). In Theory and Applications of Fractional Differential Equations; Elsevier B.V.: Amsterdam, The Netherlands, 2006. [Google Scholar]
- Su, L.; Wang, W.; Xu, Q. Finite difference methods for fractional dispersion equations. Appl. Math. Comput. 2010, 216, 3329–3334. [Google Scholar] [CrossRef]
- Podlubny, I. Fractional Differential Equations; Academic Press: New York, NY, USA, 1999. [Google Scholar]
- Lakestani, L.; Dehghan, M.; Iroust-Pakchin, S. The construction of operational matrix of fractional derivatives using B-spline functions. Commun. Nonlinear Sci. 2012, 17, 1149–1162. [Google Scholar] [CrossRef]
- Mokhtary, P.; Ghoreishi, F.; Srivastavac, H.M. The Müntz-Legendre Tau method for fractional differential equations. Math. Comput. Simul. 2022, 194, 210–235. [Google Scholar] [CrossRef]
- Odibat, Z.; Momani, S.; Xu, H. A reliable algorithm of homotopy analysis method for solving nonlinear fractional differential equations. Appl. Math. Model. 2010, 34, 593–600. [Google Scholar] [CrossRef]
- Duan, J.S.; Rach, R.; Baleanu, D.; Wazwaz, A.M. A review of the Adomian decomposition method and its applications to fractional differential equations. Commun. Frac. Calc. 2012, 3, 73–99. [Google Scholar]
- Lin, Y.; Xu, C. Finite difference/spectral approximations for the time-fractional diffusion equation. J. Comput. Phys. 2007, 255, 1533–1552. [Google Scholar] [CrossRef]
- Saadatmandi, A.; Dehghan, M.; Azizi, M.R. The Sinc–Legendre collocation method for a class of fractional convection–diffusion equations with variable coefficients. Commun. Nonlinear Sci. Numer. Simul. 2012, 17, 4125–4136. [Google Scholar] [CrossRef]
- Odibat, Z.; Momani, S. A generalized differential transform method for linear partial differential equations of fractional order. Appl. Math. Lett. 2008, 21, 194–199. [Google Scholar] [CrossRef]
- Rida, S.Z.; El-Sayed, A.M.A.; Arafa, A.A.M. On the solutions of time-fractional reaction–diffusion equations. Nonlinear Sci. Numer. Simulat. 2010, 15, 3847–3854. [Google Scholar] [CrossRef]
- Chen, Y.; Wu, Y.; Cui, Y.; Wang, Z.; Jin, D. Wavelet method for a class of fractional convection–diffusion equation with variable coefficients. J. Comput. Sci. 2010, 1, 146–149. [Google Scholar] [CrossRef]
- Ray, S.S. Analytical solution for the space fractional diffusion equation by two-step adomian decomposition method. Commun. Nonlinear Sci. Numer. Simul. 2009, 14, 1295–1306. [Google Scholar]
- Saadatmandi, A.; Dehghan, M. A tau approach for solution of the space fractional diffusion equation. Comput. Math. Appl. 2011, 62, 1135–1142. [Google Scholar] [CrossRef]
- Dehghan, M.; Yousefi, S.A.; Lotfi, A. The use of He’s variational iteration method for solving the telegraph and fractional telegraph equations. Int. J. Numer. Biomed. Eng. 2011, 27, 219–231. [Google Scholar] [CrossRef]
- Dehghan, M.; Manafian, J.; Saadatmandi, A. Solving nonlinear fractional partial differential equations using the homotopy analysis method. Numer. Partial Differ. Equ. 2010, 26, 448–479. [Google Scholar] [CrossRef]
- Jiang, Y.; Ma, J. High–order finite element methods for time–fractional partial differential equations. J. Comput. Appl. Math. 2011, 235, 3285–3290. [Google Scholar] [CrossRef]
- Alpert, B.; Beylkin, G.; Coifman, R.R.; Rokhlin, V. Wavelet-like bases for the fast solution of second-kind integral equations. SIAM J. Sci. Stat. Comput. 1993, 14, 159–184. [Google Scholar] [CrossRef]
- Seyedi, S.H.; Saray, B.N.; Ramazani, A. On the multiscale simulation of squeezing nanofluid flow by a highprecision scheme. Powder Technol. 2018, 340, 264–273. [Google Scholar] [CrossRef]
- Saray, B.N. Abel’s integral operator: Sparse representation based on multiwavelets. BIT Numer. Math. 2021, 61, 587–606. [Google Scholar] [CrossRef]
- Saray, B.N. Sparse multiscale representation of Galerkin method for solving linear-mixed Volterra-Fredholm integral equations. Math. Methods Appl. Sci. 2020, 43, 2601–2614. [Google Scholar] [CrossRef]
- Saray, B.N.; Lakestani, M.; Dehghan, M. On the sparse multiscale representation of 2-D Burgers equations by an efficient algorithm based on multiwavelets. Numer. Meth. Part. Differ. Equ. 2021. [Google Scholar] [CrossRef]
- Afarideh, A.; Dastmalchi Saei, F.; Lakestani, M.; Saray, B.N. Pseudospectral method for solving fractional Sturm-Liouville problem using Chebyshev cardinal functions. Phys. Scr. 2021, 96, 125267. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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/).