- Research
- Open access
- Published:
Numerical solutions of fractional wave equations using an efficient class of FDM based on the Hermite formula
Advances in Difference Equations volume 2016, Article number: 34 (2016)
Abstract
In this article, a numerical study is introduced for solving the fractional wave equations by using an efficient class of finite difference methods. The proposed scheme is based on the Hermite formula. The stability and the convergence analysis of the proposed methods are given by a recently proposed procedure similar to the standard von Neumann stability analysis. A simple and accurate stability criterion valid for different discretization schemes of the fractional derivative, arbitrary weight factor, and arbitrary order of the fractional derivative, are given and checked numerically. Finally, a numerical example is presented to confirm the theoretical results.
1 Introduction
In recent years, it has turned out that many phenomena in engineering, physics, chemistry, and other sciences can be described very successfully by models using mathematical tools from fractional calculus, i.e. the theory of derivatives and integrals of fractional (non-integer) order. There are many applications of the fractional differential equations (FDEs), see [1–10], and the studied models have received a great deal of attention like in the fields of viscoelastic materials [1], solutes in natural porous or fractured media [3], and anomalous diffusion. Most FDEs do not have exact solutions, so approximate and numerical techniques must be used [11–21]. Recently, several numerical methods to solve FDEs have been given such as the variational iteration method [16], the Adomian’s decomposition method [21], the collocation method [22–24], and the finite difference method [15, 17, 25]. In this section, we introduce the Riemann-Liouville definitions of the fractional derivative operator \(D^{\alpha}\) [26, 27].
Definition 1
The Riemann-Liouville derivative \(D^{\alpha}\) of order α of the function \(y(x)\) is defined by
where n is the smallest integer exceeding α and \(\Gamma(\cdot)\) is the Gamma function. If \(\alpha=m\in N\), then the above definition coincides with the classical mth derivative \(y^{(m)}(x)\).
In this paper, we will study the numerical solutions of the following fractional differential wave equation:
on a finite domain \(0 < x < L\), \(0 \leq t \leq T\), where \(f(x,t)\) is the source term and \(D^{\alpha}\) is the Riemann-Liouville derivative of order α with respect to the time t. Under the zero boundary conditions
and the following initial conditions
here \(g_{1}(x)\) and \(g_{2}(x)\) are given functions.
In the last few years there have appeared many papers studying the proposed model (2)-(4) [15, 17]. In this paper, we study the time fractional case and use an efficient class of finite difference methods based on the Hermite formula to solve this model.
The plan of the paper is as follows. In Section 2, we give some approximate formulas of the fractional derivatives and numerical finite difference scheme. In Section 3, we study the stability and the accuracy of the presented scheme. In Section 4, we introduce numerical solutions of fractional wave equation. The paper ends with some conclusions in Section 5.
2 Finite difference scheme of the fractional wave equation
In this section, we introduce an efficient class of FDM and use it to obtain the discretization finite difference formula of the time fractional wave equation (2). For some positive integer numbers N and M, we use the notations Δx and Δt for the space-step length and the time-step length, respectively. The coordinates of the mesh points are \(x_{j}=j\Delta x\) (\(j=0,1,\ldots,N\)), and \(t_{m}=m \Delta t\) (\(m=0,1,\ldots,M\)) and the values of the solution \(u(x, t)\) on these grid points are \(u(x_{j}, t_{m})\equiv u_{j}^{m}\simeq U_{j}^{m}\), where \(\Delta x =h=\frac{L}{N}\), \(\Delta t=k=\frac{T}{M}\).
For more details as regards discretization in fractional calculus see [9, 25, 28].
In the first step, the ordinary second order differential operators are discretized as follows [15]:
Now, using equation (5), we can derive an efficient approximate formula of the fractional derivative for \(\frac{\partial^{\alpha} }{\partial t^{\alpha}}u(x,t)\) (\(1<\alpha \leq2\)) at the points \((x_{j},t_{m})\) as follows:
The above formula can be rewritten as
where
We must note that \(\omega^{(\alpha)}_{r}\) satisfies the following facts:
-
(1)
\(\omega^{(\alpha)}_{r}> 0\), \(r=1,2,\ldots\) .
-
(2)
\(\omega^{(\alpha)}_{r}>\omega^{(\alpha +1)}_{r}\), \(r=1,2,\ldots\) .
Now, we are going to obtain the finite difference scheme of the fractional wave equation (2). To achieve this aim we evaluate this equation at the points of the grid \((x_{j},t_{m})\):
Using equations (7) and (9), we have
In order to get two additional equations, replace j by \(j - 1\) and \(j+ 1\), respectively, in the above equation, so we have
and
The Hermite formula with two-order derivatives at the grid point \((x_{j},t_{m})\) is
Substitute from equations (10)-(12) into equation (13), and denote \(u(x_{j},t_{m})\) by \(u_{j}^{m}\), then with neglect the high order terms and under some simplifications, we can obtain the following form:
Let \(U_{j}^{m}\) be the approximate solution, and let \(T_{j}^{m}=u_{j}^{m}-U_{j}^{m}\), \(j=1,2,\ldots,N\), \(m=1,2,\ldots,M\) be the error, then we have the error formula
with
Proposition 1
Assuming that the solution of (15) has the form \(T_{j}^{m}=\xi_{m}e^{\mathrm{i}\beta j h}\), then
where \(\beta= 2\pi m\).
Proof
Substitute in (15) by \(T_{j}^{m}=\xi_{m}e^{\mathrm{i} \beta j h}\) and divide by \(e^{\mathrm{i} \beta j h}\), we get
Using some trigonometric formulas and some simplifications we can obtain
from which we can obtain the required formula and this completes the proof. □
3 Stability analysis
In this section, we use the von Neumann method to study the stability analysis of the finite difference scheme (14) for the force free case (i.e., \(f(x,t)=0\)).
Proposition 2
Assume that \(k^{\alpha} < \frac{h^{2}}{6\Gamma(3-\alpha)}\), then
Proof
Since \(A_{\alpha,k}=\frac{k^{-\alpha}}{\Gamma(3-\alpha)}\), \(k^{\alpha}=\frac{1}{A_{\alpha,k}\Gamma(3-\alpha)}\) and, by using the assumption that \(k ^{\alpha}< \frac{h^{2}}{6\Gamma(3-\alpha)}\), we can obtain
so,
and since \(1-\cos(\beta h)\leq2\), we have
which implies that
Now, since \(-3h^{2}A_{\alpha,k}<15h^{2}A_{\alpha,k}\), \(h^{2}A_{\alpha,k}-4h^{2}A_{\alpha,k}-24<20h^{2}A_{\alpha ,k}-5h^{2}A_{\alpha,k}-24\), and since \(\cos(\beta h)\leq1\), we have
i.e.,
so
i.e.,
which together with (25) completes the proof of the proposition. □
Proposition 3
Assume that \(\xi_{m}\) (\(m=1,2,\ldots,M\)) is the solution of (17), with the condition \(k^{\alpha} < \frac{h^{2}}{6\Gamma(3-\alpha)}\), then \(|\xi_{m}|\leq|\xi_{0}|\) (\(m=1,2,\ldots,M\)).
Proof
It is easy to prove it by the mathematical induction together with Proposition 2. □
We know that
Theorem 1
The finite difference scheme (14) is stable under the condition
Proof
From Proposition 3 and (30), \(\| T^{m}\|_{2} \leq \| T^{0}\|_{2}\), \(m=1,2,\ldots,M\), which means that the difference scheme is stable. □
By the Lax equivalence theorem [28] we can show that the numerical solution converges to the exact solution as \(h, k\rightarrow0\).
4 Numerical results
In this section, we will test the proposed method by considering the following numerical example. Consider the fractional wave equation (2) in the interval \([0,1]\) with the following source term:
and the initial conditions \(u(x,0)=0\), \(u_{t}(x,0)=-\sin(\pi x)\).
The exact solution of equation (2) in this case is \(u(x,t)=\sin (\pi x)(t^{2}-t)\).
In Figures 1-3, the behavior of the exact solution and the numerical solution of the fractional wave equation (2) by means of the fractional finite difference method based on the Hermite formula with different values of α, Δx, Δt and the final time T is given.
From these figures, we can conclude that the numerical solution of the proposed method are in excellent agreement with the exact solution. Tables 1 and 2 show the magnitude of the maximum error between the exact solution and the numerical solution obtained by using the fractional FDM based on the Hermite formula discussed above with different values of α, Δx, Δt, and the final time T.
From Figure 4, we can see that the numerical solution is unstable, since the stability condition (31) is not satisfied.
5 Conclusion and remarks
This paper presents a class of numerical methods for solving the fractional wave equations. This class of methods depends on the finite difference method based on the Hermite formula. Special attention is given to the study of the stability and the convergence of the fractional finite difference scheme. To execute this aim we have resorted to a kind of fractional von Neumann stability analysis. From the theoretical study we can conclude that this procedure is suitable for the proposed fractional finite difference scheme and leads to very good predictions for the stability bounds. Numerical solutions and exact solutions of the proposed problem are compared and the derived stability condition is checked numerically. From this comparison, we can conclude that the numerical solutions are in excellent agreement with the exact solutions. All computations in this paper were run with the Matlab programming package.
References
Bagley, RL, Calico, RA: Fractional-order state equations for the control of viscoelastic damped structures. J. Guid. Control Dyn. 14(2), 304-311 (1999)
Baleanu, D, Diethelm, K, Scalas, E, Trujillo, JJ: Models and Numerical Methods, vol. 3. World Scientific, Singapore (2012)
Benson, DA, Wheatcraft, SW, Meerschaert, MM: The fractional-order governing equation of Lévy motion. Water Resour. Res. 36(6), 1413-1424 (2000)
Golmankhaneh, AK, Arefi, AK, Baleanu, D: Synchronization in a nonidentical fractional order of a proposed modified system. J. Vib. Control 21(6), 1154-1161 (2015)
Gorenflo, R, Mainardi, F: Random walk models for space-fractional diffusion processes. Fract. Calc. Appl. Anal. 1, 167-191 (1998)
Hilfer, R: Applications of Fractional Calculus in Physics. World Scientific, Singapore (2000)
Liu, F, Anh, V, Turner, I: Numerical solution of the space fractional Fokker-Planck equation. J. Comput. Appl. Math. 166, 209-219 (2004)
Liu, F, Zhuang, P, Anh, V, Turner, I, Burrage, K: Stability and convergence of the difference methods for the space-time fractional advection-diffusion equation. Appl. Math. Comput. 191(1), 12-20 (2007)
Lubich, C: Discretized fractional calculus. SIAM J. Math. Anal. 17, 704-719 (1986)
Metzler, R, Klafter, J: The random walk’s guide to anomalous diffusion a fractional dynamics approach. Phys. Rep. 339, 1-77 (2000)
Hristov, J: Approximate solutions to time-fractional models by integral balance approach. In: Cattani, C, Srivastava, HM, Yang, X-J (eds.) Fractals and Fractional Dynamics, pp. 78-109. de Gruyter, Berlin (2015)
Hristov, J: Double integral-balance method to the fractional subdiffusion equation: approximate solutions, optimization problems to be resolved and numerical simulations. J. Vib. Control (2015). doi:10.1177/1077546315622773
Khader, MM, El-Danaf, TS, Hendy, AS: A computational matrix method for solving systems of high order fractional differential equations. Appl. Math. Model. 37, 4035-4050 (2013)
Sweilam, NH, Khader, MM: A Chebyshev pseudo-spectral method for solving fractional integro-differential equations. ANZIAM J. 51, 464-475 (2010)
Sweilam, NH, Khader, MM Adel, M: On the stability analysis of weighted average finite difference methods for fractional wave equation. Fract. Differ. Calc. 2(1), 17-29 (2012)
Sweilam, NH, Khader, MM, Al-Bar, RF: Numerical studies for a multi-order fractional differential equation. Phys. Lett. A 371, 26-33 (2007)
Sweilam, NH, Khader, MM, Nagy, AM: Numerical solution of two-sided space- fractional wave equation using finite difference method. J. Comput. Appl. Math. 235, 2832-2841 (2011)
Sweilam, NH, Khader, MM, Mahdy, AMS: Crank-Nicolson finite difference method for solving time-fractional diffusion equation. J. Fract. Calc. Appl. 2(2), 1-9 (2012)
Sweilam, NH, Khader, MM, Adel, M: Weighted average finite difference methods for fractional order reaction-sub-diffusion equation. Walailak J. Sci. Technol. 11(4), 361-377 (2014)
Sweilam, NH, Khader, MM, Mahdy, AMS: Numerical studies for fractional-order logistic differential equation with two different delays. J. Appl. Math. 2012, Article ID 764894 (2012)
Yu, Q, Liu, F, Anh, V, Turner, I: Solving linear and nonlinear space-time fractional reaction-diffusion equations by Adomian decomposition method. Int. J. Numer. Methods Eng. 47(1), 138-153 (2008)
Khader, MM: On the numerical solutions for the fractional diffusion equation. Commun. Nonlinear Sci. Numer. Simul. 16, 2535-2542 (2011)
Khader, MM, Hendy, AS: A numerical technique for solving fractional variational problems. Math. Methods Appl. Sci. 36(10), 1281-1289 (2013)
Khader, MM: On the numerical solution and convergence study for system of non-linear fractional diffusion equations. Can. J. Phys. 92(12), 1658-1666 (2014)
Yuste, SB, Acedo, L: An explicit finite difference method and a new von Neumann-type stability analysis for fractional diffusion equations. SIAM J. Numer. Anal. 42, 1862-1874 (2005)
Kilbas, AA, Srivastava, HM, Trujillo, JJ: Theory and Applications of Fractional Differential Equations. Elsevier, San Diego (2006)
Podlubny, I: Fractional Differential Equations. Academic Press, San Diego (1999)
Richtmyer, RD, Morton, KW: Difference Methods for Initial-Value Problems. Interscience Publishers, New York (1967)
Acknowledgements
The authors are very grateful for the editor’s and the referee’s careful reading and comments on this paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ contributions
All authors contributed equally to the writing of this paper. All authors read and approved the final manuscript.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Khader, M.M., Adel, M.H. Numerical solutions of fractional wave equations using an efficient class of FDM based on the Hermite formula. Adv Differ Equ 2016, 34 (2016). https://doi.org/10.1186/s13662-015-0731-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s13662-015-0731-0