Abstract
An explicit numerical method to solve a fractional cable equation which involves two temporal Riemann-Liouville derivatives is studied. The numerical difference scheme is obtained by approximating the first-order derivative by a forward difference formula, the Riemann-Liouville derivatives by the GrΓΌnwald-Letnikov formula, and the spatial derivative by a three-point centered formula. The accuracy, stability, and convergence of the method are considered. The stability analysis is carried out by means of a kind of von Neumann method adapted to fractional equations. The convergence analysis is accomplished with a similar procedure. The von-Neumann stability analysis predicted very accurately the conditions under which the present explicit method is stable. This was thoroughly checked by means of extensive numerical integrations.
1. Introduction
Fractional calculus is a key tool for solving some relevant scientific problems in physics, engineering, biology, chemistry, hydrology, and so on [1β6]. A field of research in which the fractional formalism has been particularly useful is that related to anomalous diffusion processes [1, 7β13]. This kind of process is singularly abundant and important in biological media [14β16]. In this context, the electrodiffusion of ions in neurons is an anomalous diffusion problem to which the fractional calculus has recently been applied. The precise origin of the anomalous character of this diffusion process is not clear (see [17] and references therein), but in any case the consideration of anomalous diffusion in the modeling of electrodiffusion of ions in neurons seems pertinent. This problem has been addressed recently by Langlands et al. [17, 18]. An equation that plays a key role in their analysis is the following fractional cable (or telegrapher's or Cattaneo) equation (model II): where with and , is the Riemann-Liouville fractional derivative. Here is the difference between the membrane potential and the resting membrane potential, is the exponent characterizing the anomalous flux of ions along the nerve cell, and is the exponent characterizing the anomalous flux across the membrane [17, 18]. Some earlier fractional cable equations were discussed in [19, 20].
A variety of analytical and numerical methods to solve many classes of fractional equations have been proposed and studied over the last few years [10, 21β30]. Of the numerical methods, finite difference methods have been particularly fruitful [31β38]. These methods can be broadly classified as explicit or implicit [39]. An implicit method for dealing with (1.1) has recently been considered by Liu et al. [38]. Although implicit methods are more cumbersome than explicit methods, they usually remain stable over a larger range of parameters, especially for large timesteps, which makes them particularly suitable for fractional diffusion problems. Nevertheless, explicit methods have some features that make them widely appreciated [32, 39]: flexibility, simplicity, small computational demand, and easy generalization to spatial dimensions higher than one. Unfortunately, they can become unstable in some cases, so that it is of great importance to determine the conditions under which these methods are stable. In this paper we will discuss an explicit finite difference scheme for solving the fractional cable equation, which is close to the methods studied in [32, 33]. We shall address two main questions: (i) whether this kind of method can cope with fractional equations involving different fractional derivatives, such as the fractional cable equation; (ii) whether the von Neumann stability analysis put forward in [32, 34] is suitable for this kind of equation.
2. The Numerical Method
Henceforth, we will use the notation , , and , where is the numerical estimate of the exact solution at and .
In order to get the numerical difference algorithm, we discretize the continuous differential and integro-differential operators as follows. For the discretization of the fractional Riemann-Liouville derivative we use the GrΓΌnwald-Letnikov formula with and . These coefficients come from the generating function [40] To discretize the integer derivatives we use standard formulas: for the second-order spatial derivative we employ the three-point centered formula with and for the first-order time derivative we use the forward derivative where Inserting (2.1), (2.5), and (2.7) into (1.1), one gets where, as can easily be proved, the truncating error is Neglecting the truncating error we get the finite difference scheme we are seeking: that is, where
To test this algorithm, we solved (1.1) in the interval , with absorbing boundary conditions, , and initial condition given by a Dirac's delta function centered at : . The exact solution of this problem for is [17] where denotes the Fox function [10, 41]. In our numerical procedure, the exact initial condition is approximated by The explicit difference scheme (2.12) is tested by comparing the analytical solution with the numerical solution for several cases of the problem described following (2.13) with different values of and . We have computed the analytical solution by means of (2.14) truncating the series at . The corresponding Fox function was evaluated by means of the series expansion described in [10, 41] truncating the infinite series after the first 50 terms. In Figures 1 and 2 we show the analytical and numerical solution for two values of and at and . The differences between the exact and the numerical solution are shown in Figures 3 and 4. One sees that, except for very short times, the agreement is quite good. The large value of the error for small times is due in part to the approximation of the Dirac's delta function at by (2.15). This is clearly appreciated when noticing the quite different scales of Figures 3 and 4: the error is much smaller for than for . For the cases with we used a smaller value of and, simultaneously, a larger value of than for the cases with in order to keep the numerical scheme stable. This issue will be discussed in Section 3.
3. Stability
As usual for explicit methods, the present explicit difference scheme (2.12) is not unconditionally stable, that is, for any given set of values of , , , and there are choices of and for which the method is unstable. Therefore, it is important to determine the conditions under which the method is stable. To this end, here we shall employ the fractional von Neumann stability analysis (or Fourier analysis) put forward in [32] (see also [33β35]). The question we address is to what extent this procedure is valid for fractional diffusion equations that involve fractional derivatives of different order.
Proceeding as [32], we start by recognizing that the solution of our problem can be written as the linear combination of subdiffusive modes, , where the sum is over all the wave numbers supported by the lattice. Therefore, following the von Neumann ideas, we reduce the problem of analyzing the stability of the solution to the problem of analyzing the stability of a single generic subdiffusion mode, . Inserting this expression into (2.12) one gets The stability of the mode is determined by the behavior of . Writing and assuming that the amplification factor of the subdiffusive mode is independent of time, we get If for some , the temporal factor of the solution grows to infinity [c.f., (3.2)], and the mode is unstable. Considering the extreme value , one gets from (3.3) that the numerical method is stable if this inequality holds: where If one defines , one gets But from (2.4) with one sees that , so that Therefore, because , we find that a sufficient condition for the present method to be stable is that . In Figures 5 and 6 we show two representative examples of the problem considered in Figure 2 but for two values of , respectively, larger and smaller than the stability bound provided by (3.7). One sees that the value of that one chooses is crucial: when is smaller than one is inside the stable region and gets a sensible numerical solution (Figure 5); otherwise one gets an evidently unstable and nonsensical solution (Figure 6).
4. Numerical Check of the Stability Analysis
In this section we describe a comprehensive check of the validity of our stability analysis by using many different values of the parameters , , , and and testing whether the stability of the numerical method is as predicted by (3.7). Without loss of generality, we assume in all cases. We proceed in the following way. First, we choose a set of values of , , , and and integrate the corresponding fractional cable equation. If for within the first 1000 integrations, then we say the method is unstable; otherwise, we label the method as stable. We generated Figure 7 by starting the integration for values of well below the theoretical stability limit given by (3.7) and kept increasing its value by 0.001 until condition (4.1) was first reached. The last value for which the method was stable is recorded and plotted in Figure 7. The limit value is arbitrary, but choosing any other reasonable value does not significantly change these plots.
5. Convergence Analysis
In this section we show that the present numerical method is convergent, that is, that the numerical solution converges towards the exact solution when the size of the spatiotemporal discretization goes to zero. Let us define as the difference between the exact and numerical solutions at the point : . Taking into account (2.9) and (2.11), one gets the equation that describes how this difference evolves: As we did in the previous section for , we write and as a combination of (sub) diffusion modes, and , and analyze the convergence of a single but generic -mode [36, 39, 42]. Therefore, replacing by and by in (5.1), we get
Now we will prove by induction that for all . To start, satisfies the initial condition by construction, so that . This means that . Therefore, from (5.2) one gets . But from (2.10) one knows that , so that . Let us now assume that holds for . Then we will prove that . From (5.2) we obtain where is the maximum value of for . Taking into account (2.4), using the value , and because , it is easy to see that or, equivalently, since for (see (2.3)). Therefore is bounded (in fact, it is smaller than 2). Using this result in (5.3), together with and , we find that Therefore the amplitude of the subdiffusive modes goes to zero when the spatiotemporal mesh goes to zero. Employing the Parseval relation, this means that the norm of the error goes to zero when and go to zero. This is what we aimed to prove.
6. Conclusions
An explicit method for solving a kind of fractional diffusion equation that involves several fractional Riemann-Liouville derivatives, which are approximated by means of the GrΓΌnwald-Letnikov formula, has been considered. The method was used to solve a class of equations of this type (fractional cable equations) with free boundary conditions, Dirac's delta initial condition, and different fractional exponents. The error of the numerical method is compatible with the truncating error, which is of order . It was also proved that the method is convergent. Besides, it was also found that a fractional von-Neumann stability analysis, which provides very precise stability conditions for standard fractional diffusion equations, leads also to a very accurate estimate of the stability conditions for cable equations.