Volume 2011, Issue 1 231920
Research Article
Open Access

An Explicit Numerical Method for the Fractional Cable Equation

J. Quintana-Murillo

J. Quintana-Murillo

Departamento de Física, Universidad de Extremadura, 06071 Badajoz, Spain unex.es

Search for more papers by this author
S. B. Yuste

Corresponding Author

S. B. Yuste

Departamento de Física, Universidad de Extremadura, 06071 Badajoz, Spain unex.es

Search for more papers by this author
First published: 18 September 2011
Citations: 14
Academic Editor: Fawang Liu

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 [16]. A field of research in which the fractional formalism has been particularly useful is that related to anomalous diffusion processes [1, 713]. This kind of process is singularly abundant and important in biological media [1416]. 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 n − 1 < γ < n and n = integer, is the Riemann-Liouville fractional derivative. Here u is the difference between the membrane potential and the resting membrane potential, γ1 is the exponent characterizing the anomalous flux of ions along the nerve cell, and γ2 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, 2130]. Of the numerical methods, finite difference methods have been particularly fruitful [3138]. 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 xj = jΔx, tm = mΔt, and , where is the numerical estimate of the exact solution u(x, t) at x = xj and t = tm.

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 T(x, t) 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 −L/2 ≤ xL/2, with absorbing boundary conditions, u(x = −L/2, t) = u(x = L/2, t) = 0, and initial condition given by a Dirac′s delta function centered at x = 0: u(x, 0) = δ(x). The exact solution of this problem for L is [17]
()
where H denotes the Fox H function [10, 41]. In our numerical procedure, the exact initial condition u(x, 0) = δ(x) 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 γ1 and γ2. We have computed the analytical solution by means of (2.14) truncating the series at k = 20. The corresponding Fox H 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 γ1 and γ2 at x = 0 and x = 0.5. 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 x = 0 by (2.15). This is clearly appreciated when noticing the quite different scales of Figures 3 and 4: the error is much smaller for x = 0.5 than for x = 0. For the cases with γ1 = 1/2 we used a smaller value of Δt and, simultaneously, a larger value of Δx than for the cases with γ1 = 1 in order to keep the numerical scheme stable. This issue will be discussed in Section 3.
Details are in the caption following the image
Numerical solution at the mid-point x = 0 (hollow symbols) and x = 0.5 (filled symbols) of the fractional cable equation for γ1 = 1 and γ2 = 1 (squares) and γ2 = 1/2 (circles) with Δx = 1/20, Δt = 10−4, K = μ = 1, and L = 5. Lines are the exact solutions given by (2.14).
Details are in the caption following the image
Numerical solution at the mid-point x = 0 (hollow symbols) and x = 0.5 (filled symbols) of the fractional cable equation for γ1 = 1/2 and γ2 = 1 (squares) and γ2 = 1/2 (circles) with Δx = 1/10, Δt = 10−5, K = μ = 1, and L = 5. Lines are the exact solutions given by (2.14).
Details are in the caption following the image
Absolute error of the numerical method for the problems considered in Figures 1 and 2 at x = 0. Squares: γ2 = 1; circles: γ2 = 1/2; hollow symbols: γ1 = 1; filled symbols: γ1 = 1/2.
Details are in the caption following the image
Error of the numerical method for the problem considered in Figures 1 and 2 at x = 0.5. Squares: γ2 = 1; circles: γ2 = 1/2; hollow symbols: γ1 = 1; filled symbols: γ1 = 1/2.

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 γ1, γ2, μ, and K there are choices of Δx and Δt 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 [3335]). 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 q 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, ζ(m)eiqjΔx. Inserting this expression into (2.12) one gets
()
The stability of the mode is determined by the behavior of ζ(m). Writing
()
and assuming that the amplification factor ξ of the subdiffusive mode is independent of time, we get
()
If |ξ | > 1 for some q, the temporal factor of the solution grows to infinity [c.f., (3.2)], and the mode is unstable. Considering the extreme value ξ = −1, 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 z = −1 one sees that , so that
()
Therefore, because , we find that a sufficient condition for the present method to be stable is that SS×. In Figures 5 and 6 we show two representative examples of the problem considered in Figure 2 but for two values of S, respectively, larger and smaller than the stability bound provided by (3.7). One sees that the value of S that one chooses is crucial: when S is smaller than S× 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).
Details are in the caption following the image
Exact solution (lines) and numerical solution (symbols) provided by our method for the fractional cable equation with γ1 = 0.5 and γ2 = 0.5 for different numbers of timesteps when Δx = 1/10, Δt = 10−5, K = μ = 1, L = 5, and . This case is inside the stability region because S is smaller than the stability limit provided by (3.7). The inset shows the results on logarithmic scale.
Details are in the caption following the image
Numerical solution (circles) provided by our explicit method for the fractional cable equation with γ1 = 0.5 and γ2 = 0.5 after 100 timesteps when Δx = 1/10, Δt = 1.3 × 10−5, K = μ = 1, L = 5, and S = (Δt) γ/(Δx) 2 = 0.36. Note that this value is larger than the stability limit provided by (3.7). The broken line is to guide the eye.

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 γ1, γ2, Δt, and Δx and testing whether the stability of the numerical method is as predicted by (3.7). Without loss of generality, we assume μ = K = 1 in all cases. We proceed in the following way. First, we choose a set of values of γ1, γ2, Δx, and S and integrate the corresponding fractional cable equation. If
()
for λ = 10 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 S 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 λ = 10 is arbitrary, but choosing any other reasonable value does not significantly change these plots.
Details are in the caption following the image
Stability bound S versus γ1 for several values of γ2 where Δx = 1/20, and K = μ = 1. Symbols are numerical estimates. Lines correspond to the theoretical prediction (3.7).

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 (xj, tm): . 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 q-mode [36, 39, 42]. Therefore, replacing by ζ(k)eiqjΔx and by χ(m)eiqjΔx in (5.1), we get
()
Now we will prove by induction that |ζ(m)| = Ot) + Ox)2 for all m. To start, satisfies the initial condition by construction, so that . This means that ζ(0) = 0. Therefore, from (5.2) one gets ζ(1) = χ(0). But from (2.10) one knows that , so that |ζ(1)| = Ot) + Ox)2. Let us now assume that |ζ(k)| = Ot) + Ox)2 holds for k = 1, …, m. Then we will prove that |ζ(m+1)| = Ot) + Ox)2. From (5.2) we obtain
()
where |ζ{m}| is the maximum value of |ζ(k)| for k = 0, …, m. Taking into account (2.4), using the value z = 1, and because , it is easy to see that or, equivalently, since for k ≥ 1 (see (2.3)). Therefore is bounded (in fact, it is smaller than 2). Using this result in (5.3), together with |ζ(k)| ≤ Ct + (Δx) 2) and |χ(k)| ≤ Ct + (Δx) 2), 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 Δt and Δx 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 Ot) + Ox) 2. 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.

    The full text of this article hosted at iucr.org is unavailable due to technical difficulties.