Abstract
This paper proposes a novel numerical approach for handling fractional boundary value problems. Such an approach is established on the basis of two numerical formulas; the fractional central formula for approximating the Caputo differentiator of order and the fractional central formula for approximating the Caputo differentiator of order , where . The first formula is recalled here, whereas the second one is derived based on the generalized Taylor theorem. The stability of the proposed approach is investigated in view of some formulated results. In addition, several numerical examples are included to illustrate the efficiency and applicability of our approach.
MSC:
34B05; 26A33
1. Introduction
The significance of fractional differential equations (FDEs) has grown significantly in recent decades. This is, of course, due to their value in modeling various phenomena in many practical and industrial applications such as science, physics, dynamics, mechanics, engineering, etc. When dealing with ordinary/partial differential equations, one might be concerned about obtaining solutions to these equations so that they satisfy specific conditions [1,2]. In general, we will have initial conditions once certain conditions are provided at a single point of an independent variable, whereas we will have boundary conditions once the conditions are provided at more than a single point of that variable. Actually, obtaining a solution of a fractional-order problem in accordance with n-boundary conditions is called an FBVP. Such a problem in its linear and -order cases is regarded as a very important problem due to its various applications in technology and science. In this work, two boundary conditions are typically assumed at end points of an interval, as in most physical applications. In particular, we consider the following FBVP:
subject to the boundary conditions
where are constants and and are given real numbers.
The boundary value problems consisting of FDEs have contributed to a deep understanding of many processes in different sciences, as different types of these equations can be solved using certain mathematical methods which meet specific boundary conditions. Given the impossibility of solving nonlinear types of the BVPs analytically, several numerical approaches are used, see [3,4,5,6,7]. It should be noted that the finite difference method can provide very good numerical solutions for different types of FDES, see, e.g., [8,9,10]. From this point of view, we here propose to use the fractional central formula for approximating the Caputo differentiator of order established in [11], and another formula called the fractional central formula for approximating the Caputo differentiator of order , to find approximate solutions to a type of FBVPs given in (1), where . The stability of the proposed method is then examined, and several numerical examples are provided for completeness.
This paper is coordinated as follows. In Section 2, necessary preliminaries and some properties connected with fractional calculus are presented. Section 3 displays the methodology of the proposed method coupled with its stability. Section 4 provides a number of examples with some figures and tabulated results attached to illustrate the fulfilled findings. Section 5 finishes this work by declaring a conclusion.
2. Preliminaries
In this section, we mention some basic and necessary definitions in fractional calculus, such as the Riemann–Liouville integral and derivative, the Caputo derivative, and properties of the operators, which will be applied throughout the paper.
Definition 1
([12,13]). The Riemann–Liouville fractional integral of the function f of order γ is outlined as
where and .
Remark 1
([12,13]). It is useful to mention some characteristics of the Riemann–Liouville integral operator, which are listed below for completeness:
- The identity property, i.e.,
- The power rule property, i.e.,
- The commutation property, i.e.,
Definition 2
([12,13]). Let such that n is a positive integer and . The Riemann–Liouville derivative of fractional-order γ is outlined as
Definition 3
([12,13]). The Caputo fractional differential operator of order γ is outlined as
where and such that .
Remark 2
([12,13]). The Caputo fractional derivative satisfies the following properties:
- The power rule property, i.e.,
- The constant property, i.e.,where c is constant.
- Interpolation property, i.e.,
- Linearity property, i.e.,where and are two constants.
- Non-commutation property, i.e.,where n such that .
Theorem 1
([14]). Suppose that for where . Then, the function f can be expanded about as follows:
where and .
3. Methodology and Stability
In this section, we attempt to develop a novel numerical approach to deal with FBVPs. This approach is accomplished based upon a recent formula established in [11] called the fractional central formula for approximating the Caputo differentiator of order , and another formula called the fractional central formula for approximating the Caputo differentiator of order , which would be established here, where . But before all of this, we recall below the first formula by stating the following theorem.
Theorem 2
([11]). Let and be three distinct points in the interval such that , where . Then, for any , the fractional central formula for approximating the Caputo differentiator of order α is determined by
where , for an unknown .
3.1. Approximating Caputo Differentiator of Order
Herein, on the basis of the generalized Taylor Theorem 1, we intend to derive a novel formula called the fractional central formula for approximating the Caputo differentiator of order , where .
Theorem 3.
Suppose that and are distinct points in the interval such that with . Let , then the fractional central formula for approximating the Caputo differentiator of order is determined by
where for an unknown .
Proof.
To prove this result, we first expand the function f about using Theorem 1 to obtain
Consequently, we can approximate the function f at . In other words, we can have
From this point of view, we can use the transform variables for both and to be x and , respectively. This would immediately give
In a similar manner, we can get
where . Adding (19) to (20) yields
Now, due to lying between and , by the Intermediate Value Theorem we can infer that exists between and , and so in . Thus, we have
This consequently implies
which immediately gives the desired result. □
Remark 3.
It is obvious that, if we take in formula (16), then the conventional second derivative midpoint formula will be immediately yielded.
3.2. Analysis of the Method
At the beginning of this section, we intend to depict the procedure of solving the FBVP given in (1) and (2). For this purpose, we apply Theorems 2 and 3 to approximate and , respectively. In other words, we have
and
where are defined previously in Theorem 3, and . For the purpose of developing a novel approach to find the solution of the problem (1) and (2), we divide the interval into n subintervals through , for , such that and , where . Now, at the point , we have
and
for . By substituting (25) and (26) in (1), we get
for . Actually, formula (27) can be rewritten in the form
for . For simplicity, we set the following assumptions:
and
for . This immediately converts (28) to
for . In fact, the above formulas can be expressed in the matrix form as follows:
The above linear system can be denoted by , where
and
As a matter of fact, system (32) is called tridiagonal and could be solved algebraically using the Thomas algorithm [15]. In particular, if we take formula (31) again as follows:
where for . Now, formula (34) can be written in the form:
where and . By considering the Thomas algorithm, we assume and eliminate from the second equation of system (35). This gives
where and . Next, assuming and eliminating from the third equation of system (35) yields
where and . Similarly, if we assume that and eliminating from the th-equation of the system (35), we obtain
where and , for . Consequently, by back substituting N and assuming in which , we have
for . This finishes the Thomas algorithm and, hence, by proper MATLAB code, we can obtain the desired numerical solution of the aimed system (1) and (2).
3.3. Stability of the Method
In order to insure of the stability of the fractional central formula for approximating the Caputo differentiator of order , where , we consider the following FBVP:
with the boundary conditions
where . The important question to be asked here is how would be regarded a good approximation of solution of problem (36) and (37). To answer this question, we need to estimate the error in the discrete values related to the true solution . In this regard, we assume the pointwise error is of the form , for , and the true vector is of the form . This gives the error of the form
which contains all error at each grid point. To obtain a bound on the magnitude of the above vector error, we need to estimate as . To do this, we consider
which represents the largest error order in the interval . Therefore, if , then
for .
Next, our aim is to estimate the error in our proposed difference approach. To do so, we should be concerned with the local truncation error, and then with the stability of this approach for the purpose of justifying the boundedness of the global error. So, let us start with the local truncation error, which would be as follows:
or
for . Now, by using , we have
Now, though is unknown fixed and is independent of h, we have as . If we define as a vector containing , then
which implies
Now, to address the global error, we can have from (41) the following approximation:
So, the global error is defined as
Now, subtracting (41) and (42) yields
or
This implies
with boundary conditions
for . Note that problems (44) and (45) are the same as the difference equation reported previously for , except , for . Actually, problems (44) and (45) can be expressed as
with boundary conditions
where and
Now, if we operate in Equation (46), we get
or
By operating twice again in Equation (48), we obtain
or
This implies , which represents the desired estimation for the global error.
Now, with aim of dealing with the stability of the proposed difference scheme, we consider again system (43) in which A is the corresponding tridiagonal matrix, is the global error matrix, and is the local truncation error matrix. In fact, system (43) can be rewritten as
for a given . It is important to mention that , and as a result the dimension of will grow as . Now, let exist. Then, we have
Consequently, we obtain
But we have . So, we expect the same for . Thus, for , then is independent of h as , say , for sufficiently small h, where c is constant. Therefore, we have
and hence the stability is ensured.
4. Numerical Experiments
In this section, we validate our proposed numerical approach discussed in the previous section by illustrating three numerical examples including FBVPs of the forms (1) and (2). We use MATLAB-2020 software to simulate the results in a few fractional-order values.
Example 1.
Consider the following FBVP:
with boundary conditions
The exact solution for problems (51) and (52) is of the form
In order to validate such an approach in handling the FBVPs, we track the proposed numerical approach discussed in Section 3. This would provide us with several approximate solutions for problem (51) and (52) with different fractional-order values, i.e., . Some of these approximate solutions are plot and compared with the exact solution (53) as can be seen in Figure 1 and Table 1.
In light of the previous numerical results, one can clearly observe that the approximate solutions generated by our approach converge to the exact solution as α gets closer to 1, confirming the validity of the proposed method.
Example 2.
Consider the following FBVP:
with boundary conditions
The exact solution for problems (54) and (55) is of the form
With the aim of verifying the correctness of our proposed technique in handling the FBVPs, we follow the same manner used in Example 1 coupled with using the numerical approach discussed in the previous section. This would provide us with several approximate solutions for problems (54) and (55) with different fractional-order values, i.e., . Some of these approximate solutions are plotted and compared with the exact solution (56) as can be seen in Figure 2 and Table 2.
Herein, we can also notice that the approximate solutions generated by our numerical scheme converge to the exact solution as α gets closer to 1.
Example 3.
Consider the following FBVP:
with boundary conditions
The exact solution for problems (57) and (58) is of the form
In a similar manner to the previous two examples, we generate here several approximate solutions for problems (57) and (58) with different fractional-order values, i.e., . Some of these approximate solutions are plotted and compared with the exact solution (59) as can be seen in Figure 3 and Table 3.
Note that the approximate solutions obtained by the proposed scheme also converge to the exact solution as α gets closer to 1.
5. Conclusions
In this paper, a novel numerical approach has been successfully proposed to deal with fractional boundary value problems. This has been carried out by utilizing two numerical formulas—the fractional central formula for approximating the Caputo differentiator of order and the fractional central formula for approximating the Caputo differentiator of order , where . The stability analysis of the proposed approach has been discussed, and several numerical examples have been illustrated to show the applicability of the proposed method. Thus, in light of this study, we believe that we can address many other kinds of fractional-order problems in a similar manner, such as the fractional-order system of differential equations, fractional partial differential equations, and fractional integrodifferential equations. This is left to the future for further consideration.
Author Contributions
Conceptualization, A.A.A.-N.; Methodology, I.M.B.; Validation, A.A.A.-N.; Formal analysis, I.M.B.; Resources, S.M.; Writing—original draft, A.A.A.-N.; Writing—review & editing, I.M.B.; Visualization, S.M.; Supervision, S.M. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by Deputyship for research & Innovation, Ministry of Education in Saudi Arabia for funding this research through the project number (IF2/PSAU/2022/01/22174).
Data Availability Statement
Not applicable.
Acknowledgments
The authors extend their appreciation to the Deputyship for research & Innovation, Ministry of Education in Saudi Arabia for funding this research through the project number (IF2/PSAU/2022/01/22174).
Conflicts of Interest
The authors declare no conflict of interest.
References
- Aydemir, K.; Olǧar, H.; Mukhtarov, O.S.; Muhtarov, F.S. Differential Operator Equations with Interface Conditions in Modified Direct Sum Spaces. Filomat 2018, 32, 921–931. [Google Scholar] [CrossRef]
- Bezziou, M.; Dahmani, Z.; Jebril, I.; Belhamiti, M.M. Solvability for a Differential System of Duffing Type Via Caputo-Hadamard Approach. Appl. Math. Inf. Sci. 2022, 16, 341–352. [Google Scholar]
- Abu-Zaid, I.T.; El-Gebeily, M.A. A finite-difference method for the spectral approximation of a class of singular two-point boundary value problems. IMA J. Numer. Anal. 1994, 14, 545–562. [Google Scholar] [CrossRef]
- Fulton, C.T. Two-point boundary value problems with eigenvalue parameter contained in the boundary conditions. Proc. Roy. Soc. Edinb. 1977, 77A, 293–308. [Google Scholar] [CrossRef]
- Mukhtarov, O.; Olǧar, H.; Aydemir, K. Resolvent Operator and Spectrum of New Type Boundary Value Problems. Filomat 2015, 29, 1671–1680. [Google Scholar] [CrossRef]
- Keller, H.B. Numerical Methods for Two-Point Boundary-Value Problems; Courier Dover Publications: Mineola, NY, USA, 2018. [Google Scholar]
- Endeshaw, B. Finite Difference Method for Boundary Value Problems in Ordinary Differential Equations. Math. Theory Model. 2019, 9, 17–27. [Google Scholar]
- Zhang, T.; Li, Y. Exponential Euler scheme of multi-delay Caputo–Fabrizio fractional-order differential equations. Appl. Math. Lett. 2022, 124, 107709. [Google Scholar] [CrossRef]
- Albadarneh, R.B.; Batiha, I.M.; Zurigat, M. Numerical solutions for linear fractional differential equations of order 1 < α < 2 using finite difference method (FFDM). Int. J. Math. Comput. Sci. 2016, 16, 103–111. [Google Scholar]
- Albadarneh, R.B.; Zerqat, M.; Batiha, I.M. Numerical solutions for linear and non-linear fractional differential equations. Int. J. Pure Appl. Math. 2016, 106, 859–871. [Google Scholar] [CrossRef]
- Batiha, I.M.; Alshorm, S.; Ouannas, A.; Momani, S.; Ababneh, O.Y.; Albdareen, M. Modified Three-Point Fractional Formulas with Richardson Extrapolation. Mathematics 2022, 10, 3489. [Google Scholar] [CrossRef]
- Kilbas, A.A. Theory and Application of Fractional Differential Equations; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
- Mainardi, F. Fractional Calculus. In Fractals and Fractional Calculus in Continuum Mechanics; Springer: Berlin, Germany, 1997; pp. 291–348. [Google Scholar]
- Odibat, Z.M.; Momani, S. An algorithm for the numerical solution of differential equations of fractional order. J. Appl. Math. Inform. 2008, 26, 15–27. [Google Scholar]
- Bittelli; Marco; Campbell, G.S.; Tomei, F. Soil Physics with Python: Transport in the Soil–Plant–Atmosphere System; Oxford Academic: Oxford, UK, 2015. [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/).


