Abstract

In this work, we suggest a new numerical scheme called the fractional higher order Taylor method (FHOTM) to solve fractional differential equations (FDEs). Using the generalized Taylor’s theorem is the fundamental concept of this approach. Then, the local truncation error generated by the suggested FHOTM is estimated by proving suitable theoretical results. At last, several numerical applications are given to demonstrate the applicability of the suggested approach in relation to their exact solutions.

Keywords: Caputo fractional derivative operator; generalized Taylor’s theorem; higher order Taylor method; local truncation error

1. Introduction

Fractional calculus is regarded as a powerful tool of mathematical analysis and shows the integration or differentiation in fractional order [1, 2]. Numerous researchers have expressed interest in this field, with some focusing on the analytical side of solving fractional differential equations (FDEs), which involves uniqueness, existence, stability, and other aspects; for example, refer to the study works [35]. Furthermore, a significant amount of research has been done with an applied focus since many fractional problems are challenging to solve analytically.

Nowadays, the majority of studies address this area since it is less expensive to generate a numerical approximation for a given nonlinear fractional problem than to get an analytical estimate. In this context, a variety of numerical methods have been suggested and applied to solve FDEs (see, e.g., [611]). Among these methods, we cite the following: homotopy perturbation and the matrix approach methods [12, 13], Adomian decomposition method [14], neural networks [15], fractional difference method [16], fractional Euler method (FEM) [17], modified fractional Euler method (MFEM) [18], and others (see [1922]).

The applied method that caught our interest and that we used in our research is that of Taylor, which is an algorithm utilized to estimate the solution of the classical IVP given as follows: where is a continuous function. Subsequently, numerous authors have investigated Taylor series methods and created mathematical methods for solving fractional differential problems. These authors include those listed in [2327] and the references therein.

For the fractional case, this method is witnessing remarkable development by researchers. For example, in [28], the authors created a novel method for nonlinear fractional partial differential equations: a combination of DTM and generalized Taylor’s formula. Then, in [29], Huang et al. presented an approximate solution of fractional integro-differential equations by the Taylor expansion method. The author in [30] developed the general fractional Euler and Taylor methods, and those methods are applied to different FDEs of first order. In general, various numerical methods are improved to provide better performance in accordance with particular needs. In this context, this paper presents a new approach for giving an approximate numerical solution for FDEs. It is called the fractional higher order Taylor method (FHOTM). One characteristic of the suggested algorithm is that it improves the FEM in terms of efficiency and accuracy, meaning that this approach’s accuracy increases with increasing order.

The present work is organized as follows: The fundamental concepts of our research are introduced in Section 2, along with some definitions and characteristics of fractional calculus theory. The fractional initial value problem (FIVP) is solved by the FHOTM, which is established in Section 3. Next, we determine a relevant theoretical result and use it to analyze and estimate the local truncation error produced by the FHOTM. Several numerical applications demonstrating the accuracy of the suggested method are provided in Section 4. For completeness, a brief summary of the study’s findings is provided at the conclusion.

2. Some Preliminary Results

The purpose of this section is to recall the following key result.

Definition 1 (see [31]). The fractional Riemann-Liouville integrator for a continuous function on is defined by where

Note that for , we have

Definition 2 (see [31]). Let , , and ; the Caputo fractional derivative is given by

The Caputo fractional differentiator satisfies the following properties [31]: where Additionally, we present below some other properties that are connected to the combination of the preceding two operators [31]: where and such that .

Theorem 1 (generalized Taylor’s formula) [17]. Suppose that is a continuous function on , for , where . Then, we can extend the function for the node in the subsequent way: with , for all .
To provide more clarity, we can formulate the above expression of by

3. Results and Discussion

Our objective in this part is to propose a FHOTM. The generalized Taylor’s method will be used to accomplish this. Furthermore, we will present a theoretical result concerning the estimation of the local truncation error of our scheme-developed approach.

3.1. Taylor’s Higher Order Fractional Approach

In regard to the Caputo fractional derivative, this technique can be used to find an approximate solution for FIVPs. The form of such a problem is dependent on the initial condition where , , denotes the differential operator in the sense of Caputo, and is a continuous function. In order to solve problems (11) and (12), we divide into discrete parts as , where is the step size corresponds to the mesh points , . Now, for and , we assume that and fulfill the conditions of the generalized Taylor’s theorem provided in Theorem 1. Then, by extending the solution with regard to Theorem 1, where , we obtain

After that, we change to in the previous equality to get the following equation: where . According to then the above expression (13) becomes of the following manner:

Indeed, Formula (14) can be approximately defined in the form that follows: where for , such that represents the approximate values of the exact solution at . However, the steps of solutions of problem (11) can be given in the form of Algorithm 1.

1: Start
2: Define function
3: Read initial values of ( and ), the value of (), number of steps () and calculation point ()
4: Calculate step size
5: Set
6: Loop
7: 
8: 
9: 
10: while do
11:   Display as result
12: end while
13: Stop
3.2. Estimation of Local Truncation Error

The object of this section is to estimate the local truncation error from the suggested method developed in Equation (15). For this purpose, we present the following theorem.

Theorem 2. Let us assume that the FIVP (11) and (12) can be approximated using the proposed FHOTM with a step size . We additionally suppose that , for , , where . Then, in this case, is the local truncation error.

Proof 1. Equation (14) gives us the ability to derive the following: for . This consequently gives where for . Consequently, we can define the local truncation error at step in the following form: such that As a result of , for , then we get which has bounds on the interval . Therefore, we have

4. Illustrative Applications

In this part, we explore two different examples of FDEs to validate our novel approach. We present the results obtained from each example using comparative figures and tables.

Example 1. Let as assess the following problem: At this point, it is necessary to point out that the exact solution to the given problem (17) when is presented by In this case, we put , and therefore, . Thus, we assume that Furthermore, let us suppose that we desire to apply on the FHOTM of order . In order to achieve this, we calculate Consequently, by using Equation (16), can be found as follows: where indicate estimates for , such that . Thanks to , Equation (18) can be reformulated as Thus, the order of the FHOTM can be expressed, based on Equation (19), as follows: for . We have the capability to simulate an approximate solution of problem (17) for the FHOTM of order in regard to Equation (20), which is shown in Figures 1 and 2, respectively, when and for various values of .

To analyze the absolute error values of the numerical solution produced by the suggested FHOTM of order , we plot Figure 3.

Example 2. The next problem studied corresponds to the following FIVP: where . We notice that the problem defined in Equation (21) with has the following exact solution:

Now, we choose in order to apply the suggested FHOTM, and thus, . In the next step, we are looking to apply the FHOTM of order and , respectively. In order to achieve this, we suppose that

This therefore indicates Thus,

Analogously, we can obtain which implies that

Applying Equation (16) allows us to express in the following way:

For , Equation (22) can be reformulated, since , as follows:

Thus, with the main expression (19), the FHOTM of order and is presented for as

Similarly, by utilizing Equations (24) and (25), we illustrate two approximated solutions for problem (21). Figures 4 and 5 show a numerical solution for and for different values of , which was achieved by applying the FHOTM of order . Next, using the FHOTM with an order of , the second approximation for the problem mentioned in (21) is obtained. Figure 6 illustrates this for .

The absolute values of the errors between the exact solution for the case of and the approximate solutions computed by FHOTM with the orders of and are displayed in Figures 7 and 8 and Table 1, respectively.

The accuracy of the suggested method is readily apparent in regard to previous numerical results, and it gets better as the method’s order increases.

5. Conclusion

Applications such as the ones listed above have shown that the proposed method produces a good approximation of the FIVP solution, particularly when contrasted with the precise solution. This insight shows that there are numerous scenarios in which the formula can be applied. In particular, the FHOTM may have the following characteristics: The beneficial result of the FHOTM encourages the application of the formula in various real-world situations.The FHOTM indicates that the approach is practical and has the potential to progress a number of fields where fractional calculus is crucial.It has been concluded that the FHOTM can generate more degrees of freedom by considering various fractional order values. This means that we may take any value of fractional order into account instead of adhering to only one value that represents only the integer-order case.

Data Availability Statement

No data were used to support this study.

Conflicts of Interest

The authors declare no conflicts of interest.

Author Contributions

Conceptualization: Iqbal M. Batiha. Methodology: Iqbal H. Jebril and Amira Abdelnebi. Software: Zoubir Dahmani and Shawkat Alkhazaleh. Validation: Nidal Anakira. Formal analysis: Iqbal M. Batiha and Nidal Anakira. Investigation: Iqbal H. Jebril. Data curation: Amira Abdelnebi and Shawkat Alkhazaleh. Supervision: Zoubir Dahmani and Nidal Anakira. All authors have read and agreed to the published version of the manuscript.

Funding

The authors received no specific funding for this work.