1. Introduction
We aim to develop a family of effective numerical methods for solving the following nonlinear time-fractional differential equations:
where
,
is the the differential operator in sense of Caputo, given by
The fractional differential equations provide a powerful tool to describe many natural phenomena in the fields of physics [
1,
2,
3], economics [
4] and biology [
5].
Developing and analyzing highly effective numerical methods for fractional differential equations has been one of the hot topics. The widely used numerical methods are the L1 schemes [
6,
7,
8,
9,
10,
11,
12,
13] and L2-schemes [
14,
15,
16]. Such schemes are developed by using piecewise interpolations. The optimal convergence results of L1-type schemes for time-dependent partial equations can be obtained by using the fractional Grönwall type inequalities [
17,
18,
19]. Moreover, L1-type schemes can be accelerated by using sum-of-exponentials approximations [
20,
21,
22]. Other widely used schemes are the so-called backward differentiation formula (BDF) convolution quadrature (CQ) methods. The CQ methods were originally proposed in [
23,
24] and further investigated in [
25,
26,
27]. That aside, some transformed finite difference methods were constructed based on some change in variables [
28,
29,
30]. More numerical schemes as well as their numerical analysis can be found in an incomplete list of references [
31,
32,
33].
It is widely accepted that Equation (
1) is equivalent to the following Volterra integral equation [
34]:
Here and below, we always assume that the function
f is Lipschitz continuous with respect to the second argument on a suitable set
G and the Lipschitz constant is
L. Moreover, suppose
. Then, there exists a function
and some
and
such that the solution to Equation (
1) can be given by (see, e.g., [
35,
36,
37,
38])
where
. Clearly, the typical solution to the problem in Equation (
1) has an initial layer at the beginning, and
blows up as
. In this paper, we aim to present effective numerical schemes to solve the fractional problems, taking the initial layer into account.
The new numerical schemes are developed based on the following changes in variables:
Equations (
1) or (
2) is equivalent to the following integral equation:
Then, the solution to Equation (
7) has the form
where
. Clearly, by the changes in variables, the initial layer will vanish, and the exact solution will become smoother. Then, the idea of developing effective numerical methods for solving Equation (
1) is as follows:
The rest of the paper is organized as follows. In
Section 2, we present a family of new numerical schemes and investigate the numerical schemes’ convergence results. In
Section 3, we present some numerical results to confirm the theoretical findings. Finally, our conclusions are presented in
Section 4.
2. Construction of the Numerical Methods
In this section, we develop some numerical methods and present the numerical results based on the change in variable. Here and below, we always set the step size
, with
N being a given integer and
. In what follows, we will present two numerical methods for solving Equation (
7).
2.1. First-Order Accurate Methods
In this subsection, we present a numerical method based on the following change in variable:
With Equations (
7) and (
8), one can check that its solution
with the change in variable. Therefore, we propose a first-order accurate method based on the product rectangle rule for every interval; in other words, we propose
Then, it follows from Equation (
7) that
where
and the truncation error is
while the coefficients are
Let
be a numerical approximation to
. By replacing
with
and omitting the truncation error
, we have the following numerical scheme:
Scheme I is an implicit method. At each step, iterative processes are required to solve the nonlinear equations. In order to reduce the computational cost, a linearized scheme can be developed as follows:
The convergence results of the proposed schemes rely heavily on the following lemmas:
Lemma 1 ([39]). Let be a sequence of non-negative real numbers. Ifwhere is a positive constant, and , is a monotonic increasing sequence of non-negative real numbers, thenwhere B is the Beta function. When , the following is true:where is the Mittag-Leffler function. Now, we have the following convergence results:
Theorem 1. Suppose . Then, the schemes in Equations (11) and (12) are first-order accurate. Proof. Let
. Subtracting Equation (
11) from Equation (
9) gives
It follows from Equation (
10) that, for
, we have
where
belongs to the interval
and the mean value theorem of the integral is used. Noting that
then
can be absorbed by the left-hand side of the inequality when
h is sufficiently small. By combining Equations (14) and (15) with the truncation error
, we can obtain
where
and
are two constants independent on
h. When applying Lemma 1, the above inequality yields that
Now, we conclude that Scheme I is first-order accurate. The convergence of Scheme II can be obtained in a similar fashion. □
2.2. Second-Order Accurate Methods
In this subsection, we present the numerical methods based on the following change in variable:
Again, through Equations (
7) and (
8), one can check that its solution
with the change in variable. Therefore, we propose a second-order accurate method based on the product trapezoidal quadrature rule; in other words, we have
Then, it follows from Equation (
7) again that
where the truncation error is
and the coefficient is
where
is the product of an incomplete beta function and beta function. For
, we have
Again, by replacing
with
and omitting the truncation error
in Equation (
9), we have the following numerical scheme:
By applying the Newton linearized method to approximate the nonlinear term, we have the following linearized scheme:
where
.
By applying the extrapolation to approximate the nonlinear term, we obtain the following linearized scheme:
Next, we have the following convergence results:
Theorem 2. Suppose . Then, the schemes in Equations (18)–(20) are second-order accurate. Proof. Let
. Subtracting Equation (
11) from Equation (
9) gives
Now, we present some estimates for the coefficients
. First, it holds that
For
, it holds that
where
is a constant independent of
h,
, and
. Noting that
then
can be absorbed by the left-hand side of the inequality when
h is sufficiently small.
Now, together with the estimates for and Lemma 1, we conclude that Scheme III is second-order accurate. The rest of the results can be obtained in a similar manner. □
3. Applications
In this section, several numerical examples are given to illustrate the convergence results, and the norm of the error is computed with different . All numerical examples are calculated by using the software MATLAB, and .
Example 1. We consider the nonlinear time fractional ODEs as follows:where satisfies the exact solution We solve Equation (
22) by using Schemes I–V. To verify the numerical errors and convergence orders, we use the temporal step sizes
with different
in the first-order scheme. The results presented in
Table 1 and
Table 2 indicate that the convergence order was one, which coincided with our theoretical results. In
Table 3,
Table 4 and
Table 5, we give the maximum error and the convergence orders for the Newton iterative and Newton linearized methods and the extrapolation skills, respectively. In all these cases, the time steps chosen were
, and we can see from
Table 3 that the convergence order was two, which is consistent with the theoretical findings. The results illustrated in
Table 4 and
Table 5 indicate that the numerical experiment performed better than the theoretical conclusions. Here, we also compared our methods with some classical ones, and the results in
Table 6 indicate that these methods’ orders were
. Moreover, we present the evolution of the maximum norm of the error, and the results found in
Figure 1 indicate that our method performed well at the beginning.
Example 2. We consider the nonlinear time fractional Allen–Cahn equationwhere and satisfies the exact solution is . Similarly, we solve the time-fractional Allen–Cahn equation by using Scheme III based on a variable transform. We take
with
to find the maximum of the errors and orders in the temporal direction. Moreover, we consider different spatial step sizes
, where
with
for different
. The numerical errors are shown in
Table 7 and
Table 8, respectively, where it can clearly be seen that the convergence orders in the temporal and spatial directions are both two.