Abstract

Suitable spline functions of polynomial form are derived and used to solve linear and nonlinear fractional differential equations. The proposed method is applicable for 0<𝛼1 and 𝛼1, where 𝛼 denotes the order of the fractional derivative in the Caputo sense. The results obtained are in good agreement with the exact analytical solutions and the numerical results presented elsewhere. Results also show that the technique introduced here is robust and easy to apply.

1. Introduction

Mathematical modelling of complex processes is a major challenge for contemporary scientists. In contrast to simple classical systems, where the theory of integer-order differential equations is sufficient to describe their dynamics, fractional derivatives provide an excellent instrument for the description of memory and hereditary properties of various complex materials and systems. Therefore, the number of scientific and engineering problems involving fractional derivatives is already very large and still growing and perhaps the fractional calculus (i.e., derivatives and integrals of any real or complex order) will be the calculus of the twenty-first century [16].

The analytic results on the existence and uniqueness of solutions to the fractional differential equations have been investigated by many authors (see, e.g., [7, 8]). During the last decades, several numerical and analytical methods have been proposed in the literature to solve fractional differential equations. The most commonly used ones are fractional difference method [9, 10], Adomian decomposition method [11], variational iteration method [12, 13], and Adams-Bashforth-Moulton method [1416]. Recently, Lagrange multiplier method and the homotopy perturbation method are used to numerically solve multiorder fractional differential equations, see [17].

In view of successful application of spline functions of polynomial form in system analysis [18], delay differential equations [19], and delay differential equations of fractional order [20], we hold that it should be applicable to solve linear and nonlinear fractional-order systems.

In the present paper, we intend to extend the application of the spline functions of polynomial form to solve the fractional differential equations:𝑦𝛼(𝑥)=𝑓(𝑥,𝑦(𝑥)),𝑦(0)=𝑦0,(1.1) where 𝛼 denotes the order of the fractional derivative in the Caputo sense.

2. The Spline Function Method of Polynomial Form

Recently, many studies were devoted to the problems of approximate solutions of system ordinary as well as delay differential equations by spline functions [1821]. Micula et al. [18] considered the following system:𝑦(𝑥)=𝑓1𝑥(𝑥,𝑦,𝑧),𝑦0=𝑦0,𝑧(𝑥)=𝑓2(𝑥𝑥,𝑦,𝑧),𝑧0=𝑧0,(2.1) where 𝑓1,𝑓2𝐶𝑟[0,1]××,(𝑥,𝑦,𝑧)[0,1]××. They assumed that the functions 𝑓𝑖(𝑞),𝑖=1,2, and 𝑞=0,1,,𝑟 satisfy the Lipschitz condition of the form||𝑓𝑖(𝑞)𝑥,𝑦1,𝑧1𝑓𝑖(𝑞)𝑥,𝑦2,𝑧2||𝐿𝑖||𝑦1𝑦2||+||𝑧1𝑧2||,(2.2) with constant 𝐿𝑖 for all (𝑥,𝑦𝑖,𝑧𝑖)[0,1]××. In their paper, they presented investigations to the extension of the spline functions form for approximating the solution of the system of initial value problems (2.1), with unique solutions 𝑦=𝑦(𝑥) and 𝑧=𝑧(𝑥).

The spline functions 𝑆Δ and 𝑆Δ to approximate 𝑦=𝑦(𝑥) and 𝑧=𝑧(𝑥), respectively, are defined in polynomial form as𝑆Δ(𝑥)=𝑆𝑘(𝑥)=𝑆𝑘1𝑥𝑘+𝑟𝑖=0𝑓1(𝑖)𝑥𝑘,𝑆𝑘1𝑥𝑘,𝑆𝑘1𝑥𝑘𝑥𝑥𝑘𝑖+1,𝑆(𝑖+1)!Δ𝑆(𝑥)=𝑘𝑆(𝑥)=𝑘1𝑥𝑘+𝑟𝑖=0𝑓2(𝑖)𝑥𝑘,𝑆𝑘1𝑥𝑘,𝑆𝑘1𝑥𝑘𝑥𝑥𝑘𝑖+1,(𝑖+1)!(2.3) for 𝑥[𝑥𝑘,𝑥𝑘+1],𝑘=0,1,,𝑛1,𝑆1(𝑥0)=𝑦0,𝑆1(𝑥0)=𝑧0.

Ramadan introduced in [19] the solution of the first-order delay differential equation of the form:𝑦(𝑥)=𝑓(𝑥,𝑦(𝑥),𝑦(𝑔(𝑥))),𝑎𝑥𝑏,𝑦(𝑎)=𝑦0𝑎,𝑦(𝑥)=Φ(𝑥),𝑥,𝑎,𝑎<0,𝑎[]=inf{𝑔(𝑥)𝑥𝑎,𝑏},(2.4) using the spline functions of the polynomial form, defined as𝑆Δ(𝑥)=𝑆𝑘(𝑥)=𝑆𝑘1𝑥𝑘+𝑟𝑖=0𝑀𝑘(𝑖)𝑥𝑥𝑘𝑖+1(𝑖+1)!,(2.5) where 𝑀𝑘(𝑖)=𝑓(𝑖)(𝑥𝑘,𝑆𝑘1(𝑥𝑘),𝑆𝑘1(𝑔(𝑥𝑘))), with 𝑆1(𝑥0)=𝑦0,𝑆1(𝑔(𝑥0))=Φ(𝑔(𝑥0)).

Ramadan in [21] considered the system of the initial value problem𝑦(𝑥)=𝑓1𝑥,𝑦,𝑦,𝑧,𝑧,𝑦(𝑖)𝑥0=𝑦0(𝑖),𝑧(𝑥)=𝑓2𝑥,𝑦,𝑦,𝑧,𝑧,𝑧(𝑖)𝑥0=𝑧0(𝑖),(2.6) where 𝑓1,𝑓2𝐶𝑟([0,1]×(4)),𝑖=0,1,2. The method in their work is based on polynomial splines, to approximate the solutions of the system.

Ramadan et al. [20] presented an extension and generalization of the polynomial spline functions used in the case of [19], to approximate the solution of the first delay differential equation and to investigate the solution of the fractional ordinary differential equation given by𝑦(𝛼)(𝑥)=𝑓(𝑥,𝑦(𝑥)),𝑎𝑥𝑏,𝑦(𝑎)=𝑦0,𝛼>1.(2.7)

The formulation of the method presented in [20] is based on the fractional generalization of Taylor’s theorem [22], which is presented in the following theorem

Theorem 2.1. Let 𝛼>0,𝑛+, and 𝑓(𝑥)𝐶[𝛼]+𝑛+1([𝑎,𝑏]). Then 𝑓(𝑥)=𝑛1𝑘=𝑛𝐷𝛼+𝑘𝑎+𝑓𝑥0Γ(𝛼+𝑘+1)𝑥𝑥0𝛼+𝑘+𝑅𝑛(𝑥),(2.8) for all 𝑎𝑥0<𝑥𝑏, where 𝑅𝑛(𝑥)=𝐽𝛼+𝑛𝑎+𝐷𝛼+𝑛𝑎+𝑓(𝑥)(2.9) is the remainder.

Error estimation and convergence analysis of the proposed method was presented by Ramadan et al. [20]. In their work, they used 𝛼>1 and applied the method to solve two linear cases.

The present paper is a sequel to this work [20], and we extend the application of spline functions method of polynomial form to a more general case incorporating nonlinearities as well. And we show that this analysis is also applicable in the case 0<𝛼1, namely,𝑦(𝛼)(𝑥)=𝑓(𝑥,𝑦(𝑥)),𝑎𝑥𝑏,𝑦(𝑎)=𝑦0,𝛼>0.(2.10) Let Δ be a uniform partition to the interval [𝑎,𝑏], defined by the nodes Δ𝑎=𝑥0<𝑥1<<𝑥𝑘<𝑥𝑘+1<<𝑥𝑛=𝑏, where 𝑥𝑘=𝑥0+𝑘,𝑘=0,1,,𝑛, and =(𝑏𝑎)/𝑛.

Define the form of fractional spline function 𝑆(𝑥) of polynomial form approximating the exact solution 𝑦 by𝑆Δ(𝑥)=𝑆𝑘(𝑥)=𝑆(𝛼1)𝑘1𝑥𝑘𝑥𝑥𝑘𝛼1+Γ(𝛼)𝑟𝑖=𝑛+1𝑀𝑘(𝛼+𝑖1)𝑥𝑥𝑘𝛼+𝑖Γ(𝛼+𝑖+1),𝑛+,(2.11) where 𝑀𝑘(𝛼)=𝑓(𝛼)(𝑥𝑘,𝑆𝑘1(𝑥𝑘)), with 𝑆1(𝑥0)=𝑦0, for 𝑥[𝑥𝑘,𝑥𝑘+1].

Definition 2.2. Let 𝛼+. The operator 𝐽𝛼𝑎, defined on 𝐿1[𝑎,𝑏] by 𝐽𝛼𝑎1𝑓(𝑥)=Γ(𝛼)𝑥𝑎𝑓(𝑡)(𝑥𝑡)1𝛼𝑑𝑡(2.12) for 𝑎𝑥𝑏, is called the Riemann-Lioville fractional integral operator of order 𝛼.
For 𝛼=0, we set 𝐽0𝑎=𝐼, the identity operator.

Definition 2.3. The Caputo fractional derivative of 𝑓(𝑥), of order 𝛼>0 with 𝑎0, is defined as 𝐷𝛼𝑎𝑓𝐽(𝑥)=𝑎𝑚𝛼𝑓(𝑚)1(𝑥)=Γ(𝑚𝛼)𝑥𝑎𝑓(𝑚)(𝑡)(𝑥𝑡)𝛼+1𝑚𝑑𝑡(2.13) for 𝑚1𝛼𝑚,𝑚,𝑥𝑎,and𝑓(𝑥)𝐶𝑚1.

The Riemann-Liouville fractional operators may be extended to hold for large values of 𝛼, so we denote 𝛼=𝛼+𝛽, where 𝛼 is the integer part of 𝛼, and 𝛽=𝛼𝛼, thus we give the following definition.

Definition 2.4. If 𝛼>0 and 𝛼, then we define 𝐷𝛼𝑎𝑑𝑓=𝛼𝑑𝑥𝛼𝐷𝛽𝑎𝑑𝑓=𝛼+1𝑑𝑥𝛼+1𝐽𝑎1𝛽𝑓,(2.14) thus 𝐷𝛼𝑎𝑓1(𝑥)=𝑑Γ(𝑚𝛼)𝑚𝑑𝑥𝑚𝑥𝑎𝑓(𝑡)(𝑥𝑡)𝛼+1𝑚𝑑𝑡(2.15) for any 𝑓𝐶𝑚([𝑎,𝑏]), where 𝑚=𝛼+1. If, on the other hand, 𝛼<0, then the definition becomes 𝐷𝛼𝑎𝑓=𝐽𝑎𝛼𝑓.(2.16)

3. Numerical Examples

To demonstrate the effectiveness of this scheme, we consider two kinds of systems: one is linear and the other is nonlinear. These examples are considered because closed form solutions are available for them, or they have also been solved using other numerical schemes. This allows one to compare the results obtained using this scheme with the analytical solution or the solutions obtained using other schemes.

Example 3.1. Consider the fractional differential equation D𝛼𝑦(𝑥)=𝑦(𝑥)+𝑥412𝑥33Γ𝑥(4𝛼)3𝛼+24Γ𝑥(5𝛼)4𝛼,0<𝛼1,(3.1) with initial condition 𝑦(0)=0.

The exact solution is𝑦(𝑥)=𝑥412𝑥3.(3.2) The numerical results obtained, for different values of 𝛼, and for 0𝑥1, are shown in Table 1 and Table 2, together with absolute errors, to illustrate the accuracy of the spline method of polynomial form. Figure 1(a) for 𝛼=0.5, Figure 1(b) for 𝛼=0.75, Figure 1(c) for 𝛼=0.9, and Figure 1(d) for 𝛼=1.0 show the approximate solutions compared to the exact solution, to better illustrate the accuracy of the method.

Example 3.2. Consider the following fractional Riccati equation: D𝛼𝑦(𝑥)=𝑦(𝑥)+1,1𝛼<2,(3.3) subject to the initial condition 𝑦(0)=0.

The exact solution, when 𝛼=1, is 𝑒𝑦(𝑥)=2𝑥1𝑒2𝑥+1.(3.4) The numerical results obtained, for different values of 𝛼, and for 0𝑥5, are shown in Table 3; the approximate solution for 𝛼=1 is compared to the exact solution, to illustrate the accuracy of the spline method of polynomial form.

Example 3.3. Consider the following nonlinear fractional ordinary differential equation: D𝛼𝑦(𝑡)=𝐴(1𝑦)4,𝐴+,0<𝛼1,(3.5) subject to the initial condition 𝑦(0)=𝛽, where 𝛽 is a real constant.

This equation describes the cooling of a semi-infinite body by radiation, and the initial value problem has been solved numerically using the fractional difference method and Adomian decomposition method in [23].

The exact solution, when 𝛼=1,𝛽=0, and 𝐴=1, is 𝑦(𝑡)=1+3𝑡1+6𝑡+9𝑡21/31+3𝑡.(3.6)

In this paper, we use the spline function method of polynomial form, to solve the fractional differential equation (3.5), together with 𝑦(0)=𝛽=0 and 𝐴=1. Table 4 shows the approximate solutions for (3.5) obtained for different values of 𝛼 using the spline method of polynomial form. From the numerical results in Table 4, it is clear that the approximate solutions are in high agreement with the exact solutions, when 𝛼=1, and with those obtained in [23] using the fractional difference method and Adomian decomposition method.

4. Conclusions

In this paper, we investigated the possibility of extending and generalizing the spline functions of polynomial fractional form given in Ramadan et al. [20] to be applicable for 𝛼1 as well as the case 0<𝛼1. The method is tested by considering three test problems for three fractional ordinary differential equations. Two examples are of fractional order 𝛼, 0<𝛼1 (Example 3.1 and 3), while Example 3.2 is of fractional order 𝛼 where 1𝛼<2. The obtained numerical results are in good agreement with the exact analytical solutions.