Abstract
In this work we provide a numerical method for the diffusion equation with distributed order in time. The basic idea is to expand the unknown function in Chebyshev polynomials for the time variable t and reduce the problem to the solution of a system of algebraic equations, which may then be solved by any standard numerical technique. We apply the method to the forward and backward problems. Some numerical experiments are provided in order to show the performance and accuracy of the proposed method.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
- Fractional differential equation
- Caputo derivative
- Diffusion equation
- Chebyshev polynomials
- Distributed order equation
Mathematics Subject Classification (2000):
1 Introduction
In the last decades, lots of attention has been devoted to the time fractional diffusion equation (TFDE), namely, the one in the Caputo sense:
where 0 < α < 1 and the fractional Caputo derivative is defined by [2]
where n is the smallest integer greater than or equal to α. The TFDE has been found in a broad variety of engineering, biological, finance, and physical processes where anomalous diffusion (AD) occurs (see, e.g., [6, 8, 10]). More recently, a general equation has attracted the scientific community, the distributed-order time fractional diffusion equation, given by
where the function c(α) acting as weight for the order of differentiation is such that [7, 9] \(c(\alpha ) \geq 0\ \ \ \mbox{ and}\ \ \ \int _{0}^{1}c(\alpha )\ d\alpha = C > 0.\) Obviously, if \(c(\beta ) = \frac{1} {D}\) if β = α and 0 otherwise, then (3) reduces to (1).
Here, we will be interested in the numerical approximation of this type of distributed-order equations with boundary conditions of Dirichlet type:
and we will distinguish the following two problems: a forward problem (FDODE) where (3) and (4) is subject to an initial condition
and a backward problem (BDODE), the case where (5) is replaced with the terminal condition
Numerical methods are crucial for this kind of fractional differential equations, since only in a very few special cases, the analytical solutions can be found. While the methods developed for TFDEs are already relatively wide, the same cannot be said for the distributed-order diffusion equation case, since, to the best of our knowledge, only a few works have been reported. In [4] an implicit finite-difference method has been derived for the one-dimensional distributed-order diffusion equation; in [11] the same idea has been followed for the numerical approximation of nonlinear reaction-diffusion equations with distributed order in time. In [12] a numerical scheme has been developed for the solution of a distributed-order diffusion equation containing also a fractional derivative in space. In [5], a finite-difference method was presented for the two-dimensional distributed-order diffusion equation, together with an extrapolation technique to improve the convergence orders in time. In all these papers, only finite-difference approximations have been considered for the fractional time derivative, which may become heavy from the computational point of view, due to the nonlocal property of fractional differential operators. Moreover, in all of these works, only forward problems have been investigated.
Here we will follow an alternative approach: we consider a Chebyshev polynomial approximation of the fractional derivatives. The paper is organized in the following way: we start with a section devoted to some preliminary results that will be used in the forthcoming sections. In Sect. 3 we describe the numerical method and we end with some numerical examples and some conclusions.
2 Preliminaries
In this section we present some auxiliary results that will be used in the derivation of the numerical scheme. For the approximation of the integral term, we will use Gaussian quadrature. N-point Gaussian quadrature rules are a special class of quadrature formulas that yield the exact value of a definite integral for integral functions that are polynomials of degree less than or equal to (2N − 1).This can be achieved by suitable choices of the points x i and weights ω i , i = 1, …, N. These rules are conventionally given in the interval [−1, 1] and may be given by \(\int _{-1}^{1}f(x)\ dx\cong \sum _{ i=1}^{N}\omega _{ i}f(x_{i})\). Obviously other intervals can be considered by using proper variable substitutions. In our case, since we are dealing with the interval [0, 1], it is easy to see that
Lemma 1 ([1]).
If f ∈ C (2N) ([0,1]), then with \(\gamma _{N} = \frac{(N!)^{4}} {(2N + 1)[(2N)!]^{3}} \approx \frac{\varPi } {4^{N}}\) , we have:
As we have mentioned in the Sect. 1, we will use Chebyshev polynomials to approximate the fractional derivatives. Chebyshev polynomials of degree n, T n (z) are defined in the interval [−1, 1].
In order to use them in the interval [0, a], we introduce the change of variable \(z = 2t/a - 1\) and obtain the so-called shifted Chebyshev polynomials \(T_{a,n}(t) = T_{n}\left (\frac{2t} {a} - 1\right )\). These shifted Chebyshev polynomials can also be obtained from the following expression (see [3]):
where
and satisfy the following orthogonality relation:
where \(\omega _{a}(t) = \frac{1} {\sqrt{at - t^{2}}}\) and h 0 = π, \(h_{k} = \frac{\pi } {2}\), k = 1, 2, ….
A function y(t) belonging to the space of square integrable functions on [0, a] may be expressed as
where the coefficients c i are given by
For computational purposes, only the first (m + 1) terms in (8) are considered:
and the following result holds:
Theorem 1 ([3]).
Let y(t) be a square integrable function on [0,a]. Then, given m ∈ N , y(t) may be approximated by \(y_{m}(t)\) , defined by (9) , and for α > 0, we have
and the error \(\left \vert E(m)\right \vert = \left \vert D^{\alpha }y(t) - D^{\alpha }y_{m}(t)\right \vert \leq \sum _{i=m+1}^{\infty }c_{ i}\left (\sum _{k=\lceil \alpha \rceil }^{i}\sum _{ j=0}^{k-\lceil \alpha \rceil }\theta _{ i,j,k}\right ),\)
where, for \(h_{0} = 2\), \(h_{j} = 1,\ j = 1,2,\ldots \,\)
3 Numerical Method
In the derivation of the numerical method, we proceed as in the classical (integer order) case. Let
Using a Gaussian quadrature formula with n points, (9) and (10), we obtain
Note that in this case \(\frac{\beta _{j}+1} {2} \in [0,1],\ j=1,\ldots,n\), and then \(\left \lceil \frac{\beta _{j}+1} {2} \right \rceil = 1,\ j=1,\ldots,n\).
Now, we collocate Eq. (12) at m points \(t_{p}\). For collocation points, we use the roots of the shifted Chebyshev polynomial of degree \(m\), \(T_{a,m}(t)\):
We obtain in this way m ordinary differential equations on the (m + 1) unknowns v i (x), i = 0, …, m.
Using the fact that T a, i (0) = (−1)i and taking the initial condition (5) into account, we obtain the extra equation:
Alternatively, since \(T_{a,i}(a) = 1\), from the terminal condition (6), we obtain
On the other hand, by substituting (11) on the boundary conditions (4), we obtain
At the collocation points \(t_{p},\ p = 0,\ldots,m - 1\), (16) and (17) are as follows:
Therefore, in order to obtain the functions \(\{v_{i}\}_{i=0}^{m}\) that define the approximate solution of the forward problem (3), (4), (5), we must solve the system of differential equations (13)–(14), with boundary conditions (18) and (19).
In order to obtain an approximate solution of the backward problem (3), (4), (6), we must solve the system of differential equations (13)–(15), with boundary conditions (18) and (19).
4 Numerical Results
In this section, we apply the proposed method to solve some examples for which the analytical solution is known. We define the absolute error at the point (t, x) by
Example 1.
Forward problem:
with analytical solution given by \(u(x,t) = t^{3/2}x^{2}(1 - x)^{4},\quad (t,x) \in [0,1] \times [0,1]\).
In order to approximate the integral that defines the distributed-order derivative, we will use a 3-point Gaussian quadrature formula.
In Fig. 1 the domain pointwise absolute errors are displayed. We see that the pointwise error goes up to the order of \(2 \times 10^{-4},\ 4 \times 10^{-5},\ 1 \times 10^{-5},and\ 4 \times 10^{-6}\) if we consider on the series expansion of u, (11), \(m = 3,\ m = 5,\ m = 7,\) and m = 9, respectively. This shows that the numerical solutions are in good agreement with the exact solutions, and we have more accuracy if we consider more terms on the series approximation (11) of u.
As a second example we consider, a backward problem which is defined by
Example 2.
Backward problem
with analytical solution given by \(u(t,x) = t^{5/2}(1 - x)^{2}x,\quad (t,x) \in [0,1] \times [0,1]\).
In these backward problems, the unknown solution u(x, t) has to be determined from the boundary measurements ϕ 0(t) and ϕ b (t) and terminal time measurement g a (x), which normally contain noises in practical problems. Thus, in order to test the proposed method, first we apply the method, with several values of m, to the second example without noise on the data and then we apply the method with some noise on the boundary and terminal data.
The comparison results between u(0, x) and u m (0, x) are displayed in Table 1, for several values of x ∈ [0, 1] and m = 1, 3, 5, 7 and 9. From the results in Table 1, it can be observed that the error is smaller for the biggest value of m that we consider. Thus, the overall errors can be made smaller by adding new terms from the series (11) that approximate u(t, x).
Now, we consider Example 2 with several levels of noise, δ = 10−i, i = 2, …, 5, on the boundary and terminal data: \(\bar{g_{a}}(x)=g_{a}(x)+\delta,\ \bar{\phi _{0}(t)}=\phi _{0}(t)+\delta,\ \bar{\phi _{b}(t)}\) = ϕ b (t)+δ. In Fig. 2 we show the absolute error at points (x, 0), x ∈ [0, 1] obtained for the approximation (11) with m = 5 and several levels of noise. It can be observed that the noise has influence on the numerical results.
5 Conclusions
In this work we have presented an alternative method (than finite-difference methods) for the numerical approximation of time distributed-order diffusion equations that is able to deal with both initial (or forward) and terminal (or backward) problems. The numerical results presented for examples with known analytical solutions illustrate the accuracy of the proposed method. In the future we intend to provide a full comparison with the finite-difference methods and analyze the convergence of the scheme.
References
Burden, R., Faires, J.: Numerical Analysis, 9th edn. Brooks-Cole Publishing Company, Boston (2011)
Diethelm, K.: The Analysis of Fractional Differential Equations: An Application-Oriented Exposition Using Differential Operators of Caputo Type. Springer, Heidelberg (2010)
Doha, E.H., Bhrawy, A.H., Ezz-Eldien, S.S.: A Chebyshev spectral method based on operational matrix for initial and boundary value problems of fractional order. Comput. Math. Appl. 62, 2364–2373 (2011)
Ford, N.J., Morgado, M.L., Rebelo, M.: An implicit finite difference approximation for the solution of the diffusion equation with distributed order in time. Electron. Trans. Numer. Anal. 44, 289–305 (2015)
Gao, G.H., Sun, Z.Z.: Two alternating direction implicit difference schemes with the extrapolation method for the two-dimensional distributed-order differential equations. Comput. Math. Appl. 69, 926–948 (2015)
Gorenflo, R., Mainardi, F., Scalas, E., Raberto, M.: Fractional calculus and continuous-time finance III: the diffusion limit. In: Mathematical Finance, pp. 171–180. Springer, New York (2001)
Gorenflo, R., Luchko, Y., Stojanovic, M.: Fundamental solution of a distributed order time-fractional diffusion-wave equation as probability density. Fract. Calc. Appl. Anal. 16 (2), 297–316 (2013)
Mainardi, F., Raberto, M., Gorenflo, R., Scalas, E.: Fractional calculus and continuous-time finance II: the waiting-time distribution. Physica A 287, 468–481 (2000)
Mainardi, F., Pagnini, G., Mura, A., Gorenflo, R.: Time-fractional diffusion of distributed order. J. Vib. Control 14, 1267–1290 (2008)
Metzler, R., Klafter, J.: The restaurant at the end of the random walk: recent developments in the description of anomalous transport by fractional dynamics. J. Phys. A Math. Gen. 37, R161–R208 (2004)
Morgado, M.L., Rebelo, M.: Numerical approximation of distributed order reaction-diffusion equations. J. Comput. Appl. Math. 275, 216–227 (2015)
Ye, H., Liu, F., Anh, V., Turner, I.: Numerical analysis for the time distributed-order and Riesz space fractional diffusions on bounded domains. Int. J. Appl. Math. (2014). doi: 10.1093/imamat/hxu015
Acknowledgements
This work was partially supported by FCT (Portuguese Foundation for Science and Technology) within the projects UID/MAT/00013/2013 (Centro de Matemática) and UID/MAT/00297/2013 (Centro de Matemática e Aplicações).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Morgado, M.L., Rebelo, M. (2016). Chebyshev Spectral Approximation for Diffusion Equations with Distributed Order in Time. In: Pinelas, S., Došlá, Z., Došlý, O., Kloeden, P. (eds) Differential and Difference Equations with Applications. ICDDEA 2015. Springer Proceedings in Mathematics & Statistics, vol 164. Springer, Cham. https://doi.org/10.1007/978-3-319-32857-7_24
Download citation
DOI: https://doi.org/10.1007/978-3-319-32857-7_24
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-32855-3
Online ISBN: 978-3-319-32857-7
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)