Abstract

The nonpolynomial spline interpolation is proposed to distinguish numerical analysis from the senes boundary conditions, accurance error estimations. The idea used in this article is readily applicable to obtain numerical solution of nonpolynomial spline interpolation. These analyze the methods that are suitable for the numerical solution of subdiffusion equation. The method has been shown to be stable by using von Neumann technique. The accuracy and efficiency of the scheme are checked by several examples to obtain numerical tests.

1. Introduction

In recent years, the derivation of solutions to fractional differential equations has become a hot topic in many areas of applied science and engineering. There are still not enough extremely precise numerical methods, although there have been many works on numerical methods for fractional differential equations. It is also very important to conduct research on fractional-order differential equations in unconstrained fields. A popular approach to solving these problems is to use artificial boundary conditions (ABCs) [1]. There are several applications of spline methods to the numerical solution of differential equations and, in particular, fractional differential equations [26]. The derivation of solutions to fractional differential equations has become a first-rate topic in many areas of applied science and engineering. Since fractional derivatives provide more accurate models than integer derivatives for most real-world problems, fractional differential equations are used to formulate a considerable number of applied problems. Applications are diverse and include viscoelastic and viscoelastic flows, control theory, transport problems, tumor evolution, random walks, continuum mechanics, and turbulence [713]. Finite differences, Fourier method, orthogonal spline collocation, implicit schemes with alternating direction, and compact finite difference methods have been successfully used in [1422] to solve fractional subdiffusion equations. The author of [23] has presented an implicit numerical method for the fractional diffusion equation, where the fractional derivative is discretized by spline and the Crank–Nicolson discretization is used for the time variable. The authors of [24] have developed a novel nonpolynomial spline method for solving second-order hyperbolic equations, and their results are numerically more accurate than some finite difference methods, see [2528]. The authors of [29] presented a quadratic nonpolynomial spline approach to approximate the solution of a system of second-order boundary value problems associated with a one-sided obstacle, and compared to collocation, finite difference, and certain common polynomial spline approaches, we used contact problems and produced approximations that were more accurate.

We consider the fractional differential equation on a bounded domain expressed by [1]where and .

2. Basic Definition

Definition 1. Let u(x) be a function defined on (a, b), then the Riemann–Liouville fractional derivative is of the following form [12]:

Definition 2. Let u(x) be a function defined on (a, b), then the Caputo fractional derivative is of the following form [12]:

3. Nonpolynomial Spline Method

In this section, we present nonpolynomial spline method for solving the problem equations (1)–(4) in the finite interval . For the positive integers and , we take , as the spatial stepsize and temporal stepsize, respectively. We use the notations , , , , and . Let us consider a mesh with nodal points on such that

For each segment , the nonpolynomial spline has the following form:where k is the frequency of the trigonometric part of the spline functions which can be real or pure imaginary and which will be used to raise the accuracy of the method [30]. Let be the exact solution, and let be an approximation to obtained by the segment passing through the points and .

To derive the coefficients of the equation (8), we first define

By algebraic manipulation, we get , and . Using the continuity of the third, fourth, and fifth derivatives, that is, , and 5, we obtain the following useful consistency relation in terms of the second derivative of spline and ,

By expanding equation (10) in Taylor series about at each fixed , , we obtain the following local truncation error:where , and are given in [1]. In this paper, we use fourth- and sixth-order method. From [30], , and are , and for fourth-order method and , and for sixth-order method.

Lemma 1. Let Q is an estimation of the smoothness function at class , then the error estimation obtained as

Proof. The above relations are due to the expansion of Taylor sentences , , at point can be obtained as follows:Also, we have the same way.And this is the end of the proof.

The local truncation error for the first- and second-order spline method is obtained as follows:

To obtain unique solution for the nonlinear system equation (10), we need four more equations. We define the following identities:

by using Taylor’s expansion, we obtain the unknown coefficients in equation (16) as follows:where from equation (1), we can write in the form

Now, we need to use the definition of discrete approximation of fractional derivative in time of any appropriate function 2, 10 aswhere and .

Then, from equations (18) and (19), we can express in the following form:

By substituting equations (20) in (10), we have following systems:

for , if , andfor , if , with

Substituting equations (20) in (16), we get

In the above systems, for each , clearly, we have linear equations in terms of unknowns .

4. Stability

In this section, we analyze the stability of equation (21), by means of the von Neumann method. We considerwhere and is a real mode number and is a complex number. We substitute equations (25) into (21) to obtainwhere , and this equation reduces to in which with

Then, we obtain

in which and

hold for all real and , and in fourth- and sixth-order method. Hence, the condition is satisfied which implies . Similarly, by substituting equations (25) into (22), we obtain

in which

From the denoted values of x and y, the equation (30) can be simplified as

Then, we obtain

Now, from this equation, it is obtained that for all (see [3]). Hence, the nonpolynomial spline method is unconditionally stable.

5. Numerical Results

In this section, the wealth of the presented method nonpolynomial spline method will be tested on three different examples, which are widely used in the literature. All problems were solved with best error estimations, and their results were compared with analytical or spline solutions given in the literature. In the following section, detailed information about this comparison will be presented.

Example 1. Consider problem equations (1)–(4) withThe exact solution of the problem is as follows [7]:This problem is solved using the methods described in Section 2 for . The results are reported in Tables 1 and 2.

Example 2. Consider problem equations (1)–(4) withIt can be checked that the exact solution is [10].
This problem is solved using the methods described in Section 2 for . The results are reported in Table 3.

6. Conclusion

In this paper, we constructed the application of the nonpolynomial spline method to obtain the numerical point solution of fractional partial differential equations. Numerical results showed that these techniques achieve accuracy, in numerical results illustrative graphs, the Figure 1 the comparison of the present results with the result of [10] shows the efficiency of the suggested technique. Also, the stability and error estimates of the methods are investigated and shown some figures of the results. Moreover, illustrations for the stability region of the schemes are derived.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.