Abstract
In the present paper, we introduce the fractional Bernstein series solution (FBSS) to solve the fractional diffusion equation, which is a generalization of the classical diffusion equation. The Bernstein polynomial method is a promising one and can be generalized to more complicated problems in fractional partial differential equations. To get the FBSS, we first convert all terms in the problem to matrix forms. Then, the fundamental matrix equation is obtained and thus, the solution is obtained. Two error estimation methods based on a residual correction procedure and the consecutive approximations are incorporated to find the estimate and bound of the absolute error. The perturbation and stability analysis of the method is given. We apply the method to some illustrative examples. The numerical results are compared with the exact solutions and known second-order methods. The outcomes of the numerical examples are very encouraging and show that the FBSS is highly useful in solving fractional partial problems. The results show the accuracy and effectiveness of the method.
1. Introduction
Fractional derivatives have been used to model many problems in science, e.g., physics [1,2,3], medicine [4], hydrology [5], biomedical problems [6], dynamics of particles [7] and applied sciences [8]. The linear fractional diffusion equation is considered for scientists and engineers [9]. Fractional space derivatives are used in the modeling of anomalous diffusion. In a diffusion model, replacement of the second derivative by a fractional derivative causes enhanced diffusion, also called superdiffusion [10].
In the present study, we consider the following one-dimensional fractional diffusion equation (FDE),
on a finite domain , and . We assume the initial condition for and the boundary conditions and .
The fractional derivative in Equation (1) is the Caputo fractional derivative of order [11]. The basic property of the Caputo derivative is as follows.
Several methods have been used to solve the FDE numerically, e.g., Crank–Nicholson method, which is second-order accurate [12]; finite difference method [13]; finite element method [14]; generalized differential transform method [15]; and Galerkin method, which includes the normalized Bernstein polynomials, collocation method [16], the shifted Jacobi tau method [17], and the Chebyshev spectral-tau method [18]. Fractional Taylor vector to solve multi-term fractional differential equations [19].
One effective method to solve the problems is the Bernstein polynomials method (BPM), also called the Bernstein series solution method [20,21,22,23,24,25]. Positive linear operators of Bernstein with sequence of these operators are established to solve to solve two-variables equations [26]. The operational matrices of the BPM have been used to get the numerical solutions of a class of third-order ordinary differential equations [27]. The multi-stage BPM, a generalization of the standard BPM, was applied to fractional-order stiff systems [28]. The BPM with new modifications was employed to solve fractional differential equations [29]. Moreover, the same method was used to solve some types of ordinary differential equations [30,31,32]. A special type of the singular Emden-Fowler problems was solved by BPM [33]. Recently, some linear and non-linear systems of ordinary differential equations have been solved by BPM and the accuracy has been improved by a residual correction procedure [34]. A novel error estimation method for the parametric non-intrusive reduced order model based on machine learning is presented in [35].
In this paper, the fractional Bernstein series solution (FBSS) method is introduced and applied to solve Equation (1) numerically. The method comprises the fractional Bernstein polynomials and collocation method. We approximate the exact solution of Equation (1) by
such that satisfies Equation (1) on the collocation nodes.
This paper is organized as follows. Section 2 presents necessary definitions and theorems. Section 3, the main section, discusses the matrix forms of the solution with its derivatives. Then, we get the fundamental matrix equation of the FDE. Employing the conditions and applying the Gauss elimination procedure yields the unknown matrix. Thus, we obtain the FBSS. In Section 4, two different error analysis methods are presented to get the upper bound of the absolute error with the corrected FBSS. Moreover, an upper bound obtained by the generalized Taylor theorem is presented. To decide the stability, the perturbation and stability analysis of the method is done in Section 5. Section 6 provides the numerical results to illustrate the FBSS method for different n values. We compare the method with other methods used to solve the problem. The results show that the present method gives accurate solutions and is also efficient. We test the effect of small perturbations to the approximate solutions both theoretically and practically for various values of n. Section 7 summarizes the results.
2. Preliminaries and Notations
Bernstein polynomials of n-th degree are given by the following equation [29].
Similarly, the fractional Bernstein polynomials are constituted by using , so Equation (2) becomes
We will use the definition of Caputo’s derivative, which is the modification of the definition of Riemann-Liouville. It has some advantages for solvinginitial value problems [36].
Definition 1 ([37,38]).
The Riemann–Liouville integral operator of order for is defined as follows
Definition 2 ([37,38]).
The Caputo fractional dervative of f of order for is given as follows,
for
We will use the following multivariate fractional Taylor’s theorem [39] to bound the absolute error.
Theorem 1.
For a compact and convex domain let for where
If then
where and
3. Numerical Method
First note that can be written as follows:
where
and
We write as
where
Therefore, we can write and in the forms
respectively. As can be written as
for , the relation
is obtained where
Note that can be given as
where
The term can be written as:
where
and
and
Substituting Equations (9) and (13) into Equation (5) yields the matrix forms of and as
respectively. The use of (15) and (16) in (1) gives the fundamental matrix equation
Inserting the collocation points in Equation (17) yields the system
where m-th row of is obtained from , , and
For the conditions, we first put , and into Equation (14), respectively. Then, we obtain the following matrix relations by substituting the collocation nodes,
where
Combining and , and and , we obtain a new system :
Applying the Gauss elimination method to the augmented matrix and deleting the zero rows gives the system , where is square matrix and has full rank. Then, the unknown matrix can be obtained as
4. Error Analysis
In this section, first an upper bound for the absolute error is given. Then, we give two error estimation methods that can be applied easily and are useful practically. The first one is the residual correction procedure. The second one is specifying the consecutive approximations which is similar to the error analysis of the RK4 method.
Theorem 2.
Let and y be the FBSS and the exact solution of Equation (1), respectively. By using the above notations, the absolute error is bounded as follows,
provided that where D is a rectangular domain contains the collocation nodes.
Proof.
Adding and subtracting the term the two-dimensional truncated generalized Taylor polynomial defined in (4), into the left-hand side and applying triangle inequality yields the desired result. □
Let R be the function defined as
Adding the term R into both sides of Equation (1) yields the following fractional differential equation for the absolute error
where The initial and boundary conditions for the problem are converted to
We get an approximate solution, , for the absolute error by applying the method to Equation (21) with the conditions (22) on the nodes Then, the absolute error can be estimated by provided that is small.
Corollary 1.
Let be the FBSS. Then, is another approximate solution, corrected FBSS, of Equation (1) and its error function is Moreover, if
then is a better approximation than in any given norm .
Let and be any two FBSS of Equation (1), y be the exact solution of Equation (1). Then, by using the triangle inequality, we find the following inequality,
If then we can write as follows
Therefore, we can bound the error as
Therefore, we can bound the error by
Then, we can bound the error well in case of , even when the exact solution is not known. A similar argument may be proposed when the error sequence is decreasing (or increasing). Thus, in case of a decreasing (or increasing) error sequence, one of the following bounds is satisfied
or
5. Numerical Stability
In this section, we will study the perturbation analysis with stability estimation of the linear systems obtained by the FBSS method, which is similar to that in [40], for a given problem. Perturbing the initial or boundary conditions yields the following perturbed solutions, . There occur two cases:
- Case 1:
- Only the vector on the right hand side of (20) is perturbed, i.e.,Let us show the perturbed solution of (24) as , where is the perturbation of the solution resulting from the perturbations in the initial and boundary conditions. Then, the change in the solution caused by the initial change is bounded as [41]
- Case 2:
- The perturbations might be occurred both and ,As the same notation in Case 1, the change in caused by perturbing the initials is bounded above as [41]
Thus, for Case 1,
and therefor we can specify the effect of the little changes in the initial and boundary conditions on the FBSS by measuring We omit the result for Case 2 by simplicity.
6. Numerical Results and Discussion
In this section, three examples are provided to illustrate the properties and effectiveness of the technique.
6.1. Example 1
Let us consider the FDE [17]
where and , the diffusion coefficient is
and the source function
The initial condition is
and the boundary conditions are
The exact solution to this problem is
The collocation points that will be used are the Chebyshev interpolation nodes
By substituting the collocation points in Equation (28), we will obtain matrix. The conditions matrices for , are obtained as
Then, is obtained by combining these matrices. Thus, we obtain the coefficient matrix . As we perform the method for different n values, we obtain n different FBSS. All calculations are done using the Maple program. The results for , 10, , and are given in Table 1. The absolute errors are graphed in Figure 1. Table 2 show the absolute errors between consecutive approximations. The exact and approximate solutions with are graphed in Figure 2. The values of error functions and the exact solution, at time , are given in Table 3 and graphed in Figure 3. The upper bounds of absolute error at time are given in Figure 4. A comparison of the method with the numerical methods in [16,18] is made for . The absolute error for with the errors obtained by the corrected FBSSs are given in Table 4. We can say that increasing n yields better approximation results and the method provides better results. From Table 2, we deduce that the absolute error can be estimated approximately by the difference between and From Table 3, we can see the method gives more accurate results than the methods in [16,18] for . From Table 4, increasing m yields more accurate corrected approximate solutions. Table 5 shows the error norms , resulting with CPU time (in seconds) used in the Maple program to find the numerical solutions for different n values. We provide the stability results for the method for some n values in Table 6. Increasing n gives the condition numbers which are increasing. It can be said that the approximate solutions will be more stable around by using both the theoretical upper bounds and the numerical results. The method produces approximately as a condition number. For , the solutions will be more sensitive to small variations since the number of conditions is large. Thus, around , we can say that the method works well for this problem.
Table 1.
Comparisons of the absolute errors for different n for Example 1.
Figure 1.
The absolute errors for Example 1: , and .
Table 2.
Upper bounds for the absolute errors for and of Example 1.
Figure 2.
The exact solution and FBSSs for Example 1.
Table 3.
Absolute errors on , with , and for Example 1 at time t = 1.
Figure 3.
FBSSs and the exact solution for Example 1, with and at time .
Figure 4.
Upper bounds of the absolute errors for Example 1, with and at time .
Table 4.
The absolute errors with the corrected FBSSs , and of Example 1.
Table 5.
Error norms , and CPU for different values of n for Example 1.
Table 6.
Stability of the system related to the method for different values of n for Example 1.
6.2. Example 2
Let us consider the FDE [17]
where and . The diffusion coefficient is
the source function
The initial and boundary conditions are as follows, respectively,
The exact solution of this problem is given by
We perform the method for , 10 and The results are given in Table 7. The absolute errors are graphed in Figure 5. A comparison of the method with the numerical method in [17] is given in Table 7. We can say that increasing n yields better approximation results and the method provides better results. The method gives more accurate results than the method in [17]. From Table 8, we conclude that the absolute error can be bounded approximately by The absolute error for with the errors obtained by the corrected FBSSs are given in Table 9. The absolute errors for and at time are given in Figure 6. The errors with their upper bounds at are given in Figure 7. Table 10 shows the error norms , , resulting with CPU time (in seconds) used in the Maple program to find FBSSs for different n values. The method again gives approximately as a condition number. Therefore, around , we can say from Table 11 that the method produces more stable approximations for this problem.
Table 7.
The absolute errors for different n values with a comparison with the method in [17] for Example 2.
Figure 5.
The absolute errors for Example 2, with , and .
Table 8.
Upper bounds of the absolute errors, for , and Example 2.
Table 9.
The absolute errors with the corrected FBSSs for and of Example 2.
Figure 6.
The absolute errors for Example 2, with , , and .
Figure 7.
Upper bounds of absolute errors for Example 2, with , , and , , for case .
Table 10.
Error norms , and CPU for different values of n for Example 2.
Table 11.
for different values of n for Example 2.
6.3. Example 3
Let us consider the fractional convection diffusion equation [42]
where and. The diffusion coefficient is
the source function
The initial and boundary conditions are as follows, respectively,
The exact solution of this problem is given by
By applying the technique in Section 3, for different values of n, the FBSSs for the problem are founded. From Table 12 and Table 13, we can see obviously that the results obtained by FBSS and the exact solution of the problem are agreement with each other. We compare our results with [42], can see our results are more accurate. The condition numbers for the systems that related to the method for various n are given in Table 14. We can say from Table 14 that the method is insensitive to small variations for .
Table 12.
Comparisons of the absolute errors for of Example 3.
Table 13.
Absolute errors for different values of n of Example 3.
Table 14.
for different values of n for Example 3.
7. Conclusions
In this paper, we proposed the FBSS to solve the FDE numerically. The method can be easily implemented and is effective. It comprises fractional Bernstein polynomials and the collocation method. First, the fundamental matrix equation is obtained and then it is solved by the Gauss elimination procedure. Applying the initial and boundary conditions, we get the solution for the given n value. Two error estimations, residual correction procedure and estimations are obtained by the difference of the consecutive approximations. We applied the method to some examples. Generally, the results demonstrate that the proposed method achieves better approximation accuracy than some other well-known methods. From the examples, we can bound approximately the absolute error by On the other hand, one can obtain more accurate results by using the residual correction procedure. Increasing m gives more accurate corrected FBSS. For the stability of the method, we can decide which size n yields more stable approximations by specifying at the number of conditions of the related system. For the examples, the method produces condition numbers approximately as for approximately. Thus, around , we can say that the method is suitable for these examples. The subjects of our future works can be exemplified by applying fractional Bernstein series solution for solving fractional integral differential equations and chaotic fractional order systems.
Author Contributions
Conceptualization, M.H.A. and O.I.; methodology, M.H.A. and O.I.; software, M.H.A. and O.I.; validation, I.H. and O.I.; writing—original draft preparation, M.H.A. and O.I.; writing—review and editing, I.H.; supervision, I.H.; funding acquisition, M.H.A. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Abu Dhabi University grant number 18-51-45005.
Acknowledgments
The authors acknowledge with thanks, the Department of Mathematics and Statistics at the Abu Dhabi University for making their facilities available for the research.
Conflicts of Interest
The authors declare that there is no conflict of interest.
References
- Barkai, E.; Metzler, R.; Klafter, J. From continuous time random walks to the fractional Fokker-Planck equation. Phys. Rev. E 2000, 61, 132–138. [Google Scholar] [CrossRef] [PubMed]
- Blumen, A.; Zumofen, G.; Klafter, J. Transport aspects in anomalous diffusion: Lévy walks. Phys. Rev. A 1989, 40, 3964–3973. [Google Scholar] [CrossRef] [PubMed]
- Salehi, F.; Saeedi, H.; Moghadam, M.M. A Hahn computational operational method for variable order fractional mobile-immobile advection-dispersion equation. Math. Sci. 2018, 12, 91–101. [Google Scholar] [CrossRef]
- Cardoso, L.C.; Dos Santos, F.L.P.; Camargo, R.F. Analysis of fractional-order models for hepatitis B. Comput. Appl. Math. 2018, 37, 4570–4586. [Google Scholar] [CrossRef]
- Baeumer, B.; Benson, D.A.; Meerschaert, M.M.; Wheatcraft, S.W. Subordinated advection-dispersion equation for contaminant transport. Water Resour. Res. 2001, 37, 1543–1550. [Google Scholar] [CrossRef]
- Magin, R.L. Fractional Calculus in Bioengineering; Begell House Publishers: Redding, CA, USA, 2006. [Google Scholar]
- Tarasov, V.E. Fractional Dynamics: Applications of Fractional Calculus to Dynamics of Particles, Fields and Media; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
- Mainardi, F. Fractional Calculus and Waves in Linear Viscoelasticity: An Introduction to Mathematical Models; Imperial College Press: London, UK, 2010. [Google Scholar]
- Povstenko, Y. Linear Fractional Diffusion-Wave Equation for Scientists and Engineers; Birkhäuser: New York, NY, USA, 2015. [Google Scholar]
- Sousa, E. Finite difference approximations for a fractional advection diffusion problem. J. Comput. Phys. 2009, 228, 4038–4054. [Google Scholar] [CrossRef]
- Miller, K.S.; Ross, B. An Introduction to the Fractional Calculus and Fractional Differential Equations; Wiley: Hoboken, NJ, USA, 1993. [Google Scholar]
- Tadjeran, C.; Meerschaert, M.M.; Scheffler, H.P. A second-order accurate numerical approximation for the fractional diffusion equation. J. Comput. Phys. 2006, 213, 205–213. [Google Scholar] [CrossRef]
- Meerschaert, M.M.; Tadjeran, C. Finite difference approximations for fractional advection-dispersion flow equations. J. Comput. Appl. Math. 2004, 172, 65–77. [Google Scholar] [CrossRef]
- Fix, G.J.; Roof, J.P. Least squares finite-element solution of a fractional order two-point boundary value problem. Comput. Math. Appl. 2004, 48, 1017–1033. [Google Scholar] [CrossRef]
- Cetinkaya, A.; Kiymaz, O. The solution of the time-fractional diffusion equation by the generalized differential transform method. Math. Comput. Model. 2013, 57, 2349–2354. [Google Scholar] [CrossRef]
- Baseri, A.; Babolian, E.; Abbasbandy, S. Normalized Bernstein polynomials in solving space-time fractional diffusion equation. Adv. Differ. Equ. 2017, 2017, 346. [Google Scholar] [CrossRef]
- Mohammed, O.H.; Fadhel, S.F.; Al-Safi, M.G.S. Shifted Jacobi Tau Method for Solving the Space Fractional Diffusion Equation. IOSR-JM 2014, 10, 34–44. [Google Scholar] [CrossRef]
- Doha, E.H.; Bhrawy, A.H.; Ezz-Eldien, S.S. Numerical approximations for fractional diffusion equations via a Chebyshev spectral-tau method. Cent. Eur. J. Phys. 2013, 11, 1494–1503. [Google Scholar] [CrossRef]
- Avci, I.; Mahmudov, N.I. Numerical Solutions for Multi-Term Fractional Order Differential Equations with Fractional Taylor Operational Matrix of Fractional Integration. Mathematic 2020, 8, 96. [Google Scholar]
- Pandey, R.K.; Kumar, N. Solution of Lane-Emden type equations using Bernstein operational matrix of differentiation. New Astron. 2012, 17, 303–308. [Google Scholar] [CrossRef]
- Yousefi, S.A.; Behroozifar, M. Operational matrices of Bernstein polynomials and their applications. Int. J. Syst. Sci. 2010, 41, 709–716. [Google Scholar] [CrossRef]
- Yuzbas, S. Numerical solutions of fractional Riccati type differential equations by means of the Bernstein polynomials. Appl. Math. Comput. 2013, 219, 6328–6343. [Google Scholar]
- Isik, O.R.; Sezer, M.; Guney, Z. A rational approximation based on Bernstein polynomials for high order initial and boundary values problems. Appl. Math. Comput. 2011, 217, 9438–9450. [Google Scholar]
- Isik, O.R.; Sezer, M.; Guney, Z. Bernstein series solution of linear second-order partial differential equations with mixed conditions. Math. Methods Appl. Sci. 2014, 37, 609–619. [Google Scholar] [CrossRef]
- Lorentz, G.G. Bernstein Polynomials; Chelsea Publishing Company: New York, NY, USA, 1986. [Google Scholar]
- Büyükyazici, I.; Ibikli, E. The approximation properties of generalized bernstein polynomials of two variables. Appl. Math. Comp. 2004, 156, 367–380. [Google Scholar] [CrossRef]
- Khataybeh, S.N.; Hashim, I.; Alshbool, M. Solving directly third-order ODEs using operational matrices of Bernstein polynomials method with applications to fluid flow equations. J. King Saud Univ. Sci. 2019, 31, 822–826. [Google Scholar] [CrossRef]
- Alshbool, M.H.T.; Hashim, I. Multistage Bernstein polynomials for the solutions of the fractional order stiff systems. J. King Saud Univ. Sci. 2016, 28, 280–285. [Google Scholar] [CrossRef]
- Alshbool, M.H.T.; Bataineh, A.S.; Hashim, I.; Isik, O.R. Solution of fractional-order differential equations based on the operational matrices of new fractional Bernstein functions. J. King Saud Univ. Sci. 2017, 29, 1–18. [Google Scholar] [CrossRef]
- Alshbool, M.H.T.; Bataineh, A.S.; Hashim, I.; Isik, O.R. Approximate solutions of singular differential equations with estimation error by using Bernstein polynomials. Int. J. Pure Appl. Math. 2015, 100, 109–125. [Google Scholar] [CrossRef]
- Bhatti, M.I.; Bracken, P. Solutions of differential equations in a Bernstein polynomial basis. J. Comput. Appl. Math. 2007, 205, 272–280. [Google Scholar] [CrossRef]
- Alshbool, M.; Hashim, I. Bernstein polynomials for solving nonlinear stiff system of ordinary differential equations. In AIP Conference Proceedings; AIP Publishing LLC: New York, NY, USA, 2015; Volume 1678, p. 060015. [Google Scholar]
- Bencheikh, A.; Chiter, L.; Abbassi, H. Bernstein polynomials method for numerical solutions of integro-differential form of the singular Emden-Fowler initial value problems. Int. J. Math. Comput. Sci. 2018, 17, 66–75. [Google Scholar] [CrossRef][Green Version]
- Alshbool, M.H.T.; Shatanawi, W.; Hashim, I.; Sarr, M. Residual Correction Procedure with Bernstein Polynomials for Solving Important Systems of Ordinary Differential Equations. Cent. Eur. J. Phys. 2013, 11, 1494–1503. [Google Scholar]
- Xiao, D. Error estimation of the parametric non-intrusive reduced order model using machine learning. Comput. Meth. Appl. Mech. Eng. 2019, 355, 513–534. [Google Scholar] [CrossRef]
- Kiryakova, V. Generalized Fractional Calculus and Applications; Longman Scientic & Technical: Harlow, UK, 1994. [Google Scholar]
- Podlubny, I. Fractional Differential Equations; Academic Press: San Diego, CA, USA, 1999. [Google Scholar]
- Kilbas, A.A.; Srivastava, H.M.; Trujillo, J.J. Theory and Applications of Fractional Differential Equations; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
- Cheng, J. On Multivariate Fractional Taylor’s and Cauchy’Mean Value Theorem. J. Math. Study 2019, 52, 38–52. [Google Scholar] [CrossRef]
- Hu, H.Y.; Chen, J.S.; Chi, S.W. Perturbation and stability analysis of strong form collocation with reproducing kernel approximation. Int. J. Numer Methods Eng. 2011, 88, 157–179. [Google Scholar] [CrossRef]
- Atkinson, K.E. An Introduction to Numerical Analysis; John Wiley & Sons: Hoboken, NJ, USA, 2008. [Google Scholar]
- Xie, J.; Huang, Q.; Yang, X. Numerical solution of the one-dimensional fractional convection diffusion equations based on Chebyshev operational matrix. Springerplus 2016, 5, 1–16. [Google Scholar] [CrossRef] [PubMed][Green Version]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 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 (http://creativecommons.org/licenses/by/4.0/).






